From owner-dev-commits-ports-all@freebsd.org Mon Apr 12 17:33:12 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D79C5D7D6F; Mon, 12 Apr 2021 17:33:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJwn42C9wz4hWt; Mon, 12 Apr 2021 17:33:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 237AF1BA82; Mon, 12 Apr 2021 17:33:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13CHXBbJ050051; Mon, 12 Apr 2021 17:33:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13CHXBqg050050; Mon, 12 Apr 2021 17:33:11 GMT (envelope-from git) Date: Mon, 12 Apr 2021 17:33:11 GMT Message-Id: <202104121733.13CHXBqg050050@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: 08a8314c8803 - main - emulators/sameboy: Try to unreak build with multiple make jobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 08a8314c8803d1a86ac4b592c27a4342d7a44929 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2021 17:33:12 -0000 The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=08a8314c8803d1a86ac4b592c27a4342d7a44929 commit 08a8314c8803d1a86ac4b592c27a4342d7a44929 Author: Tobias Kortkamp AuthorDate: 2021-04-12 09:38:23 +0000 Commit: Tobias Kortkamp 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