pkgsrc-Bugs archive

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

pkg/54651: boost-libs build fails on 9.99.17 (amd64 and i386)



>Number:         54651
>Category:       pkg
>Synopsis:       boost-libs build fails on 9.99.17 (amd64 and i386)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 28 14:55:00 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/amd64-9.99.17, pkgsrc-2019Q3
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 9.99.17 NetBSD 9.99.17 (PLEX760) #280: Sun Oct 27 07:30:14 CDT 2019  sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 amd64

>Description:
Building "devel/boost-libs" on NetBSD-current (9.99.17) fails with:

[...]
gcc.compile.c++ bin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden/syslog_backend.o
In file included from /usr/include/stddef.h:37,
                 from /usr/include/g++/cstddef:50,
                 from ./boost/config/compiler/gcc.hpp:165,
                 from ./boost/config.hpp:39,
                 from ./boost/log/detail/config.hpp:34,
                 from libs/log/src/syslog_backend.cpp:18:
./boost/asio/detail/impl/kqueue_reactor.ipp: In constructor 'boost::asio::detail::kqueue_reactor::kqueue_reactor(boost::asio::execution_context&)':
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:54:3: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
   BOOST_ASIO_KQUEUE_EV_SET(&events[0], interrupter_.read_descriptor(),
   ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp: In member function 'virtual void boost::asio::detail::kqueue_reactor::notify_fork(boost::asio::execution_context::fork_event)':
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:102:5: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
     BOOST_ASIO_KQUEUE_EV_SET(&events[0], interrupter_.read_descriptor(),
     ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:118:9: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
         BOOST_ASIO_KQUEUE_EV_SET(&events[0], state->descriptor_,
         ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:120:9: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
         BOOST_ASIO_KQUEUE_EV_SET(&events[1], state->descriptor_,
         ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp: In member function 'int boost::asio::detail::kqueue_reactor::register_internal_descriptor(int, boost::asio::detail::socket_type, boost::asio::detail::kqueue_reactor::descriptor_state*&, boost::asio::detail::reactor_op*)':
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:174:3: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
   BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor, EVFILT_READ,
   ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp: In member function 'void boost::asio::detail::kqueue_reactor::start_op(int, boost::asio::detail::socket_type, boost::asio::detail::kqueue_reactor::descriptor_state*&, boost::asio::detail::reactor_op*, bool, bool)':
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:227:9: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
         BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor, EVFILT_READ,
         ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:229:9: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
         BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor, EVFILT_WRITE,
         ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:250:7: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
       BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor, EVFILT_READ,
       ^~~~~~~~~~~~~~~~~~~~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:32:5: error: invalid static_cast from type 'intptr_t' {aka 'long int'} to type 'void*'
     EV_SET(ev, ident, filt, flags, fflags, data, \
     ^~~~~~
./boost/asio/detail/impl/kqueue_reactor.ipp:252:7: note: in expansion of macro 'BOOST_ASIO_KQUEUE_EV_SET'
       BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor, EVFILT_WRITE,
       ^~~~~~~~~~~~~~~~~~~~~~~~

    "g++"   -fvisibility-inlines-hidden -m64 -pthread -O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden -fno-strict-aliasing -ftemplate-depth-1024 -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_HAS_ICU=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_USE_AVX2 -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_USE_SSSE3 -DBOOST_LOG_WITHOUT_DEBUG_OUTPUT -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DDATE_TIME_INLINE -DNDEBUG -D__STDC_CONSTANT_MACROS  -I"." -I"/usr/pkg/include" -I"libs/log/src" -c -o "bin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden/syslog_backend.o" "libs/log/src/syslog_backend.cpp"

...failed gcc.compile.c++ bin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden/syslog_backend.o...
...skipped <pbin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden>libboost_log.a(clean) for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden>syslog_backend.o...
...skipped <pbin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden>libboost_log.a for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden>syslog_backend.o...
...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.a for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/link-static/threadapi-pthread/threading-multi/visibility-hidden>libboost_log.a...
...failed updating 2 targets...
...skipped 13 targets...
*** Error code 1

Stop.
make[1]: stopped in /x/pkgsrc/devel/boost-libs
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/devel/boost-libs


So, it is unhappy with the EV_SET() macro.  I seem to recall some
changes to this and "x11/wxGTK30" received an additional patch to
help NetBSD versions prior to 9.99.14 cope with its EV_SET()
expectations.  Looks like the converse patch may be needed here.
>How-To-Repeat:
See above.
>Fix:



Home | Main Index | Thread Index | Old Index