make[3]: Entering directory '/var/tmp/portage/app-text/libebook-0.1.2/work/libe-book-0.1.2/src/conv' Making all in html make[4]: Entering directory '/var/tmp/portage/app-text/libebook-0.1.2/work/libe-book-0.1.2/src/conv/html' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../inc -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -DNDEBUG -O2 -pipe -march=core2 -fvisibility=hidden -DLIBE_BOOK_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o ebook2html.o ebook2html.cpp /bin/sh ../../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -I../../../inc -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -DNDEBUG -O2 -pipe -march=core2 -fvisibility=hidden -DLIBE_BOOK_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -Wl,-O1 -Wl,--as-needed -o ebook2html ebook2html.o ../../lib/libe-book-0.1.la -lrevenge-0.0 -lrevenge-generators-0.0 -lrevenge-0.0 -lrevenge-stream-0.0 libtool: link: x86_64-pc-linux-gnu-g++ -I../../../inc -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -I/usr/include/librevenge-0.0 -DNDEBUG -O2 -pipe -march=core2 -fvisibility=hidden -DLIBE_BOOK_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -Wl,-O1 -Wl,--as-needed -o .libs/ebook2html ebook2html.o ../../lib/.libs/libe-book-0.1.so -lxml2 -licui18n -licuuc -licudata -lz -lrevenge-generators-0.0 -lrevenge-0.0 -lrevenge-stream-0.0 ../../lib/.libs/libe-book-0.1.so: undefined reference to `boost::system::system_category()' ../../lib/.libs/libe-book-0.1.so: undefined reference to `boost::system::generic_category()' collect2: error: ld returned 1 exit status Makefile:443: recipe for target 'ebook2html' failed make[4]: *** [ebook2html] Error 1 make[4]: Leaving directory '/var/tmp/portage/app-text/libebook-0.1.2/work/libe-book-0.1.2/src/conv/html' Makefile:384: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 Reproducible: Always
Created attachment 425544 [details] full build log for similar problem (fix), please check bug #574120 local boost version $ qlist -ICv boost dev-libs/boost-1.59.0 dev-util/boost-build-1.59.0
Created attachment 426538 [details, diff] libebook-boost-1.59-makefile.patch i've managed to make this compile against libebook-0.1.2 by manually patching the diff does not seem to patch properly .. or is not detected properly .. but the add line does work once in place modified from lib-ebook commit https://sourceforge.net/p/libebook/code/ci/b903d0dc91f482b348e5840e5a1df599ebd5e6f9/
Created attachment 426540 [details] libebook-0.1.2-r1.ebuild finally a working ebuild .. required addition of base eclass and Patches array .. had an issue with typos too..
(In reply to Derk W te Bokkel from comment #3) > Created attachment 426540 [details] > libebook-0.1.2-r1.ebuild > > finally a working ebuild .. required addition of base eclass > and Patches array .. had an issue with typos too.. The patch looks good, thanks! About the ebuild... * base.eclass is deprecated and needs to go the way of the dinosaur -> PATCHES is part of EAPI=6 * you're patching Makefile.am, but not regenerating Makefile, I'm wondering why that works at all... -> added "inherit autotools" and an eautoreconf call Committed as 0.1.2-r1
sorry about the use of base.eclass .. I based this on a version of libabw which used base.eclass and EAPI=5 .. with the patches array ..?? perhaps some one forgot to switch it to EAPI=6 and removed base.eclass
the reason my ebuild works is that only Makefile.am and Makefile.in exist after unpack phase, patches are applied in prepare phase and Makefile generated during configure phase .. after that compile, install phases etc.. manual stepping through ebuilds is very handy ..to trouble shoot :)