Date: Mon, 15 Mar 2021 03:55:14 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254295] emulators/virtualbox-ose will not upgrade from 5.2.44_4 to 6.1.18 due to "compiler error" Message-ID: <bug-254295-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254295 Bug ID: 254295 Summary: emulators/virtualbox-ose will not upgrade from 5.2.44_4 to 6.1.18 due to "compiler error" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: russo@bogodyn.org Flags: maintainer-feedback?(vbox@FreeBSD.org) Assignee: vbox@FreeBSD.org Uname: FreeBSD xxxx.org 11.4-STABLE FreeBSD 11.4-STABLE #0 stable/11-n215696-62607e8680e: Tue Feb 16 19:28:06 MST 2021=20=20=20=20 xxxxx@xxxxx.org:/usr/obj/usr/src/sys/GENERIC amd64 My current install shows: ``` # pkg info virtualbox-ose virtualbox-ose-5.2.44_4 Name : virtualbox-ose Version : 5.2.44_4 Installed on : Sat Oct 17 11:17:33 2020 MDT Origin : emulators/virtualbox-ose Architecture : FreeBSD:11:amd64 Prefix : /usr/local Categories : emulators Licenses : GPLv2 Maintainer : vbox@FreeBSD.org WWW : https://www.virtualbox.org/ Comment : General-purpose full virtualizer for x86 hardware Options : ALSA : off DBUS : on DEBUG : off GUESTADDITIONS : on MANUAL : off NLS : on PULSEAUDIO : off PYTHON : off QT5 : on R0LOGGING : off UDPTUNNEL : on VDE : off VNC : on VPX : off WEBSERVICE : on X11 : on [...] ``` Trying to portupgrade virtualbox-ose from previous version (5.2.44_4) to la= test (6.1.18), get a "New compiler error": ``` kBuild: Linking VBoxDTrace ld: error: undefined symbol: OPENSSL_init_ssl >>> referenced by tcp.c:314 (src/VBox/RDP/client-1.8.4/tcp.c:314) >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.1= 8/out/freebsd.amd64/release/obj/rdesktop-vrdp/tcp.o:(tcp_tls_connect) >>> referenced by tcp.c:315 (src/VBox/RDP/client-1.8.4/tcp.c:315) >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.1= 8/out/freebsd.amd64/release/obj/rdesktop-vrdp/tcp.o:(tcp_tls_connect) ld: error: undefined symbol: SSL_CTX_set_options >>> referenced by tcp.c:345 (src/VBox/RDP/client-1.8.4/tcp.c:345) >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.1= 8/out/freebsd.amd64/release/obj/rdesktop-vrdp/tcp.o:(tcp_tls_connect) ld: error: undefined symbol: X509_get_X509_PUBKEY >>> referenced by ssl.c:198 (src/VBox/RDP/client-1.8.4/ssl.c:198) >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.1= 8/out/freebsd.amd64/release/obj/rdesktop-vrdp/ssl.o:(rdssl_cert_to_rkey) ld: error: undefined symbol: RSA_get0_key >>> referenced by ssl.c:279 (src/VBox/RDP/client-1.8.4/ssl.c:279) >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.1= 8/out/freebsd.amd64/release/obj/rdesktop-vrdp/ssl.o:(rdssl_rkey_get_exp_mod) clang++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd= 64/release/obj/rdesktop-vrdp/rdesktop-vrdp] Error 1 The failing command: @/usr/local/bin/clang++11=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 '-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.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdesktop-vrdp /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/tcp.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/asn.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/iso.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/mcs.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/secure.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/licence.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdp.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/orders.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/bitmap.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/cache.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdp5.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/channels.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdpdr.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/serial.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/printer.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/disk.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/parallel.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/printercache.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/mppc.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/pstcache.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/lspci.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/seamless.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/ssl.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/utils.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdesktop.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/xwin.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/xkeymap.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/ewmhints.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/xclip.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/cliprdr.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/ctrl.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdpsnd.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdpsnd_dsp.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/obj/rdesktop-vrdp/rdpsnd_oss.o -L/usr/lib -L/usr/local -L/usr/local/lib -liconv -lX11=20=20 /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.18/out/freebsd.amd6= 4/release/bin/VBoxRT.so -lpthread -lssl -lcrypto=20 kmk: *** Waiting for unfinished jobs.... USBIdDatabaseGenerator: info: Total 378934 bytes - saving 29% (161311 bytes= ); old version 717755 bytes + relocs (47% save) 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 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20210314-30205-xzyoap env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dvirtualbox-ose-5.2.44_4 UPGRADE_PORT_VER=3D5.2.44_4 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! emulators/virtualbox-ose (virtualbox-ose-5.2.44_4) (new compil= er error) ``` I have NOT tried to uninstall virtualbox-ose and install from scratch, whic= h is often the fix for things like this. I understand that it is possible to install a "legacy" version, and if necessary will simply do that, but for n= ow I'll simply not upgrade and leave it at the existing install. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254295-7788>