Re: git: 7fd00ba8fde1 - main - devel/nasm: Update to 2.16.01

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 23 Dec 2022 10:19:22 UTC
From: Lorenzo Salvadore <developer@lorenzosalvadore.it>
Subject: Re: git: 7fd00ba8fde1 - main - devel/nasm: Update to 2.16.01
Date: Fri, 23 Dec 2022 09:16:00 +0000

> ------- Original Message -------
> On Friday, December 23rd, 2022 at 7:00 AM, Yasuhiro Kimura <yasu@FreeBSD.org> wrote:
> 
> 
>> 
>> 
>> From: Lorenzo Salvadore salvadore@FreeBSD.org
>> 
>> Subject: git: 7fd00ba8fde1 - main - devel/nasm: Update to 2.16.01
>> Date: Thu, 22 Dec 2022 23:06:31 GMT
>> 
>> > The branch main has been updated by salvadore:
>> > 
>> > URL: https://cgit.FreeBSD.org/ports/commit/?id=7fd00ba8fde1fa40bcf4db886ad24429f851c8a6
>> > 
>> > commit 7fd00ba8fde1fa40bcf4db886ad24429f851c8a6
>> > Author: Lorenzo Salvadore salvadore@FreeBSD.org
>> > AuthorDate: 2022-12-22 21:54:54 +0000
>> > Commit: Lorenzo Salvadore salvadore@FreeBSD.org
>> > CommitDate: 2022-12-22 23:06:11 +0000
>> > 
>> > devel/nasm: Update to 2.16.01
>> 
>> 
>> If I build 2.16.01 with `make -C /usr/ports/devel/nasm`, built
>> finishes without any problem. But if I build it with poudriere,
>> following messages are repeated endlessly and build never finishes.
>> 
>> ----------------------------------------------------------------------
>> gmake[2287]: Entering directory '/wrkdirs/usr/ports/devel/nasm/work/nasm-2.16.01'
>> : > asm/warnings.time
>> 
>> gmake asm/warnings.c.time include/warnings.h.time doc/warnings.src.time
>> gmake[2288]: Entering directory '/wrkdirs/usr/ports/devel/nasm/work/nasm-2.16.01'
>> : > asm/warnings.time
>> 
>> gmake asm/warnings.c.time include/warnings.h.time doc/warnings.src.time
>> gmake[2289]: Entering directory '/wrkdirs/usr/ports/devel/nasm/work/nasm-2.16.01'
>> : > asm/warnings.time
>> 
>> gmake asm/warnings.c.time include/warnings.h.time doc/warnings.src.time
>> gmake[2290]: Entering directory '/wrkdirs/usr/ports/devel/nasm/work/nasm-2.16.01'
>> : > asm/warnings.time
>> 
>> gmake asm/warnings.c.time include/warnings.h.time doc/warnings.src.time
>> gmake[2291]: Entering directory '/wrkdirs/usr/ports/devel/nasm/work/nasm-2.16.01'
>> : > asm/warnings.time
>> 
>> gmake asm/warnings.c.time include/warnings.h.time doc/warnings.src.time
>> ----------------------------------------------------------------------
>> 
>> I tried it with following combinations and the problem happens with
>> all of them.
>> 
>> * 14-CURRENT amd64 host and 14-CURRENT amd64 jail
>> * 14-CURRENT amd64 host and 13.1-RELEASE amd64 jail
>> * 13.1-RELEASE amd64 host and 13.1-RELEASE amd64 jail
>> * 13.1-RELEASE amd64 host and 12.4-RELEASE amd64 jail
>> * 13.1-RELEASE amd64 host and 13.1-RELEASE i386 jail
>> 
>> So it doesn't seems to be related with version/architecuture of
>> host/jail.
> 
> Thanks for your report. I had tested the build with poudriere before
> committing using {i386,amd64} {12.4,13.1,14.0} jails and everything
> went fine. I have retested it more thoroughly now and I can confirm
> that everything works with default options. I have found a bug when
> RDOFF is enabled, which I will fix as soon as possible, but it does
> not seem to be related to your issue:
> 
> gmake[1]: *** No rule to make target 'install_rdf'.  Stop.
> 
> Sorry, I am unable to reproduce the issue you have reported. Do you
> have any more information that could be useful?
> 
> Thanks,
> 
> Lorenzo Salvadore

It seems the problem happens when tmpfs is used as working directory.
Add 'USE_TMPFS=wrkdir' to poudriere.conf and then the problem should
be reproduced. But I don't know why tmpfs causes it.

Regards.

---
Yasuhiro Kimura