Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 257771

Summary: app-arch/deb2targz-1 starts with invalid '#!/bin/env perl -w'
Product: Gentoo/Alt Reporter: Stuart Shelton <srcshelton>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: IRIX   
Whiteboard:
Package list:
Runtime testing required: ---

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.