Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257771 - app-arch/deb2targz-1 starts with invalid '#!/bin/env perl -w'
Summary: app-arch/deb2targz-1 starts with invalid '#!/bin/env perl -w'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 13:25 UTC by Stuart Shelton
Modified: 2009-02-09 17:15 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 Stuart Shelton 2009-02-05 13:25:10 UTC
... and therefore produces only:

$ deb2targz
env: perl -w: No such file or directory

This prevents builds of packages such as ca-certificates.

(This isn't a non-prefix binary issue: replacing the first line with "#!/opt/gentoo/bin/env perl -w" outputs "/opt/gentoo/bin/env: perl -w: No such file or directory")

Removing the " -w" fixes the problem.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-09 17:15:30 UTC
fixed. apparently env can't take 2 arguments. Instead, use the whole path to perl.