Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 15:34:15 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Mark Millard <marklmi@yahoo.com>, FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: security/nss build failure under poudriere, "symlink creation race", head -r363590 FreeBSD and head -r543636 ports
Message-ID:  <SL2PR06MB32250DBEE6246A5ED1C0B792FA710@SL2PR06MB3225.apcprd06.prod.outlook.com>
In-Reply-To: <545B857B-6A55-4C71-BA3D-6F9F5BF9F059@yahoo.com>
References:  <545B857B-6A55-4C71-BA3D-6F9F5BF9F059.ref@yahoo.com> <545B857B-6A55-4C71-BA3D-6F9F5BF9F059@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

The same thing happened to me.
If you want the build to succeed, I think enabling DISABLE_MAKE_JOBS
will solve the problem.

Here's an excerpt from a log of my failures for the same reason.


=>> Building security/nss
build started at Tue Jun 30 01:18:43 UTC 2020
port directory: /usr/ports/security/nss
package name: nss-3.54
building for: FreeBSD src-default-job-02 12.1-STABLE FreeBSD 12.1-STABLE
1201518 amd64
   ︙
Poudriere version: 3.3.4
Host OSVERSION: 1201518
Jail OSVERSION: 1201518
   ︙
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444 smime.h
../../../dist/public/nss
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444
nssckfw.h ../../../dist/public/nss
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444
nssckfw.h ../../../dist/public/nss
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444
cmsreclist.h ../../../dist/public/nss
symlink creation race:
/wrkdirs/usr/ports/security/nss/work/nss-3.54/dist/public/nss/nssckfw.h
nsinstall: symlink was attempted in working directory
/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss/lib/ckfw from
../../../nss/lib/ckfw/nssckfw.h to /wrkdirs/usr/ports/security/nss/work>
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444
nssckfwc.h ../../../dist/public/nss
: File exists
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444
nssckfwt.h ../../../dist/public/nss
../../coreconf/nsinstall/FreeBSD12.1_OPT.OBJ/nsinstall -R -m 444
nssckfwc.h ../../../dist/public/nss
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss/lib/smime'
   ︙
gmake[5]: *** [../../coreconf/rules.mk:387:
../../../dist/public/nss/nssckfw.h] Abort trap (core dumped)
gmake[5]: *** Deleting file '../../../dist/public/nss/nssckfw.h'
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss/lib/ckfw'
gmake[4]: *** [../../coreconf/rules.mk:44: .] Error 2
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss/lib/ckfw'
gmake[3]: *** [../coreconf/rules.mk:44: ckfw] Error 2
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss/lib'
gmake[2]: *** [coreconf/rules.mk:44: lib] Error 2
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss'
gmake[1]: *** [manifest.mn:25: prepare_build] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/security/nss/work/nss-3.54/nss'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/nss


I don't know why it's trying to run the command twice against nssckfw.h.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SL2PR06MB32250DBEE6246A5ED1C0B792FA710>