Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390681 - app-office/karbon-2.3.3 fails to build with app-text/libwpg-0.1.3-r2
Summary: app-office/karbon-2.3.3 fails to build with app-text/libwpg-0.1.3-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 00:09 UTC by Joerg Schaible
Modified: 2011-11-20 18:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2011-11-16 00:09:37 UTC
Karbon 2.3.3. fails to build with libwpg-0.1.3-r2:

================= %< =================
[snip]
Scanning dependencies of target wpgimport_automoc
Generating WPGImport.moc
[ 82%] Built target wpgimport_automoc
Scanning dependencies of target wpgimport
[ 83%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/wpgimport_automoc.o
[ 84%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/WPGImport.o
/var/tmp/portage/portage/app-office/karbon-2.3.3/work/karbon-2.3.3/filters/karbon/wpg/import/WPGImport.cpp:37:44: fatal error: libwpg/WPGStreamImplementation.h: No such file or directory
compilation terminated.
make[2]: *** [filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/WPGImport.o] Error 1
make[1]: *** [filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: app-office/karbon-2.3.3 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4453:  Called kde4-meta_src_compile
 *   environment, line 3553:  Called kde4-base_src_compile
 *   environment, line 3228:  Called cmake-utils_src_compile
 *   environment, line 1382:  Called _execute_optionaly 'src_compile'
 *   environment, line  750:  Called enable_cmake-utils_src_compile
 *   environment, line 1663:  Called cmake-utils_src_make
 *   environment, line 1401:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =app-office/karbon-2.3.3',
 * the complete build log and the output of 'emerge -pqv =app-office/karbon-2.3.3'.
 * The complete build log is located at '/var/log/portage/app-office:karbon-2.3.3:20111115-234936.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/app-office/karbon-2.3.3/temp/environment'.
 * S: '/var/tmp/portage/portage/app-office/karbon-2.3.3/work/karbon-2.3.3'

>>> Failed to emerge app-office/karbon-2.3.3, Log file:
================= %< =================

Reproducible: Always

Steps to Reproduce:
1. emerge karbon 2.3.3
2.
3.
Actual Results:  
Build fails

Expected Results:  
Successful build.

If I mask libwpg-0.1.3-r2, Karbon 2.3.3 builds fine with libwpg-0.1.3 instead (still available in portage).
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-11-20 16:54:49 UTC
Please rebuild libwpg with the "tools" useflag enabled and then try again to emerge karbon.

Does it work then?
Comment 2 Joerg Schaible 2011-11-20 18:13:33 UTC
You're right, builds fine with tools flag enabled. Thanks!
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-11-20 18:31:20 UTC
Excellent, fixed. (Did I mention that EAPI=4 is great? :)