Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20185 - Several binary packages installed in /usr instead of /opt - causes problems with prelink
Summary: Several binary packages installed in /usr instead of /opt - causes problems w...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 17:00 UTC by Robin Johnson
Modified: 2003-10-28 17:29 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-29 17:00:07 UTC
The following packages install themselves in /usr instead of /opt. They should 
install in /opt as they are binary packages, and trying to run prelink against 
them can cause problems in some cases.
net-www/phoenix-bin
dev-lang/ghc-bin


Reproducible: Always
Steps to Reproduce:
On a clean install, emerge these, and try to run prelink against them. You will 
get unresolved library dependancies that aren't needed to run the application 
but are needed for prelinking.


Expected Results:  
Should be installed in /opt
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-05-02 03:25:09 UTC
Hi Robin

Well, phoenix-bin should actually be assigned to phoen][x, as I see that was him who was taking care of this one. Or did he quit recently? Then I might need to take care of this package I guess..

Andres:
I guess we can move ghc-bin to install under /opt. Other than unnecessary duplication I don't see a problem with this as long as /usr/bin is before /opt/ghc/bin in PATH. This will ensure that locally compiled version is preferred when available. Could you please take care of this, since you are maintaining haskell related stuff presently ;)?

George
Comment 2 Andres Loeh (RETIRED) gentoo-dev 2003-05-09 05:47:05 UTC
I just moved new ghc-bin ebuilds into the portage tree: 
	ghc-bin-5.04.2-r1 
	ghc-bin-5.04.3 
 
Both install to /opt/ghc now and add the path to /etc/env.d/10ghc. 
Both are still ~x86, though, because I did not test a full bootstrap 
of ghc yet ... You all are welcome to test, of course :) 
 
By the way, I noticed that some binary ebuilds install to /opt and 
then symlink to /usr/bin. I guess that would cause no problems  
w.r.t. prelinking? 
 
Best, 
  Andres 
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2003-05-10 03:06:50 UTC
Hey Robin.

I got to the phoenix - did some modifications to make it install under /opt/phoenix (instead of /usr/lib/phoenix).

I revision bumped the last available version, as I would prefer to keep the one by phoen][x until this move gets tested.
ALso, as I am not familiar with the package (but the modification works for me of course) and not even a maintainer of anything related to the topic :), I would prefer if this bug gets either tested and closed or reassigned ;).

Andres:
I tested ghc-bin-5.04.2-r1, looking good. Did not test 5.04.3 though - its 15MB download and I am on modem right now. I don't suppose it should be different though, but will try to test at some point later..

George

Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-28 17:29:51 UTC
closing this again.