git: 08a8314c8803 - main - emulators/sameboy: Try to unreak build with multiple make jobs

Tobias Kortkamp tobik at FreeBSD.org
Mon Apr 12 17:33:12 UTC 2021


The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08a8314c8803d1a86ac4b592c27a4342d7a44929

commit 08a8314c8803d1a86ac4b592c27a4342d7a44929
Author:     Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-12 09:38:23 +0000
Commit:     Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-04-12 17:33:09 +0000

    emulators/sameboy: Try to unreak build with multiple make jobs
    
    gmake -C ../ build/bin/BootROMs/agb_boot.bin
    gmake[3]: Entering directory '/wrkdirs/usr/ports/emulators/sameboy/work/SameBoy-0.14.2'
    gmake -C ../ build/bin/BootROMs/cgb_boot.bin
    gmake[3]: Entering directory '/wrkdirs/usr/ports/emulators/sameboy/work/SameBoy-0.14.2'
    rgbasm -i build/obj/BootROMs/ -i BootROMs/ -o build/bin/BootROMs/agb_boot.bin.tmp BootROMs/agb_boot.asm
    rgblink -o build/bin/BootROMs/agb_boot.bin.tmp2 build/bin/BootROMs/agb_boot.bin.tmp
    dd if=build/bin/BootROMs/agb_boot.bin.tmp2 of=build/bin/BootROMs/agb_boot.bin count=1 bs=2304 2> /dev/null
    gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/sameboy/work/SameBoy-0.14.2'
    rgbasm -i build/obj/BootROMs/ -i BootROMs/ -o build/bin/BootROMs/cgb_boot.bin.tmp BootROMs/cgb_boot.asm
    rgbasm -i build/obj/BootROMs/ -i BootROMs/ -o build/bin/BootROMs/cgb_boot.bin.tmp BootROMs/cgb_boot.asm
    rgblink -o build/bin/BootROMs/cgb_boot.bin.tmp2 build/bin/BootROMs/cgb_boot.bin.tmp
    dd if=build/bin/BootROMs/cgb_boot.bin.tmp2 of=build/bin/BootROMs/cgb_boot.bin count=1 bs=2304 2> /dev/null
    rgblink -o build/bin/BootROMs/cgb_boot.bin.tmp2 build/bin/BootROMs/cgb_boot.bin.tmp
    error: Could not open file build/bin/BootROMs/cgb_boot.bin.tmp: No such file or directory
    rgbasm -i build/obj/BootROMs/ -i BootROMs/ -o build/bin/BootROMs/agb_boot.bin.tmp BootROMs/agb_boot.asm
    
    http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-10_08h07m32s/logs/errors/sameboy-0.14.2.log
    
    I believe this is because at the moment the sdl program and libretro
    module are built in one go but both depend on the bootroms and
    should actually be built in separate steps.  Try that before adding
    MAKE_JOBS_UNSAFE.
---
 emulators/sameboy/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile
index f6fa4e2eb104..9e0c14301d6c 100644
--- a/emulators/sameboy/Makefile
+++ b/emulators/sameboy/Makefile
@@ -30,7 +30,8 @@ OPTIONS_SUB=		yes
 
 LIBRETRO_DESC=	Build libretro core
 
-LIBRETRO_ALL_TARGET=	libretro
+post-build-LIBRETRO-on:
+	@${DO_MAKE_BUILD} -C ${WRKSRC} libretro
 
 post-install-LIBRETRO-on:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro


More information about the dev-commits-ports-all mailing list