From owner-freebsd-testing@FreeBSD.ORG Mon Mar 2 23:42:54 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87D66CEE for ; Mon, 2 Mar 2015 23:42:54 +0000 (UTC) Received: from mail-yk0-f172.google.com (mail-yk0-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 443F2B56 for ; Mon, 2 Mar 2015 23:42:53 +0000 (UTC) Received: by ykp131 with SMTP id 131so14984202ykp.11 for ; Mon, 02 Mar 2015 15:42:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=jNGInw8Sj+RxxPCbX57iE20faQuiF5B6yAlUH1xavCg=; b=GTjuF1deFZzR5prcy5O9p3K2+JA7wB0N4/8w04vljOgVnahllJEtCAC8I+GaXZzNeZ 4vpsk/zKtmNrT748iQg8HgmGwdtcMhEgU6VI6EmxMPUrJrsAMuI2c7rjH/PwY79IJKie iyLtdNT/oO98l5cPQIfof76WIu6dfVnNDj2p4pFlkdXXqrHZPkqWNfr232NgV8OoFrV8 kg0p9KN9n1LwZf2YzErw0q7LfY1xPPvUReMH0TGVgsVI8QlXRgEDCHdQdA4bQB/vrDCw ylG8l5yTMIo+RUWTnN2Qcb8bUeiq4K3KDpc1/MbSeSp4lSpr9JDLEUCUZjR1AB5c4wOB nA3w== X-Gm-Message-State: ALoCoQk6qSRJcDMR9au2X18GNEr3abBrotchxZV4/FwEWlmop1cbQ0DTh0Ef0WNSxBAPE14dLmh+ X-Received: by 10.236.15.170 with SMTP id f30mr27544722yhf.198.1425339766879; Mon, 02 Mar 2015 15:42:46 -0800 (PST) Received: from dhcp-172-26-107-241.nyc.corp.google.com ([172.26.107.241]) by mx.google.com with ESMTPSA id l32sm11232953yhq.44.2015.03.02.15.42.46 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Mar 2015 15:42:46 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Python unittest backend for Kyua From: Julio Merino In-Reply-To: Date: Mon, 2 Mar 2015 18:42:45 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150214215750.GA5065@rodrigc-laptop1> To: Alan Somers X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 23:42:54 -0000 > On Feb 15, 2015, at 00:16, Alan Somers wrote: >=20 > Not much further than when I made that post, and no. In fact, I > hardly use Python at all. Professionally, my company is all about > Ruby, and I would be very interested in a Ruby test/unit tester for > Kyua. However, Ruby's test/unit's implementation is much messier than > Python's unittest, so I thought that writing a unittest tester would > be good practice for writing a test/unit tester. Indeed it was. I > found unittest very easy to interface to; it hardly took me any time > to write that tester. But in the end I stopped working on it because > jmmv and I disagreed about test isolation. Jmmv's primary interest is > in writing system-level tests. He basically sees a unittest tester as > an alternative to atf-sh. But my primary interest is in tying > together separate components' test suites and get a consistent view of > all results. So naturally jmmv wants the same level of isolation as > atf-sh provides, but I want the same level of isolation as unittest > provides. In fact, atf-sh style isolation is bad for my use case, > because it can cause tests that were originally written for unittest > to fail. It also drastically increases runtime because the Python > interpreter must be restarted between each test. As a matter of fact, I have changed my thoughts on this. I would like = Kyua to better support "unittest"-style test programs because that's = what pretty much all testing libraries implement and what other people = know... and well, this model is just much faster and equally useful for = the vast majority of the cases. In fact, ATF's interface is overkill... and super-complicated to = implement in the run-time engine. Note that the "unittest" attempt I did in shtk 1.6 does not follow any = of the ATF conventions and I think it's more manageable than atf: = https://groups.google.com/d/msg/kyua-discuss/yhcDuchVtrs/D6C_LU6FXOUJ > I've never used nose or pytest. Personally, I'm a little leery of > test discovery, because it's contrary to how Kyua normally works. > Normally, you have to explicitly specify each test file in the > Kyuafile (or the makefile that builds the Kyuafile). Having some > tests be automatically discovered and others specified in Kyuafiles > might be confusing. I'm leaning against automatic discovery. But I > could be convinced otherwise. In the case of Ruby, all of our tests > are executed through Rake. So my preferred method would be to add a > Rake task that would generate the appropriate Kyuafile. I think auto-discovery within the test program is great although, = unfortunately, this is something that ATF does not provide. (It'd be = baked in but I have not thought about how hard that would be.) I do not like the idea of automatic test program discovery, but = Kyuafiles offer you enough functionality on their own (I think) to do = this yourself. See the Kyuafile.top file shipped in Kyua. Cheers= From owner-freebsd-testing@FreeBSD.ORG Tue Mar 3 00:07:34 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79ACE4FB; Tue, 3 Mar 2015 00:07:34 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AD51D76; Tue, 3 Mar 2015 00:07:34 +0000 (UTC) Received: by wggx12 with SMTP id x12so36750207wgg.6; Mon, 02 Mar 2015 16:07:32 -0800 (PST) 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:content-transfer-encoding; bh=IondlNoKiOXx8gyoAiaCjic3H1bl7XclcSt8gV2EWlQ=; b=eF73sKiIoOPGOSkAsp+Jnb7ETePZd9VAclUnECqAUQvb2OaQIQ2UKIfqIfC3qkrHty 06UVfBa1drBWxDOSMK6puKkOTidw8uiCs6waF8ExrALVleE1bKZZkdiIpOLmqK0y3TPr ABJ9KfQoakjF2vquVHP0HgvVE8gwwtvo4K6SIDQNDuGSIIZJmIjpmqtxZV/wvg4N6uYd EPRoKcpv4MLQq+a1/BwhuILn4WTx64LeuxD3bLsJbpLNmFsoZXgEXxPQhltv5NN4b3/3 5Kurkb3C6/aVqFk7m59H4hrozDLeZhcZqPvsMXtUeaTeurX3okkJrqiLoYqtUzqANuat heWA== MIME-Version: 1.0 X-Received: by 10.180.9.71 with SMTP id x7mr41226863wia.0.1425341252446; Mon, 02 Mar 2015 16:07:32 -0800 (PST) Sender: asomers@gmail.com Received: by 10.194.17.129 with HTTP; Mon, 2 Mar 2015 16:07:32 -0800 (PST) In-Reply-To: References: <20150214215750.GA5065@rodrigc-laptop1> Date: Mon, 2 Mar 2015 17:07:32 -0700 X-Google-Sender-Auth: dAVkArvgapQ9o6wVeSNxlbV-PPk Message-ID: Subject: Re: Python unittest backend for Kyua From: Alan Somers To: Julio Merino Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 00:07:34 -0000 On Mon, Mar 2, 2015 at 4:42 PM, Julio Merino wrote: > >> On Feb 15, 2015, at 00:16, Alan Somers wrote: >> >> Not much further than when I made that post, and no. In fact, I >> hardly use Python at all. Professionally, my company is all about >> Ruby, and I would be very interested in a Ruby test/unit tester for >> Kyua. However, Ruby's test/unit's implementation is much messier than >> Python's unittest, so I thought that writing a unittest tester would >> be good practice for writing a test/unit tester. Indeed it was. I >> found unittest very easy to interface to; it hardly took me any time >> to write that tester. But in the end I stopped working on it because >> jmmv and I disagreed about test isolation. Jmmv's primary interest is >> in writing system-level tests. He basically sees a unittest tester as >> an alternative to atf-sh. But my primary interest is in tying >> together separate components' test suites and get a consistent view of >> all results. So naturally jmmv wants the same level of isolation as >> atf-sh provides, but I want the same level of isolation as unittest >> provides. In fact, atf-sh style isolation is bad for my use case, >> because it can cause tests that were originally written for unittest >> to fail. It also drastically increases runtime because the Python >> interpreter must be restarted between each test. > > As a matter of fact, I have changed my thoughts on this. I would like Ky= ua to better support "unittest"-style test programs because that's what pre= tty much all testing libraries implement and what other people know... and = well, this model is just much faster and equally useful for the vast majori= ty of the cases. Well, maybe I should dust off my old branch and get back to work. But I don't know how my python tester would work with your executor branch. If I understand correctly, the executor branch dispenses with the *-tester binaries and calls the test programs directly from the kyua executable, correct? The python tester relied on the tester being a separate binary. The tester was actually implemented in Python, which made it very easy for the tester to interact with individual test cases. How would I accomplish that on the executor branch? -Alan From owner-freebsd-testing@FreeBSD.ORG Tue Mar 3 01:29:42 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 248CF18E for ; Tue, 3 Mar 2015 01:29:42 +0000 (UTC) Received: from mail-yk0-f175.google.com (mail-yk0-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D35AB82D for ; Tue, 3 Mar 2015 01:29:41 +0000 (UTC) Received: by yks20 with SMTP id 20so15217792yks.8 for ; Mon, 02 Mar 2015 17:29:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=d+uPB94hKCTRS1zSqLLWFhMDA2O0GafHSUANgvCFLTY=; b=lfd91KY48dA19I2n9qttkKSwalq3eQh4YI/AGoDp/oHWaoP8fhPuMKMYPMbYKoFKPd f7Dzp+bc2V0RbqwGA9PLk+uN3QkNJ8e5jXmuVingWfurTuJC3zJN7lB+vapp31FoW96g Hyvvmu71whPG9f890NU1u6gIY05Xc8bWg63V80aMPuO9iHbgBtP14FqE5AN8x6VQr4OA PD3eQXtHtWGzOh4m4mLky/EeQsim+NqOanZZvj2BBdu09wjw6eM6/lOOE1RjnjTrGsmS NrmVW/1GFYfvTS6XDFDHLw8PzMtOQUuGrAiSuR6PX20aL9XOP/EpLaLajpKKIUOOWgei q+og== X-Gm-Message-State: ALoCoQkD405XJMMVX64ezQ3sK8WHFUN6DMSFagXftahUjd2Semdq3hzvf2kktVhBWWJVkH9tkqNh X-Received: by 10.170.199.137 with SMTP id q131mr30163397yke.113.1425340039964; Mon, 02 Mar 2015 15:47:19 -0800 (PST) Received: from ?IPv6:2620::1003:1007:3182:e30f:78b:a627? ([2620:0:1003:1007:3182:e30f:78b:a627]) by mx.google.com with ESMTPSA id t28sm11253450yhg.27.2015.03.02.15.47.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Mar 2015 15:47:19 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Running tests as a developer prior to commit From: Julio Merino In-Reply-To: Date: Mon, 2 Mar 2015 18:47:18 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 01:29:42 -0000 On Feb 26, 2015, at 22:17, Craig Rodrigues wrote: >=20 > On Mon, Feb 23, 2015 at 7:20 PM, Ed Maste wrote: >=20 >>=20 >> This is precisely why I'd like to find a way to make it easy to run a >> (rather small) subset of tests, if a developer desires to do so. The >> alternative is that they decide it's too awkward to run the tests, = and >> just don't bother. Even in that case we're still better off today >> (since the Jenkins task will catch it) than we were some time ago >> before consistent test infrastructure existed. But it seems we ought >> to avoid the latency, mailing list churn, and masking effect of a >> broken test run if we can facilitate the developer running a set of >> tests that they've identified. >>=20 >=20 > If I could do: > cd /usr/src/bin/ls/ > make test >=20 > and have it run the unit tests associated with /bin/ls, that would be = a > good start. That already exists but is apparently broken as Garrett mentions. = Should be fixed. I may take a look if I have time. > It wouldn't be perfect, because if a change to /bin/ls, affects some = other > test > in /usr/src/usr.bin/foobar/ , this wouldn't catch it. You would have = to do > something > more complicated by building an expert system which can compute the > dependencies > in the tree and run the appropriate tests. But having that is better = than > nothing. Right, and this is why the existing test target outputs a fat warning = before startup. But as you say, having this working in some form would = be sufficient to validate most changes quickly. >=20 > As far as I understand things, the way the unit tests are integrated = in the > Makefile > infrastructure, the tests need to be staged to /usr/tests/ in order to = be > run. Not really. The programs _and_ their corresponding Kyuafile need to be = built, but once built, the majority of them can be run from the object = directory (be it separate from the source directory or not).= From owner-freebsd-testing@FreeBSD.ORG Tue Mar 3 08:00:53 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58A7ECE1; Tue, 3 Mar 2015 08:00:53 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE43BF8D; Tue, 3 Mar 2015 08:00:52 +0000 (UTC) Received: by labgf13 with SMTP id gf13so11090833lab.10; Tue, 03 Mar 2015 00:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=sVlENJHG97f2UeYs13/Up2Ov6XSkxSAb+dk/Lxks0jE=; b=KzliA5sZ9GRDY62umzs6fPS6IeAnPwRx3hl0F0xa9xh53Eo32rfHTrLd2pS7xHXdAX Fx9Wq9Ci+Q3EtlQi5AR3P+cIUzqgnkh1jswafYQnRzbXmvS284Jq76NAAShpiQE/yDWP j7WhCHvJAcwXpY7k6Rl1UP7KVB6H/fXTRVWPnYPFTFlmpIp93Ueto210at5+UXnorE5c VU46EbT676Moj2S3kilsxOqCYtgGL8UWy3JJG9Lk1gvJ7WUwzP2mfI3A8K7T8kotBnjA iKAtmR2Y7vjZzv/ZQYRSsGvxv4n3GZpaFz4zImNDmcoGI/5GKUejXFQxb0j9fFoBRgxw A7wA== MIME-Version: 1.0 X-Received: by 10.152.184.39 with SMTP id er7mr27602135lac.116.1425369650857; Tue, 03 Mar 2015 00:00:50 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.82.164 with HTTP; Tue, 3 Mar 2015 00:00:50 -0800 (PST) Date: Tue, 3 Mar 2015 00:00:50 -0800 X-Google-Sender-Auth: PY-cwaNOwnDDNJuZw2lHsy9IXl0 Message-ID: Subject: Failed to build with external toolchain From: Craig Rodrigues To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 08:00:53 -0000 Hi, Based on this mail: https://lists.freebsd.org/pipermail/freebsd-current/2014-November/053577.html I created this script to build HEAD with amd64-gcc: https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-build.sh However, when I ran the script, I got this error: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/6/console Any ideas what the problem might be? -- Craig From owner-freebsd-testing@FreeBSD.ORG Tue Mar 3 17:18:06 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53892E33; Tue, 3 Mar 2015 17:18:06 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B4BFA6A; Tue, 3 Mar 2015 17:18:06 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b141:884c:aab7:f173] (unknown [IPv6:2001:7b8:3a7:0:b141:884c:aab7:f173]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D65975C47; Tue, 3 Mar 2015 18:18:00 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Tue, 3 Mar 2015 18:17:55 +0100 Message-Id: References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , Baptiste Daroussin , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 17:18:06 -0000 --Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 03 Mar 2015, at 09:00, Craig Rodrigues wrote: >=20 > Based on this mail: >=20 > = https://lists.freebsd.org/pipermail/freebsd-current/2014-November/053577.h= tml >=20 > I created this script to build HEAD with amd64-gcc: > = https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-buil= d.sh >=20 > However, when I ran the script, I got this error: >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/6/cons= ole >=20 > Any ideas what the problem might be? Hi Craig, This is a bad interaction between gcc 4.9.1 and one of libc++'s headers. I am not yet sure whether it is a problem in libc++ or in gcc, so I have asked upstream to take a look at it [1]. Meanwhile, as a quick hack/workaround, you can define _LIBCPP_HAS_NO_ADVANCED_SFINAE in CXXFLAGS to attempt to make the build continue. E.g., add: CXXFLAGS+=3D -D_LIBCPP_HAS_NO_ADVANCED_SFINAE to the make.conf file you use for building. -Dimitry [1] http://llvm.org/PR22771 --Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT17McACgkQsF6jCi4glqPIGwCaAp5uem3RS810PzROIdT2M8qV j7oAnRQOK4oQG/B6xqp2k8euzmOiWLf4 =mSuT -----END PGP SIGNATURE----- --Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96-- From owner-freebsd-testing@FreeBSD.ORG Wed Mar 4 00:34:05 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94C05B4B for ; Wed, 4 Mar 2015 00:34:05 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A7E4342 for ; Wed, 4 Mar 2015 00:34:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t240Y5pL020013 for ; Wed, 4 Mar 2015 00:34:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 197861] [jenkins] usr.sbin.pw.pw_useradd:user_add_password_expiration_date_relative failed Date: Wed, 04 Mar 2015 00:34:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: brd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brd@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 00:34:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197861 Brad Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-testing@FreeBSD.ORG Wed Mar 4 08:48:14 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4EC8D89; Wed, 4 Mar 2015 08:48:14 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52649DC6; Wed, 4 Mar 2015 08:48:14 +0000 (UTC) Received: by lams18 with SMTP id s18so42988811lam.13; Wed, 04 Mar 2015 00:48:12 -0800 (PST) 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=Y74ItZwHkiLdPQYe0KshX/MYW0kMXLWjqFNykA5CEgU=; b=ET66Q/HKN6dLhy6A6oxvShXPTlI5hDwPwQi/t/y1jbR07dkBGzMLY0DAz3ojfbyLS8 3kqymKAMMrox6GluVlZ7Pc0whNChKi+x+Hp9grH51IXQu/gAf+SiTge5iAZK0cJMyRs7 KIGD2httL0qMswAQkc4MrWsMumKmvpM3oSTe7E7TaWKDdzN7+Tkr1NvV9YilHtC8vrAW Ub5GszRFm/lsrffBtMEeefNWinybSIU6G819FV9M/DNC3YTOJE7XVjXdBF3aET4ErAUX rb8P22Mwaap/fLpMXNxTyY4/nOdShxe0/+Z8Dyii8yiZkNh67Wai8FHpQbOvYicC2KKn vhPA== MIME-Version: 1.0 X-Received: by 10.112.223.7 with SMTP id qq7mr2346427lbc.81.1425458892313; Wed, 04 Mar 2015 00:48:12 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.82.164 with HTTP; Wed, 4 Mar 2015 00:48:12 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Mar 2015 00:48:12 -0800 X-Google-Sender-Auth: M_vxYil7J3iTIsQhJpBB14Z4Fig Message-ID: Subject: Re: Failed to build with external toolchain From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , Baptiste Daroussin , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 08:48:14 -0000 On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric wrote: > On 03 Mar 2015, at 09:00, Craig Rodrigues wrote: > CXXFLAGS+= -D_LIBCPP_HAS_NO_ADVANCED_SFINAE > > to the make.conf file you use for building. > Thanks for the tip. I added that to make.conf, but now I am getting a different error involving unknown compiler flags: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/13/console Any ideas? Thanks. -- Craig From owner-freebsd-testing@FreeBSD.ORG Wed Mar 4 20:36:59 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3CA4997D; Wed, 4 Mar 2015 20:36:59 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7106D25; Wed, 4 Mar 2015 20:36:58 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::ad8c:3fcc:9718:e182] (unknown [IPv6:2001:7b8:3a7:0:ad8c:3fcc:9718:e182]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AE97E5C47; Wed, 4 Mar 2015 21:36:49 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Wed, 4 Mar 2015 21:36:43 +0100 Message-Id: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 20:36:59 -0000 --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA Content-Type: multipart/mixed; boundary="Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A" --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 04 Mar 2015, at 09:48, Craig Rodrigues wrote: >=20 > On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric = wrote: >=20 >> On 03 Mar 2015, at 09:00, Craig Rodrigues = wrote: >> CXXFLAGS+=3D -D_LIBCPP_HAS_NO_ADVANCED_SFINAE >>=20 >> to the make.conf file you use for building. >>=20 >=20 > Thanks for the tip. I added that to make.conf, but now > I am getting a different error involving unknown compiler flags: >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/13/con= sole >=20 > Any ideas? Yes, this is due to a custom -mno-align-long-strings flag, which is only supported by gcc in base. I've conditionalized it in r279598, so please try again after that. You will also need this patch I just posted to freebsd-current [1] for libnv: gcc reports the same error about an ambiguous operator<< for one of its ATF tests. -Dimitry [1] = https://lists.freebsd.org/pipermail/freebsd-current/2015-March/054935.html= --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A Content-Disposition: attachment; filename=libnv-fix-tests-cxx11-1.diff Content-Type: application/octet-stream; name="libnv-fix-tests-cxx11-1.diff" Content-Transfer-Encoding: 7bit Index: lib/libnv/tests/dnv_tests.cc =================================================================== --- lib/libnv/tests/dnv_tests.cc (revision 279596) +++ lib/libnv/tests/dnv_tests.cc (working copy) @@ -450,7 +450,7 @@ nvl = nvlist_create(0); actual_val = dnvlist_take_nvlist(nvl, "123", NULL); - ATF_REQUIRE_EQ(actual_val, NULL); + ATF_REQUIRE_EQ(actual_val, static_cast(NULL)); free(actual_val); nvlist_destroy(nvl); --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A-- --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT3bOAACgkQsF6jCi4glqM8PgCeNjSgeOX95kbUclPM1azEiWHq dPwAn3uUXNbn7025cxcdBcdYGG6osft1 =Yurs -----END PGP SIGNATURE----- --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA-- From owner-freebsd-testing@FreeBSD.ORG Sat Mar 7 20:12:55 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC379ACC; Sat, 7 Mar 2015 20:12:55 +0000 (UTC) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CDA9E8F; Sat, 7 Mar 2015 20:12:55 +0000 (UTC) Received: by lamq1 with SMTP id q1so587lam.12; Sat, 07 Mar 2015 12:12:52 -0800 (PST) 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=/zKX21BHuvbWKg5NYFfQ5Ew+eQ5Fb0HN7jwpvX+//fk=; b=QJeE3as3YxyEdiHviCrCXyDHnOqnAv3ekaB6onwEp3T8xyPlyuPZ7ecn7T5XebfiOz gtpZbf1ROtqnnWmjJo14pHqgodtgEiOF1kERIfBMssfrqR8P7+Sz3lW8TxR8hQJ7XC1h Wxsr3NzfdhTq+0QEz7biuMC0VzlE0LpJ0xyXdmzNKVQZS80M+sMc1lgKaDl/80iiBAkE WRZdhS5K+qCNFEiKcUEE6+QXX070O/mbP3faTHpt2/d4UHGncl3yLhaMNX35LvV2k21n aOL7f/SEeJPw6R/LZeDmQhm5Bzd+4LBUUDj2ezeQojyoX+iQzt5IF6ofOz+xwcbvI3Bd IhOg== MIME-Version: 1.0 X-Received: by 10.112.141.34 with SMTP id rl2mr18634257lbb.26.1425759172600; Sat, 07 Mar 2015 12:12:52 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.82.164 with HTTP; Sat, 7 Mar 2015 12:12:52 -0800 (PST) In-Reply-To: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> References: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> Date: Sat, 7 Mar 2015 12:12:52 -0800 X-Google-Sender-Auth: AgqVdzJtA1ZwxFINfY_dSwfIPq4 Message-ID: Subject: Re: Failed to build with external toolchain From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 20:12:55 -0000 Hi, I ran the build again and this time I am getting errors about undefined symbol utimensat(): https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/console Any ideas? -- Craig From owner-freebsd-testing@FreeBSD.ORG Sat Mar 7 20:36:22 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 579F839F; Sat, 7 Mar 2015 20:36:22 +0000 (UTC) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18BDB14E; Sat, 7 Mar 2015 20:36:22 +0000 (UTC) Received: by padet14 with SMTP id et14so64605581pad.0; Sat, 07 Mar 2015 12:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=vkm5KeWYHEcj46qaGFy2Hv5VfqIcH2RzLDrMSujg7eI=; b=b2NcqW9XKYwdMKN37sBzgaJbjy5g8zaDu52VSX2HbuNUyGIJ8vys5jO8F5frYZ7qNp 1p/cRCQmETwBxQBttNMB/20xkZguIzmp61kmkd0fY91nuJN56zFoqWEBapr9FXHvaHX4 fF4ch0y3DqamcR1UN48ZpfzvqxPzY0rEYIrpFfcQyirIowZkyP24ruHv8XWNHEkMmGab S6rP9PZMYAvy5y7rxrsDtihiO6L5YzRVg7I5rbkbSuw+krG71Mur+w3d8SfQzsD3I7cG H16GjyM2C6PkaQdKQpGXRIaARJX9nUYm4jxq3LDxpxJbjTYNCD9tAB6wY4a41ZH2+KRS PiCQ== X-Received: by 10.66.219.130 with SMTP id po2mr36834241pac.98.1425760581630; Sat, 07 Mar 2015 12:36:21 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:487e:52a:85bc:11ba? ([2601:8:ab80:7d6:487e:52a:85bc:11ba]) by mx.google.com with ESMTPSA id hr3sm13133556pbb.13.2015.03.07.12.36.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Mar 2015 12:36:20 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Failed to build with external toolchain From: Garrett Cooper In-Reply-To: Date: Sat, 7 Mar 2015 12:36:18 -0800 Message-Id: References: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.1878.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 20:36:22 -0000 --Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Mar 7, 2015, at 12:12, Craig Rodrigues wrote: > Hi, >=20 > I ran the build again and this time I am getting errors about = undefined > symbol utimensat(): >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/con= sole >=20 > Any ideas? You might need to specify more options to gcc to get it to compile in = base. AFAIK we still have all of the =93bootstrap=94 (-sysroot, etc) = customizations checked into base with clang/gcc, so using the tools from = ports might not work in all cases :/. --Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJU+2FCAAoJEMZr5QU6S73eIj0IAKc2jwybkW3Msfk75S5/f+aP 8CjrS6JBT9vc/rLAaUIvVR129UmRyA2BofgR1wNYR13whhh26cr2zKCiFTn8fpr9 jB7ZOe/FruDioqZeNquvW3v/RYaBJZ7gZd4c2+Q8dLAqHFP1PCD76Y0NrxUYryzB CXaVppx/0a/pTFhWTuphXQCKlvW6dwLbaqh2SyDskmKZaQqCiRIeSwak887bPuDV WeLKhsVBrKcufNnvWcaA9eoz3EVSx/Y5JY02Nmd/hjQkvmio8hGG9BQGOeq1ZiXH nKUu8c7ArmLdSOSn6KZSVhfwhzsLbLMtZLgGeqwTMXpB4q44R4aiX0/TlUGdeuA= =/DjE -----END PGP SIGNATURE----- --Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6-- From owner-freebsd-testing@FreeBSD.ORG Sat Mar 7 23:48:47 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 309DAA4D; Sat, 7 Mar 2015 23:48:47 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDF4D777; Sat, 7 Mar 2015 23:48:46 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::4866:e5b9:91ad:dbf1] (unknown [IPv6:2001:7b8:3a7:0:4866:e5b9:91ad:dbf1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 94BDA5C48; Sun, 8 Mar 2015 00:48:37 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Sun, 8 Mar 2015 00:48:25 +0100 Message-Id: References: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 23:48:47 -0000 --Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 07 Mar 2015, at 21:12, Craig Rodrigues wrote: > I ran the build again and this time I am getting errors about = undefined > symbol utimensat(): >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/con= sole >=20 > Any ideas? It's linking against the wrong libc, the one from the FreeBSD-10 host system, which does not have utimensat(): --- cp --- /usr/local/bin/x86_64-portbld-freebsd10.0-gcc -isystem = /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_extern= al_toolchain_gcc/tmp/usr/include = -L/builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_exte= rnal_toolchain_gcc/tmp/usr/lib -O2 -pipe = -DVM_AND_BUFFER_CACHE_SYNCHRONIZED -D_ACL_PRIVATE -std=3Dgnu99 = -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch = -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline = -Wnested-externs -Wredundant-decls -Wold-style-definition = -Wno-pointer-sign -o cp cp.o utils.o [...] utils.o: In function `setfile': utils.c:(.text+0x83): undefined reference to `utimensat' utils.c:(.text+0x1ce): undefined reference to `utimensat' utils.c:(.text+0x38c): undefined reference to `utimensat' collect2: error: ld returned 1 exit status There should probably be a --sysroot flag in there, pointing to the ${WORLDTMP} built during the earlier stages. For some reason, this flag is not added for gcc, in Makefile.inc1. No idea why that was done. -Dimitry --Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT7jlQACgkQsF6jCi4glqM1FACgwr5K2XcQR3T76dCSn1KOkHuD 3zgAn2HwMVhcEnJPjztdlErkyBjgE6Fh =HKyP -----END PGP SIGNATURE----- --Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F--