From owner-freebsd-current@freebsd.org Sat Dec 17 17:51:17 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1803C85581 for ; Sat, 17 Dec 2016 17:51:17 +0000 (UTC) (envelope-from lwhsu@FreeBSD.cs.nctu.edu.tw) Received: from FreeBSD.cs.nctu.edu.tw (freebsd2.cs.nctu.edu.tw [140.113.17.206]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50418AF2; Sat, 17 Dec 2016 17:51:17 +0000 (UTC) (envelope-from lwhsu@FreeBSD.cs.nctu.edu.tw) Received: by FreeBSD.cs.nctu.edu.tw (Postfix, from userid 1058) id 47C122695; Sun, 18 Dec 2016 01:51:14 +0800 (CST) Date: Sun, 18 Dec 2016 01:51:14 +0800 From: Li-Wen Hsu To: Dimitry Andric Cc: jenkins-admin@freebsd.org, freebsd-current@FreeBSD.org, Baptiste Daroussin Subject: Re: FreeBSD_HEAD_amd64_gcc - Build #1733 - Still Failing Message-ID: <20161217175114.GA91973@FreeBSD.cs.nctu.edu.tw> References: <1585371352.86.1481713396874.JavaMail.jenkins@jenkins-9.freebsd.org> <972921313.96.1481799792487.JavaMail.jenkins@jenkins-9.freebsd.org> <153A5C4A-09F0-41AD-B53A-661171C888EB@FreeBSD.org> <20161215175646.GA64982@FreeBSD.cs.nctu.edu.tw> <6E1E7D83-ED31-4C50-B7FE-B121AF4584A9@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <6E1E7D83-ED31-4C50-B7FE-B121AF4584A9@FreeBSD.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2016 17:51:17 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 17, 2016 at 18:29:09 +0100, Dimitry Andric wrote: > On 15 Dec 2016, at 18:56, Li-Wen Hsu wrote: > >=20 > > On Thu, Dec 15, 2016 at 12:42:00 +0100, Dimitry Andric wrote: > >> On 15 Dec 2016, at 12:03, jenkins-admin@freebsd.org wrote: > >>>=20 > >>> FreeBSD_HEAD_amd64_gcc - Build #1733 - Still Failing: > >>>=20 > >>> Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64= _gcc/1733/ > >>> Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_g= cc/1733/changes > >>> Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gc= c/1733/console > >> ... > >>> building shared library libprivatedevdctl.so.0 > >>> /usr/local/bin/x86_64-portbld-freebsd10.1-g++ -isystem /builds/FreeBS= D_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include/c++/v1 -= std=3Dc++11 -nostdinc++ -isystem /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/= FreeBSD_HEAD_amd64_gcc/tmp/usr/include -L/builds/FreeBSD_HEAD_amd64_gcc/obj= /builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib -B/builds/FreeBSD_HEAD_amd64_gcc= /obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib --sysroot=3D/builds/FreeBSD_= HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp -B/usr/local/x86_64-fr= eebsd/bin/ -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl= ,--warn-shared-textrel -o libprivatedevdctl.so.0.full -Wl,-soname,libpriva= tedevdctl.so.0 `NM=3D'/usr/local/x86_64-freebsd/bin/nm' NMFLAGS=3D'' lorde= r consumer.pico event.pico event_factory.pico exception.pico guid.pico | t= sort -q` > >>> /usr/local/bin/x86_64-freebsd-ld: cannot find -lstdc++ > >>=20 > >> Dear Jenkins admins, can you please install a more recent version of > >> amd64-xtoolchain-gcc on the slave? This is required to avoid the above > >> error about not being able to find libstdc++. > >=20 > > Also from the console log: > >=20 > > + sudo pkg install -y devel/amd64-xtoolchain-gcc > > Updating FreeBSD repository catalogue... > > FreeBSD repository is up-to-date. > > All repositories are up-to-date. > > Checking integrity... done (0 conflicting) > > The most recent version of packages are already installed > >=20 > > The build script install/update the latest devel/amd64-xtoolchain-gcc > > package. I think the problem is we did not upgrade the dependencies. I > > cannot think of a elegant way to upgrade all amd64-xtoolchain-gcc's > > dependencies, so I added a line to build script to upgrade everything > > before build. > >=20 > > Let see if this works. >=20 > See https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc/1735/, it > doesn't seem to be able to find the correct package: >=20 > + sudo pkg install -y devel/amd64-xtoolchain-gcc > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > pkg: No packages available to install matching 'devel/amd64-xtoolchain-gc= c' have been found in the repositories >=20 I think this is another problem, the latest package set doesn't have devel/amd64-xtoolchain-gcc due to it faild in build: https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-2016121= 2/378894.html =46rom https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc/1734/ : + sudo pkg upgrade -y Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (7 candidates): ....... done Processing candidates (7 candidates): . done Checking integrity... done (0 conflicting) Your packages are up to date. + sudo pkg install -y devel/amd64-xtoolchain-gcc Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The most recent version of packages are already installed + pkg info + grep ^amd64 amd64-binutils-2.27_5,1 GNU binutils for amd64 cross-development amd64-gcc-5.3.0_1 Cross GNU Compiler Collection for amd64 amd64-xtoolchain-gcc-0.1 Pre seeded toolchain to cross build FreeBSD = base Although this build also failed, are these packages what you want? I'll update the build script to make it doesn't fail when searching latest package failed. Thanks, Li-Wen --=20 Li-Wen Hsu https://lwhsu.org --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYVXsRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMDdENTNGNjUyMTUzMzVCNzA5NDNGODQ2 NzI3RTc3Qzg4NjJCNjU2AAoJEGcn53yIYrZW+3cP/3EQhmG4qsFzdnQf2RrupkIK d8NAzv8fjQFgFpM+x5/YVK1cDYfQYbsFqctafdx/DWwM4G+g3vGu4i1Ks1fnDA/Y UWBhNyQDzvHWf5de7IBIpDP2SzcZSd2kgPu931Qq6m5t4p4susp5yxAbjILRGD/4 OfBlBYwtXl0vTKKSCZWfmUAE3igGh5hEV+Eo+CaqLOSeOmfTpzd+NaDNy1zyi06X cASuLqY7mKUMRa76vq0SnYGOZDpc86C2qTaVLcxm3hHTLATSQAnn3HLNB/axOjtM vQowgGSifB97KAs7bpHUeZSEfMf9lnaQeXeETqFed8Ymdt3aefB6WO3iCpzrr8bn FGADxW32EB32gu4z0FVUWAU77tXUYRCLYFSXWCjT4cNfamJnTJzOW/2riOEUroxs V/WNzClDBPReMuQrfgNlsfQmqjaVl3zur/xiU3f1F+VM6le00vfktqNo1hC19DMY Imar0ENA4cMW7ksAeRDFDKCRL5PffyDKiIuZKZxQAE3/lGc9xPCk7BQR86ItKhfz qSlYPVFcN5gp3dKE3BL5fnWvur4p+gRuhUZIA2QsOqpAy/1z+x6wCLliGSE/2EGd I2PkO8qb0KNuipINvC5tmlreRh+5y4c7nnpqEIhhaDZ+I4VpvP6iU4m3avPX3aJw s9R1ZNVW8ExmWt0OLcm3 =y7GJ -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--