Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3229

Summary: Failure to emerge scrollkeeper with gnome2 and gcc-3.1
Product: Gentoo Linux Reporter: José Fonseca <j_r_fonseca>
Component: [OLD] GNOMEAssignee: Spider (RETIRED) <spider>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: scrollkeeper-0.3.8-r1.ebuild
scrollkeeper-0.3.8-r1.diff

Description José Fonseca 2002-05-30 12:28:35 UTC
When emerging scrollkeeper with gnome2 and gcc-3.1 profile the following error
occurs:

installing catalog
>>> Rebuilding Scrollkeeper database...
scrollkeeper-update: /usr/local/share/omf: No such file or directory
scrollkeeper-update: /opt/gnome/share/omf: No such file or directory
scrollkeeper-update: /opt/gnome-2.0/share/omf: No such file or directory
scrollkeeper-update: /opt/kde/omf: No such file or directory
Registering 
/usr/share/omf/scrollkeeper/writing_scrollkeeper_omf_files-C.omf
>>> Updating Scrollkeeper database...
Could not create database.  Aborting update.
!!! pkg_postinst() script failed; exiting.

Creating those directories eliminate the warnings but it still fails to create
the database. And all gnome packages with use scrollkeeper fail in that point as
well, giving always a message like:

>>> Updating Scrollkeeper database...
Could not create database.  Aborting update.
!!! pkg_postinst() script failed; exiting.

Although in every case the package is considered emerged.
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-30 20:01:53 UTC
run  scrollkeeper-update -v  and paste the results here please.
Comment 2 José Fonseca 2002-05-31 04:02:25 UTC
No difference:

localhost balsa # scrollkeeper-update -v
Could not create database.  Aborting update.
localhost balsa #

localhost balsa # scrollkeeper-rebuilddb -v
Registering /usr/share/omf/gnome-core/gnome-system-monitor-C.omf
Registering /usr/share/omf/scrollkeeper/writing_scrollkeeper_omf_files-C.omf
Registering /usr/share/omf/gnome-panel/panel-C.omf
Registering /usr/share/omf/gnome-panel/workspace-switcher-C.omf
Registering /usr/share/omf/gnome-panel/window-list-C.omf
Registering /usr/share/omf/gnome-panel/clock-C.omf
Registering /usr/share/omf/gnome-panel/mailcheck-C.omf
Registering /usr/share/omf/gnome-panel/fish-applet-2-C.omf
Registering /usr/share/omf/gnome-applets/cdplayer-C.omf
Registering /usr/share/omf/gnome-applets/char-palette-C.omf
Registering /usr/share/omf/gnome-applets/command-line-C.omf
Registering /usr/share/omf/gnome-applets/geyes-C.omf
Registering /usr/share/omf/gnome-applets/gtik2_applet2-C.omf
Registering /usr/share/omf/gnome-applets/gweather-C.omf
Registering /usr/share/omf/gnome-applets/mixer_applet2-C.omf
Registering /usr/share/omf/gedit/gedit-C.omf
Registering /usr/share/omf/nautilus/nautilus-user-manual-C.omf
Registering /usr/share/omf/gnome-games/gnect-C.omf
Registering /usr/share/omf/gnome-games/gnomine-C.omf
Registering /usr/share/omf/gnome-games/same-gnome-C.omf
Registering /usr/share/omf/gnome-games/mahjongg-C.omf
Registering /usr/share/omf/gnome-games/gtali-C.omf
Registering /usr/share/omf/gnome-games/gnobots2-C.omf
Registering /usr/share/omf/gnome-games/gnome-stones-C.omf
Registering /usr/share/omf/gnome-games/gataxx-C.omf
Registering /usr/share/omf/gnome-games/gnotravex-C.omf
Registering /usr/share/omf/gnome-games/gnibbles-C.omf
Registering /usr/share/omf/gnome-games/glines-C.omf
Registering /usr/share/omf/gnome-games/iagno-C.omf
Registering /usr/share/omf/gnome-games/xbill-C.omf
Registering /usr/share/omf/gnome-games/aisleriot-C.omf
Registering /usr/share/omf/gnome-utils/gnome-character-map-C.omf
Registering /usr/share/omf/gnome-utils/gnome-calculator-C.omf
Registering /usr/share/omf/gnome-utils/gnome-search-tool-C.omf
Registering /usr/share/omf/gnome-utils/gnome-dictionary-C.omf
Registering /usr/share/omf/gnome-utils/archive-generator-C.omf
localhost balsa # 

/var/log/scrollkeeper.log has exactly the same thing. I also had similar
problems with gconf and the schemas directory. I haven't booted this system (I'm
still running on the chroot environment) so I'm not sure if the programs will
work at all.

Here is my USE flags:

USE="mmx sse apm pcmcia -kde -arts gnome gtk bonobo gtkhtml alsa esd mozilla
tetex samba -nls -gpm -svga mbox"

Comment 3 Andreas Simon 2002-05-31 04:31:16 UTC
This bug is already known and fixed  in scrollkeeper's cvs. Until spider updates scrollkeeper,  apply this patch by yourself and have a working scrollkeeper:  http://sourceforge.net/mailarchive/forum.php?thread_id=745646&forum_id=4112      Btw, this bug does not only happens on SPARC, gcc 3.1 seems  to trigger this error also on ia32 architechtures.    Cheers,    Andreas    
Comment 4 José Fonseca 2002-05-31 05:07:14 UTC
Thanks! It works fine now. I've made a new ebuild with this which I'll attach.
Comment 5 José Fonseca 2002-05-31 05:10:07 UTC
Created attachment 1252 [details]
scrollkeeper-0.3.8-r1.ebuild

Note, it seems to be a problem with the "myconf" variable (which was before).
emerge says:

/usr/sbin/ebuild.sh: myconf: command not found

My USE flags do include "-nls"...
Comment 6 José Fonseca 2002-05-31 05:11:11 UTC
Created attachment 1253 [details, diff]
scrollkeeper-0.3.8-r1.diff

Includes the patch in
http://sourceforge.net/mailarchive/forum.php?thread_id=745646&forum_id=4112
Comment 7 Spider (RETIRED) gentoo-dev 2002-05-31 16:15:12 UTC
 commited