Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380293 - app-office/calligra-2.3.74 fails to compile
Summary: app-office/calligra-2.3.74 fails to compile
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:
Depends on:
Blocks:
 
Reported: 2011-08-22 22:28 UTC by Nils Larsson
Modified: 2011-08-26 20:47 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,12.65 KB, text/plain)
2011-08-23 17:58 UTC, Nils Larsson
Details
build.log (build.log,487.00 KB, text/plain)
2011-08-23 17:59 UTC, Nils Larsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Larsson 2011-08-22 22:28:36 UTC
app-office/calligra-2.3.74 fails to emerge. It bombs out when it tries link cstester.

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

The build log is ~500KiB, so greping for Error yields:
# grep -B5 Error app-office:calligra-2.3.74:20110822-185302.log
[ 60%] Building CXX object plugins/textshape/CMakeFiles/textshape.dir/dialogs/ParagraphBulletsNumbers.o
[ 60%] Building CXX object plugins/formulashape/CMakeFiles/kformulalib.dir/elements/RootElement.o
[ 60%] Building CXX object plugins/formulashape/CMakeFiles/kformulalib.dir/elements/EncloseElement.o
[ 60%] Building CXX object plugins/formulashape/CMakeFiles/kformulalib.dir/elements/ActionElement.o
[ 60%] Building CXX object plugins/formulashape/CMakeFiles/kformulalib.dir/elements/PaddedElement.o
[ 60%] Building CXX object plugins/formulashape/CMakeFiles/kformulalib.dir/elements/ErrorElement.o
--
[ 95%] Building CXX object tools/cstester/CMakeFiles/cstester.dir/CSThumbProviderKarbon.o
[ 95%] Building CXX object tools/koabstraction/CMakeFiles/koabstraction.dir/KoCellToolFactory.o
Linking CXX executable cstester
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkarbonui
collect2: ld returned 1 exit status
make[2]: *** [tools/cstester/cstester] Error 1
make[1]: *** [tools/cstester/CMakeFiles/cstester.dir/all] Error 2
--
[ 95%] Building CXX object tools/koabstraction/CMakeFiles/koabstraction.dir/KoCellTool.o
/tmp/portage/app-office/calligra-2.3.74/work/calligra-2.3.74/tools/koabstraction/KoCellTool.cpp:134:2: warning: #warning TODO create abstract interface for cell editor [-Wcpp]
[ 95%] Building CXX object tools/koabstraction/CMakeFiles/koabstraction.dir/FoCellEditor.o
Linking CXX shared library ../../lib/libkoabstraction.so
[ 95%] Built target koabstraction
make: *** [all] Error 2
Comment 1 Agostino Sarubbo gentoo-dev 2011-08-23 12:37:29 UTC
When you post a bug, add always full builg log (as attachment) and emerge --info.
Comment 2 Nils Larsson 2011-08-23 17:58:01 UTC
Created attachment 284385 [details]
emerge --info

Calligra is emerged without GCCs graphite flags.

# cat /etc/portage/env/no-graphite-flags
CFLAGS="-march=atom -O2 -pipe -fomit-frame-pointer -fno-ident -fexcess-precision=fast"
CXXFLAGS="${CFLAGS}"
# grep calligra /etc/portage/package.env
app-office/calligra no-graphite-flags
Comment 3 Nils Larsson 2011-08-23 17:59:24 UTC
Created attachment 284389 [details]
build.log
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-08-26 20:47:21 UTC
Please sync in an hour or so, should be fixed.