From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 28 17:56:03 2014 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A53184F for ; Mon, 28 Apr 2014 17:56:03 +0000 (UTC) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DAA31BA7 for ; Mon, 28 Apr 2014 17:56:03 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id rq2so1181690pbb.24 for ; Mon, 28 Apr 2014 10:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/6L10H6OqzaopB97BtORWD8RKaDFHrSNM6NEoAnHb8w=; b=NeHSnAZChb+ZOyGEJ1PYGyGlC0SbLZzQmho3qv3coSUaj71thvaN52nxFc5PCsgTKz h84lXzu4CHVFlR1/sXyIHJd6vjJroUm7hSXOcJ5GN8q9umImVpEzw8Chlod7wx12ZMHO Xidsm5NgIcbmh+gbbzl7NsfKUeMci5kjc5ZJAcuinn2EdiT4dRxlodgARrk2mpUxmSk2 agp5hQzaQcZMnb29/3bu4BWbUmJj3UlSVKv5yut2H5+tbFlDteW0jpim934FZnMsrk3u lp5lr9F+m7UOuZPneoYmqbLBEVZ7TbwjswHQdIhCKASBAyno7D1bA5yTcN7KcBeNu/71 wezw== MIME-Version: 1.0 X-Received: by 10.67.1.106 with SMTP id bf10mr26753194pad.78.1398707762808; Mon, 28 Apr 2014 10:56:02 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.73.34 with HTTP; Mon, 28 Apr 2014 10:56:02 -0700 (PDT) In-Reply-To: <535E55DA.4050608@quip.cz> References: <535B48F2.4050201@verizon.net> <535D3019.7050701@verizon.net> <535E55DA.4050608@quip.cz> Date: Mon, 28 Apr 2014 10:56:02 -0700 X-Google-Sender-Auth: Ds2ItN4yBSoI3M_0fsOjV_XGQEI Message-ID: Subject: Re: FreeBSD Port: emulators/virtualbox-ose From: Kevin Oberman To: Miroslav Lachman <000.fbsd@quip.cz> X-Mailman-Approved-At: Mon, 28 Apr 2014 18:24:44 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: vbox@freebsd.org, Jason Selwitz X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 17:56:03 -0000 On Mon, Apr 28, 2014 at 6:21 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > Kevin Oberman wrote: > >> On Sun, Apr 27, 2014 at 9:28 AM, Jason Selwitz >> 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