Bug 237589 - dns/bind912: 9.12.4P1 Broken on ARM
Summary: dns/bind912: 9.12.4P1 Broken on ARM
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-26 20:52 UTC by Renato Botelho
Modified: 2019-05-31 18:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho freebsd_committer 2019-04-26 20:52:33 UTC
Last version is not building on ARM:

making all in /wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/lib/ns
making all in /wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/lib/ns/include
making all in /wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/lib/ns/include/ns
/nxb-bin/usr/bin/cc -pthread  -I/wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1 -I../.. -I. -I../../lib/ns -Iinclude  -I/wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/lib/ns/include  -I../../lib/ns/include -I/wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/lib/dns/include  -I../../lib/dns/include -I/wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/lib/isc/include  -I../../lib/isc  -I../../lib/isc/include  -I../../lib/isc/unix/include  -I../../lib/isc/pthreads/include  -I../../lib/isc/noatomic/include   -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DDIG_SIGCHASE=1 -D_THREAD_SAFE -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include  -fPIC   -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c client.c
client.c:435:3: warning: implicit declaration of function 'isc_atomic_xadd' is invalid in C99 [-Wimplicit-function-declaration]
                isc_atomic_xadd(&client->interface->ntcpactive, 1);
                ^
client.c:444:4: warning: implicit declaration of function 'isc_atomic_xadd' is invalid in C99 [-Wimplicit-function-declaration]
                        isc_atomic_xadd(&client->interface->ntcpactive, -1);
                        ^
client.c:597:7: warning: implicit declaration of function 'isc_atomic_xadd' is invalid in C99 [-Wimplicit-function-declaration]
                    isc_atomic_xadd(&client->interface->ntcpaccepting, 0) == 0)
                    ^
client.c:3348:8: warning: implicit declaration of function 'isc_atomic_xadd' is invalid in C99 [-Wimplicit-function-declaration]
        old = isc_atomic_xadd(&client->interface->ntcpaccepting, -1);
              ^
client.c:3484:11: warning: implicit declaration of function 'isc_atomic_xadd' is invalid in C99 [-Wimplicit-function-declaration]
                exit = (isc_atomic_xadd(&client->interface->ntcpactive, 0) >
                        ^
client.c:3548:2: warning: implicit declaration of function 'isc_atomic_xadd' is invalid in C99 [-Wimplicit-function-declaration]
        isc_atomic_xadd(&client->interface->ntcpaccepting, 1);
        ^
6 warnings generated.

----------------

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(exit_check) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(exit_check) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(exit_check) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(ns_client_replace) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(get_client) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(client_accept) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(client_accept) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(client_accept) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(client_accept) in archive ../../lib/ns/libns.a

/nxb-bin/usr/bin/ld: error: undefined symbol: isc_atomic_xadd
>>> referenced by client.c
>>>               client.o:(client_newconn) in archive ../../lib/ns/libns.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/bin/named
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1/bin
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/dns/bind-pfsense/work/bind-9.12.4-P1
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/bind-pfsense
=>> Cleaning up wrkdir
===>  Cleaning for pfsense-bind912-9.12.4P1
build of dns/bind-pfsense | pfsense-bind912-9.12.4P1 ended at Fri Apr 26 16:37:14 EDT 2019
build time: 00:02:25
!!! build failure encountered !!!
Comment 1 Mathieu Arnold freebsd_committer 2019-05-15 08:49:17 UTC
I don't have a arm box to test on, I think it would be preferable to open a bug with the ISC directly.

(Side not, I don't maintain the dns/bind-pfsense port, which does not exist in the ports tree.)
Comment 2 Rene Ladan freebsd_committer 2019-05-31 18:40:14 UTC
Expired port removed.