Opened 20 years ago

Closed 20 years ago

#2905 closed defect (fixed)

port command having trouble unpacking on 10.2.8

Reported by: IOOI-SqAR Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc: danielluke (Daniel J. Luke)
Port:

Description

[Lars-Sonchocky-Helldorfs-Computer:~] lars% sudo port install postgresql8 --->  Fetching bison --->  Attempting to fetch bison-2.0.tar.gz from ftp://ftp.gnu.org/gnu/bison --->  Verifying checksum(s) for bison --->  Extracting bison --->  Configuring bison Error: Target com.apple.configure returned: configure failure: shell command "cd "/Volumes/Data/ Projekte/darwinports/dports/devel/bison/work/bison-2.0" && ./configure --prefix=/opt/local -- infodir=/opt/local/share/info --mandir=/opt/local/share/man --disable-yacc" returned error 1 Command output: sh: cd: /Volumes/Data/Projekte/darwinports/dports/devel/bison/work/bison-2.0: No such file or directory

Error: The following dependencies failed to build: bison openssl zlib readline [Lars-Sonchocky-Helldorfs-Computer:~] lars% sudo /usr/libexec/locate.updatedb [Lars-Sonchocky-Helldorfs-Computer:~] lars% locate bison-2.0 /opt/local/var/db/dports/distfiles/bison/bison-2.0.tar.gz [Lars-Sonchocky-Helldorfs-Computer:~] lars% uname -a Darwin Lars-Sonchocky-Helldorfs-Computer.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh powerpc [Lars-Sonchocky-Helldorfs-Computer:~] lars%

after cleaning this port I did the same with -d option:

[Lars-Sonchocky-Helldorfs-Computer:~] lars% sudo port -d install postgresql8 DEBUG: Found port in file:///Volumes/Data/Projekte/darwinports/dports/databases/postgresql8 DEBUG: Changing to port directory: /Volumes/Data/Projekte/darwinports/dports/databases/ postgresql8 DEBUG: Requested variant powerpc is not provided by port postgresql8. DEBUG: Requested variant darwin is not provided by port postgresql8. DEBUG: Requested variant macosx is not provided by port postgresql8. DEBUG: Found port in file:///Volumes/Data/Projekte/darwinports/dports/devel/readline DEBUG: Changing to port directory: /Volumes/Data/Projekte/darwinports/dports/devel/readline DEBUG: Searching for dependency: readline DEBUG: Didn't find receipt, going to depspec regex for: readline DEBUG: Found port in file:///Volumes/Data/Projekte/darwinports/dports/devel/openssl DEBUG: Changing to port directory: /Volumes/Data/Projekte/darwinports/dports/devel/openssl DEBUG: Searching for dependency: openssl DEBUG: Didn't find receipt, going to depspec regex for: openssl DEBUG: Found port in file:///Volumes/Data/Projekte/darwinports/dports/devel/bison DEBUG: Changing to port directory: /Volumes/Data/Projekte/darwinports/dports/devel/bison DEBUG: Searching for dependency: bison DEBUG: Didn't find receipt, going to depspec regex for: bison DEBUG: Found port in file:///Volumes/Data/Projekte/darwinports/dports/archivers/zlib DEBUG: Changing to port directory: /Volumes/Data/Projekte/darwinports/dports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Didn't find receipt, going to depspec regex for: zlib DEBUG: Requested variant powerpc is not provided by port bison. DEBUG: Requested variant darwin is not provided by port bison. DEBUG: Requested variant macosx is not provided by port bison. DEBUG: Executing com.apple.main (bison) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/bison-2.0_0.powerpc.tgz DEBUG: Skipping unarchive (bison) since no archive found DEBUG: Skipping completed com.apple.unarchive (bison) --->  Fetching bison DEBUG: Executing com.apple.fetch (bison) --->  Verifying checksum(s) for bison DEBUG: Executing com.apple.checksum (bison) --->  Checksumming bison-2.0.tar.gz DEBUG: Correct (md5) checksum for bison-2.0.tar.gz --->  Extracting bison DEBUG: Executing com.apple.extract (bison) --->  Extracting bison-2.0.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/bison/bison-2.0.tar.gz DEBUG: Assembled command: 'cd "/Volumes/Data/Projekte/darwinports/dports/devel/bison/work" && gzip -dc /opt/local/var/db/dports/distfiles/bison/bison-2.0.tar.gz | tar --no-same-owner -xf -' tar: Failed open to read on /dev/nrst0 <No such file or directory>

gzip: stdout: Broken pipe DEBUG: Executing com.apple.patch (bison) --->  Configuring bison DEBUG: Executing com.apple.configure (bison) DEBUG: Assembled command: 'cd "/Volumes/Data/Projekte/darwinports/dports/devel/bison/work/ bison-2.0" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --mandir=/opt/local/ share/man --disable-yacc' sh: cd: /Volumes/Data/Projekte/darwinports/dports/devel/bison/work/bison-2.0: No such file or directory Error: Target com.apple.configure returned: configure failure: shell command "cd "/Volumes/Data/ Projekte/darwinports/dports/devel/bison/work/bison-2.0" && ./configure --prefix=/opt/local -- infodir=/opt/local/share/info --mandir=/opt/local/share/man --disable-yacc" returned error 1 Command output: sh: cd: /Volumes/Data/Projekte/darwinports/dports/devel/bison/work/bison-2.0: No such file or directory

Warning: the following items did not execute (for bison): com.apple.install com.apple.configure com.apple.build com.apple.destroot com.apple.archive Error: The following dependencies failed to build: bison openssl zlib readline [Lars-Sonchocky-Helldorfs-Computer:~] lars%

this seems to be the cause:

--->  Extracting bison-2.0.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/bison/bison-2.0.tar.gz DEBUG: Assembled command: 'cd "/Volumes/Data/Projekte/darwinports/dports/devel/bison/work" && gzip -dc /opt/local/var/db/dports/distfiles/bison/bison-2.0.tar.gz | tar --no-same-owner -xf -' tar: Failed open to read on /dev/nrst0 <No such file or directory>

gzip: stdout: Broken pipe

Since I experienced the same on another Jaguar machine two days ago (and thought is comes from the fact that I had chosen a different prefix (just /opt instead of /opt/local)) I can say it's not just this dport that fails to unpack but every dependency so it seems to be a general problem on 10.2.8. Btw this was done with a fresh cvs checkout from today.

Thanks, Lars

P.S.:

I know how to circumvent this by mannually unpacking each port from /opt/local/var/db/dports/ distfiles/ to the work directory by adding the -C option to the tar command. But this is annoying and not the way it is supposed to be (unless you say: "Jaguar is no longer supported, use Panther or suffer, tard!"

Attachments (1)

no_same_owner.patch (6.7 KB) - added by danielluke (Daniel J. Luke) 20 years ago.
new autoconf test for tar --no-same-owner support

Download all attachments as: .zip

Change History (6)

comment:1 Changed 20 years ago by danielluke (Daniel J. Luke)

Both 10.2 and 10.3 systems have gnu tar (which supports --no-same-owner) installed as 'gnutar', so perhaps we should check for the existence of 'gnutar' with our configure script and use it instead of tar if it's available.

Thoughts?

comment:2 Changed 20 years ago by danielluke (Daniel J. Luke)

(In reply to comment #1)

Thoughts?

Oh, this won't work.

gnutar on 10.2 (1.13) doesn't support --no-same-owner :(

Changed 20 years ago by danielluke (Daniel J. Luke)

Attachment: no_same_owner.patch added

new autoconf test for tar --no-same-owner support

comment:3 Changed 20 years ago by danielluke (Daniel J. Luke)

Cc: dluke@… added

comment:4 Changed 20 years ago by danielluke (Daniel J. Luke)

Could someone with commit on /base please check over the patch and give comments (or commit it?)

Thanks.

comment:5 Changed 20 years ago by jberry@…

Resolution: fixed
Status: newclosed

Committed. Thanks Daniel. Nice work. You can now be the official auto-monkey ;)

-jdb

Note: See TracTickets for help on using tickets.