pkgsrc-Bugs archive

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

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



The following reply was made to PR pkg/54651; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54651: boost-libs build fails on 9.99.17 (amd64 and i386)
Date: Mon, 28 Oct 2019 14:25:09 -0500 (CDT)

 I tried applying the same change to boost-libs
 
   ${WRKSRC}/boost/asio/detail/impl/kqueue_reactor.ipp
 
 as was done for xll/wxGTK30 (make conditional on __NetBSD_Version__ less
 than 9.99.14, but that didn't work.  Fails similarly (very long):
 
 [...]
 ./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 -fPIC -m64 -pthread -O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden -fno-strict-aliasing -ftemplate-depth-1024 -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_HAS_ICU=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_DLL -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_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=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/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/threadapi-pthread/threading-multi/visibility-hidden/syslog_backend.o...
 ...skipped <pbin.v2/libs/log/build/gcc-8.3.0/release/threadapi-pthread/threading-multi/visibility-hidden>libboost_log.so.1.71.0 for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/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.so.1.71.0 for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/threadapi-pthread/threading-multi/visibility-hidden>libboost_log.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.so for lack of <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.so.1 for lack of <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.so.1.71 for lack of <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log.so.1.71.0...
 ...skipped <pbin.v2/libs/log/build/gcc-8.3.0/release/threadapi-pthread/threading-multi/visibility-hidden>libboost_log_setup.so.1.71.0 for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/threadapi-pthread/threading-multi/visibility-hidden>libboost_log.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so.1.71.0 for lack of <pbin.v2/libs/log/build/gcc-8.3.0/release/threadapi-pthread/threading-multi/visibility-hidden>libboost_log_setup.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so for lack of <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so.1 for lack of <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so.1.71.0...
 ...skipped <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so.1.71 for lack of <p/tmp/pkgsrc/devel/boost-libs/work/boost_1_71_0/stage/lib>libboost_log_setup.so.1.71.0...
 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
 
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index