Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465370 - sys-devel/autogen: do not unconditionally remove libopts-*.tar.gz
Summary: sys-devel/autogen: do not unconditionally remove libopts-*.tar.gz
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-10 08:29 UTC by Martin von Gagern
Modified: 2013-04-14 01:47 UTC (History)
0 users

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 Martin von Gagern 2013-04-10 08:29:07 UTC
Trying to investigate an issue with recent uudecode, I got a git clone of git://git.savannah.gnu.org/sharutils.git and tried to bootstrap that. Result:

$ VERBOSE=1 ./bootstrap
[…]
>install_libopts> liboptsdir=libopts
>>install_libopts> autoopts-config libsrc
>install_libopts> f=' /usr/share/autogen/libopts-36.3.11.tar.gz'
>install_libopts> case "$f" in
>install_libopts> tar -xzf /usr/share/autogen/libopts-36.3.11.tar.gz
tar (child): /usr/share/autogen/libopts-36.3.11.tar.gz: Cannot open: No such file or directory

So the tar file which gets removed in the ebuild might be neccessary in some cases. As it is part of the default installation of that package, as intended by upstream, I believe that the file should either get installed unconditionally, or depending on some USE flag. Unconditionally removing it seems wrong.
Comment 1 SpanKY gentoo-dev 2013-04-10 17:26:51 UTC
putting it behind a (disabled by default) USE flag should be fine
Comment 2 SpanKY gentoo-dev 2013-04-14 01:47:17 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add USE=libopts to control deletion of libopts tarball
http://sources.gentoo.org/sys-devel/autogen/autogen-5.17.3.ebuild?rev=1.1
http://sources.gentoo.org/sys-devel/autogen/metadata.xml?r1=1.4&r2=1.5