[MacPorts] #69116: nss build failure on 10.5 leopard

MacPorts noreply at macports.org
Tue Jan 16 21:17:10 UTC 2024


#69116: nss build failure on 10.5 leopard
----------------------+--------------------
 Reporter:  rmottola  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:  leopard   |       Port:  nss
----------------------+--------------------
 I get this build failure for 3.96.1_0 on intel 32bit


 {{{
 /opt/local/bin/clang-mp-11 -Os -std=c99 -arch i386 -o
 Output.OBJD/Darwin_SINGLE_SHLIB/sysrand.o -c -std=c99 -Os -fPIC -Dppc
 -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK  -Wall
 -Wshadow -Qunused-arguments -Wno-parentheses-equality -Wno-array-bounds
 -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX
 -DSHLIB_SUFFIX=\"dylib\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
 -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG
 -DNSS_DISABLE_AVX2 -DNSS_DISABLE_SSE3 -DNSS_NO_INIT_SUPPORT
 -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
 -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_X86_OR_X64 -DNSS_X86
 -DUSE_HW_SHA2 -DMP_USE_UINT_DIGIT -DMP_ASSEMBLY_MULTIPLY
 -DMP_ASSEMBLY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D -DKRML_VERIFIED_UINT128
 -DMP_API_COMPATIBLE -I/opt/local/include/nspr
 -I../../../dist/Output.OBJD/include -I../../../dist/public/nss
 -I../../../dist/private/nss -Impi -Iecl -Iverified -Iverified/internal
 -Iverified/karamel/include -Iverified/karamel/krmllib/dist/minimal
 -Ideprecated  sysrand.c
 In file included from sysrand.c:14:
 ./unix_rand.c:597:6: error: 'TARGET_OS_IPHONE' is not defined, evaluates
 to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
 #if !TARGET_OS_IPHONE
      ^
 ./unix_rand.c:610:5: error: 'TARGET_OS_IPHONE' is not defined, evaluates
 to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
 #if TARGET_OS_IPHONE
     ^
 2 errors generated.
 make[4]: *** [Output.OBJD/Darwin_SINGLE_SHLIB/sysrand.o] Error 1

 }}}

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


More information about the macports-tickets mailing list