While cross-compiling dev-libs/boost-1.52.0-r6, the build failed at libs/iostreams/src/bzip2.cpp: gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/bzip2.o "x86_64-amazon-linux-gnu-g++" -ftemplate-depth-128 -Os -pipe -fomit-frame-pointer -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp" libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated. ...skipped <pbin.v2/libs/iostreams/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_iostreams.so.1.52.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>bzip2.o... ...skipped <pstage/lib>libboost_iostreams.so.1.52.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_iostreams.so.1.52.0... ...skipped <pstage/lib>libboost_iostreams.so for lack of <pstage/lib>libboost_iostreams.so.1.52.0... ...failed updating 1 target... After installing app-arch/bzip2, the boost build completed successfully. Therefore, I conclude that the boost ebuild needs added a dependency on app-arch/bzip2.
Confirming this one [not sure why would you remove bzip2, unless experimenting with alternatives such as pbzip] qfile /usr/include/bzlib.h app-arch/bzip2 (/usr/include/bzlib.h)
(In reply to Tomáš "tpruzina" Pružina (amd64 AT) from comment #1) > [not sure why would you remove bzip2, unless > experimenting with alternatives such as pbzip] I didn't remove it; it was never installed. This was in a crossdev root.
+ 08 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> boost-1.49.0-r2.ebuild, + boost-1.52.0-r6.ebuild, boost-1.53.0.ebuild: + Add missing build-time dependency on app-arch/bzip2, wrt bug #469114, thanks + to Matt Whitlock and Tomáš Pružina According to my tests it is build-time dep only, reopen if i was wrong.
(In reply to Sergey Popov from comment #3) > + 08 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> boost-1.49.0-r2.ebuild, > + boost-1.52.0-r6.ebuild, boost-1.53.0.ebuild: > + Add missing build-time dependency on app-arch/bzip2, wrt bug #469114, thanks > + to Matt Whitlock and Tomáš Pružina > > According to my tests it is build-time dep only It is also run-time dependency. $ scanelf -qF "%F: %n" $(qlist dev-libs/boost | sort) | grep libbz2 /usr/lib64/libboost_iostreams-mt.so: libbz2.so.1,libz.so.1,librt.so.1,libstdc++.so.6,libgcc_s.so.1,libpthread.so.0,libc.so.6 /usr/lib64/libboost_iostreams.so: libbz2.so.1,libz.so.1,librt.so.1,libstdc++.so.6,libgcc_s.so.1,libpthread.so.0,libc.so.6 /usr/lib64/libboost_iostreams.so.1.53.0: libbz2.so.1,libz.so.1,librt.so.1,libstdc++.so.6,libgcc_s.so.1,libpthread.so.0,libc.so.6
Reopening at Arfrever's request.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #4) > It is also run-time dependency. Thanks for extra checking, this thingy slipped through my scripts :-/ + 10 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> boost-1.49.0-r2.ebuild, + boost-1.52.0-r6.ebuild, boost-1.53.0.ebuild: + Make app-arch/bzip2 dependency also run-time, wrt bug #469114