Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235737 - x11-libs/xfc-4.3.2: Doesn't compile with "examples" use flag on amd64 linux system.
Summary: x11-libs/xfc-4.3.2: Doesn't compile with "examples" use flag on amd64 linux s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-26 01:57 UTC by Marcin Olender
Modified: 2008-09-21 22:40 UTC (History)
0 users

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


Attachments
Patch posted to the [Xfc-dev] mailing list. (selection.cc.amd64.patch,663 bytes, patch)
2008-08-26 02:04 UTC, Marcin Olender
Details | Diff
My 'emerge --info' informations. (emerge.info,3.40 KB, text/plain)
2008-08-26 02:08 UTC, Marcin Olender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Olender 2008-08-26 01:57:51 UTC
The ebuild compiles without errors with "-examples" use flag. Other use flags don't affect build result. With "examples" use flag the build ends with 
following error:

 * 
 * ERROR: x11-libs/xfc-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  156:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/xfc-4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/xfc-4.3.2/temp/environment'.
 * 

Examination of build.log file shows that above error is caused by following error:

selection.cc: In member function ‘virtual void RetrieveSelectionButton::on_selection_received(const Xfc::Gtk::SelectionData&, unsigned int)’:
selection.cc:50: error: cast from ‘unsigned char*’ to ‘unsigned int’ loses precision


Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.USE="examples" emerge -av xfc
Actual Results:  
The build exits with the above error.

Expected Results:  
To compile and install without error.

My "emerge --info" and patch from [Xfc-dev] mailing list resolving this error are added as attachments.
Comment 1 Marcin Olender 2008-08-26 02:04:16 UTC
Created attachment 163792 [details, diff]
Patch posted to the [Xfc-dev] mailing list.
Comment 2 Marcin Olender 2008-08-26 02:08:16 UTC
Created attachment 163794 [details]
My 'emerge --info' informations.
Comment 3 Wormo (RETIRED) gentoo-dev 2008-08-26 05:28:41 UTC
Thanks for the report!

Assigning to maintainers.
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2008-09-21 22:40:56 UTC
fixed, thanks