[Bug 251821] dns/unbound: SIGSEGV in 1.13.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 14 00:15:52 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251821

--- Comment #3 from Tatsuki Makino <tatsuki_makino at hotmail.com> ---
Probably still a guess, but the solution is to run pkg delete -f unbound before
building unbound-1.13.0.

The reason for this is that it cannot be reproduced in a package made by
poudriere.
And poudriere leaves the following log.

./libtool --tag=CC --mode=compile cc -I. -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -I/usr/local/include -DSRCDIR=. -O2
-pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE -pthread
-o context.lo -c ./libunbound/context.c
libtool: compile:  cc -I. -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -DSRCDIR=. -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -D_THREAD_SAFE -pthread -c
./libunbound/context.c  -fPIC -DPIC -o .libs/context.o
libtool: compile:  cc -I. -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -DSRCDIR=. -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -D_THREAD_SAFE -pthread -c
./libunbound/context.c -o context.o >/dev/null 2>&1

According to the structure of the contents of the distfile, the working
directory is ${WRKSRC}.
The search order for the include file is . , then /usr/local/include.
At this point, if unbound.h is needed, it is likely that the one in
/usr/local/include will be used.
But I don't know, I haven't even looked at the source :)

If you already have 1.13.0 installed, you may be able to fix it by building it
again. But I haven't tried it yet :)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list