#17334: openmcl build failure ----------------------------------+----------------------------------------- Reporter: nDiScReEt@GmAiL.cOm | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: openmcl | ----------------------------------+----------------------------------------- Changes (by macsforever2000@macports.org): * cc: gwright@macports.org (added) * owner: macports-tickets@lists.macosforge.org => waqar@macports.org Old description:
I am running both a PPC G4 iBook 1.42GHz and a PPC G5 Dual 1.8GHz with Mac OSX 10.5.5 running XCode 3.1.1 using MacPorts 1.600 (Binary install) and I receive the following output for both machines when I attempt to install openmcl:
<snip> ---> Fetching openmcl ---> Verifying checksum(s) for openmcl ---> Checksumming openmcl-darwinppc-all-1.0.tar.gz ---> Extracting openmcl ---> Extracting openmcl-darwinppc-all-1.0.tar.gz ---> Configuring openmcl ---> Building openmcl with target all gm4 -DDARWIN -I../ ../spjump.s | as -force_cpusubtype_ALL -o spjump.o gm4 -DDARWIN -I../ ../spentry.s | as -force_cpusubtype_ALL -o spentry.o gm4 -DDARWIN -I../ ../subprims.s | as -force_cpusubtype_ALL -o subprims.o gm4 -DDARWIN -I../ ../imports.s | as -force_cpusubtype_ALL -o imports.o cc -c ../pmcl-kernel.c -DDARWIN -g -O2 -mdynamic-no-pic -o pmcl-kernel.o ../pmcl-kernel.c: In function 'address_unmapped_p': ../pmcl-kernel.c:474: error: 'port_t' undeclared (first use in this function) ../pmcl-kernel.c:474: error: (Each undeclared identifier is reported only once ../pmcl-kernel.c:474: error: for each function it appears in.) ../pmcl-kernel.c:474: error: syntax error before 'vm_object_name' ../pmcl-kernel.c:487: error: 'vm_object_name' undeclared (first use in this function) ../pmcl-kernel.c: At top level: ../pmcl-kernel.c:752: warning: 'struct sigcontext' declared inside parameter list ../pmcl-kernel.c:752: warning: its scope is only this definition or declaration, which is probably not what you want ../pmcl-kernel.c: In function 'sigint_handler': ../pmcl-kernel.c:797: error: dereferencing pointer to incomplete type ../pmcl-kernel.c: In function 'xGetSharedLibrary': ../pmcl-kernel.c:1446: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) ../pmcl-kernel.c:1481: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1485: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1494: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) ../pmcl-kernel.c:1496: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) ../pmcl-kernel.c:1506: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) ../pmcl-kernel.c: In function 'xFindSymbol': ../pmcl-kernel.c:1659: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/include/mach-o/dyld.h:176) ../pmcl-kernel.c:1660: warning: '_dyld_lookup_and_bind' is deprecated (declared at /usr/include/mach-o/dyld.h:243) make: *** [pmcl-kernel.o] Error 1 Error: Target org.macports.build returned: shell command "make" returned error 2 Command output: gm4 -DDARWIN -I../ ../spjump.s | as -force_cpusubtype_ALL -o spjump.o gm4 -DDARWIN -I../ ../spentry.s | as -force_cpusubtype_ALL -o spentry.o gm4 -DDARWIN -I../ ../subprims.s | as -force_cpusubtype_ALL -o subprims.o gm4 -DDARWIN -I../ ../imports.s | as -force_cpusubtype_ALL -o imports.o cc -c ../pmcl-kernel.c -DDARWIN -g -O2 -mdynamic-no-pic -o pmcl-kernel.o ../pmcl-kernel.c: In function 'address_unmapped_p': ../pmcl-kernel.c:474: error: 'port_t' undeclared (first use in this function) ../pmcl-kernel.c:474: error: (Each undeclared identifier is reported only once ../pmcl-kernel.c:474: error: for each function it appears in.) ../pmcl-kernel.c:474: error: syntax error before 'vm_object_name' ../pmcl-kernel.c:487: error: 'vm_object_name' undeclared (first use in this function) ../pmcl-kernel.c: At top level: ../pmcl-kernel.c:752: warning: 'struct sigcontext' declared inside parameter list ../pmcl-kernel.c:752: warning: its scope is only this definition or declaration, which is probably not what you want ../pmcl-kernel.c: In function 'sigint_handler': ../pmcl-kernel.c:797: error: dereferencing pointer to incomplete type ../pmcl-kernel.c: In function 'xGetSharedLibrary': ../pmcl-kernel.c:1446: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) ../pmcl-kernel.c:1481: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1485: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1494: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) ../pmcl-kernel.c:1496: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) ../pmcl-kernel.c:1506: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) ../pmcl-kernel.c: In function 'xFindSymbol': ../pmcl-kernel.c:1659: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/include/mach-o/dyld.h:176) ../pmcl-kernel.c:1660: warning: '_dyld_lookup_and_bind' is deprecated (declared at /usr/include/mach-o/dyld.h:243) make: *** [pmcl-kernel.o] Error 1
Warning: the following items did not execute (for openmcl): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. </snip>
I ran sudo port -v clean --all openmcl and ran the installation again with the same result. I am a novice to reading these error reports but I include the entire output because it appears to have skipped the configure phase altogether and went straight for the build phase.
New description: I am running both a PPC G4 iBook 1.42GHz and a PPC G5 Dual 1.8GHz with Mac OSX 10.5.5 running XCode 3.1.1 using MacPorts 1.600 (Binary install) and I receive the following output for both machines when I attempt to install openmcl: {{{ <snip> ---> Fetching openmcl ---> Verifying checksum(s) for openmcl ---> Checksumming openmcl-darwinppc-all-1.0.tar.gz ---> Extracting openmcl ---> Extracting openmcl-darwinppc-all-1.0.tar.gz ---> Configuring openmcl ---> Building openmcl with target all gm4 -DDARWIN -I../ ../spjump.s | as -force_cpusubtype_ALL -o spjump.o gm4 -DDARWIN -I../ ../spentry.s | as -force_cpusubtype_ALL -o spentry.o gm4 -DDARWIN -I../ ../subprims.s | as -force_cpusubtype_ALL -o subprims.o gm4 -DDARWIN -I../ ../imports.s | as -force_cpusubtype_ALL -o imports.o cc -c ../pmcl-kernel.c -DDARWIN -g -O2 -mdynamic-no-pic -o pmcl-kernel.o ../pmcl-kernel.c: In function 'address_unmapped_p': ../pmcl-kernel.c:474: error: 'port_t' undeclared (first use in this function) ../pmcl-kernel.c:474: error: (Each undeclared identifier is reported only once ../pmcl-kernel.c:474: error: for each function it appears in.) ../pmcl-kernel.c:474: error: syntax error before 'vm_object_name' ../pmcl-kernel.c:487: error: 'vm_object_name' undeclared (first use in this function) ../pmcl-kernel.c: At top level: ../pmcl-kernel.c:752: warning: 'struct sigcontext' declared inside parameter list ../pmcl-kernel.c:752: warning: its scope is only this definition or declaration, which is probably not what you want ../pmcl-kernel.c: In function 'sigint_handler': ../pmcl-kernel.c:797: error: dereferencing pointer to incomplete type ../pmcl-kernel.c: In function 'xGetSharedLibrary': ../pmcl-kernel.c:1446: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) ../pmcl-kernel.c:1481: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1485: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1494: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) ../pmcl-kernel.c:1496: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) ../pmcl-kernel.c:1506: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) ../pmcl-kernel.c: In function 'xFindSymbol': ../pmcl-kernel.c:1659: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/include/mach-o/dyld.h:176) ../pmcl-kernel.c:1660: warning: '_dyld_lookup_and_bind' is deprecated (declared at /usr/include/mach-o/dyld.h:243) make: *** [pmcl-kernel.o] Error 1 Error: Target org.macports.build returned: shell command "make" returned error 2 Command output: gm4 -DDARWIN -I../ ../spjump.s | as -force_cpusubtype_ALL -o spjump.o gm4 -DDARWIN -I../ ../spentry.s | as -force_cpusubtype_ALL -o spentry.o gm4 -DDARWIN -I../ ../subprims.s | as -force_cpusubtype_ALL -o subprims.o gm4 -DDARWIN -I../ ../imports.s | as -force_cpusubtype_ALL -o imports.o cc -c ../pmcl-kernel.c -DDARWIN -g -O2 -mdynamic-no-pic -o pmcl-kernel.o ../pmcl-kernel.c: In function 'address_unmapped_p': ../pmcl-kernel.c:474: error: 'port_t' undeclared (first use in this function) ../pmcl-kernel.c:474: error: (Each undeclared identifier is reported only once ../pmcl-kernel.c:474: error: for each function it appears in.) ../pmcl-kernel.c:474: error: syntax error before 'vm_object_name' ../pmcl-kernel.c:487: error: 'vm_object_name' undeclared (first use in this function) ../pmcl-kernel.c: At top level: ../pmcl-kernel.c:752: warning: 'struct sigcontext' declared inside parameter list ../pmcl-kernel.c:752: warning: its scope is only this definition or declaration, which is probably not what you want ../pmcl-kernel.c: In function 'sigint_handler': ../pmcl-kernel.c:797: error: dereferencing pointer to incomplete type ../pmcl-kernel.c: In function 'xGetSharedLibrary': ../pmcl-kernel.c:1446: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) ../pmcl-kernel.c:1481: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1485: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) ../pmcl-kernel.c:1494: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) ../pmcl-kernel.c:1496: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) ../pmcl-kernel.c:1506: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) ../pmcl-kernel.c: In function 'xFindSymbol': ../pmcl-kernel.c:1659: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/include/mach-o/dyld.h:176) ../pmcl-kernel.c:1660: warning: '_dyld_lookup_and_bind' is deprecated (declared at /usr/include/mach-o/dyld.h:243) make: *** [pmcl-kernel.o] Error 1 Warning: the following items did not execute (for openmcl): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. </snip> }}} I ran sudo port -v clean --all openmcl and ran the installation again with the same result. I am a novice to reading these error reports but I include the entire output because it appears to have skipped the configure phase altogether and went straight for the build phase. -- Comment: Assigning to maintainers. -- Ticket URL: <http://trac.macports.org/ticket/17334#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS