[MacPorts] #64440: nspr fails to build for ppc+ppc64 on 10.5.8

MacPorts noreply at macports.org
Fri Jan 14 06:55:34 UTC 2022


#64440: nspr fails to build for ppc+ppc64 on 10.5.8
-------------------------------------+--------------------
 Reporter:  barracuda156             |      Owner:  (none)
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.7.1
 Keywords:  PowerPC, Leopard, ppc64  |       Port:  nspr
-------------------------------------+--------------------
 The build fails on this:

 {{{
 /usr/bin/gcc-4.2 -arch ppc -o prfdcach.o -c    -I/opt/local/include -pipe
 -Os -arch ppc64 -Wall -fno-common -pthread -Os -fPIC  -UDEBUG
 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
 -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
 -DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1
 -DHAVE_POINTER_LOCALTIME_R=1 -DHAVE_CRT_EXTERNS_H=1 -DHAVE_DLADDR=1
 -DHAVE_LCHOWN=1 -DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1
 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_
 -I../../../dist/include/nspr -I../../../pr/include
 -I../../../pr/include/private  prfdcach.c
 In file included from ../../../pr/include/md/prosdep.h:56,
                  from ../../../pr/include/private/primpl.h:32,
                  from prfdcach.c:6:
 ../../../pr/include/md/_darwin.h:32:2: error: #error "Unknown CPU
 architecture"
 fatal error: lipo: can't open input file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/.tmp/ccNebXAW.out
 (No such file or directory)
 make[3]: *** [prfdcach.o] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.33
 /nspr-ppc64/pr/src/io'
 make[2]: *** [export] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.33
 /nspr-ppc64/pr/src'
 make[1]: *** [export] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.33
 /nspr-ppc64/pr'
 make: *** [export] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.33
 /nspr-ppc64'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.33
 /nspr-ppc64" && /usr/bin/make -j4 -w all
 Exit code: 2
 Error: Failed to build nspr: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port nspr failed

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64440>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list