Problem found when building net/xmlrpc-c on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit, running on Apple Powerbook 17". /usr/ports/net/xmlrpc-c # make -DBATCH install clean ===> License BSD3CLAUSE accepted by the user ===> xmlrpc-c-1.51.06 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xmlrpc-c-1.51.06 for building ===> Extracting for xmlrpc-c-1.51.06 => SHA256 Checksum OK for xmlrpc-c-1-51.06.tgz. ===> Patching for xmlrpc-c-1.51.06 ..... ..... xmlrpc_server.a /usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/lib/abyss/src/libxmlrpc_abyss.a /usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/src/libxmlrpc.a /usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/lib/expat/xmlparse/libxmlrpc_xmlparse.a /usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/lib/expat/xmltok/libxmlrpc_xmltok.a /usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/lib/libutil/libxmlrpc_util.a -lpthread `_ZTSN12_GLOBAL__N_113callInfo_testE' referenced in section `.rodata' of server_pstream.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_113callInfo_testE[_ZTSN12_GLOBAL__N_113callInfo_testE]' of server_pstream.o `_ZTSN12_GLOBAL__N_118testCallInfoMethodE' referenced in section `.rodata' of server_pstream.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_118testCallInfoMethodE[_ZTSN12_GLOBAL__N_118testCallInfoMethodE]' of server_pstream.o `_ZTSN12_GLOBAL__N_115sampleAddMethodE' referenced in section `.rodata' of server_pstream.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_115sampleAddMethodE[_ZTSN12_GLOBAL__N_115sampleAddMethodE]' of server_pstream.o `_ZTSN12_GLOBAL__N_115sampleAddMethodE' referenced in section `.rodata' of testclient.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_115sampleAddMethodE[_ZTSN12_GLOBAL__N_115sampleAddMethodE]' of testclient.o `_ZTSN12_GLOBAL__N_119addHandlerTestSuiteE' referenced in section `.rodata' of server_abyss.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_119addHandlerTestSuiteE[_ZTSN12_GLOBAL__N_119addHandlerTestSuiteE]' of server_abyss.o `_ZTSN12_GLOBAL__N_115sampleAddMethodE' referenced in section `.rodata' of server_abyss.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_115sampleAddMethodE[_ZTSN12_GLOBAL__N_115sampleAddMethodE]' of server_abyss.o `_ZTSN12_GLOBAL__N_115createTestSuiteE' referenced in section `.rodata' of server_abyss.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_115createTestSuiteE[_ZTSN12_GLOBAL__N_115createTestSuiteE]' of server_abyss.o `_ZTSN12_GLOBAL__N_118testCallInfoMethodE' referenced in section `.rodata' of server_abyss.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_118testCallInfoMethodE[_ZTSN12_GLOBAL__N_118testCallInfoMethodE]' of server_abyss.o gmake[3]: *** [/usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/test/cpp/Makefile:99: test] Error 1 gmake[3]: Leaving directory '/usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/test/cpp' gmake[2]: *** [/usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/common.mk:381: cpp/all] Error 2 gmake[2]: Leaving directory '/usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/test' gmake[1]: *** [/usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06/common.mk:381: test/all] Error 2 gmake[1]: Leaving directory '/usr/ports/net/xmlrpc-c/work/xmlrpc-c-1-51.06' *** Error code 1 Stop. make: stopped in /usr/ports/net/xmlrpc-c
Error when building security/nss on Powerbook G4 powerpc 32 bit : FreeBSD 13.0-CURRENT (GENERIC) #0 r360211: Thu Apr 23 05:00:07 UTC 2020 /usr/ports/security/nss # make -DBATCH install clean ===> Building for nss-3.51.1_1 .... pqg.c:345:16: error: result of comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] if (addend < MP_DIGIT_MAX) { ~~~~~~ ^ ~~~~~~~~~~~~ 1 error generated. gmake[4]: *** [../../coreconf/rules.mk:393: FreeBSD13.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/pqg.o] Error 1 gmake[4]: Leaving directory '/usr/ports/security/nss/work/nss-3.51.1/nss/lib/freebl' gmake[3]: *** [Makefile:639: libs] Error 2 Is it related to the problem above ? (If not, I can open a new PR) Does the error message help ?
(In reply to canardo from comment #1) please discard message above, wrong copy paste, shame on me
(In reply to canardo from comment #2) I have no powerpc32 machine to test it. does this error persist on more modern FreeBSD versions?
I have no way to test it and got no answers to be sure it's still broken on modern FreeBSD versions. Feel free to answer if it is and we re-open it