Opened 6 years ago
Closed 6 years ago
#58239 closed defect (fixed)
legacy-support @0.10 does not build on PPC Tiger, Mac OS X 10.4.11, because of conflicting types for 'fstatat64'
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | tiger | Cc: | cjones051073 (Chris Jones) |
Port: | legacy-support |
Description
/opt/local/bin/gcc-apple-4.2 -c -Iinclude -Os -arch ppc -fPIC src/atcalls.c -o src/atcalls.dl.o In file included from src/atcalls.c:43: include/sys/stat.h:35: warning: 'struct stat64' declared inside parameter list include/sys/stat.h:35: warning: its scope is only this definition or declaration, which is probably not what you want src/atcalls.c:91: warning: 'struct stat64' declared inside parameter list src/atcalls.c:91: error: conflicting types for 'fstatat64' include/sys/stat.h:35: error: previous declaration of 'fstatat64' was here src/atcalls.c:244: warning: 'struct stat64' declared inside parameter list src/atcalls.c:245: error: conflicting types for 'fstatat64' include/sys/stat.h:35: error: previous declaration of 'fstatat64' was here make: *** [src/atcalls.dl.o] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_legacy-support/legacy-support/work/macports-legacy-support-0.10' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_legacy-support/legacy-support/work/macports-legacy-support-0.10" && /usr/bin/make -w all Exit code: 2
Attachments (1)
Change History (11)
Changed 6 years ago by ballapete (Peter "Pete" Dyballa)
comment:2 Changed 6 years ago by kencu (Ken)
This can be reproduced on newer systems like this, from the checked out macports-legacy-support directory:
CC="/opt/local/bin/gcc-apple-4.2 -mmacosx-version-min=10.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.4u.sdk" make
This may make it easier for some others to debug this who don't have a running Tiger system.
comment:3 follow-up: 4 Changed 6 years ago by ken-cunningham-webuse
comment:4 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)
It looks as if I do not have the types stat64 and lstat64 #defined… (based on checking src/atcalls.dl.c
)
In /opt/local/include/tclUnixPort.h
I have:
120 #elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__) 121 # define TclOSstat stat64 122 # define TclOSlstat lstat64 123 #else 124 # define TclOSstat stat 125 # define TclOSlstat lstat 126 #endif
Couldn't this be used on a G4
?
comment:5 Changed 6 years ago by mf2k (Frank Schima)
Cc: | kencu added; jonesc@… kencu@… removed |
---|---|
Owner: | set to cjones051073 |
Status: | new → assigned |
comment:6 Changed 6 years ago by cjones051073 (Chris Jones)
I should not own this. I have no way to test anything on < 10.6....
comment:7 Changed 6 years ago by cjones051073 (Chris Jones)
Owner: | changed from cjones051073 to kencu |
---|
comment:8 Changed 6 years ago by cjones051073 (Chris Jones)
Cc: | cjones051073 added |
---|
comment:9 Changed 6 years ago by cjones051073 (Chris Jones)
Cc: | kencu removed |
---|
comment:10 Changed 6 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Main.log from PPC Tiger