Ticket #21582 (closed defect: fixed)
trace mode fails extracting any port
| Reported by: | ryandesign@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 2.0.0 |
| Component: | base | Version: | 1.8.0 |
| Keywords: | snowleopard | Cc: | danchr@…, jmr@… |
| Port: |
Description
Doesn't matter what port you try; if you use trace mode, it fails in the extract phase:
$ sudo port -t configure zlib ---> Computing dependencies for zlib ---> Fetching zlib ---> Verifying checksum(s) for zlib ---> Extracting zlib Error: Target org.macports.extract returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_archivers_zlib/work" && /usr/bin/bzip2 -dc /opt/local/var/macports/distfiles/zlib/zlib-1.2.3.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf - " returned error 1 Command output: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory sh: line 0: cd: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_archivers_zlib/work: Not a directory Error: Status 1 encountered during processing.
MacPorts 1.8 branch @58094
Mac OS X 10.6.1
Attachments
Change History
comment:2 Changed 4 years ago by wsiegrist@…
- Milestone changed from MacPorts 1.8.1 to MacPorts 1.8.2
comment:6 Changed 3 years ago by jmr@…
Darwintrace is denying access to some directories because it thinks they are not directories. Calling the stat syscall directly apparently gives different results than using the libc function, specifically in st_mode. A test program demonstrating this is attached.
comment:8 Changed 3 years ago by snc@…
- Cc jmr@… added
- Status changed from closed to reopened
- Resolution fixed deleted
This change in trunk appears to cause a build failure on ppc970 (G5). Do other platforms have build issues now as well?
darwintrace.c:925: warning: 'struct stat64' declared inside parameter list darwintrace.c:925: warning: its scope is only this definition or declaration, which is probably not what you want darwintrace.c: In function 'stat64': darwintrace.c:941: error: 'SYS_stat64' undeclared (first use in this function) darwintrace.c:941: error: (Each undeclared identifier is reported only once darwintrace.c:941: error: for each function it appears in.) darwintrace.c:948:5: warning: '$' in identifier or number darwintrace.c: At top level: darwintrace.c:948: warning: 'struct stat64' declared inside parameter list darwintrace.c: In function 'stat$INODE64': darwintrace.c:950: warning: passing argument 2 of 'stat64' from incompatible pointer type darwintrace.c: At top level: darwintrace.c:976: warning: 'struct stat64' declared inside parameter list darwintrace.c: In function 'lstat64': darwintrace.c:992: error: 'SYS_lstat64' undeclared (first use in this function) darwintrace.c: At top level: darwintrace.c:999: warning: 'struct stat64' declared inside parameter list darwintrace.c: In function 'lstat$INODE64': darwintrace.c:1001: warning: passing argument 2 of 'lstat64' from incompatible pointer type make[2]: *** [darwintrace.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
comment:9 Changed 3 years ago by ryandesign@…
Jeremy, is your G5 running Tiger? If so, see Joshua's message that this change probably broke MacPorts on Tiger.
comment:10 Changed 3 years ago by jmr@…
- Status changed from reopened to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.


Only fails on Snow Leopard, works on Leopard and Tiger.