Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167486 - gnome-extra/libgsf-1.14.2 preserve_old_lib() must be called from pkg_preinst() only
Summary: gnome-extra/libgsf-1.14.2 preserve_old_lib() must be called from pkg_preinst(...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 167485 167593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-18 15:32 UTC by Caleb Cushing
Modified: 2007-02-19 21:47 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge.info,3.30 KB, text/plain)
2007-02-18 15:34 UTC, Caleb Cushing
Details
libgsf emerge log (gnome-extra:libgsf-1.14.2:20070218-152200.log,124.87 KB, text/plain)
2007-02-18 15:37 UTC, Caleb Cushing
Details
Fix the preserve_old_lib() bug (libgsf-1.14.2-preserve.patch,371 bytes, patch)
2007-02-18 16:16 UTC, Christoph Kappel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Cushing 2007-02-18 15:32:48 UTC
I was rebuilding world. libgsf stopped building with this error.

 * preserve_old_lib() must be called from pkg_preinst() only

a little farther down it says (in the call stack)
libgsf-1.14.2.ebuild, line 39:   Called preserve_old_lib '/usr/lib/libgsf-1.so.1'
 

Reproducible: Always
Comment 1 Caleb Cushing 2007-02-18 15:34:35 UTC
Created attachment 110546 [details]
emerge --info
Comment 2 Caleb Cushing 2007-02-18 15:37:58 UTC
Created attachment 110547 [details]
libgsf emerge log
Comment 3 Christoph Kappel 2007-02-18 16:16:54 UTC
Created attachment 110552 [details, diff]
Fix the preserve_old_lib() bug

It's easy to fix - so it should hopefully be upstream soon. 
The attached patch works for me.
Additionally there's a QA notice about poor programming:

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * gsfmodule.c:40: warning: implicit declaration of function 'pygsf_register_classes
Comment 4 Caleb Cushing 2007-02-18 16:28:12 UTC
heh... good thing I don't use gnome. I just use a few things that depends on some of there stuff (e.g. gdm, gaim) somewhere along the line this must be a dependancy.but thx for the quick fix.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 18:09:54 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 18:33:19 UTC
*** Bug 167485 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-02-18 18:41:08 UTC
fix0red, thanks for reporting..
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-18 22:44:15 UTC
As drac said, fixed.
Comment 9 Caleb Cushing 2007-02-19 02:23:59 UTC
is this patch going to get committed to portage? (fixed my problem but I put it in an overlay)
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-19 02:37:16 UTC
It's been in portage for 8 hours now.
Comment 11 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-19 21:47:34 UTC
*** Bug 167593 has been marked as a duplicate of this bug. ***