Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536776 - Gentoo is altering upstream to not support /usr/local??
Summary: Gentoo is altering upstream to not support /usr/local??
Status: RESOLVED NEEDINFO
Alias: None
Product: Community Relations
Classification: Unclassified
Component: User Relations (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Community Relations Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-16 15:49 UTC by Gordon Haverland
Modified: 2016-01-26 19:28 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 Gordon Haverland 2015-01-16 15:49:44 UTC
I have been installing packages, and /usr/bin/pkg-config seemingly doing everything it was supposed to.  Yesterday, I found that /usr/bin/pkg-config was not working for a situation where some software had been installed in /usr/local.  The version of pkg-config installed was dev-util/pkgconfig.

An upstream author mentioned something about PKG_CONFIG_PATH, as did the man page for pkg-config.  And while having PKG_CONFIG_PATH defined did result in some changes in how a program behaved, it did not result in being able to install a second package which depended on the the first package.

I then tried installing dev-util/pkgconf.  This install removed the old dev-util/pkgconfig.  It behaved the same way.

I then uninstalled dev-util/pkgconf, and installed dev-util/pkgconfig-openbsd.  Which behaved the same as the other 2 versions.  But, because /usr/bin/pkg-config for the openbsd version is a perl script, it was trivial for me to prepend /usr/local/lib/pkgconfig to the list of 2 directories that pkgconfig was searching.  And at this point, the /usr/bin/pkg-config program worked the way it was supposed to.

Somebody not associated with dev/util/pkgconfig-openbsd declared my bug report invalid.

Thinking about things, all that makes sense is that Gentoo is deliberately altering upstream development packages, so that they won't work with /usr/local.  This seems a rather strange thing to do, and maybe I am just mis-interpreting things because I have autism.

There has been lots of times under other versions of linux, where I am trying to help someone else install an involved package, and installing into /usr/local is the most logical thing to do.

I'll stop here, I have a tendency to ramble on.
Comment 1 Pacho Ramos gentoo-dev 2015-01-16 15:56:04 UTC
Do you have a link to let us see that bug that was closed as INVALID? Also, looking to dev-util/pkgconfig I haven't noticed any patch or option to drop change /usr/local behavior, but you can double check it of course looking to ebuilds+patches that are there
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2015-01-16 16:01:59 UTC
Unless this turns out to have a few "special" circumstances, it won't belong to ComRel. I'm opening it as there's no reason for it to be closed and leaving the product until we can determine where best to put it.