Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322415 - dev-util/bless ebuild is broken (install calls scrollkeeper-update)
Summary: dev-util/bless ebuild is broken (install calls scrollkeeper-update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mike Auty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 21:51 UTC by Michael Conrad
Modified: 2010-06-05 07:30 UTC (History)
0 users

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


Attachments
Patch to fix scrollkeeper error (bless.ebuild.patch,986 bytes, patch)
2010-06-01 22:12 UTC, Michael Conrad
Details | Diff
Text of my emerge --info (emerge.info,10.86 KB, text/plain)
2010-06-05 07:30 UTC, Michael Conrad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Conrad 2010-06-01 21:51:50 UTC
The package dev-util/bless calls scrollkeeper-update during its install phase.  This is a sandbox violation, and aborts the ebuild.

Another similar bug for a different package (with a patch to correct the problem) is described in 68287
http://bugs.gentoo.org/show_bug.cgi?id=68287

(I would try my hand at creating a similar patch, but that one is from 2004 and it sounds like there's some better way to deal with scrollkeeper)
Comment 1 Michael Conrad 2010-06-01 22:10:01 UTC
Actually, there is a configure option to prevent this.

According to bless-0.6.0/README.packaging:
  The only problem with this procedure is that Bless by default
  tries to register its documentation with Scrollkeeper (if it
  is found) during make install and unregister it during make
  uninstall. However this is not wanted on the packager`s system
  but on the user's system. 
  
  To overcome this, Bless should be configured without
  scrollkeeper support by the packager:
  
    configure --without-scrollkeeper

The attached diff works for me
Comment 2 Michael Conrad 2010-06-01 22:12:29 UTC
Created attachment 233791 [details, diff]
Patch to fix scrollkeeper error
Comment 3 Mike Auty (RETIRED) gentoo-dev 2010-06-04 22:25:18 UTC
Ok, I've added in --without-scrollkeeper to the ebuild.  Note, I never had any problem with the scrollkeeper, so for reference it would be good if you could please post your "emerge --info".  My guess is I won't be seeing the problem because I tend to use FEATURES="userpriv".

The remaining lines in the patch (manually running scrollkeeper) shouldn't be necessary because they're handled by the gnome2 eclass.

If you're still experiencing the problem, do please reopen this bug and I'll take another look at it.  Thanks...  5:)
Comment 4 Michael Conrad 2010-06-05 07:30:35 UTC
Created attachment 234165 [details]
Text of my emerge --info

This is just for future reference