[MacPorts] #38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64
#38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64 -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: trunk -----------------------------+-------------------------------- This is the failure on PPC Mac OS X 10.4.11 with Revision 105593: {{{ ===> making all in src/registry2.0 gcc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common registry.c -o registry.o gcc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common util.c -o util.o gcc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common entry.c -o entry.o gcc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common entryobj.c -o entryobj.o gcc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common file.c -o file.o gcc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common fileobj.c -o fileobj.o cc -dynamiclib registry.o util.o entry.o entryobj.o file.o fileobj.o ../cregistry/cregistry.a -o registry.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4 -lsqlite3 ===> making all in src/darwintracelib1.0 gcc -g -O2 -Wextra -Wall -fPIC -Wno-deprecated-declarations -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -c -o darwintrace.o darwintrace.c darwintrace.c:1106: error: ‘__DARWIN_MAXPATHLEN’ undeclared here (not in a function) darwintrace.c: In function ‘__getdirentries64’: darwintrace.c:1111: error: ‘SYS_getdirentries64’ undeclared (first use in this function) darwintrace.c:1111: error: (Each undeclared identifier is reported only once darwintrace.c:1111: error: for each function it appears in.) make[2]: *** [darwintrace.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/38943> MacPorts <http://www.macports.org/> Ports system for OS X
#38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64 ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: Port: | ------------------------------+-------------------------------- Changes (by larryv@…): * cc: cal (removed) * cc: cal@… (added) * component: ports => base * port: trunk => Comment: Cc takes real email addresses. -- Ticket URL: <https://trac.macports.org/ticket/38943#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64 ------------------------------+---------------------- Reporter: Peter_Dyballa@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: Port: | ------------------------------+---------------------- Changes (by cal@…): * owner: macports-tickets@… => cal@… * status: new => assigned Comment: Can you attach (or mail) `/usr/include/sys/syscall.h` and `/usr/include/sys/dirent.h`? It seems getdirentries64 wasn't available on Tiger so I can just #ifdef it out completely, but I'd like to make sure that's actually the case. -- Ticket URL: <https://trac.macports.org/ticket/38943#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64 ------------------------------+---------------------- Reporter: Peter_Dyballa@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by cal@…): Can you check whether r105633 solves the problem for you? -- Ticket URL: <https://trac.macports.org/ticket/38943#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64 ------------------------------+---------------------- Reporter: Peter_Dyballa@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by Peter_Dyballa@…): Replying to [comment:3 cal@…]:
Can you check whether r105633 solves the problem for you?
'make' and 'make install' now succeeded. -- Ticket URL: <https://trac.macports.org/ticket/38943#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64 ------------------------------+-------------------- Reporter: Peter_Dyballa@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: Resolution: fixed | Keywords: Port: | ------------------------------+-------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: Great :) -- Ticket URL: <https://trac.macports.org/ticket/38943#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts