[MacPorts] #57606: nss @3.40 does not build on PPC Tiger, Mac OS X 10.4.11, with HFSX because 'for' loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Thu Nov 15 00:03:56 UTC 2018


#57606: nss @3.40 does not build on PPC Tiger, Mac OS X 10.4.11, with HFSX because
'for' loop initial declaration used outside C99 mode
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:  tiger      |       Port:  nss
-----------------------+--------------------
 {{{
 /opt/local/bin/gcc-apple-4.2 -arch ppc -o Output.OBJD/tls13esni.o -c -Os
 -fPIC -Dppc -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX -UDEBUG -DNDEBUG
 -DNSS_NO_INIT_SUPPORT -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  tls13esni.c
 tls13esni.c: In function 'tls13_CopyESNIKeys':
 tls13esni.c:72: error: 'for' loop initial declaration used outside C99
 mode
 tls13esni.c: In function 'SSLExp_EncodeESNIKeys':
 tls13esni.c:288: error: 'for' loop initial declaration used outside C99
 mode
 make[2]: *** [Output.OBJD/tls13esni.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_net_nss/nss/work/nss-3.40/nss/lib/ssl'
 make[1]: *** [libs] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_net_nss/nss/work/nss-3.40/nss/lib'
 make: *** [libs] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_net_nss/nss/work/nss-3.40/nss'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_net_nss/nss/work/nss-3.40/nss"
 && /usr/bin/make -w all NSS_DISABLE_GTESTS=1 NSS_ENABLE_WERROR=0
 CC="/opt/local/bin/gcc-apple-4.2 -arch ppc"
 CCC="/opt/local/bin/g++-apple-4.2 -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
 }}}

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


More information about the macports-tickets mailing list