[MacPorts] #38943: base trunk does not build on Tiger because of undefined __DARWIN_MAXPATHLEN and undeclared SYS_getdirentries64

MacPorts noreply at macports.org
Fri Apr 26 13:07:22 PDT 2013


#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


More information about the macports-tickets mailing list