Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387559 - app-office/calligra-2.4.0-r1 USE=-wmf - ld: cannot find -llibwmf
Summary: app-office/calligra-2.4.0-r1 USE=-wmf - ld: cannot find -llibwmf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
: 411799 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-18 15:51 UTC by Hans
Modified: 2012-04-12 22:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.32 KB, text/plain)
2011-10-18 15:51 UTC, Hans
Details
build.log.bz2 (build.log.bz2,16.73 KB, application/bzip2)
2011-10-18 15:52 UTC, Hans
Details
build.log for 2.4.0-r1 (build.log,96.52 KB, text/plain)
2012-04-12 18:01 UTC, Hans
Details
emerge --info (emerge.info,3.48 KB, text/plain)
2012-04-12 18:03 UTC, Hans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans 2011-10-18 15:51:59 UTC
Created attachment 290171 [details]
emerge --info

Trying to compile app-office/calligra-2.3.82 with the following flags:

[ebuild   R    ] app-office/calligra-2.3.82  USE="crypt eigen exif fontconfig gif glib iconv jpeg lcms mso okular opengl pdf ssl threads tiff truetype (-aqua) -fftw -freetds -glew -gsf -gsl -handbook -jpeg2k -kdcraw (-kdeenablefinal) -kdepim -marble -mysql -openctl -openexr -postgres -semantic-desktop (-sybase) -test -wmf* -word-perfect -xbase -xml -xslt" CALLIGRA_FEATURES="flow stage tables words -braindump -karbon -kexi -krita -plan" 0 kB

fails with the following error:

[...][ 29%] Building CXX object plugins/vectorshape/CMakeFiles/vectorshape.dir/libsvm/SvmPainterBackend.o
Linking CXX shared module ../../lib/vectorshape.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llibwmf
collect2: ld returned 1 exit status
make[2]: *** [lib/vectorshape.so] Error 1
make[1]: *** [plugins/vectorshape/CMakeFiles/vectorshape.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[...]
Comment 1 Hans 2011-10-18 15:52:47 UTC
Created attachment 290173 [details]
build.log.bz2
Comment 2 Hans 2011-10-18 15:54:42 UTC
I forgot to mention: setting USE=wmf lets me emerge this successfully.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-10-29 17:59:18 UTC
I cannot reproduce this in 2.3.83, so it seems to be fixed. If you still have problems, please just reopen the bug.
Comment 4 Vasilis Lourdas 2012-04-12 16:13:50 UTC
(In reply to comment #3)
> I cannot reproduce this in 2.3.83, so it seems to be fixed. If you still
> have problems, please just reopen the bug.

In calligra-2.4.0-r1, although I have not set the wmf flag enabled, the build tries to find it and it fails.

[ 12%] [ 12%] Building CXX object libs/kotext/CMakeFiles/kotext.dir/KoInlineObjectFactoryBase.o
Building CXX object plugins/musicshape/CMakeFiles/musicshape.dir/actions/RemoveBarAction.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llibwmf
collect2: ld returned 1 exit status
make[2]: *** [lib/vectorshape.so] Error 1
make[1]: *** [plugins/vectorshape/CMakeFiles/vectorshape.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I will enable the wmf flag and try again.
Comment 5 Hans 2012-04-12 18:01:16 UTC
Created attachment 308673 [details]
build.log for 2.4.0-r1
Comment 6 Hans 2012-04-12 18:03:20 UTC
Created attachment 308675 [details]
emerge --info

[ebuild  N     ] app-office/calligra-2.4.0-r1  USE="exif fontconfig gif iconv jpeg opengl pdf ssl threads tiff truetype (-aqua) -attica -crypt -eigen -fftw -freetds -glew -glib -gsf -gsl -handbook -jpeg2k -kdcraw -kdepim -lcms -marble -mso -mysql -okular -openctl -openexr -postgres -semantic-desktop (-sybase) -test -wmf -word-perfect -xbase -xml -xslt" CALLIGRA_FEATURES="-braindump -flow -karbon -kexi -krita -plan -sheets -stage -words" 0 kB
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-04-12 20:17:06 UTC
The useflag does not really make sense anyway (no external dependencies, just enablign an internal library). Removed, always on now. Thanks!
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2012-04-12 22:11:37 UTC
*** Bug 411799 has been marked as a duplicate of this bug. ***