[MacPorts] #69591: xprobe2 0.3.0 fails to build on MacOS Monterey

MacPorts noreply at macports.org
Tue Mar 26 06:22:55 UTC 2024


#69591: xprobe2 0.3.0 fails to build on MacOS Monterey
------------------------------+---------------------
 Reporter:  iceblink3         |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.9.1
 Keywords:  monterey, x86_64  |       Port:  xprobe2
------------------------------+---------------------
 Failed to build xprobe2: command execution failed

 main.log excerpts:
 ------------------

 {{{
 version:1
 :debug:main Starting logging for xprobe2 @0.3_0
 :debug:sysinfo macOS 12.7.4 (darwin/21.6.0) arch i386
 :debug:sysinfo MacPorts 2.9.1
 :debug:sysinfo Xcode 14.2, CLT 14.2.0.0.1.1668646533
 :debug:sysinfo SDK 12
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
 :debug:main Fetching xprobe2-0.3_0.darwin_21.x86_64.tbz2 archive size
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main libpcap 1.10.4_0 exists in the ports tree
 :debug:main libpcap 1.10.4_0  is the latest installed
 :debug:main libpcap 1.10.4_0  is active
 :debug:main Merging existing requested variants '' into variants
 :debug:main new fully merged portvariants: perl5_30 +
 :debug:main Opening port in directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libpcap
 :debug:main OS darwin/21.6.0 (macOS 12.7.4) arch i386
 :debug:main only one arch supported, so not adding the default universal
 variant
 :debug:main Requested variant +perl5_30 is not provided by port libpcap.
 :debug:main Running callback
 portconfigure::add_automatic_compiler_dependencies
 :debug:main Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 :debug:main Running callback
 portbuild::add_automatic_buildsystem_dependencies
 :debug:main Finished running callback
 portbuild::add_automatic_buildsystem_dependencies
 :debug:main Running callback portstartupitem::add_notes
 :debug:main Finished running callback portstartupitem::add_notes
 :debug:main No need to upgrade! libpcap 1.10.4_0 >= libpcap 1.10.4_0
 :msg:main --->  Computing dependencies for xprobe2:info:main .:debug:main
 xprobe2 has no conflicts
 :debug:main Searching for dependency: libpcap
 :debug:main Found Dependency: receipt exists for libpcap
 :debug:main Executing org.macports.main (xprobe2)
 :debug:main dropping privileges: euid changed to 502, egid changed to 501.
 :debug:archivefetch archivefetch phase started at Tue Mar 26 01:19:29 CDT
 2024
 :msg:archivefetch --->  Fetching archive for xprobe2
 :debug:archivefetch Executing org.macports.archivefetch (xprobe2)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  xprobe2-0.3_0.darwin_21.x86_64.tbz2 doesn't seem
 to exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 xprobe2-0.3_0.darwin_21.x86_64.tbz2 from
 https://packages.macports.org/xprobe2
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 xprobe2-0.3_0.darwin_21.x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/xprobe2
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 xprobe2-0.3_0.darwin_21.x86_64.tbz2 from
 http://mirror.fcix.net/macports/packages/xprobe2
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.fetch (xprobe2)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.checksum (xprobe2)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.extract (xprobe2)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.patch (xprobe2)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.configure (xprobe2)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:build build phase started at Tue Mar 26 01:19:29 CDT 2024
 :notice:build --->  Building xprobe2
 :debug:build Executing org.macports.build (xprobe2)
 :debug:build Environment:
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/.CC_PRINT_OPTIONS'
 :debug:build CPATH='/opt/local/include'
 :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 :debug:build LIBRARY_PATH='/opt/local/lib'
 :debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
 :debug:build
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3"
 && /usr/bin/make -j6 -w all
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3"
 && /usr/bin/make -j6 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3'
 :info:build cd libs-external/USI++/src;
 /Library/Developer/CommandLineTools/usr/bin/make
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3
 /libs-external/USI++/src'
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 icmp.cc
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 datalink.cc
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 ip.cc
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 misc.cc
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 udp.cc
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 tcp.cc
 :info:build In file included from udp.cc:13:
 :info:build In file included from ./usi++/udp.h:17:
 :info:build ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(void *payload, size_t paylen);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 2)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build In file included from udp.cc:13:
 :info:build In file included from ./usi++/udp.h:17:
 :info:build ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(char *pay_string);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 1)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build In file included from ip.cc:13:
 :info:build ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(void *payload, size_t paylen);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 2)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build In file included from ip.cc:13:
 :info:build ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(char *pay_string);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 1)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build udp.cc:217:24: warning: conversion from string literal to
 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
 :info:build         r = Layer2::setfilter("udp");
 :info:build                               ^
 :info:build In file included from icmp.cc:14:
 :info:build In file included from ./usi++/icmp.h:16:
 :info:build ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(void *payload, size_t paylen);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 2)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build In file included from icmp.cc:14:
 :info:build In file included from ./usi++/icmp.h:16:
 :info:build ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(char *pay_string);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 1)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build datalink.cc:274:12: warning: explicitly assigning value of
 variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
 :info:build         d_snaplen = d_snaplen;
 :info:build         ~~~~~~~~~ ^ ~~~~~~~~~
 :info:build In file included from tcp.cc:14:
 :info:build In file included from ./usi++/tcp.h:17:
 :info:build ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(void *payload, size_t paylen);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 2)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build In file included from tcp.cc:14:
 :info:build In file included from ./usi++/tcp.h:17:
 :info:build ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sendpack(char *pay_string);
 :info:build                     ^
 :info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sendpack' declared here: different number of
 parameters (3 vs 1)
 :info:build         virtual int sendpack(void *buf, size_t len, struct
 sockaddr *);
 :info:build                     ^
 :info:build tcp.cc:321:24: warning: conversion from string literal to
 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
 :info:build         r = Layer2::setfilter("tcp");
 :info:build                               ^
 :info:build 3 warnings generated.
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 TX_IP.cc
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 Layer2.cc
 :info:build 1 warning generated.
 :info:build /usr/bin/clang++ -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -DDARWIN -I. -Wall -c -O2 arp.cc
 :info:build icmp.cc:296:24: warning: conversion from string literal to
 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
 :info:build         r = Layer2::setfilter("icmp");
 :info:build                               ^
 :info:build 3 warnings generated.
 :info:build ip.cc:559:24: warning: conversion from string literal to 'char
 *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
 :info:build         r = Layer2::setfilter("ip");
 :info:build                               ^
 :info:build 3 warnings generated.
 :info:build 3 warnings generated.
 :info:build In file included from arp.cc:13:
 :info:build ./usi++/arp.h:66:21: warning: 'usipp::ARP::sniffpack' hides
 overloaded virtual function [-Woverloaded-virtual]
 :info:build         virtual int sniffpack();
 :info:build                     ^
 :info:build ./usi++/Layer2.h:41:14: note: hidden overloaded virtual
 function 'usipp::Layer2::sniffpack' declared here: different number of
 parameters (2 vs 0)
 :info:build         virtual int sniffpack(void *, size_t);
 :info:build                     ^
 :info:build 1 warning generated.
 :info:build ar cr libusi++.a *.o
 :info:build ranlib libusi++.a
 :info:build rm -f *.o



 ....


 :info:build 1.92
 :info:build ^
 :info:build In file included from getrandom.cc:1:
 :info:build In file included from ./ttl_calc.h:26:
 :info:build In file included from ../../../xprobe.h:145:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/map:495:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__node_handle:16:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/optional:160:
 :info:build ../../../../libs-external/USI++/version:1:1: error: expected
 unqualified-id
 :info:build 1.92
 :info:build ^
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 :info:build make[4]: make[3]: *** [udp_ping.o] Error 1
 :info:build *** [build_DNS_reply.o] Error 1
 :info:build In file included from getrandom.cc:1:
 :info:build In file included from ./ttl_calc.h:26:
 :info:build In file included from ../../../xprobe.h:145:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/map:505:
 :info:build ../../../../libs-external/USI++/version:1:1: error: expected
 unqualified-id
 :info:build 1.92
 :info:build ^
 :info:build 20 errors generated.
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build make[4]: *** [getrandom.o] Error 1
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/src/xpmodules/os_probe/icmp_port_unreach'
 :info:build make[3]: *** [icmp_port_unreach_mod] Error 2
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/src/xpmodules/os_probe'
 :info:build make[2]: *** [os] Error 2
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 :info:build make[4]: *** [ttl_calc.o] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build make[4]: *** [build_DNS_reply.o] Error 1
 :info:build 20 errors generated.
 :info:build make[4]: *** [getrandom.o] Error 1
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/src/xpmodules/alive_probe/ttl_calc'
 :info:build make[3]: *** [ttl_module] Error 2
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/src/xpmodules/alive_probe'
 :info:build make[2]: *** [alive] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/src/xpmodules'
 :info:build make[1]: *** [modules] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/src'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3"
 && /usr/bin/make -j6 -w all
 :info:build Exit code: 2
 :error:build Failed to build xprobe2: command execution failed
 :debug:build Error code: CHILDSTATUS 28699 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/main.log
 for details.


 }}}

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


More information about the macports-tickets mailing list