Bug 243954 - net/xmlrpc-c : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit : test/cpp/Makefile:99: test] Error 1
Summary: net/xmlrpc-c : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit : tes...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-07 10:58 UTC by canardo
Modified: 2020-05-01 18:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2020-02-07 10:58:33 UTC
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
Comment 1 canardo 2020-05-01 18:11:15 UTC
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 ?
Comment 2 canardo 2020-05-01 18:12:21 UTC
(In reply to canardo from comment #1)

please discard message above, wrong copy paste, shame on me