Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246264 - app-admin/stow-1.3.3 - CONFLICT: /usr/local/stow/dmtcp/lib vs. /usr/local/lib
Summary: app-admin/stow-1.3.3 - CONFLICT: /usr/local/stow/dmtcp/lib vs. /usr/local/lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 10:36 UTC by David Radice
Modified: 2011-12-07 19:12 UTC (History)
3 users (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 David Radice 2008-11-10 10:36:11 UTC
When using stow to install something that wants to put some libs in /usr/local/lib stow will fail with something like this:

CONFLICT: /usr/local/stow/dmtcp/lib vs. /usr/local/lib

because /usr/local/lib is a symlink pointing to /usr/local/lib64 (so it's not "owned" by stow).

A possible workaround would be to move stow/$PACKAGE/lib to stow/$PACKAGE/lib64. Once installed the package will not notice the difference as lib points to lib64...
Comment 1 erik falor 2011-10-28 17:35:34 UTC
I don't feel that this issue is with Stow per se, but rather with the users.  Instead of throwing app-admin/stow out, I propose that we encourage users to use /usr/stowed/stow instead of /usr/local/stow as their stowdir.  If you don't like /usr/stowed, we could use /opt/stow.

A small change to the environment is needed to accomodate a non-traditional stow dir.  Here's my /etc/env.d/10stow:
LDPATH="/usr/stowed/lib"
PATH="/usr/stowed/bin"

The point is, Stow isn't broken.  It nicely meets the need for users who want to quickly add a package to their system but who don't want to maintain an ebuild for it.  Let's not get rid of it so hastily.

If it takes someone being stow's maintainer to save it, then I'll do it.  Tell me where to sign up.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-10-28 23:25:15 UTC
Stow has no maintainer. If you are interested in fixing the package have a look here

http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2011-11-01 20:58:31 UTC
Erik Falor is going to maintain this through me, so no more maintainer-needed. Patch for bug will be in tree later this week.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2011-11-20 10:26:34 UTC
Any progress on that?
Comment 5 erik falor 2011-11-21 18:29:38 UTC
I've submitted a patch to Maxim Koltsov, and we've gone back and forth on a few details.  We should have a final commit very soon.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-03 17:45:23 UTC
There's a 2.1.0 version out as of today.
Comment 7 erik falor 2011-12-05 03:19:30 UTC
Thanks for the heads-up, Jeroen.  I'll prepare a new ebuild.
Comment 8 erik falor 2011-12-06 05:53:16 UTC
Attempted to write an ebuild for Stow-2.1.0, but ran into a configure script problem.  Awaiting response from upstream.
Comment 9 Maxim Koltsov (RETIRED) gentoo-dev 2011-12-07 19:12:42 UTC
Okay, fixed finnaly, old version & new version. Thanks, Erik.