Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393561 - dev-scheme/chicken-4.7.3: installs /usr/lib/libchickenchicken-4.7.3.tar.gz (portage pollutes ${A} variable)
Summary: dev-scheme/chicken-4.7.3: installs /usr/lib/libchickenchicken-4.7.3.tar.gz (p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: erik falor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 23:21 UTC by Alec Meyers
Modified: 2011-12-10 13:42 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 Alec Meyers 2011-12-07 23:21:45 UTC
Chicken installs /usr/lib/libchickenchicken-4.7.3.tar.gz

$ equery f chicken | grep tar.gz
/usr/lib64/libchickenchicken-4.7.3.tar.gz

$ file /usr/lib/libchickenchicken-4.7.3.tar.gz
/usr/lib64/libchickenchicken-4.7.3.tar.gz: current ar archive

Portage uses ${A} for the source archive, and chicken's makefile (rules.make) references the variable, which results in make substituting $(A) for the source archive name.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-08 17:38:32 UTC
Hmm, does it help to put an `unset A' in src_compile() / src_install() and so on? It's only used in src_unpack() I should think.
Comment 2 erik falor 2011-12-10 05:55:37 UTC
I've sent a new chicken-4.7.3.ebuild to maksbotan@gentoo.org.

I added a line in src_prepare() that calls sed and hacks the ${A}
variable out of all of the makefiles.

There was already a similar hack in there to fix the collision between
ebuild's ARCH variable, so I simply borrowed that technique.
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2011-12-10 13:42:04 UTC
Fixed in 4.7.3-r1, thanks to Erik.