Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 2014 12:47:39 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Jason Selwitz <jselwitz@verizon.net>, Kevin Oberman <rkoberman@gmail.com>, Miroslav Lachman <000.fbsd@quip.cz>
Cc:        vbox@freebsd.org
Subject:   Re: FreeBSD Port: emulators/virtualbox-ose
Message-ID:  <538DFC2B.3080309@FreeBSD.org>
In-Reply-To: <538D05A3.8030803@verizon.net>
References:  <535B48F2.4050201@verizon.net> <CAB7-od=1pi6FRn8ur4w36EoD_LX_cb7A1t0e13P%2Bcpd6KOjeOA@mail.gmail.com> <535D3019.7050701@verizon.net> <CAN6yY1vk%2BNPuCgFY7w3%2B5mOBEv13qC7KeM9PNoMJ=GtRJUSmyA@mail.gmail.com> <535E55DA.4050608@quip.cz> <CAN6yY1sCXdbhMf-BVP9drj6Y4SnjTEsCeOCetSxb7BsSwRPBWA@mail.gmail.com> <538D05A3.8030803@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-06-02 19:15:47 -0400, Jason Selwitz wrote:
> On 04/28/2014 13:56, Kevin Oberman wrote:
>> On Mon, Apr 28, 2014 at 6:21 AM, Miroslav Lachman
>> <000.fbsd@quip.cz <mailto:000.fbsd@quip.cz>> wrote:
>> 
>> Kevin Oberman wrote:
>> 
>> On Sun, Apr 27, 2014 at 9:28 AM, Jason 
>> Selwitz<jselwitz@verizon.net <mailto:jselwitz@verizon.net>>
>> wrote:
>> 
>> 
>> [...]
>> 
>> 
>> I don't see an error there. Was this run with 
>> MAKE_JOBS_UNSAFE=yes? If not, the error came from some other job
>> and is in earlier (perhaps much earlier) output.
>> 
>> 
>> Just for the record... I tried to compile VirtualBox on FreeBSD
>> 10.0 last week. The compilation always failed until I set
>> DISABLE_MAKE_JOBS=true. Then it went OK.
>> 
>> I have error messages from compilation:
>> 
>> First attempt:
>> 
>> x-4.3.10/src/VBox/Runtime/__common/zip/gzipvfs.cpp kBuild:
>> Compiling RuntimeBldProg - 
>> /usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/common/zip/zip.cpp
>>
>> 
/usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/common/zip/tarcmd.cpp:__165:49:
>> warning: expression result unused [-Wunused-value] for (uint32_t
>> iName = 0; papszNames[iName]; iName) ^~~~~ kBuild: Compiling
>> RuntimeBldProg - 
>> /usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/generic/createtemp-__generic.cpp
>>
>> 
..
>> .. kBuild: Compiling RuntimeBldProg - 
>> /usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/common/asm/ASMRdMsrEx.__asm
>>
>> 
kBuild: Compiling RuntimeBldProg -
>> /usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/common/asm/ASMWrMsrEx.__asm
>>
>> 
*** Signal 11
>> 
>> 
>> Stop. make[1]: stopped in /usr/ports/emulators/__virtualbox-ose 
>> *** Error code 1
>> 
>> Stop. make: stopped in /usr/ports/emulators/__virtualbox-ose
>> 
>> ===>>> make failed for emulators/virtualbox-ose ===>>> Aborting
>> update
>> 
>> ===>>> Update for emulators/virtualbox-ose failed ===>>> Aborting
>> update
>> 
>> 
>> 
>> Second attempt:
>> 
>> kBuild: Compiling RuntimeBldProg - 
>> /usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/generic/__RTFileQuerySize-generic.cpp
>>
>> 
kBuild: Compiling RuntimeBldProg -
>> /usr/ports/emulators/__virtualbox-ose/work/__VirtualBox-4.3.10/src/VBox/__Runtime/generic/RTFileReadAll-__generic.cpp
>>
>> 
*** Signal 11
>> 
>> 
>> Stop. make[1]: stopped in /usr/ports/emulators/__virtualbox-ose 
>> *** Error code 1
>> 
>> Stop. make: stopped in /usr/ports/emulators/__virtualbox-ose
>> 
>> ===>>> make failed for emulators/virtualbox-ose ===>>> Aborting
>> update
>> 
>> ===>>> Update for emulators/virtualbox-ose failed ===>>> Aborting
>> update
>> 
>> 
>> On thinrd attempt, I added DISABLE_MAKE_JOBS=true ad compilation
>> was successful. I don't know why it got Signal 11 before.
>> 
>> Miroslav Lachman
>> 
>> 
>> This indicates that the build, when split into multiple jobs to
>> build faster on mufti-processor systems fails. This is almost
>> always a race condition where the result of one job is needed by
>> another, but has not completed in time. This would explain why
>> everyone does not see this issue. Options can also trigger this.
>> 
>> The point of building with DISABLE_MAKE_JOBS=true (or 
>> MAKE_JOBS_UNSAFE=yes) is to serialize the build to avoid such
>> cases and toi assure that error messages are all together with
>> the log of the build that generated them. I erred in suggesting
>> MAKE_JOBS_UNSAFE-yes. It is for use in a port's Makefile when it
>> is known to have an issue with multi-job builds.
>> DISABLE_MAKE_JOBS=true is the variable for a user to force serial
>> builds. Sorry for the error! -- R. Kevin Oberman, Network
>> Engineer, Retired E-mail: rkoberman@gmail.com
>> <mailto:rkoberman@gmail.com>
> 
> 
> Hello again Everyone, so after trying these suggestions seems like
> I'm still unable to upgrade Virtualbox, I would be happy to supply 
> additional output, I appreciate any suggestions you can provide.
> thanks again!

Try rebuilding devel/kBuild first.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTjfwrAAoJEHyflib82/FGO1UH/ixuznW/5/4rx000u2m8HISm
gyEjvT8IAuMgzcqGHi6X/vvu7XVWeiDNwCbaWmZ1tV92NWmMGhgsSV3mc7Wih+0S
SMzj0J54quDdFluFml2sVXSIquEvITYnjTwLTSQ+N1t2g/yDMgy8IhAZm3VFNCX8
UnIsXpCCB/yWPhVAJYPeX8D7Yw5w+OoosnAduw0P8mxUkv8AnGi8N1Mz+qvR8Fru
VJpGlPKqm/EEBT3Hb/hUYbxXh/8PeCxeRPKv5Ks8g3hzGjCIe+Gx73bz83HDWeFc
WoWoaT1KtvnjhaIHxBz1NVmCy7YSBFGoshyFmlm1slLxEYNbEb/FUpKg0wik1hw=
=jhW0
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538DFC2B.3080309>