Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578942

Summary: app-text/libwps-0.4.2, 0.4.3 does not compile against dev-libs/boost-1.60.0
Product: Gentoo Linux Reporter: Phil Stracchino (Unix Ronin) <phils>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Phil Stracchino (Unix Ronin) 2016-04-03 17:15:46 UTC
app-text/libwps-0.4.2 or 0.4.3 cannot be built against dev-libs/boost-1.60.0 due to a link failure:

/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 -march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt -fvisibility=hidden -DLIBWPS_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++  -Wl,-O1 -Wl,--as-needed -o wps2html wps2html.o ../../lib/libwps-0.4.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 -march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt -fvisibility=hidden -DLIBWPS_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -Wl,-O1 -Wl,--as-needed -o .libs/wps2html wps2html.o  ../../lib/.libs/libwps-0.4.so -lrevenge-generators-0.0 -lrevenge-0.0 -lrevenge-stream-0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/../../../../lib64/librevenge-0.0.so: undefined reference to `boost::system::system_category()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/../../../../lib64/librevenge-0.0.so: undefined reference to `boost::system::generic_category()'
collect2: error: ld returned 1 exit status

It builds correctly against dev-libs/boost-1.58.0.

>=app-text/libwps-0.4 is a hard requirement for app-office/libreoffice-5.x.  I am unaware of any other package (certainly anything else I have installed) that uses it.
Comment 1 David Seifert gentoo-dev 2016-04-03 17:22:06 UTC

*** This bug has been marked as a duplicate of bug 578860 ***
Comment 2 Phil Stracchino (Unix Ronin) 2016-04-03 17:22:45 UTC
Found the root cause, but I'm not sure of the correct actual FIX.  If dev-libs/boost is >1.58.0, then app-text/libwps (and possibly other packages that depend on dev-libs/librevenge) require >=dev-libs/librevenge-0.0.4.