Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-07-07 Thread Bryan Drewery
On 7/5/17 12:55 PM, Boris Samorodov wrote:
> 05.07.2017 22:29, Bryan Drewery пишет:
> 
>> Parallel install should be working just fine.  It is a supported feature
>> of installworld.  What was the issue exactly?
> 
> https://lists.freebsd.org/pipermail/freebsd-current/2017-June/066408.html

Aha, it was merely a bug in a share/zoneinfo change in r320362, fixed in
r320454.

It has nothing to do with Poudriere or META_MODE. It does manifest with
'make -j install' though.

> 
> As I understand, it was an installworld while base packages building.
> 
> But I suspect that META_MODE may be to blame. I've shitched it off
> since then.
> 


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-07-05 Thread Bryan Drewery
On 7/5/17 12:55 PM, Boris Samorodov wrote:
> 05.07.2017 22:29, Bryan Drewery пишет:
> 
>> Parallel install should be working just fine.  It is a supported feature
>> of installworld.  What was the issue exactly?
> 
> https://lists.freebsd.org/pipermail/freebsd-current/2017-June/066408.html
> 
> As I understand, it was an installworld while base packages building.
> 
> But I suspect that META_MODE may be to blame. I've shitched it off
> since then.
> 

META_MODE is explicitly disabled during installworld so it shouldn't
have any impact.  I've had a few reports of issues on it though and will
investigate.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-07-05 Thread Boris Samorodov
05.07.2017 22:29, Bryan Drewery пишет:

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

https://lists.freebsd.org/pipermail/freebsd-current/2017-June/066408.html

As I understand, it was an installworld while base packages building.

But I suspect that META_MODE may be to blame. I've shitched it off
since then.

-- 
WBR, bsam



signature.asc
Description: OpenPGP digital signature


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-07-05 Thread Cy Schubert
In message <291c901c-7b78-7f4f-dd8d-d808406fb...@freebsd.org>, Bryan 
Drewery wr
ites:
> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> --UMVEimIc8tkOmRSqA1n5pHiCvanl0O7sJ
> Content-Type: multipart/mixed; boundary="lqMESdlFVuAvpHCbkFDFe9mUliTQ2oLlW";
>  protected-headers="v1"
> From: Bryan Drewery <bdrew...@freebsd.org>
> To: Cy Schubert <cy.schub...@komquats.com>
> Cc: Boris Samorodov <b...@passap.ru>, freebsd-current@freebsd.org,
>  b...@freebsd.org
> Message-ID: <291c901c-7b78-7f4f-dd8d-d808406fb...@freebsd.org>
> Subject: Re: [base package build] [fail] r320347 -> r320392: install:
>  builddir/Africa/Abidjan: No such file or directory
> References: <201706272014.v5rkej8l042...@slippy.cwsent.com>
> In-Reply-To: <201706272014.v5rkej8l042...@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.v5rjujqp065...@slippy.cwsent.com>, Cy Schubert=
> =20
> > writes:
> >> In message <83207990-cd7c-90ea-6893-c0b3b1321...@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?

I had some problems a few moths ago, maybe a year ago, I can't recall 
exactly. After a recent email exchange I decided to try again. It works 
now. I must have hit a rough spot at one point. I've updated my scripts to 
use parallel install again.

I'll raise a red flag next time rather than quietly adjusting what I do.


-- 
Cheers,
Cy Schubert <cy.schub...@cschubert.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  http://www.FreeBSD.org

The need of the many outweighs the greed of the few.


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-07-05 Thread Bryan Drewery
On 6/27/17 1:14 PM, Cy Schubert wrote:
> In message <201706271956.v5rjujqp065...@slippy.cwsent.com>, Cy Schubert 
> writes:
>> In message <83207990-cd7c-90ea-6893-c0b3b1321...@passap.ru>, Boris 
>> Samorodov wr
>> ites:
>>> 27.06.2017 20:06, Trond Endrestøl пишет:
>>>
 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, though 
>> poudriere should only perform parallel builds only, not parallel installs. 
>> Parallel installs is simply asking for trouble regardless.
> 

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


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Cy Schubert
In message <201706280054.v5s0svs3036...@slippy.cwsent.com>, Cy Schubert 
writes:
> This is a multipart MIME message.
> 
> --==_Exmh_1498611286_142500
> Content-Type: text/plain; charset=us-ascii
> 
> In message , Ngie Cooper 
> writes
> :
> > 
> > 
> > > On Jun 27, 2017, at 13:21, Cy Schubert  wrote:
> > 
> > ...
> > 
> > > Yes. I've had issues with parallel installs breaking badly before this.
> > 
> > Be that what it may be, papering the issue over via poudriere is the wrong 
> ap
> > proach to fixing the problem imho.
> > 
> > Bryan's out for a few more days on vacation.. I'll see if I can look into t
> hi
> > s while he's gone.
> 
> Sure.
> 
> Here's previous reply that includes a patch that addresses this in base. 
> Does this look correct to you?

The poudriere hack doesn't work. The attached patch does.

~cy

> 
> 
> 
> --==_Exmh_1498611286_142500
> Content-Type: message/rfc822 ; name="6235"
> Content-Description: 6235
> Content-Disposition: attachment; filename="6235"
> 
> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6
> Reply-to: Cy Schubert 
> From: Cy Schubert 
> X-os: FreeBSD
> X-Sender: c...@cwsent.com
> X-URL: http://www.cschubert.com/
> To: Sean Bruno 
> cc: Edward Tomasz Napierala ,
> src-committ...@freebsd.org, svn-src-...@freebsd.org,
> svn-src-h...@freebsd.org
> Subject: Re: svn commit: r320362 - head/share/zoneinfo
> In-Reply-To: Message from Sean Bruno 
>of "Mon, 26 Jun 2017 12:21:15 -0600."  a...@freebsd.org>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Date: Mon, 26 Jun 2017 20:48:57 -0700
> 
> (since we're top posting )
> 
> Hi Sean,
> 
> Do you want to give this a spin?
> 
> Index: share/zoneinfo/Makefile
> ===
> --- share/zoneinfo/Makefile   (revision 320389)
> +++ share/zoneinfo/Makefile   (working copy)
> @@ -94,7 +94,7 @@
>  .for f in ${TZS}
>   ${INSTALL} ${TAG_ARGS} \
>   -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
> - ${TZBUILDDIR:C,^${.OBJDIR}/,,}/${f} ${DESTDIR}/usr/share/zoneinfo/$
> {f}
> + ${TZBUILDDIR}/${f} ${DESTDIR}/usr/share/zoneinfo/${f}
>  .endfor
>   ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
>   ${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
> 
> ~cy
> 
> 
> In message , Sean Bruno 
> write
> s:
> > This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> > --WTKxh8RiNpWJJ66LumpxWUq5KMtbGfm2f
> > Content-Type: multipart/mixed; boundary="VFqTarnRbgKj5gwWULxfLoTjWIwLn2loQ"
> ;
> >  protected-headers="v1"
> > From: Sean Bruno 
> > To: Edward Tomasz Napierala , src-committ...@freebsd.org
> ,
> >  svn-src-...@freebsd.org, svn-src-h...@freebsd.org
> > Message-ID: 
> > Subject: Re: svn commit: r320362 - head/share/zoneinfo
> > References: <201706261540.v5qfeotj072...@repo.freebsd.org>
> > In-Reply-To: <201706261540.v5qfeotj072...@repo.freebsd.org>
> > 
> > --VFqTarnRbgKj5gwWULxfLoTjWIwLn2loQ
> > Content-Type: text/plain; charset=utf-8
> > Content-Language: en-US
> > Content-Transfer-Encoding: quoted-printable
> > 
> > Hmmm ... This seems to break 'poudriere jail -c jailname -m src=3D/usr/sr=
> > c
> > -v head"
> > 
> > --- realinstall_subdir_share/zoneinfo ---
> > install: builddir/Africa/Abidjan: No such file or directory
> > 
> > 
> > On 06/26/17 09:40, Edward Tomasz Napierala wrote:
> > > Author: trasz
> > > Date: Mon Jun 26 15:40:24 2017
> > > New Revision: 320362
> > > URL: https://svnweb.freebsd.org/changeset/base/320362
> > >=20
> > > Log:
> > >   Provide visual feedback when timezone files are installed.
> > >   After r320003 it wasn't being shown in any way.
> > >  =20
> > >   Submitted by:   bdrewery
> > >   MFC after:  1 month
> > >   Differential Revision:  https://reviews.freebsd.org/D11154
> > >=20
> > > Modified:
> > >   head/share/zoneinfo/Makefile
> > >=20
> > > Modified: head/share/zoneinfo/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=3D=3D=3D=3D=3D=3D=3D
> =
> > =3D=3D=3D=3D
> > > --- head/share/zoneinfo/Makefile  Mon Jun 26 15:23:12 2017(r32036
> > 1)
> > > +++ head/share/zoneinfo/Makefile  Mon Jun 26 15:40:24 2017(r32036
> > 2)
> > > @@ -83,14 +83,19 @@ zoneinfo: yearistype ${TDATA}
> > >   zic -D -d ${TZBUILDDIR} -p ${POSIXRULES} -m ${NOBINMODE} \
> > >   ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
> > > =20
> > > +.if make(*install*)
> > > +TZS!=3D cd ${TZBUILDDIR} && find -s * -type f
> > > +.endif
> > > +
> > >  beforeinstall: 

Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Cy Schubert
In message , Ngie Cooper 
writes
:
> 
> 
> > On Jun 27, 2017, at 13:21, Cy Schubert  wrote:
> 
> ...
> 
> > Yes. I've had issues with parallel installs breaking badly before this.
> 
> Be that what it may be, papering the issue over via poudriere is the wrong ap
> proach to fixing the problem imho.
> 
> Bryan's out for a few more days on vacation.. I'll see if I can look into thi
> s while he's gone.

Sure.

Here's previous reply that includes a patch that addresses this in base. 
Does this look correct to you?


--- Begin Message ---
(since we're top posting )

Hi Sean,

Do you want to give this a spin?

Index: share/zoneinfo/Makefile
===
--- share/zoneinfo/Makefile (revision 320389)
+++ share/zoneinfo/Makefile (working copy)
@@ -94,7 +94,7 @@
 .for f in ${TZS}
${INSTALL} ${TAG_ARGS} \
-o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
-   ${TZBUILDDIR:C,^${.OBJDIR}/,,}/${f} 
${DESTDIR}/usr/share/zoneinfo/${f}
+   ${TZBUILDDIR}/${f} ${DESTDIR}/usr/share/zoneinfo/${f}
 .endfor
${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/

~cy


In message , Sean Bruno 
write
s:
> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> --WTKxh8RiNpWJJ66LumpxWUq5KMtbGfm2f
> Content-Type: multipart/mixed; boundary="VFqTarnRbgKj5gwWULxfLoTjWIwLn2loQ";
>  protected-headers="v1"
> From: Sean Bruno 
> To: Edward Tomasz Napierala , src-committ...@freebsd.org,
>  svn-src-...@freebsd.org, svn-src-h...@freebsd.org
> Message-ID: 
> Subject: Re: svn commit: r320362 - head/share/zoneinfo
> References: <201706261540.v5qfeotj072...@repo.freebsd.org>
> In-Reply-To: <201706261540.v5qfeotj072...@repo.freebsd.org>
> 
> --VFqTarnRbgKj5gwWULxfLoTjWIwLn2loQ
> Content-Type: text/plain; charset=utf-8
> Content-Language: en-US
> Content-Transfer-Encoding: quoted-printable
> 
> Hmmm ... This seems to break 'poudriere jail -c jailname -m src=3D/usr/sr=
> c
> -v head"
> 
> --- realinstall_subdir_share/zoneinfo ---
> install: builddir/Africa/Abidjan: No such file or directory
> 
> 
> On 06/26/17 09:40, Edward Tomasz Napierala wrote:
> > Author: trasz
> > Date: Mon Jun 26 15:40:24 2017
> > New Revision: 320362
> > URL: https://svnweb.freebsd.org/changeset/base/320362
> >=20
> > Log:
> >   Provide visual feedback when timezone files are installed.
> >   After r320003 it wasn't being shown in any way.
> >  =20
> >   Submitted by: bdrewery
> >   MFC after:1 month
> >   Differential Revision:https://reviews.freebsd.org/D11154
> >=20
> > Modified:
> >   head/share/zoneinfo/Makefile
> >=20
> > Modified: head/share/zoneinfo/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=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D
> > --- head/share/zoneinfo/MakefileMon Jun 26 15:23:12 2017(r32036
> 1)
> > +++ head/share/zoneinfo/MakefileMon Jun 26 15:40:24 2017(r32036
> 2)
> > @@ -83,14 +83,19 @@ zoneinfo: yearistype ${TDATA}
> > zic -D -d ${TZBUILDDIR} -p ${POSIXRULES} -m ${NOBINMODE} \
> > ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
> > =20
> > +.if make(*install*)
> > +TZS!=3D cd ${TZBUILDDIR} && find -s * -type f
> > +.endif
> > +
> >  beforeinstall: install-zoneinfo
> >  install-zoneinfo:
> > mkdir -p ${DESTDIR}/usr/share/zoneinfo
> > cd ${DESTDIR}/usr/share/zoneinfo;  mkdir -p ${TZBUILDSUBDIRS}
> > -   cd ${TZBUILDDIR} && \
> > -   find -s * -type f -exec ${INSTALL} ${TAG_ARGS} \
> > +.for f in ${TZS}
> > +   ${INSTALL} ${TAG_ARGS} \
> > -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
> > -   \{} ${DESTDIR}/usr/share/zoneinfo/\{} \;
> > +   ${TZBUILDDIR:C,^${.OBJDIR}/,,}/${f} ${DESTDIR}/usr/share/zoneinfo=
> /${f}
> > +.endfor
> > ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
> > ${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
> > =20
> >=20
> >=20
> 
> 
> --VFqTarnRbgKj5gwWULxfLoTjWIwLn2loQ--
> 
> --WTKxh8RiNpWJJ66LumpxWUq5KMtbGfm2f
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: OpenPGP digital signature
> Content-Disposition: attachment; filename="signature.asc"
> 
> -BEGIN PGP SIGNATURE-
> 
> iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAllRUJtfFIAALgAo
> aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
> QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
> /LaIFggAlEX4pLTfDUaRsGoxWbGI0DiirmhR1nW74ESXjGXd4u9WSYKfvxK+oGPJ
> LRwxcimGw/v+h8piM102ijsmquE0+NlyyMAYjFNLb9tsZuR+kfzRbDwqiu3FNg8R
> 

Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Ngie Cooper

> On Jun 27, 2017, at 13:21, Cy Schubert  wrote:

...

> Yes. I've had issues with parallel installs breaking badly before this.

Be that what it may be, papering the issue over via poudriere is the wrong 
approach to fixing the problem imho.

Bryan's out for a few more days on vacation.. I'll see if I can look into this 
while he's gone.

Thanks!
-Ngie
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Cy Schubert
In message 

Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Antoine Brodin
On Tue, Jun 27, 2017 at 9:56 PM, Cy Schubert  wrote:
> In message <83207990-cd7c-90ea-6893-c0b3b1321...@passap.ru>, Boris
> Samorodov wr
> ites:
>> 27.06.2017 20:06, Trond Endrestøl пишет:
>>
>> > 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, though
> poudriere should only perform parallel builds only, not parallel installs.
> Parallel installs is simply asking for trouble regardless.

Are you serious?  poudriere has installed in parallel since forever
and it's the first time there is an issue.

Antoine
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Cy Schubert
In message <201706271956.v5rjujqp065...@slippy.cwsent.com>, Cy Schubert 
writes:
> In message <83207990-cd7c-90ea-6893-c0b3b1321...@passap.ru>, Boris 
> Samorodov wr
> ites:
> > 27.06.2017 20:06, Trond Endrestøl пишет:
> > 
> > > 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, though 
> poudriere should only perform parallel builds only, not parallel installs. 
> Parallel installs is simply asking for trouble regardless.

The patch I'm about to post here isn't quite correct. Either base or the 
port's upstream should be patched to resolve this but this should help 
someone somewhere.

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


-- 
Cheers,
Cy Schubert 
FreeBSD UNIX:     Web:  http://www.FreeBSD.org

The need of the many outweighs the greed of the few.


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Cy Schubert
In message <83207990-cd7c-90ea-6893-c0b3b1321...@passap.ru>, Boris 
Samorodov wr
ites:
> 27.06.2017 20:06, Trond Endrestøl пишет:
> 
> > 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, though 
poudriere should only perform parallel builds only, not parallel installs. 
Parallel installs is simply asking for trouble regardless.


-- 
Cheers,
Cy Schubert 
FreeBSD UNIX:     Web:  http://www.FreeBSD.org

The need of the many outweighs the greed of the few.


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Boris Samorodov
27.06.2017 20:06, Trond Endrestøl пишет:

> Try running make installworld without -j N.
> Serial installworld was successful at my end.

Thank you, that helped.

-- 
WBR, bsam
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: [base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Trond Endrestøl
Try running make installworld without -j N.
Serial installworld was successful at my end.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[base package build] [fail] r320347 -> r320392: install: builddir/Africa/Abidjan: No such file or directory

2017-06-27 Thread Boris Samorodov

Hi,

I regularly build base packages for FreeBSD-HEAD-amd64. After jump from
r320347 to r320392 (build world/kernel are fine) I get an error while
package building (make -C /usr/src packages):
-
--- realinstall_subdir_share ---
--- realinstall_subdir_share/zoneinfo ---
install: builddir/Africa/Abidjan: No such file or directory
*** [install-zoneinfo] Error code 71
-

--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"