Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36245 - mtx package makes ebuilds fail because of tar
Summary: mtx package makes ebuilds fail because of tar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-21 09:49 UTC by Simon de Hartog
Modified: 2004-01-26 09:13 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 Simon de Hartog 2003-12-21 09:49:22 UTC
When installing mtx, it sets an environment variable in /etc/env.d/95mtx, which is TAPE=/dev/tapes/tape0/generic. This influences tar not to use it's standard input when no archive is specified when extracting, but the file mentioned in this TAPE enviroment variable.
All of a sudden, some ebuilds fail to unpack their sources (at least blackdown-jdk, took me weeks to find this), because they use "cat archive | tar -jxp".
Suggested fix: Let tar always use it's standard input for reading archives, not depending on the TAPE environment, or of course let all ebuilds specify where to extract the archive from...
Comment 1 SpanKY gentoo-dev 2004-01-26 00:59:03 UTC
i just looked through the two ebuilds in portage and they dont seem to install an env.d entry anymore ...

if you `emerge mtx` and then do `qpkg -f /etc/env.d/95mtx`, what do you see ?
Comment 2 Simon de Hartog 2004-01-26 09:13:01 UTC
Indeed, the new mtx doesn't install an environment file anymore. So the solution for the record: emerge sync, emerge mtx :-)