I'm upgrading the ports with portupgrade -a,but virtualbox-ose is giving me troubles... .... kBuild: Linking webtest 4 warnings generated. kBuild: Validating /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/doc/manual/en_US/UserManual.xml ld: error: undefined symbol: soap_open_logfile >>> referenced by soapC-1.cpp:20196 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20196) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20200 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20200) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20209 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20209) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced 14595 more times ld: error: undefined symbol: soap_open_logfile >>> referenced by soapC-1.cpp:20196 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20196) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20200 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20200) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20209 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20209) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced 14595 more times c++: error: linker command failed with exit code 1 (use -v to see invocation) 101 warnings generated. c++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/webtest/webtest] Error 1 The failing command: @c++ -g '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/webtest/webtest /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/webtest/webtest.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/webtest/gen/webservice/soapClient.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/bin/VBoxRT.so -lpthread -lssl -lcrypto kmk: *** Waiting for unfinished jobs.... kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxwebsrv] Error 1 The failing command: @c++ -g '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxwebsrv /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxweb.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/methodmaps.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/soapServer.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/vboxweb-wsdl.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/lib/VBoxCOM.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.30/out/freebsd.amd64/debug/bin/VBoxXPCOM.so -lssl -lcrypto 112 warnings generated. 102 warnings generated. kmk: *** Exiting with status 2 *** Error code 2 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose *** Error code 1 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose egrep: empty (sub)expression ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20211127-43640-g5r937 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=virtualbox-ose-6.1.28_1 UPGRADE_PORT_VER=6.1.28_1 make ** Fix the problem and try again.
Please: with an updated ports tree, is this still reproducible? Which version of FreeBSD, exactly? freebsd-version -kru uname -aKU Near the head of this page: you can edit the summary line, add this prefix: emulators/virtualbox-ose
it happened again : # freebsd-version -kru 13.1-RELEASE 13.1-RELEASE 13.1-RELEASE # uname -aKU FreeBSD marietto 13.1-RELEASE FreeBSD 13.1-RELEASE n250232-e981f9a8e335 GENERIC amd64 1301000 1301000 ld: error: undefined symbol: soap_open_logfile >>> referenced by soapC-1.cpp:20199 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20199) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20203 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20203) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20212 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20212) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced 14595 more times c++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/webtest/webtest] Error 1 The failing command: @c++ -g '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/webtest/webtest /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/webtest/webtest.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/webtest/gen/webservice/soapClient.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/bin/VBoxRT.so -lpthread -lssl -lcrypto kmk: *** Waiting for unfinished jobs.... ld: error: undefined symbol: soap_open_logfile >>> referenced by soapC-1.cpp:20199 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20199) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20203 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20203) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20212 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20212) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced 14595 more times c++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxwebsrv] Error 1 The failing command: @c++ -g '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxwebsrv /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxweb.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/methodmaps.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/soapServer.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/vboxweb-wsdl.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/lib/VBoxCOM.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/bin/VBoxXPCOM.so -lssl -lcrypto 96 warnings generated. 107 warnings generated. This is pdfTeX, Version 3.141592653-2.6-1.40.22 (Web2C 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode This is pdfTeX, Version 3.141592653-2.6-1.40.22 (Web2C 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode This is pdfTeX, Version 3.141592653-2.6-1.40.22 (Web2C 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode 102 warnings generated. kBuild: Fresh LaTeX-generated PDF is now at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.32/out/freebsd.amd64/debug/obj/manual/en_US/UserManual.pdf kmk: *** Exiting with status 2 *** Error code 2 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose *** Error code 1 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose
next try : this time I have upgraded the ports tree with these commmands : portsnap fetch portsnap extract portsnap fetch update and then I've repeated the compilation of virtualbox-ose but I've got the same error : mario@marietto:/usr/ports/emulators/virtualbox-ose # make clean mario@marietto:/usr/ports/emulators/virtualbox-ose # make ld: error: undefined symbol: soap_open_logfile >>> referenced by soapC-1.cpp:20199 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20199) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20203 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20203) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20212 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20212) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced 14595 more times c++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/webtest/webtest] Error 1 The failing command: @c++ -g '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/webtest/webtest /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/webtest/webtest.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/webtest/gen/webservice/soapClient.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/bin/VBoxRT.so -lpthread -lssl -lcrypto kmk: *** Waiting for unfinished jobs.... ld: error: undefined symbol: soap_open_logfile >>> referenced by soapC-1.cpp:20199 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20199) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20203 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20203) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced by soapC-1.cpp:20212 (out/freebsd.amd64/debug/obj/webservice/soapC-1.cpp:20212) >>> soapC-1.o:(soap_ignore_element(soap*)) in archive /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a >>> referenced 14595 more times c++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxwebsrv] Error 1 The failing command: @c++ -g '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxwebsrv /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/vboxwebsrv/vboxweb.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/methodmaps.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/soapServer.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/vboxwebsrv/gen/webservice/vboxweb-wsdl.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/lib/VBoxCOM.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/bin/VBoxXPCOM.so -lssl -lcrypto 96 warnings generated. 107 warnings generated. This is pdfTeX, Version 3.141592653-2.6-1.40.22 (Web2C 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode This is pdfTeX, Version 3.141592653-2.6-1.40.22 (Web2C 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode This is pdfTeX, Version 3.141592653-2.6-1.40.22 (Web2C 2021) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode 102 warnings generated. kBuild: Fresh LaTeX-generated PDF is now at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.34/out/freebsd.amd64/debug/obj/manual/en_US/UserManual.pdf kmk: *** Exiting with status 2 *** Error code 2 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose *** Error code 1 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose
Which non-default options do you use for emulators/virtualbox-ose? Is the OS now at 13.1-RELEASE-p2? pkg upgrade --quiet -n Is anything to be upgraded, or reinstalled? Then: pkg version -vRL= Is anything remarkable?