Date: Wed, 03 Apr 2013 06:30:24 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-ports@freebsd.org Subject: Re: poudriere builds all dependencies, even if packages have already been built Message-ID: <515C12D0.4040201@FreeBSD.org> In-Reply-To: <7347248E-693F-443D-8219-9CD26867F0BF@lassitu.de> References: <D566DE0C-65DE-4E25-A35F-98538F6AE8F9@lassitu.de> <515C0A2D.3070504@FreeBSD.org> <7347248E-693F-443D-8219-9CD26867F0BF@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FHEXOQMLXOPOFTHAHPNM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 4/3/2013 6:26 AM, Stefan Bethke wrote: > Am 03.04.2013 um 12:53 schrieb Bryan Drewery: >=20 >> On 4/3/2013 4:17 AM, Stefan Bethke wrote: >>> Firstly, is there a better mailing list to discuss poudriere? >>> >>> I'm just getting my feet wet with poudriere, and are a bit surprised = that all dependencies for a port are built, instead of installing the pac= kages that got built earlier already. Is this intentional? Is there a c= onfiguration option to have the requisite packages installed before build= ing a port? >>> >>> >>> Thanks, >>> Stefan >>> >> >> Here or pkg@ is fine. >> >> This is exactly what it does. It builds the dependencies one time then= >> installs then builds the port needing them. On the next run if the >> dependencies have not updated it reuses them. >=20 > That's what I would expect, but that's not what I'm seeing. >=20 > I've been running build incrementally, fixing a problem, then running b= ulk again. As expected, only the packages that hadn't been built success= fully yet were built. However, dependencies for these ports are not inst= alled from the already created packages, but are recompiled again. In th= is build log, you can see that pkg is installed from the port instead of = from the package; I seem to get this for a large number of builds. I wou= ldn't really mind except for the enormous amount of time it takes to rebu= ild the same ports over and over again. >=20 If you're building pkgng packages you'll also need pkgng in the host installed. (Not converted, just installed). If you're missing pkgng on the host, install that and build again. The 2nd build should be ok. > I've had some trouble with poudriere not mounting things where they bel= ong. I manually created /usr/ports and /wrkdirs and recreated the "clean= " snapshot. This worked around the "mount: no such file or directory" pr= oblems, but I guess there might be an underlying cause to these and a cou= ple more issues. How would I go about identifying these? I think I foll= owed the installation instructions very carefully. >=20 I have not heard of these issues and it appears your setup is now messed up. None of this manual hacking should be needed. I suggest recreating your jail. >=20 > $ head -100 ImageMagick-6.8.0.7_1.log=20 > build started at Wed Apr 3 07:31:08 UTC 2013 > port directory: /usr/ports/graphics/ImageMagick > building for: 9.1-STABLE amd64 > maintained by: c.petrik.sosa@gmail.com > Makefile ident: $FreeBSD: head/graphics/ImageMagick/Makefile 31530= 9 2013-03-26 15:55:59Z bapt $ > Poudriere version: 2.4.1 > ---Begin Environment--- > BLOCKSIZE=3DK > MAIL=3D/var/mail/root > STATUS=3D1 > PKG_EXT=3Dtxz > FORCE_PACKAGE=3Dyes > tpid=3D97139 > PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/lo= cal/bin:/root/bin > POUDRIERE_BUILD_TYPE=3Dbulk > NBPARALLEL=3D4 > PKGNG=3D1 > PKG_DELETE=3D/usr/local/sbin/pkg delete -y -f > PKG_ADD=3D/usr/local/sbin/pkg add > PWD=3D/root/eisenboot > LOGS=3D/var/poudriere/data/logs > HOME=3D/root > USER=3Droot > SKIPSANITY=3D0 > LOCALBASE=3D/usr/local > PACKAGE_BUILDING=3Dyes > VERSION=3D2.4.1 > ---End Environment--- >=20 > ---Begin make.conf--- > #### /root/eisenboot/poudriere.d/make.conf #### > WITH_PKGNG=3Dyes > # Das sollte eigentlich poudriere selber machen > WRKDIRPREFIX?=3D /wrkdirs > WRKDIR?=3D ${WRKDIRPREFIX}${.CURDIR:S/${PORTSDIR}//} > MASTER_SITE_BACKUP?=3D \ > http://mirror.hanse.de/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ > MASTER_SITE_OVERRIDE?=3D ${MASTER_SITE_BACKUP} >=20 > # Port-Konfiguration > openvpn_UNSET=3D EASYRSA > PACKAGE_BUILDING=3Dyes > DISABLE_MAKE_JOBS=3Dyes > ---End make.conf--- >=20 > ---Begin OPTIONS List--- > =3D=3D=3D> The following configuration options are available for ImageM= agick-6.8.0.7_1: > 16BIT_PIXEL=3Don: 16bit pixel support > BZIP2=3Don: bzip2 compression support > DJVU=3Doff: DJVU format support (needs THREADS) > DOCS=3Don: Build and/or install documentation > FFTW=3Don: Discrete Fourier Transform support > FONTCONFIG=3Don: X11 font configuration support > FPX=3Don: FlashPix image format support > FREETYPE=3Don: TrueType font rendering support > GRAPHVIZ=3Doff: Graphviz support > GSLIB=3Doff: libgs (Postscript SHLIB) support > HDRI=3Doff: High dynamic range images support > JASPER=3Don: JPEG 2000 support via JasPer > JBIG=3Don: JBIG image format support > JPEG=3Don: JPEG image format support > LCMS2=3Don: LCMS2 support > LQR=3Don: Liquid Rescale support > LZMA=3Don: LZMA compression support > MODULES=3Don: Modules support > OPENEXR=3Doff: HDR image format support via OpenEXR > OPENMP=3Doff: Parallel processing support via OpenMP > PANGO=3Doff: Pango rendering library support > PDF=3Don: PDF document support > PERL=3Don: Perl scripting language support > PNG=3Don: PNG image format support > SVG=3Don: SVG vector image format support > TESTS=3Doff: Run bundled self-tests after build > THREADS=3Doff: Threading support > TIFF=3Don: TIFF image format support > WEBP=3Don: WebP image format support > WMF=3Don: Windows Metafile support > =3D=3D=3D> Use 'make config' to modify these settings > ---End OPTIONS List--- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p= hase: depends >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D> ImageMagick-6.8.0.7_1 depends on file: /usr/local/sbin/pkg= - not found > =3D=3D=3D> Verifying install for /usr/local/sbin/pkg in /usr/ports/p= orts-mgmt/pkg > =3D=3D=3D> License BSD accepted by the user > =3D=3D=3D> Fetching all distfiles required by pkg-1.0.11 for building > =3D=3D=3D> Extracting for pkg-1.0.11 > =3D=3D=3D> License BSD accepted by the user > =3D=3D=3D> Fetching all distfiles required by pkg-1.0.11 for building > =3D> SHA256 Checksum OK for pkg-1.0.11.tar.xz. > =3D=3D=3D> Patching for pkg-1.0.11 > =3D=3D=3D> Configuring for pkg-1.0.11 > =3D=3D=3D> Building for pkg-1.0.11 > sed -e 's,%%PKGVERSION%%,1.0.11,' Doxyfile.in > Doxyfile > =3D=3D=3D> external (all) > =3D=3D=3D> external/sqlite (all) > Warning: Object directory not changed from original /wrkdirs/ports-mgmt= /pkg/pkg-1.0.11/external/sqlite > cc -O2 -pipe -fno-strict-aliasing -fPIC -DHAVE_READLINE=3D1 -I/usr/i= nclude/edit -DSQLITE_OMIT_AUTOVACUUM -DSQLITE_OMIT_BLOB_LITERAL -DSQLIT= E_OMIT_DECLTYPE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_DEPRECATED -DSQLIT= E_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_TCL= _VARIABLE -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_CAT -DSQLITE_OMIT_CHECK -= DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_I= NTEGRITY_CHECK -DSQLITE_OMIT_BUILTIN_TEST -DSQLITE_OMIT_SHARED_CACHE -= DUSE_PREAD -DSQLITE_THREADSAFE=3D1 -DSQLITE_TEMP_STORE=3D3 -Dmain=3Dsq= lite3_shell -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -We= rror -Wno-pointer-sign -Wformat=3D2 -Wno-format-extra-args -Werror -c sql= ite3.c -o sqlite3.o > cc -O2 -pipe -fno-strict-aliasing -fPIC -DHAVE_READLINE=3D1 -I/usr/i= nclude/edit -DSQLITE_OMIT_AUTOVACUUM -DSQLITE_OMIT_BLOB_LITERAL -DSQLIT= E_OMIT_DECLTYPE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_DEPRECATED -DSQLIT= E_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_TCL= _VARIABLE -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_CAT -DSQLITE_OMIT_CHECK -= DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_I= NTEGRITY_CHECK -DSQLITE_OMIT_BUILTIN_TEST -DSQLITE_OMIT_SHARED_CACHE -= DUSE_PREAD -DSQLITE_THREADSAFE=3D1 -DSQLITE_TEMP_STORE=3D3 -Dmain=3Dsq= lite3_shell -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -We= rror -Wno-pointer-sign -Wformat=3D2 -Wno-format-extra-args -Werror -c she= ll.c -o shell.o > building static sqlite3 library > ranlib libsqlite3.a > =3D=3D=3D> external/libyaml (all) >=20 >=20 --=20 Regards, Bryan Drewery bdrewery@freenode/EFNet ------enig2FHEXOQMLXOPOFTHAHPNM 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/ iQIcBAEBAgAGBQJRXBLXAAoJEG54KsA8mwz5UO8P/izsYXPX3hfpXbM3fm3ivqIl Tl7oMnFqk3FiI5lmSNzRwyY1FORNsbDZcA37AXs9+oGrTql5j74dJcD8vdfxSHdF z3dzWs681UtQR9vpdfLpHJXx45wSi+TiRxIu3hxzgOEd81fwWRxAIIxu/6pOSGMW 9k0uh9p3gt8aWIqLoAAH4fZRmhVAVfSLb5umWdBmshWbMhkiY1eLVkZJ2sV8hDet ed6KoKxB2Xo14zt5DUEAqPrMeNc3cwzM586K9WDMaRSejlGfbbIdz0h04jbCUufB nIljCL6+4BeM91zj2/FEoy9OtESLsu3Apg2nmFhDxeRqn3X1BOQ0ndRtWow/GCh8 q7VW5GWBB9K9USu3k4zxRepVqMo5fCN26HvaRH5sZ3fy7W5LEL74fybXuQbLAvl6 MA7Uir75mdrSzx4XC5kqlAaLEb0xPFaFHVIwGoEp3ssZ+uvj/r5xrUuOoQaas6Fg HM/n2ZX2S5YCZKFYFO5RWx8CjTYTMv67ds5tLoHpqvRdSgXXXDZF4yj2uMbXKUA3 HnmTKan4E2bCE4geyQLVoyujNfJOX8GZx7RVvLhI+lSbl6jDy2rFl2n4FTIZpzyc 0WWHfK8vODX5eCOMlqKfYOSRSeTQnoW434Tgnh4G6EyzwDm+ez7jQXo/58TFJgb/ 1Ui5sE6v1zMMG5GgkZAl =5lgu -----END PGP SIGNATURE----- ------enig2FHEXOQMLXOPOFTHAHPNM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515C12D0.4040201>