Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66911 - ppc-macos: gawk fails to unpack/build
Summary: ppc-macos: gawk fails to unpack/build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-09 12:57 UTC by Chris L. Mason
Modified: 2004-11-14 13:07 UTC (History)
1 user (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 Chris L. Mason 2004-10-09 12:57:41 UTC
Here's the error:

>>> emerge (1 of 1) sys-apps/gawk-3.1.3-r1 to /
>>> md5 src_uri ;-) gawk-3.1.3.tar.gz
>>> Checking gawk-3.1.3.tar.gz's mtime...
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking gawk-3.1.3.tar.gz to /var/tmp/portage/gawk-3.1.3-r1/work
cp: illegal option -- d
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory

!!! ERROR: sys-apps/gawk-3.1.3-r1 failed.
!!! Function src_unpack, Line 24, Exitcode 64
!!! cp failed
!!! If you need support, post the topmost build error, NOT this status message.

This looks like a cp incompatibility.  The equivalent option on macos is "-P" (don't follow symlinks/no-reference).  I believe this is also the POSIX standard option and the gnu utils are changing to -P instead of -d, so maybe the ebuild can just be changed to "cp -PR" instead of "cp -dR"?
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2004-11-14 13:02:52 UTC
The manpage agrees that -d is merely a compatibility symlink to the newer POSIX -P option since file-utils 4.1
Compile-tested in overlay, changing ebuilds now.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2004-11-14 13:07:07 UTC
In CVS.
Thank you for your report, if you sync in two hours, the updated ebuild will be in your tree.