emulators/virtualbox-ose: Syntax error: "(" unexpected kmk: ***

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Jan 5 15:02:59 UTC 2015


On Sat, 03 Jan 2015 00:50:26 +0100
Michelle Sullivan <michelle at sorbs.net> wrote:

> O. Hartmann wrote:
> > On a CURRENT box, I run always into this very sticky error, shown below. I
> > already deinstalled the port and tried to recompile (using portmaster),
> > without success. Also have I recompiled every requisite port via
> > "portmaster -f", but the error is still glued to my butt:
> >
> > [...]
> > kBuild: Linking VBoxKeyboard
> > kBuild: bin2c VBoxSDL
> > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/src/VBox/Frontends/VBoxSDL/ico64x01.pnm
> > kBuild: Generating VirtualBox
> > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VirtualBox_stripped.xidl
> > kBuild: rcc VirtualBox
> > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VirtualBox/misc/VirtualBoxBrand.qrc
> > kBuild: Compiling VBoxOGLhosterrorspu
> > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VBoxOGLgen/errorspu.c
> > 4 warnings generated. kBuild: bin2c vboxweb-wsdl
> > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/webservice/vboxweb.wsdl
> > kBuild: Installing tstVMStructRC
> > => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/bin/tstVMStructRC
> > kBuild: Generating tstVMStructSize
> > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/bin/tstVMStructRC:
> > 1: Syntax error: "(" unexpected kmk: ***
> > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h]
> > Error 2 kmk: *** Deleting file
> > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h'
> > kmk: *** Waiting for unfinished jobs.... filesplitter: Out of 144 files: 144
> > rewritten, 0 unchanged.
> > (/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VirtualBox/include)
> > kmk_builtin_append
> > "/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.20/out/freebsd.amd64/release/obj/VirtualBox/include/COMWrappers"
> > kmk: *** Exiting with status 2 *** Error code 2
> > [...]
> >   
> 
> 
>  I had this a while ago after an upgrade IIRC "make deinstall distclean
> config package" fixed it for me... though I might have manually
> shutdown/removed the kernel modules and deleted them first...
> 
> Regards,
> 

Hello,

thank you for the response.

I deinstalled everything related to VirtualBox, inclusive kBuild and made a
"rmconfig" in every port folder. I also deinstalled/checked for deinstallation
of the kernel modules and rebooted after the switch-off. After that I installed
emulators/virtualbox-ose again. But I always run into this specific error! 
On several other systems, running the very same OS revision and optimizations
defined in /etc/src.conf, I do not get this error message. Something seems very
fishy ...

Regards,

oh


More information about the freebsd-ports mailing list