Bug 280084 - dns/bind9-devel: doesn't build
Summary: dns/bind9-devel: doesn't build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 07:52 UTC by Helge Oldach
Modified: 2024-08-24 11:06 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 Helge Oldach 2024-07-02 07:52:56 UTC
FreeBSD latitude.local 14.1-STABLE FreeBSD 14.1-STABLE #33 stable/14-n267995-2472e352d80f-dirty: Wed Jun 26 07:18:28 CEST 2024     toor@latitude.local:/usr/obj/usr/src/amd64.amd64/sys/HMO amd64


Options set:

OPTIONS_FILE_UNSET+=DNSTAP
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_SET+=FIXED_RRSET
OPTIONS_FILE_UNSET+=GEOIP
OPTIONS_FILE_UNSET+=IDN
OPTIONS_FILE_UNSET+=JSON
OPTIONS_FILE_UNSET+=LARGE_FILE
OPTIONS_FILE_UNSET+=LMDB
OPTIONS_FILE_UNSET+=OVERRIDECACHE
OPTIONS_FILE_UNSET+=QUERYTRACE
OPTIONS_FILE_UNSET+=START_LATE
OPTIONS_FILE_SET+=TCP_FASTOPEN
OPTIONS_FILE_UNSET+=GSSAPI_BASE
OPTIONS_FILE_UNSET+=GSSAPI_HEIMDAL
OPTIONS_FILE_UNSET+=GSSAPI_MIT
OPTIONS_FILE_SET+=GSSAPI_NONE


build result:

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -include ../../config.h -I./include -I../../include -I../../lib/isc/include -I../../lib/isc/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -isystem /usr/local/include -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -Werror=vla -fno-strict-aliasing -fno-delete-null-pointer-checks -fdiagnostics-show-option -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -pthread -MT netmgr/libisc_la-http.lo -MD -MP -MF netmgr/.deps/libisc_la-http.Tpo -c netmgr/http.c  -fPIC -DPIC -o netmgr/.libs/libisc_la-http.o
mv -f netmgr/.deps/libisc_la-http.Tpo netmgr/.deps/libisc_la-http.Plo
/bin/sh ../../libtool --mode=compile --tag=CC /usr/sbin/dtrace -s ./probes.d -G -o probes.lo .libs/libisc_la-rwlock.o .libs/libisc_la-job.o
libtool: compile:  /usr/sbin/dtrace -s ./probes.d -G .libs/libisc_la-rwlock.o .libs/libisc_la-job.o  -fPIC -DPIC -o .libs/probes.o
dtrace: failed to link script ./probes: an error was encountered while processing .libs/libisc_la-rwlock.o
gmake[5]: *** [Makefile:2118: probes.lo] Error 1
gmake[5]: Leaving directory '/usr/obj/usr/ports/dns/bind9-devel/work/bind-9.19.24/lib/isc'
gmake[4]: *** [Makefile:835: all] Error 2
gmake[4]: Leaving directory '/usr/obj/usr/ports/dns/bind9-devel/work/bind-9.19.24/lib/isc'
gmake[3]: *** [Makefile:514: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/obj/usr/ports/dns/bind9-devel/work/bind-9.19.24/lib'
gmake[2]: *** [Makefile:467: all] Error 2
gmake[2]: Leaving directory '/usr/obj/usr/ports/dns/bind9-devel/work/bind-9.19.24/lib'
gmake[1]: *** [Makefile:582: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/obj/usr/ports/dns/bind9-devel/work/bind-9.19.24'
gmake: *** [Makefile:509: all] Error 2
*** [do-build] Error code 1

make[1]: stopped in /usr/ports/dns/bind9-devel
1 error

make[1]: stopped in /usr/ports/dns/bind9-devel
*** [stage] Error code 2

make: stopped in /usr/ports/dns/bind9-devel
1 error

make: stopped in /usr/ports/dns/bind9-devel
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2024-07-03 15:24:20 UTC
Yes, I have been getting those reports, I have not been able to reproduce the problem yet, so I don't have a fix.
Comment 2 Helge Oldach 2024-07-03 17:16:03 UTC
Let me add 2 data points:

My OPTIONS are not specific. Same error when using default OPTIONS.

If I remove /usr/sbin/dtrace before making the port, it builds fine.
Comment 3 Helge Oldach 2024-07-03 17:30:29 UTC
In other words, this will fix the issue:

CONFIGURE_ARGS+=--disable-tracing

I guess that's trivial enough not to warrant a patch?
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2024-07-07 08:25:26 UTC
Yeah, thanks, I can work with that. I still wonder why I can't reproduce the issue though.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-07-07 09:00:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0670122ac134c6dff700e76789c11000a81df64f

commit 0670122ac134c6dff700e76789c11000a81df64f
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2024-07-07 08:26:57 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-07-07 08:59:57 +0000

    dns/bind9-devel: fix build

    PR:             280084

 dns/bind9-devel/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-07-07 09:11:28 UTC
A commit in branch 2024Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06693584b1e2bcebf5718a2068a0c30ea4e441d9

commit 06693584b1e2bcebf5718a2068a0c30ea4e441d9
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2024-07-07 08:26:57 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-07-07 09:10:02 +0000

    dns/bind9-devel: fix build

    PR:             280084
    (cherry picked from commit 0670122ac134c6dff700e76789c11000a81df64f)

 dns/bind9-devel/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2024-08-24 11:06:31 UTC
^Triage: committed 2024-07-07.