Summary: | dev-cpp/libxsd-frontend-1.18.0 fails to build with dev-libs/boost-1.49.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Huber (RETIRED) <johu> |
Component: | New packages | Assignee: | Tiziano Müller (RETIRED) <dev-zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, leho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Johannes Huber (RETIRED)
2012-07-04 12:59:08 UTC
Created attachment 317125 [details]
build.log
*** Bug 425358 has been marked as a duplicate of this bug. *** Fixed, thanks. Was there a reason this was not backported to boost-1.48.0 as well? It suffers of the exact same issue. I'm not sure the epatch is enough. This is what I'm still getting with gcc-4.6.2: ... echo "/usr/lib64/libfrontend-elements.so /usr/lib64/libcult.so /usr/lib64/libxerces-c.so /usr/lib64/libboost_filesystem-mt-1_49.so" | xargs -n 1 echo >>/mnt/datapool/portage/dev-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/xsd-frontend/xsd-frontend.l x86_64-pc-linux-gnu-g++ -march=core2 -O2 -pipe -I/usr/include/boost-1_49 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -o /mnt/datapool/tmp/portage/de v-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/tests/dump/driver /mnt/datapool/tmp/portage/dev-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/tests/dump /driver.o /mnt/datapool/tmp/portage/dev-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/xsd-frontend/libxsd-frontend.so /usr/lib64/libfrontend-elements.so /usr/l ib64/libcult.so /usr/lib64/libxerces-c.so /usr/lib64/libboost_filesystem-mt-1_49.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: /mnt/datapool/tmp/portage/dev-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/tests/ dump/driver.o: undefined reference to symbol 'boost::system::system_category()' /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib64/libboost_system-mt-1_ 49.so.1.49.0 so try adding it to the linker command line /usr/lib64/libboost_system-mt-1_49.so.1.49.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [/mnt/datapool/tmp/portage/dev-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/tests/dump/driver] Error 1 ... Searching around led me to http://us.generation-nt.com/answer/bug-593876-libboost-filesystem-dev-undeclared-indirect-dependency-boost-filesystem-boost-system-causes-link-failure-help-199977241.html So I manually appended "libboost_system-mt-1_49.so" >> /mnt/datapool/portage/dev-cpp/libxsd-frontend-1.18.0/work/libxsd-frontend-1.18.0/xsd-frontend/xsd-frontend.l, then FEATURES=keepwork emerge. This let the build finish without further issues. What's the recommended course of action, should I file a new bug or can we just keep it in here? dev-cpp/xsd is also broken. I don't think this http://scm.codesynthesis.com/?p=xsd/xsd.git;a=commitdiff;h=7ac042aaa117dd702c682cf9ef3b90374b384f37 $(libboost_suffix) stuff is working particularly well, because the build dies at linking: ... e/dev-cpp/xsd-3.3.0/work/xsd-3.3.0/xsd/processing/inheritance/processor.o -c /mnt/datapool/tmp/portage/dev-cpp/xsd-3.3.0/work/xsd-3.3.0/xsd/processing/inheritance/process or.cxx make: *** No rule to make target `-lboost_filesystem', needed by `/mnt/datapool/tmp/portage/dev-cpp/xsd-3.3.0/work/xsd-3.3.0/xsd/xsd'. Stop. make: *** Waiting for unfinished jobs.... emake failed ... At which time going to workdir, grepping for -lboost_filesystem and -lboost_regex and appending "-mt-1_49" makes things (FEATURES=keep)work. please open a new bug, thanks. |