Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2019 00:48:48 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Niclas Zeising <zeising@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: FYI: x11/xscreensaver appears to have a build-race
Message-ID:  <BDF3EF0C-1616-4795-8B98-DE6305E35A2A@yahoo.com>
In-Reply-To: <40596e0e-d455-6b34-9564-e5d0c9c1ab95@freebsd.org>
References:  <6EAA8CE2-3521-42D9-9B6D-30C40CE442B4@yahoo.com> <40596e0e-d455-6b34-9564-e5d0c9c1ab95@freebsd.org>

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


On 2019-Aug-18, at 00:34, Niclas Zeising <zeising at freebsd.org> wrote:

> On 2019-08-18 09:07, Mark Millard via freebsd-ports wrote:
>> I ran two separate devel/poudriere-devel amd64->aarch64
>> cross builds on the same system (head -r 351178 based)
>> with the same /usr/ports/ tree (ports head -r509171),
>> building the same 97 ports each, mostly overlapping
>> in time, and one got:
>> gmake[2]: *** [Makefile:37: gen/apple_png.h] Error 2
>> while building x11/xscreensaver but the other
>> completed building x11/xscreensaver just fine.
>> There was also a armv7-targeting poudriere-devel ports
>> update running, also mostly overlapping in time. With
>> 28 FreeBSD CPUs (under Hyper-V), the load average was
>> frequently over 90. (The armv7 x11/xscreensaver build
>> also completed fine.)
>> All 3 poudriere's had ALLOW_MAKE_JOBS=3Dyes and all 3 set
>> up to have "Building 97 packages using 28 builders".
>> devel/llvm90 was one of the ports being built. All 3
>> poudriere's had native-xtools in use. The context has
>> ECC DRAM, 96 GiBytes worth.
>=20
> I'm just about to update x11/xscreensaver, but through multiple =
poudriere runs I haven't noticed any issues.  I have a much smaller =
machine to do builds on though.
> It would be interesting to see more context of the error as well.

Here you go:

. . .
gmake[2]: Leaving directory =
'/wrkdirs/usr/ports/x11/xscreensaver/work/xscreensaver-5.42/jwxyz'
gmake[2]: Entering directory =
'/wrkdirs/usr/ports/x11/xscreensaver/work/xscreensaver-5.42/hacks/images'
mkdir gen
echo ../../utils/bin2c "6x10font.png" "gen/6x10font_png.h"
echo ../../utils/bin2c "amiga.png" "gen/amiga_png.h"
echo ../../utils/bin2c "android.png" "gen/android_png.h"
echo ../../utils/bin2c "apple.png" "gen/apple_png.h"
echo ../../utils/bin2c "apple2font.png" "gen/apple2font_png.h"
echo ../../utils/bin2c "atari.png" "gen/atari_png.h"
echo ../../utils/bin2c "atm.png" "gen/atm_png.h"
echo ../../utils/bin2c "blocktube.png" "gen/blocktube_png.h"
echo ../../utils/bin2c "bob.png" "gen/bob_png.h"
echo ../../utils/bin2c "brick1.png" "gen/brick1_png.h"
echo ../../utils/bin2c "brick2.png" "gen/brick2_png.h"
echo ../../utils/bin2c "chromesphere.png" "gen/chromesphere_png.h"
echo ../../utils/bin2c "dvd.png" "gen/dvd_png.h"
echo ../../utils/bin2c "earth.png" "gen/earth_png.h"
echo ../../utils/bin2c "earth_flat.png" "gen/earth_flat_png.h"
../../utils/bin2c atm.png gen/atm_png.h
../../utils/bin2c "atm.png" "gen/atm_png.h"
echo ../../utils/bin2c "earth_night.png" "gen/earth_night_png.h"
echo ../../utils/bin2c "ground.png" "gen/ground_png.h"
echo ../../utils/bin2c "hmac.png" "gen/hmac_png.h"
../../utils/bin2c blocktube.png gen/blocktube_png.h
../../utils/bin2c 6x10font.png gen/6x10font_png.h
../../utils/bin2c "blocktube.png" "gen/blocktube_png.h"
../../utils/bin2c "6x10font.png" "gen/6x10font_png.h"
echo ../../utils/bin2c "iris.png" "gen/iris_png.h"
echo ../../utils/bin2c "jigglymap.png" "gen/jigglymap_png.h"
echo ../../utils/bin2c "lament512.png" "gen/lament512_png.h"
../../utils/bin2c brick1.png gen/brick1_png.h
../../utils/bin2c "brick1.png" "gen/brick1_png.h"
echo ../../utils/bin2c "logo-180.png" "gen/logo-180_png.h"
echo ../../utils/bin2c "logo-32.png" "gen/logo-32_png.h"
echo ../../utils/bin2c "logo-50.png" "gen/logo-50_png.h"
../../utils/bin2c apple.png gen/apple_png.h
../../utils/bin2c bob.png gen/bob_png.h
../../utils/bin2c "bob.png" "gen/bob_png.h"
../../utils/bin2c "apple.png" "gen/apple_png.h"
echo ../../utils/bin2c "mac.png" "gen/mac_png.h"
../../utils/bin2c brick2.png gen/brick2_png.h
../../utils/bin2c android.png gen/android_png.h
../../utils/bin2c "brick2.png" "gen/brick2_png.h"
../../utils/bin2c "android.png" "gen/android_png.h"
echo ../../utils/bin2c "macbomb.png" "gen/macbomb_png.h"
echo ../../utils/bin2c "matrix1.png" "gen/matrix1_png.h"
../../utils/bin2c iris.png gen/iris_png.h
../../utils/bin2c "iris.png" "gen/iris_png.h"
../../utils/bin2c atari.png gen/atari_png.h
../../utils/bin2c "atari.png" "gen/atari_png.h"
../../utils/bin2c dvd.png gen/dvd_png.h
../../utils/bin2c chromesphere.png gen/chromesphere_png.h
../../utils/bin2c "dvd.png" "gen/dvd_png.h"
../../utils/bin2c "chromesphere.png" "gen/chromesphere_png.h"
../../utils/bin2c logo-32.png gen/logo-32_png.h
../../utils/bin2c amiga.png gen/amiga_png.h
../../utils/bin2c "logo-32.png" "gen/logo-32_png.h"
../../utils/bin2c "amiga.png" "gen/amiga_png.h"
../../utils/bin2c apple2font.png gen/apple2font_png.h
../../utils/bin2c "apple2font.png" "gen/apple2font_png.h"
../../utils/bin2c jigglymap.png gen/jigglymap_png.h
../../utils/bin2c "jigglymap.png" "gen/jigglymap_png.h"
../../utils/bin2c earth.png gen/earth_png.h
../../utils/bin2c "earth.png" "gen/earth_png.h"
../../utils/bin2c earth_flat.png gen/earth_flat_png.h
../../utils/bin2c "earth_flat.png" "gen/earth_flat_png.h"
../../utils/bin2c lament512.png gen/lament512_png.h
../../utils/bin2c ground.png gen/ground_png.h
../../utils/bin2c: cannot create gen/apple_png.h: No such file or =
directory
gmake[2]: *** [Makefile:37: gen/apple_png.h] Error 2
../../utils/bin2c logo-50.png gen/logo-50_png.h
../../utils/bin2c hmac.png gen/hmac_png.h
gmake[2]: *** Waiting for unfinished jobs....
../../utils/bin2c "logo-50.png" "gen/logo-50_png.h"
../../utils/bin2c: cannot create gen/atm_png.h: No such file or =
directory
../../utils/bin2c "lament512.png" "gen/lament512_png.h"
../../utils/bin2c "hmac.png" "gen/hmac_png.h"
../../utils/bin2c "ground.png" "gen/ground_png.h"
gmake[2]: *** [Makefile:37: gen/atm_png.h] Error 2
../../utils/bin2c earth_night.png gen/earth_night_png.h
../../utils/bin2c "earth_night.png" "gen/earth_night_png.h"
../../utils/bin2c: cannot create gen/atari_png.h: No such file or =
directory
gmake[2]: *** [Makefile:37: gen/atari_png.h] Error 2
../../utils/bin2c: cannot create gen/blocktube_png.h: No such file or =
directory
gmake[2]: *** [Makefile:37: gen/blocktube_png.h] Error 2
../../utils/bin2c mac.png gen/mac_png.h
../../utils/bin2c "mac.png" "gen/mac_png.h"
../../utils/bin2c logo-180.png gen/logo-180_png.h
../../utils/bin2c "logo-180.png" "gen/logo-180_png.h"
../../utils/bin2c: cannot create gen/earth_png.h: No such file or =
directory
gmake[2]: *** [Makefile:37: gen/earth_png.h] Error 2
../../utils/bin2c matrix1.png gen/matrix1_png.h
../../utils/bin2c "matrix1.png" "gen/matrix1_png.h"
../../utils/bin2c macbomb.png gen/macbomb_png.h
../../utils/bin2c "macbomb.png" "gen/macbomb_png.h"
gmake[2]: Leaving directory =
'/wrkdirs/usr/ports/x11/xscreensaver/work/xscreensaver-5.42/hacks/images'
gmake[1]: *** [Makefile:27: all] Error 5
gmake[1]: Leaving directory =
'/wrkdirs/usr/ports/x11/xscreensaver/work/xscreensaver-5.42'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the =
failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/xscreensaver
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for xscreensaver-5.42
build of x11/xscreensaver | xscreensaver-5.42 ended at Sat Aug 17 =
22:44:03 PDT 2019
build time: 00:05:36
!!! build failure encountered !!!


For reference as far as the poudriere direct output instead
of the log file:

. . .
[01:30:59] [01] [00:00:00] Building x11/xscreensaver | xscreensaver-5.42
[01:33:17] [06] [00:06:42] Finished devel/qt5-uitools | =
qt5-uitools-5.12.2_1: Success
[01:34:08] [07] [00:11:45] Finished graphics/qt5-opengl | =
qt5-opengl-5.12.2_1: Success
[01:34:16] [04] [00:11:53] Finished print/qt5-printsupport | =
qt5-printsupport-5.12.2_1: Success
[01:34:18] [02] [00:00:00] Building devel/qt5-assistant | =
qt5-assistant-5.12.2_1
[01:36:33] [01] [00:05:34] Saved x11/xscreensaver | xscreensaver-5.42 =
wrkdir to: =
/usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA53-default/default/xs=
creensaver-5.42.tar
[01:36:34] [01] [00:05:35] Finished x11/xscreensaver | =
xscreensaver-5.42: Failed: build
[01:36:37] [01] [00:05:38] Skipping x11/lumina | lumina-1.4.1_1,3: =
Dependent port x11/xscreensaver | xscreensaver-5.42 failed
[01:36:37] [01] [00:05:38] Skipping x11/lumina-core | =
lumina-core-1.4.1_2: Dependent port x11/xscreensaver | xscreensaver-5.42 =
failed
. . .


The overall build is still in progress. So I've not had
a chance to run poudriere again to have it retry just
the 3 ports (1 failed and 2 skipped). (Presumes the rest
build okay.)


A race suggests that MAKE_JOBS_UNSAFE=3Dyes may well be appropriate.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDF3EF0C-1616-4795-8B98-DE6305E35A2A>