[MacPorts] #74221: scamper fails to build after update to 20260713: sc_rxifd.c: error: ‘quic4’ undeclared (first use in this function)

MacPorts noreply at macports.org
Wed Jul 15 09:12:44 UTC 2026


#74221: scamper fails to build after update to 20260713: sc_rxifd.c: error: ‘quic4’
undeclared (first use in this function)
--------------------------+---------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.12.5
 Keywords:                |       Port:  scamper
--------------------------+---------------------
 Xcode gcc:
 {{{
 :info:build Making all in sc_rxifd
 :info:build make[3]: Entering directory `/opt/local/var/macports/build
 /scamper-d9c3c357/work/scamper-cvs-20260713/utils/sc_rxifd'
 :info:build depbase=`echo sc_rxifd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
 -I../.. -I/opt/local/libexec/openssl3/include -isystem/opt/local/include
 -pipe -I/opt/local/libexec/openssl3/include -Os -arch ppc  -MT sc_rxifd.o
 -MD -MP -MF $depbase.Tpo -c -o sc_rxifd.o sc_rxifd.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo ../../mjl_huffman.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
 -I../.. -I/opt/local/libexec/openssl3/include -isystem/opt/local/include
 -pipe -I/opt/local/libexec/openssl3/include -Os -arch ppc  -MT
 ../../mjl_huffman.o -MD -MP -MF $depbase.Tpo -c -o ../../mjl_huffman.o
 ../../mjl_huffman.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build sc_rxifd.c: In function ‘quic_out’:
 :info:build sc_rxifd.c:1947: warning: implicit declaration of function
 ‘udp4_send’
 :info:build sc_rxifd.c:1947: error: ‘quic4’ undeclared (first use in this
 function)
 :info:build sc_rxifd.c:1947: error: (Each undeclared identifier is
 reported only once
 :info:build sc_rxifd.c:1947: error: for each function it appears in.)
 :info:build sc_rxifd.c: In function ‘rxifd’:
 :info:build sc_rxifd.c:2551: warning: ‘daemon’ is deprecated (declared at
 /usr/include/stdlib.h:289)
 :info:build sc_rxifd.c:2586: error: ‘OPT_IPV4’ undeclared (first use in
 this function)
 :info:build make[3]: *** [sc_rxifd.o] Error 1
 :info:build make[3]: Leaving directory `/opt/local/var/macports/build
 /scamper-d9c3c357/work/scamper-cvs-20260713/utils/sc_rxifd'
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[2]: Leaving directory `/opt/local/var/macports/build
 /scamper-d9c3c357/work/scamper-cvs-20260713/utils'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory `/opt/local/var/macports/build
 /scamper-d9c3c357/work/scamper-cvs-20260713'
 :info:build make: *** [all] Error 2
 }}}

 Modern gcc:
 {{{
 :info:build Making all in sc_rxifd
 :info:build make[3]: Entering directory `/opt/local/var/macports/build
 /scamper-b7ad0ed7/work/scamper-cvs-20260713/utils/sc_rxifd'
 :info:build depbase=`echo sc_rxifd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /opt/local/bin/gcc-mp-16 -DHAVE_CONFIG_H -I. -I../..
 -I../.. -I/opt/local/libexec/openssl3/include -isystem/opt/local/include
 -pipe -I/opt/local/libexec/openssl3/include -Os -arch ppc  -MT sc_rxifd.o
 -MD -MP -MF $depbase.Tpo -c -o sc_rxifd.o sc_rxifd.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo ../../mjl_huffman.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /opt/local/bin/gcc-mp-16 -DHAVE_CONFIG_H -I. -I../..
 -I../.. -I/opt/local/libexec/openssl3/include -isystem/opt/local/include
 -pipe -I/opt/local/libexec/openssl3/include -Os -arch ppc  -MT
 ../../mjl_huffman.o -MD -MP -MF $depbase.Tpo -c -o ../../mjl_huffman.o
 ../../mjl_huffman.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build sc_rxifd.c: In function 'quic_out':
 :info:build sc_rxifd.c:1947:15: error: implicit declaration of function
 'udp4_send'; did you mean 'udp6_send'? [-Wimplicit-function-declaration]
 :info:build  1947 |               udp4_send(quic4, txbuf, msg.data_len,
 :info:build       |               ^~~~~~~~~
 :info:build       |               udp6_send
 :info:build sc_rxifd.c:1947:25: error: 'quic4' undeclared (first use in
 this function); did you mean 'quic6'?
 :info:build  1947 |               udp4_send(quic4, txbuf, msg.data_len,
 :info:build       |                         ^~~~~
 :info:build       |                         quic6
 :info:build sc_rxifd.c:1947:25: note: each undeclared identifier is
 reported only once for each function it appears in
 :info:build sc_rxifd.c: In function 'rxifd':
 :info:build sc_rxifd.c:2551:3: warning: 'daemon' is deprecated
 [-Wdeprecated-declarations]
 :info:build  2551 |   if((options & OPT_DAEMON) != 0 && daemon(1, 0) != 0)
 :info:build       |   ^~
 :info:build In file included from ../../internal.h:246,
 :info:build                  from sc_rxifd.c:29:
 :info:build /usr/include/stdlib.h:289:10: note: declared here
 :info:build   289 | int      daemon(int, int) __DARWIN_1050(daemon)
 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_2_0,__IPHONE_2_0);
 :info:build       |          ^~~~~~
 :info:build sc_rxifd.c:2586:17: error: 'OPT_IPV4' undeclared (first use in
 this function); did you mean 'OPT_IPV6'?
 :info:build  2586 |   if((options & OPT_IPV4) == 0)
 :info:build       |                 ^~~~~~~~
 :info:build       |                 OPT_IPV6
 :info:build make[3]: *** [sc_rxifd.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/74221>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list