From owner-freebsd-stable@FreeBSD.ORG Sun Nov 10 17:06:11 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0A51D4BB; Sun, 10 Nov 2013 17:06:11 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B7B102547; Sun, 10 Nov 2013 17:06:10 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i4so897386oah.38 for ; Sun, 10 Nov 2013 09:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zMoYZI4IYV4k4oSa1FBdFi1MN9ykBNGwf1IGYqMwdY4=; b=FzT6WSjJ076A1YsoceHwO/D40qf3Ck/KWsx8w6fEAtDqnIaCOy8vfoDaw07RJElFFr FOinVbEDlS7+/XJXqCV05o+TZoCm4pKQFp7kRnxLDmNA5J4EQ61C+DJ1oOVXSUaqS8fx YaS8s9VCSxK4+LVfqHUqnJ5S25VfWjRRmsMqIn01YApPj6SPdExFoLtis4gQaLeB6oUl wbdfqGd6hMfZ5Fig+2PoGZkvQ4TvkPAZ1tsy/jvTwnNhrX5g/8HpTXKGILVJIbZ9kPv2 AZn/pcmJjBo0S5JSLaYKcp8nt+h48JZ4DPEeeOhD90I/CpClpcQdruhv+oiQN9W8qTOM IknA== MIME-Version: 1.0 X-Received: by 10.60.45.102 with SMTP id l6mr14403210oem.36.1384103169985; Sun, 10 Nov 2013 09:06:09 -0800 (PST) Received: by 10.76.177.234 with HTTP; Sun, 10 Nov 2013 09:06:09 -0800 (PST) In-Reply-To: <20131108165750.GS89594@glenbarber.us> References: <20131107204218.GG89594@glenbarber.us> <1383860913.27740.44511277.4D9CF1BF@webmail.messagingengine.com> <20131107234832.GJ89594@glenbarber.us> <20131108165750.GS89594@glenbarber.us> Date: Sun, 10 Nov 2013 18:06:09 +0100 Message-ID: Subject: Re: Building 9.2-RELEASE on 10-stable From: Andreas Nilsson To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Mark Felder , "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 17:06:11 -0000 On Fri, Nov 8, 2013 at 5:57 PM, Glen Barber wrote: > On Fri, Nov 08, 2013 at 11:02:12AM +0100, Andreas Nilsson wrote: > > Now I managed to reproduce the error: > > > > A failure has been detected in another branch of the parallel make > > > > make[1]: stopped in /src/9.2 > > > > --- upgrade_checks --- > > > > *** [upgrade_checks] Error code 2 > > > > make: stopped in /src/9.2 > > > > 1 error > > make: stopped in /src/9.2 > > > > This is one of the races I was talking about. > > In some of my tests, I found two things: > > 1.) Running 'make make buildworld -j8[...]'* in general would work, > because make(1) would be built first. That seems to be part of the > problem here, the toolchain has not yet decided what make(1) to build > (bmake for fmake), which causes the upgrade_checks phase to fail. > * Note the 'make make' is not a typo. > > 2.) Running the build without '-j' set at all, in most cases, would > succeed. (Note: even '-j1' would fall over occasionally.) > > Glen > > This was indeed tricky... I think that the check_upgrades target is somewhat broken. On my 10.0-BETA3 box I can't run check_upgrades for either 10.0 or 9.2 sources. For 10.0: $ sudo make obj Password: /usr/obj/src/10/tools/build/make_check created for /src/10/tools/build/make_check andrnils@jailer:/src/10/tools/build/make_check 17:59:16 0 $ sudo make 1..16 ok 1 - C_check # Test of -C flag existence detected no regression. ok 2 - test_variables # Test variables detected no regression, output matches. ok 3 - test_targets # Test targets detected no regression. ok 4 - sysvmatch # Test sysvmatch detected no regression. Variable BAR is recursive. make[1]: stopped in /src/10/tools/build/make_check ok 5 lhs_expn # Test lhs_expn detected no regression. ok 6 - notdef # Test notdef detected no regression. ok 7 - modifiers # Test modifiers detected no regression. ok 8 arith_expr # Test arith_expr detected no regression. ok 9 PATH_exists # Test PATH_exists detected no regression. ok 10 double_quotes # Test double_quotes detected no regression. ok 11 double_quotes2 # Test double_quotes2 detected no regression. ok 12 pass_cmd_vars # Test pass_cmd_vars detected no regression. ok 13 plus_flag # Test plus_flag detected no regression. ok 14 shell # Test shell detected no regression. *** Signal 11 Stop. make[1]: stopped in /src/10/tools/build/make_check not ok # Test failed: regression detected. See above. *** Error code 1 Stop. make[1]: stopped in /src/10/tools/build/make_check *** Error code 1 Stop. make: stopped in /src/10/tools/build/make_check And for 9.2: $ sudo make obj /usr/obj/src/9.2/tools/build/make_check created for /src/9.2/tools/build/make_check andrnils@jailer:/src/9.2/tools/build/make_check 18:00:11 0 $ sudo make 1..17 ok 1 - C_check # Test of -C flag existence detected no regression. ok 2 - test_variables # Test variables detected no regression, output matches. ok 3 - test_targets # Test targets detected no regression. ok 4 - sysvmatch # Test sysvmatch detected no regression. Variable BAR is recursive. make[1]: stopped in /src/9.2/tools/build/make_check ok 5 lhs_expn # Test lhs_expn detected no regression. ok 6 - notdef # Test notdef detected no regression. ok 7 - modifiers # Test modifiers detected no regression. make[1]: don't know how to make colons::target. Stop make[1]: stopped in /src/9.2/tools/build/make_check not ok # Test failed: regression detected. See above. *** Error code 1 Stop. make[1]: stopped in /src/9.2/tools/build/make_check *** Error code 1 Stop. make: stopped in /src/9.2/tools/build/make_check If I disable upgrade_checks dep I get a bit further, but still fails for libstdc++ on 9.2, running make make buildworld -s. By the way, did you mean WITH_GNUXX=1 or WITH_GNUCXX=1 ? Best regards Andreas