The port emulators/virtualbox-ose fails to build for me using poudriere with 12.1 Stable with the error: called object type 'int' is not a function or function pointer. Below is the full error I am receiving and I have also attached the build log: kBuild: Compiling vboxwebsrv - /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/src/VBox/Main/webservice/vboxweb.cpp kBuild: Compiling vboxwebsrv - /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/webservice/methodmaps.cpp kBuild: Compiling vboxwebsrv - /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/webservice/soapServer.cpp kBuild: Compiling vboxwebsrv - /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/webservice/vboxweb-wsdl.c kBuild: Compiling webtest - /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/src/VBox/Main/webservice/webtest.cpp /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/src/VBox/Main/webservice/vboxweb.cpp:947:38: error: called object type 'int' is not a function or function pointer if (soap_socket_errno(soap.master) == SOAP_EINTR) ~~~~~~~~~~~~~~~~~^ 1 error generated. kmk: *** [/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/vboxwebsrv/vboxweb.o] Error 1 The failing command: @c++ -c -O2 -g -pipe -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wno-language-extension-token -Wno-gnu-folding-constant -Wno-gnu-anonymous-struct -Wno-string-plus-int -Wno-nested-anon-types -Wno-variadic-macros -Wno-long-long -Wno-variadic-macros -Wshadow -fshort-wchar -fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -Wno-shadow -m64 -Wno-misleading-indentation -I/usr/local/lib/gsoap -I/usr/local/share/gsoap/import -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/webservice -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/src/VBox/Main/webservice -I/usr/local/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/vboxwebsrv/dtrace -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DNDEBUG -DTRIMMED -DSOCKET_CLOSE_ON_EXEC -DWITH_OPENSSL -Wp,-MD,/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/vboxwebsrv/vboxweb.o.dep -Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/vboxwebsrv/vboxweb.o -Wp,-MP -o /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/out/freebsd.amd64/release/obj/vboxwebsrv/vboxweb.o /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.34/src/VBox/Main/webservice/vboxweb.cpp kmk: *** Waiting for unfinished jobs.... kmk: *** Exiting with status 2 *** Error code 2 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose =>> Cleaning up wrkdir ===> Cleaning for virtualbox-ose-5.2.34_4 build of emulators/virtualbox-ose | virtualbox-ose-5.2.34_4 ended at Mon Jun 1 09:16:38 EDT 2020 build time: 00:09:50 !!! build failure encountered !!!
Created attachment 215136 [details] Support gSoap 2.8.103 soap_socket_errno change Patch ${WRKSRC}/src/VBox/Main/webservice/vboxweb.cpp to use gSoap 2.8.103 soap_socket_errno macro. Reported upstream here: https://www.virtualbox.org/ticket/19634
Adding bofh@ since they committed the gsoap update -- any chance you can follow up with the fix to virtualbox to cope?
So the question is do I have the rights to commit for vbox@ ?
(In reply to Muhammad Moinur Rahman from comment #3) Yes; the patch LGTM (replaces soap_socket_errno(foo) with soap_socket_errno), please proceed. :)
Starting build testing. Hope to commit soon.
*** Bug 246999 has been marked as a duplicate of this bug. ***
A commit references this bug: Author: bofh Date: Sun Jun 7 13:08:06 UTC 2020 New revision: 538153 URL: https://svnweb.freebsd.org/changeset/ports/538153 Log: emulators/virtualbox-ose: UNBREAK with gsoap 2.8.103 - gSoap 2.8.103 macro soap_socket_errno changed from: soap_socket_errno(s) -> soap_socket_errno PR: 246910 Submitted by: dereks@lifeofadishwasher.com Reported by: transitive@gmail.com Changes: head/emulators/virtualbox-ose/Makefile
Is it normal to commit a change and not bump the port's version number? This is confusing.
(In reply to Philip Homburg from comment #8) If it unbreaks a port, yes, the portversion bump can be ommitted.
(In reply to Kurt Jaeger from comment #9) Good to know. I normmaly wait for a version number bump to see if I should try again. I guess that's bad strategy then and I should try something else.
I just successfully installed virtualbox-ose after this commit was made without issues. Can we get a confirmation from OP that it works for them?
Before the unbreak of revision 538153, I noticed this Asm-related thing at the end of my log: kBuild: Linking tstAsmStructsRC FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd12.1 Is that normal to have such an i386-looking target under amd64 ? Full Poudriere log: http://logs.imp.ovh/virtualbox-ose-5.2.34_4.log
I'm the op and I can confirm that the port builds for me now.