#66270 closed defect (fixed)
nss @3.85 does not build on PPC Tiger, Mac OS X 10.4.11, because "No rule to make target '../certhigh/Darwin8.11.0_gcc-apple-4.2_OPT.OBJ/certhtml.o'"
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | tiger ppc | Cc: | |
Port: | nss |
Description
/opt/local/bin/gcc-apple-4.2 -Os -std=c99 -arch ppc -o Output.OBJD/utilwrap.o -c -std=c99 -Os -fPIC -Dppc -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX -UDEBUG -DNDEBUG -DNSS_DISABLE_AVX2 -DNSS_NO_INIT_SUPPORT -DNSS_DISABLE_CRYPTO_VSX -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/opt/local/include/nspr -I../../../dist/Output.OBJD/include -I../../../dist/public/nss -I../../../dist/private/nss utilwrap.c utilwrap.c: In function 'DER_TimeToUTCTime': utilwrap.c:450: warning: declaration of 'time' shadows a global declaration /usr/include/time.h:136: warning: shadowed declaration is here utilwrap.c: In function 'DER_UTCTimeToTime': utilwrap.c:462: warning: declaration of 'time' shadows a global declaration /usr/include/time.h:136: warning: shadowed declaration is here utilwrap.c: In function 'DER_GeneralizedTimeToTime': utilwrap.c:505: warning: declaration of 'time' shadows a global declaration /usr/include/time.h:136: warning: shadowed declaration is here rm -f Output.OBJD/libnss.a ar cr Output.OBJD/libnss.a Output.OBJD/nssinit.o Output.OBJD/nssoptions.o Output.OBJD/nssver.o Output.OBJD/utilwrap.o echo Output.OBJD/libnss.a Output.OBJD/libnss.a grep -v ';+' nss.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,_,' > Output.OBJD/nss.def gmake[3]: *** No rule to make target '../certhigh/Darwin8.11.0_gcc-apple-4.2_OPT.OBJ/certhtml.o', needed by 'Output.OBJD/libnss3.dylib'. Stop. gmake[3]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/nss' gmake[2]: *** [../coreconf/rules.mk:44: nss] Error 2 gmake[2]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib' gmake[1]: *** [coreconf/rules.mk:44: lib] Error 2 gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss' gmake: *** [manifest.mn:21: all] Error 2 gmake: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss" && /opt/local/bin/gmake -j1 -w all NSS_DISABLE_GTESTS=1 NSS_ENABLE_WERROR=0 CPU_ARCH=ppc CC="/opt/local/bin/gcc-apple-4.2 -Os -std=c99 -arch ppc" CCC="/opt/local/bin/g++-apple-4.2 -Os -arch ppc" NSPR_INCLUDE_DIR=/opt/local/include/nspr NSPR_LIB_DIR=/opt/local/lib/nspr NSS_USE_SYSTEM_SQLITE=1 USE_SYSTEM_ZLIB=1 BUILD_OPT=1 OPTIMIZER="-Os" OBJDIR_NAME="Output.OBJD" Exit code: 2}}}
Attachments (1)
Change History (11)
Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
This cannot be the whole truth, because I have:
92393227 8 -rw-r--r-- 1 macports admin 4816 Nov 15 13:57 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certhigh/Output.OBJD/certhtml.o 92390693 12 -rw-r--r-- 1 macports admin 9177 Nov 10 11:16 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certhigh/certhtml.c
The target presumingly is not correctly named. The text Darwin8.11.0_gcc-apple-4.2_OPT.OBJ
looks incorrect. Nowhere below the work
directory does such a directory exist. And the text certhtml
does not exist in any Makefile
, it exists only here:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/.CC_PRINT_OPTIONS:59:[Logging gcc options] "/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/cc1" "-quiet" "-I/opt/local/include/nspr" "-I../../../dist/Output.OBJD/include" "-I../../../dist/public/nss" "-I../../../dist/private/nss" "-D__DYNAMIC__" "-Dppc" "-DDARWIN" "-DHAVE_STRERROR" "-DHAVE_BSD_FLOCK" "-DNSS_NO_GCC48" "-DXP_UNIX" "-UDEBUG" "-DNDEBUG" "-DNSS_DISABLE_AVX2" "-DNSS_NO_INIT_SUPPORT" "-DNSS_DISABLE_CRYPTO_VSX" "-DUSE_UTIL_DIRECTLY" "-DNO_NSPR_10_SUPPORT" "-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES" "certhtml.c" "-fPIC" "-quiet" "-dumpbase" "certhtml.c" "-mmacosx-version-min=10.4" "-auxbase-strip" "Output.OBJD/certhtml.o" "-Os" "-Os" "-Wall" "-Wshadow" "-std=c99" "-std=c99" "-fPIC" "-fno-common" "-o" "-" | /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/.CC_PRINT_OPTIONS:60:[Logging gcc options] "/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/as" "-arch" "ppc" "-o" "Output.OBJD/certhtml.o" /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certdb/cert.h:743:** XXX This function resides in certhtml.c, should it be /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certdb/secname.c:596:/* Moved from certhtml.c */ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certhigh/certhigh.gyp:14: 'certhtml.c', /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certhigh/certhtml.c:6: * certhtml.c --- convert a cert to html /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.85/nss/lib/certhigh/manifest.mn:20: certhtml.c \
comment:2 Changed 2 years ago by kencu (Ken)
confirmed this issue on clean TIgerPPC system.
Fix is not presently obvious to me.
comment:4 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Interestingly versions 3.84 and 3.85 both build on PPC Leopard…
comment:5 Changed 2 years ago by kencu (Ken)
the problem here is the gmake port, currently at version 4.4, is too new to build this, but the make on Tiger is too old.
So, we need a new plan.
comment:6 Changed 2 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:7 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Did nss
build for you on Tiger with gmake
? I think I tried it myself and also reached the fault.
comment:8 Changed 2 years ago by kencu (Ken)
gmake in the gmake port is too new.
this fixes it -- give a while to come your way and enjoy!
comment:9 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
It built here too with gmake-apple @3.81_0
. The ticket can be closed.
After finishing checking my Tiger
tickets: Should I start decimate my open Leopard
tickets?
comment:10 Changed 2 years ago by kencu (Ken)
I would very much appreciate if you could screen your Leopard tickets and close/recommend closing the ones that have been fixed. Thanks.
Main.log from PPC Tiger