Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388719 - app-office:karbon-2.3.3 with wpg fails to build if app-text/libwpg:0.1 is missing
Summary: app-office:karbon-2.3.3 with wpg fails to build if app-text/libwpg:0.1 is mis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 22:24 UTC by Joerg Schaible
Modified: 2011-10-29 21:51 UTC (History)
0 users

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-10-27 22:24:58 UTC
karbon-2.3.3 defines the following dependency:
app-office/karbon-2.3.3 (wpg ? app-text/libwpg)

However, the build fails with libwpg:0.2, it needs libwpg:0.1 installed.

================= %< ===================
wpg::WPGBrush’ has not been declared
/var/tmp/portage/portage/app-office/karbon-2.3.3/work/karbon-2.3.3/filters/karbon/wpg/import/OdgExporter.cxx:649:12: error: ‘m_brush’ was not declared in this scope
/var/tmp/portage/portage/app-office/karbon-2.3.3/work/karbon-2.3.3/filters/karbon/wpg/import/OdgExporter.cxx:649:37: error: ‘libwpg::WPGBrush’ has not been declared
make[2]: *** [filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/OdgExporter.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 4445:  Called kde4-meta_src_compile
 *   environment, line 3545:  Called kde4-base_src_compile
 *   environment, line 3220:  Called cmake-utils_src_compile
 *   environment, line 1378:  Called _execute_optionaly 'src_compile'
 *   environment, line  746:  Called enable_cmake-utils_src_compile
 *   environment, line 1636:  Called cmake-utils_src_make
 *   environment, line 1397:  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:20111027-220603.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'
================= %< ===================
eix -I wpg
[I] app-text/libwpg
     Available versions:  
        (0.1)   0.1.3 0.1.3-r2
        (0.2)   0.2.1
        {doc static-libs tools}
     Installed versions:  0.2.1(0.2)(04:18:37 PM 10/21/2011)(-doc -static-libs)
================= %< ===================


Reproducible: Always

Steps to Reproduce:
1. Unmerge libwpg:0.1 if installed
2. Emerge karbon-2.3.3

Actual Results:  
Build fails

Expected Results:  
Emerge of libwpg:0.1 before emerging karbon-2.3.3
Comment 1 Joerg Schaible 2011-10-27 22:36:34 UTC
Actually it cannot be recompiled at all, it does not know about the slotted libwpg :-/
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-10-29 21:51:24 UTC
Fixed, thanks!