Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30436 - app-misc/bins-1.1.23 has the wrong path for globalConfigDir
Summary: app-misc/bins-1.1.23 has the wrong path for globalConfigDir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 35892 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-05 15:21 UTC by Haroon Rafique
Modified: 2003-12-22 10:56 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 Haroon Rafique 2003-10-05 15:21:33 UTC
During the installation of bins-1.1.23, we see the following banner flash by:

This will install BINS program and configuration files in the following paths :
PREFIX = /var/tmp/portage/bins-1.1.23/image/usr
BIN    = /var/tmp/portage/bins-1.1.23/image/usr/bin
SHARE  = /var/tmp/portage/bins-1.1.23/image/usr/share/bins
MAN    = /var/tmp/portage/bins-1.1.23/image/usr/man/man1
LOCALE = /var/tmp/portage/bins-1.1.23/image/usr/share/locale
RC     = /var/tmp/portage/bins-1.1.23/image/etc/bins

Unfortunately, the last line with the RC value makes it into /usr/bin/bins in tact, as follows:

337    globalConfigDir => "/var/tmp/portage/bins-1.1.23/image/etc/bins",#system wide

Here's a diff for a fix which performs a sed after the ./install.sh line.

diff -u /usr/portage/app-misc/bins/bins-1.1.23.ebuild.orig /usr/portage/app-misc/bins/bins-1.1.23.ebuild
--- /usr/portage/app-misc/bins/bins-1.1.23.ebuild.orig  2003-10-05 18:12:06.000000000 -0400
+++ /usr/portage/app-misc/bins/bins-1.1.23.ebuild       2003-10-05 18:12:15.000000000 -0400
@@ -47,4 +47,5 @@

 src_install() {
        env DESTDIR=${D} PREFIX="/usr" ./install.sh || die
+       dosed "s:${D}:/:g" /usr/bin/bins
 }
Comment 1 Robert Coie (RETIRED) gentoo-dev 2003-12-21 23:57:53 UTC
Fixed in a slightly different way in 1.1.23-r1. Thanks for finding the problem.
Comment 2 Rene Schneider 2003-12-22 10:56:21 UTC
*** Bug 35892 has been marked as a duplicate of this bug. ***