[Bug 286789] net/miniupnpd: build failed on FreeBSD 13.4-RELEASE-p1
Date: Wed, 14 May 2025 00:54:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286789
Bug ID: 286789
Summary: net/miniupnpd: build failed on FreeBSD 13.4-RELEASE-p1
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: igor.arabesc.pavlov@gmail.com
CC: squat@squat.no
Flags: maintainer-feedback?(squat@squat.no)
CC: squat@squat.no
[/usr/ports/net/miniupnpd]# make install
===> License BSD3CLAUSE accepted by the user
===> miniupnpd-2.3.9,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by miniupnpd-2.3.9,1 for building
===> Extracting for miniupnpd-2.3.9,1
=> SHA256 Checksum OK for miniupnpd-2.3.9.tar.gz.
===> Patching for miniupnpd-2.3.9,1
===> miniupnpd-2.3.9,1 depends on shared library: libpfctl.so - found
(/usr/local/lib/libpfctl.so)
===> Configuring for miniupnpd-2.3.9,1
sysctl: unknown oid 'net.inet6.ip6.v6only'
./Makefile.bsd -> Makefile
Configuring compilation for [FreeBSD] [13.4-RELEASE-p1] [amd64] with [pf]
firewall software.
Please edit config.h for more compilation options.
===> Building for miniupnpd-2.3.9,1
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o miniupnpd.o ./miniupnpd.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnphttp.o ./upnphttp.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpdescgen.o ./upnpdescgen.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpsoap.o ./upnpsoap.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpredirect.o ./upnpredirect.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o getifaddr.o ./getifaddr.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o daemonize.o ./daemonize.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpglobalvars.o ./upnpglobalvars.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o options.o ./options.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnppermissions.o ./upnppermissions.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o minissdp.o ./minissdp.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o natpmp.o ./natpmp.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o pcpserver.o ./pcpserver.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o pcplearndscp.o ./pcplearndscp.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpevents.o ./upnpevents.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnputils.o ./upnputils.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o getconnstatus.o ./getconnstatus.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpstun.o ./upnpstun.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnppinhole.o ./upnppinhole.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o asyncsendto.o ./asyncsendto.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o portinuse.o ./portinuse.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o upnpreplyparse.o ./upnpreplyparse.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o minixml.o ./minixml.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o getifstats.o ./bsd/getifstats.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o ifacewatcher.o ./bsd/ifacewatcher.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o getroute.o ./bsd/getroute.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o obsdrdr.o ./pf/obsdrdr.c
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o pfpinhole.o ./pf/pfpinhole.c
cc -O2 -pipe -march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o miniupnpd miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o
upnpredirect.o getifaddr.o daemonize.o upnpglobalvars.o options.o
upnppermissions.o minissdp.o natpmp.o pcpserver.o pcplearndscp.o upnpevents.o
upnputils.o getconnstatus.o upnpstun.o upnppinhole.o asyncsendto.o
portinuse.o upnpreplyparse.o minixml.o getifstats.o ifacewatcher.o getroute.o
obsdrdr.o pfpinhole.o -lpfctl -lkvm
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testupnpdescgen.o ./testupnpdescgen.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testupnpdescgen testupnpdescgen.o upnpdescgen.o -lpfctl
-lkvm
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testgetifstats.o ./testgetifstats.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testgetifstats testgetifstats.o getifstats.o -lpfctl -lkvm
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testupnppermissions.o ./testupnppermissions.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testupnppermissions testupnppermissions.o upnppermissions.o
-lpfctl -lkvm
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o miniupnpdctl.o ./miniupnpdctl.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o miniupnpdctl miniupnpdctl.o
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testgetifaddr.o ./testgetifaddr.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testgetifaddr testgetifaddr.o getifaddr.o getconnstatus.o
-lpfctl -lkvm
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testgetroute.o ./testgetroute.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testgetroute testgetroute.o upnputils.o getroute.o -lpfctl
-lkvm
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testasyncsendto.o ./testasyncsendto.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testasyncsendto testasyncsendto.o asyncsendto.o upnputils.o
getroute.o
cc -isystem /usr/local/include -I. -I/usr/local/include/ -O2 -pipe
-march=broadwell -I/usr/include -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes
-fno-common -c -o testportinuse.o ./testportinuse.c
cc -L/usr/lib -lpfctl -fstack-protector-strong -L/usr/local/lib
-L/usr/local/lib -o testportinuse testportinuse.o portinuse.o getifaddr.o
-lpfctl -lkvm
ld: error: undefined symbol: proto_itoa
>>> referenced by portinuse.c
>>> portinuse.o:(port_in_use)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make: stopped in /usr/ports/net/miniupnpd/work/miniupnpd-2.3.9
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/miniupnpd
*** Error code 1
Stop.
make: stopped in /usr/ports/net/miniupnpd
--
You are receiving this mail because:
You are the assignee for the bug.