From owner-freebsd-pkg@FreeBSD.ORG Wed Feb 19 13:30:12 2014 Return-Path: Delivered-To: freebsd-pkg@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 8C2BA6A5 for ; Wed, 19 Feb 2014 13:30:12 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 664CF16D9 for ; Wed, 19 Feb 2014 13:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1JDUCjq033591 for ; Wed, 19 Feb 2014 13:30:12 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1JDUCq5033590 for freebsd-pkg@FreeBSD.org; Wed, 19 Feb 2014 13:30:12 GMT (envelope-from bdrewery) Received: (qmail 63285 invoked from network); 19 Feb 2014 07:30:10 -0600 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 19 Feb 2014 07:30:10 -0600 Message-ID: <5304B1DE.7020800@FreeBSD.org> Date: Wed, 19 Feb 2014 07:30:06 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: John Nielsen Subject: Re: Poudriere bug report References: <5FBD8707-CA24-4777-BF86-76C9C2C00942@jnielsen.net> In-Reply-To: <5FBD8707-CA24-4777-BF86-76C9C2C00942@jnielsen.net> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc" Cc: freebsd-pkg@FreeBSD.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 13:30:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2/11/2014 12:42 PM, John Nielsen wrote: > Hello- >=20 > First off, thanks for all your work on poudriere and pkg, both are alre= ady making my life easier. >=20 > I have an amd64 host running FreeBSD 10-STABLE which I use as a build h= ost for another box with an Alix board (geode processor). I have, among o= ther settings, "CPUTYPE=3Dgeode" in the make.conf for the poudriere 32-bi= t Alix jail. I've built packages for the Alix using poudriere before, but= today I hit a snag. Running this command: >=20 > # poudriere options -f /home/john/alix_ports.txt -j alix >=20 > attempted to build dialog4ports numerous times, and each failed with th= is error (full text from one failure below): > error: unknown target CPU 'geode' >=20 > Since I didn't have dialog4ports installed on the host, I assume the "m= ake config" job was trying to build it--apparently using the jail's gener= ated "make.conf" from /usr/local/etc/poudriere.d/alix-make.conf. The 64-b= it host doesn't know about the 32-bit geode CPU target, so it failed. >=20 > Probably this doesn't happen very often (I was only missing dialog4port= s on the host because I pruned a whole bunch of packages prior to a recen= t upgrade), but building anything for the host using anything other than = the real /etc/make.conf seems like a bad idea. >=20 > I was able to work around the problem by installing dialog4ports on the= host myself before invoking "poudriere options". There are obviously a f= ew ways to prevent this from happening, but here is my suggestion: > * check for the existence of dialog4ports on the host before allowing = "poudriere options" to run > * If it doesn't exist, fail with an error message suggesting that the = user either install dialog4ports on the host via "pkg install" or other m= eans, or allow poudriere to work around the problem > * add a flag or command to poudriere allowing it to build and install = dialog4ports using the host's /etc/make.conf and whatever ports tree the = user specifies (or poudriere's "default" tree by default), either separat= ely from or prior to "poudriere options". >=20 > Thanks! >=20 > JN >=20 >=20 > =3D=3D=3D> Setting user-specified options for links-2.8,1 and dependenc= ies > =3D=3D=3D> Building/installing dialog4ports as it is required for the c= onfig dialog > =3D=3D=3D> Cleaning for dialog4ports-0.1.5_2 > =3D=3D=3D> License BSD2CLAUSE accepted by the user > =3D=3D=3D> dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg = - found > =3D=3D=3D> Fetching all distfiles required by dialog4ports-0.1.5_2 for = building > =3D=3D=3D> Extracting for dialog4ports-0.1.5_2 > =3D> SHA256 Checksum OK for dialog4ports-0.1.5.tar.gz. > =3D=3D=3D> Patching for dialog4ports-0.1.5_2 > =3D=3D=3D> Configuring for dialog4ports-0.1.5_2 > =3D=3D=3D> Building for dialog4ports-0.1.5_2 > --- objwarn --- > --- dialog4ports.o --- > --- objwarn --- > Warning: Object directory not changed from original /opt/local/poudrier= e/ports/default/ports-mgmt/dialog4ports/work/dialog4ports-0.1.5 > --- mixedlist.o --- > --- dialog4ports.o --- > cc -O2 -pipe -DNO_MALLOC_EXTRAS -march=3Dgeode -fno-strict-aliasing -s= td=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror= -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmis= sing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings= -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Win= line -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-= variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -c dialog4ports.c > --- mixedlist.o --- > cc -O2 -pipe -DNO_MALLOC_EXTRAS -march=3Dgeode -fno-strict-aliasing -s= td=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror= -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmis= sing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings= -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Win= line -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-= variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -c mixedlist.c > --- dialog4ports.o --- > error: unknown target CPU 'geode' > *** [dialog4ports.o] Error code 1 >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > --- mixedlist.o --- > error: unknown target CPU 'geode' > *** [mixedlist.o] Error code 1 >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > 2 errors >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail= ure to > the maintainer. > *** Error code 1 >=20 > Stop. > make[4]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports > *** Error code 1 >=20 > Stop. > make[3]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports >=20 Thanks for reporting. I will get to this eventually and fix soon. --=20 Regards, Bryan Drewery --aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTBLHeAAoJEDXXcbtuRpfP9esH/1+C/ha/ykl0TG/YCOylDm6X s0d65W27iiJjlVvg/lMokeM254M+ZLV0RyENAIen7Y/fuNmTWL9ggPN42dswad6E GlriFwveTfOYR6IKYiXoRRgHryxTRgYMC7k77QC2F6kXnEFsgowyj6hr++B9LTMR H2m8tYIHunZUoieC6IZqeocHfQ6erVvEcYnpytMJKzExDMp5lQT9AHlMJpWdJOKU RDWlW9/7crY3Ol3QEB1kHjp0TXhqGB3s97O5083PUoMqRFxd36JNOxv+nezaYyKw f7IeISQ7ogvT0lcfozyIcFZQ9EM8bC15O9w0Ll8pbRuKoilk8j84xgkYFGvm9Js= =fyZc -----END PGP SIGNATURE----- --aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc--