Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2017 12:29:00 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        Boris Samorodov <bsam@passap.ru>, freebsd-current@freebsd.org, bapt@freebsd.org
Subject:   Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory
Message-ID:  <291c901c-7b78-7f4f-dd8d-d808406fbc39@FreeBSD.org>
In-Reply-To: <201706272014.v5RKEj8L042071@slippy.cwsent.com>
References:  <201706272014.v5RKEj8L042071@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--UMVEimIc8tkOmRSqA1n5pHiCvanl0O7sJ
Content-Type: multipart/mixed; boundary="lqMESdlFVuAvpHCbkFDFe9mUliTQ2oLlW";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Cy Schubert <Cy.Schubert@komquats.com>
Cc: Boris Samorodov <bsam@passap.ru>, freebsd-current@freebsd.org,
 bapt@freebsd.org
Message-ID: <291c901c-7b78-7f4f-dd8d-d808406fbc39@FreeBSD.org>
Subject: Re: [base package build] [fail] r320347 -> r320392: install:
 builddir/Africa/Abidjan: No such file or directory
References: <201706272014.v5RKEj8L042071@slippy.cwsent.com>
In-Reply-To: <201706272014.v5RKEj8L042071@slippy.cwsent.com>

--lqMESdlFVuAvpHCbkFDFe9mUliTQ2oLlW
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 6/27/17 1:14 PM, Cy Schubert wrote:
> In message <201706271956.v5RJujqP065871@slippy.cwsent.com>, Cy Schubert=
=20
> writes:
>> In message <83207990-cd7c-90ea-6893-c0b3b132134d@passap.ru>, Boris=20
>> Samorodov wr
>> ites:
>>> 27.06.2017 20:06, Trond Endrest=C3=83=C2=B8l =C3=90=C2=BF=C3=90=C2=B8=
=C3=91=CB=86=C3=90=C2=B5=C3=91=E2=80=9A:
>>>
>>>> Try running make installworld without -j N.
>>>> Serial installworld was successful at my end.
>>>
>>> Thank you, that helped.
>>
>> For users doing poudriere jail -c or poudriere jail -u, use -J 1, thou=
gh=20
>> poudriere should only perform parallel builds only, not parallel insta=
lls.=20
>> Parallel installs is simply asking for trouble regardless.
>=20

Parallel install should be working just fine.  It is a supported feature
of installworld.  What was the issue exactly?

> The patch I'm about to post here isn't quite correct. Either base or th=
e=20
> port's upstream should be patched to resolve this but this should help =

> someone somewhere.
>=20
> Index: Makefile
> =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=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=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- Makefile	(revision 444518)
> +++ Makefile	(working copy)
> @@ -2,7 +2,7 @@
> =20
>  PORTNAME=3D	poudriere
>  DISTVERSION=3D	3.1.19
> -PORTREVISION=3D	0
> +PORTREVISION=3D	1
>  CATEGORIES=3D	ports-mgmt
>  MASTER_SITES=3D	LOCAL/bdrewery/${PORTNAME}/ \
>  		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
> Index: files/patch-src__share__poudriere__jail.sh
> =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=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=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- files/patch-src__share__poudriere__jail.sh	(nonexistent)
> +++ files/patch-src__share__poudriere__jail.sh	(working copy)
> @@ -0,0 +1,27 @@
> +--- src/share/poudriere/jail.sh.orig	2017-06-01 10:21:58.000000000 -07=
00
> ++++ src/share/poudriere/jail.sh	2017-06-27 13:06:20.548694000 -0700
> +@@ -272,21 +272,16 @@
> + }
> +=20
> + installworld() {
> +-	local make_jobs
> + 	local destdir=3D"${JAILMNT}"
> +=20
> +-	if [ ${JAIL_OSVERSION} -gt 1100086 ]; then
> +-		make_jobs=3D"${MAKE_JOBS}"
> +-	fi
> +-
> + 	msg "Starting make installworld"
> +-	${MAKE_CMD} -C "${SRC_BASE}" ${make_jobs} installworld \
> ++	${MAKE_CMD} -C "${SRC_BASE}"  installworld \
> + 	    DESTDIR=3D${destdir} DB_FROM_SRC=3D1 || \
> + 	    err 1 "Failed to 'make installworld'"
> +-	${MAKE_CMD} -C "${SRC_BASE}" ${make_jobs} DESTDIR=3D${destdir} \
> ++	${MAKE_CMD} -C "${SRC_BASE}" DESTDIR=3D${destdir} \
> + 	    DB_FROM_SRC=3D1 distrib-dirs || \
> + 	    err 1 "Failed to 'make distrib-dirs'"
> +-	${MAKE_CMD} -C "${SRC_BASE}" ${make_jobs} DESTDIR=3D${destdir} \
> ++	${MAKE_CMD} -C "${SRC_BASE}" DESTDIR=3D${destdir} \
> + 	    distribution || err 1 "Failed to 'make distribution'"
> +=20
> + 	return 0
>=20
>=20


--=20
Regards,
Bryan Drewery


--lqMESdlFVuAvpHCbkFDFe9mUliTQ2oLlW--

--UMVEimIc8tkOmRSqA1n5pHiCvanl0O7sJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJZXT39AAoJEDXXcbtuRpfPmE8H/jbzVHUjL28EgsMlTMzDeeq6
sS3z8PFua2nzneQHOr7mCz+owJr1oWCcuNMBhnzfENLvV29uj4SgCRcBq4jvRF+Q
QWxOE1d+h+PmkSRFfC/5z0s/Fq/xZ7LcqrQwyfsGlNJaB/eDh3yRlYLB4S8C1XKh
Z/h2yrVO+FGyot1fCKy/iF0SMsPpedtmfXyYQXDuFh5x0oE2LJslfo8jE+MpxzrL
tz0V6BsQ/5VoHKR4FHqUNP7RpAsYavJ3R9QJRz2nC9r79c8NelkJ9PHrFW7m2zSD
NOs8TZgUD0bzjDIRtna/3RPT3XvanqYnrZ+JxcLPLf3nrsKr0dy+8Wlpb8zERmk=
=Bv8f
-----END PGP SIGNATURE-----

--UMVEimIc8tkOmRSqA1n5pHiCvanl0O7sJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?291c901c-7b78-7f4f-dd8d-d808406fbc39>