pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Testing for MariaDB 10.4



On Mon, 30 Mar 2020 at 12:20, nia <nia%netbsd.org@localhost> wrote:
>
> Hi, I'd like to recruit some people to help with testing wip/mariadb104.
>
> I've made sure it builds on NetBSD, but I don't have much
> personal use for it, and have no means to test on e.g. illumos
>
> Any reports of whether it builds on other pkgsrc platforms and tests
> with actual software are welcome.

Under yesterday's -current amd64, pkgsrc updated some 304 days ago,
the client builds and installs OK (but I can't fidure out how to
shoehorn the few packages I have which use mysql-client, e,g,
php-mysqli and LibreOffice).

The server build fails as follows:
..........
[ 42%] Building CXX object sql/CMakeFiles/sql.dir/threadpool_generic.cc.o
In file included from /usr/include/pthread.h:35,
                 from
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/include/my_global.h:272,
                 from
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/mariadb.h:29,
                 from
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:16:
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:
In function 'int io_poll_start_read(TP_file_handle, TP_file_handle,
void*, void*)':
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:352:40:
error: invalid static_cast from type 'intptr_t' {aka 'long int'} to
type 'void*'
 #define MY_EV_SET(a, b, c, d, e, f, g) EV_SET(a, b, c, d, e, f, (intptr_t)g)
                                        ^~~~~~
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:366:3:
note: in expansion of macro 'MY_EV_SET'
   MY_EV_SET(&ke, fd, EVFILT_READ, EV_ADD|EV_ONESHOT,
   ^~~~~~~~~
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:
In function 'int io_poll_associate_fd(TP_file_handle, TP_file_handle,
void*, void*)':
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:352:40:
error: invalid static_cast from type 'intptr_t' {aka 'long int'} to
type 'void*'
 #define MY_EV_SET(a, b, c, d, e, f, g) EV_SET(a, b, c, d, e, f, (intptr_t)g)
                                        ^~~~~~
/usr/pkgsrc/wip/mariadb104-server/work/mariadb-10.4.12/sql/threadpool_generic.cc:375:3:
note: in expansion of macro 'MY_EV_SET'
   MY_EV_SET(&ke, fd, EVFILT_READ, EV_ADD|EV_ONESHOT,
   ^~~~~~~~~
*** Error code 1
.....

-- 
----


Home | Main Index | Thread Index | Old Index