Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265802 - app-office/gnumeric-1.8.4-r1: error while creating libspreadsheet.la with gnome turned off
Summary: app-office/gnumeric-1.8.4-r1: error while creating libspreadsheet.la with gno...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 19:26 UTC by Andrey Bondarenko
Modified: 2009-04-11 20:54 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 Andrey Bondarenko 2009-04-11 19:26:10 UTC
While emerging app-office/gnumeric-1.8.4-r1 following error appears:

creating libspreadsheet.la
/bin/sed: can't read /usr/lib/libgsf-gnome-1.la: No such file or directory
libtool: link: `/usr/lib/libgsf-gnome-1.la' is not a valid libtool archive



Reproducible: Always

Steps to Reproduce:



Expected Results:  
I suppose, the file /usr/lib/libgsf-gnome-1.la is missing because libgsf compiled without gnome support. As gnome use flag is turned off globally gnumeric ebuild should not require gnome support to build successfully.

$ euse -I gnome
global use flags (searching: gnome)
************************************************************
[- cD ] gnome - Adds GNOME support


$ equery uses libgsf
[ Searching for packages matching libgsf... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for gnome-extra/libgsf-1.14.11 ]
 U I
 + + bzip2  : Use the bzlib compression library
 - - debug  : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + doc    : Adds extra documentation (API, Javadoc, etc)
 - - gnome  : Adds GNOME support
 + + python : Adds support/bindings for the Python language


$ emerge -pvt gnumeric

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] app-office/gnumeric-1.8.4-r1  USE="perl python -debug -gnome" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-11 19:34:52 UTC
Have you tried running:
revdep-rebuild -i -- -a
revdep-rebuild can be found in the gentoolkit package.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-11 20:06:56 UTC
I'm assuming this was the issue since I could reproduce the error by turning off [gnome] and re-emerging libgsf. Fixed by revdep-rebuild.
Re-open if that's not the case.
Comment 3 Andrey Bondarenko 2009-04-11 20:29:23 UTC
(In reply to comment #2)
> I'm assuming this was the issue since I could reproduce the error by turning
> off [gnome] and re-emerging libgsf. Fixed by revdep-rebuild.
> Re-open if that's not the case.
> 

Tried revdep-rebuild. Found a lot of broken dependencies on libgsf-gnome.so,
but as I mentioned before there is no libgsf-gnome in /usr/lib unless I build
it with [gnome] use flag.

I have added to my /etc/portage/package.use: "gnome-extra/libgsf     gnome" Now gnumeric compiles just fine, so there is an easy workaround.

I think, it is a build time bug. Ebuild that has use flag and has it turned off
should not require other ebuilds have the same flag turned on. At least, it
should check such a condition and complain if something is wrong, as gnucash
ebuild does (it requires libgsf to be built with gnome flag).
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-11 20:38:27 UTC
This is what revdep-rebuild is for. Not a bug.
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-11 20:54:19 UTC
I also EAPI2ified a couple of packages that depend on libgsf[gnome]. They should be more vocal when complaining now.