Boost logo

Boost Users :

Subject: [Boost-users] boost-libs failed to be built (via pkgsrc)
From: Isaac Isao Saito (130s_at_[hidden])
Date: 2013-07-15 07:20:11


Hi boost-users,

during source installation of `boost-libs` (link to cvs repo[0]), I
get the following at the very end of long output of bmake (`make`
that's used in the package manager `pkgsrc` that I use) and build
seems to fail:

    ...skipped <pbin.v2/libs/wave/build/gcc-4.4.2/release/link-static/threading-multi>libboost_wave.a
for lack of <pbin.v2/libs/wave/build/gcc-4.4.2/release/link-static/threading-multi>instantiate_cpp_exprgrammar.o...
    ...skipped <pstage/lib>libboost_wave.a for lack of
<pbin.v2/libs/wave/build/gcc-4.4.2/release/link-static/threading-multi>libboost_wave.a...
    ...failed updating 181 targets...
    ...skipped 280 targets...
    *** Error code 1

    Stop.
    bmake: stopped in /usr/pkgsrc/devel/boost-libs
    *** Error code 1

I noticed, out of thousands of output lines (full output[1]), some
lines of error repeatedly appear. I just except some (note that they
don't occur back to back like the following):

    g++: unrecognized option '-pthread'
    ./boost/cstdint.hpp:74: error: 'intleast8_t' in namespace '::'
does not name a type
    ./boost/cstdint.hpp:76: error: 'uintleast8_t' in namespace '::'
does not name a type
    ./boost/chrono/detail/inlined/posix/chrono.hpp:23: error:
'::clock_gettime' has not been declared
    ./boost/chrono/detail/inlined/posix/chrono.hpp:36: error:
'::clock_gettime' has not been declared
    ./boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp:31:
error: '::sysconf' has not been declared
    ./boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp:31:
error: '_SC_CLK_TCK' was not declared in this scope
    /usr/qnx650/host/qnx6/x86/usr/bin/ntox86-ld: cannot find -lrt
    ./boost/smart_ptr/detail/yield_k.hpp:123: error: 'nanosleep' was
not declared in this scope
    ./boost/thread/pthread/timespec.hpp:84: error: '::clock_gettime'
has not been declared
    ./boost/thread/pthread/mutex.hpp:275: error:
'boost::chrono::steady_clock' has not been declared
    libs/filesystem/src/operations.cpp: In function
'bool<unnamed>::remove_directory(const boost::filesystem::path&)':
    libs/filesystem/src/operations.cpp:345: error: '::rmdir' has not
been declared
    libs/filesystem/src/operations.cpp:348: error: '::unlink' has not
been declared
    libs/filesystem/src/operations.cpp:427: error: no matching
function for call to 'stat::stat(const char*, stat*)'
    libs/filesystem/src/operations.cpp:1003: error: '::symlink' has
not been declared
```

Other `boost`-related packages (namely boost-headers, boost-jam,
boost-docs, boost-build) are already built and installed.
`boost-python` fails to be built, but I assume it's not depended by
boost-libs.

Using `QNX` 6.5.0 SDP SP1. boost seems to be 1.53.0

What could be wrong? Thank you very much.

[0] http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/boost-libs/#dirlist
[1] http://pastebin.com/ZMU3ddXf

--
Isaac

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net