From nobody Tue Nov 07 01:08:55 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SPVV00BJjz4yky9 for ; Tue, 7 Nov 2023 01:08:56 +0000 (UTC) (envelope-from bugzilla-noreply@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 4SPVTz5Rwlz3GTJ for ; Tue, 7 Nov 2023 01:08:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699319335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ODjNMFLZUyDuT0FklGpRS3InEfsvYKfoiBV9OBgA+TA=; b=LnTtcVLpQw11uzmeKCRjE12BF9hG1jpNP9hBTQFsSEIm3rZaA9fXLm8QFvIljQOoOkbz4i qtIqsFXmnICEuq5CjUempTiBVBWqe9Pl6Pp357Bl/VNVeNwtHw5Ylz2n1eQI8hhezhnn0Y WIRRdvs3eaLOtJ/brr3A6OOhzm2WcYq91hTad8EXuFWrkFes0nIA/v9vVych7ay8LEeuwJ ahwCJU/lZgN/4hRqyQg3sq3/bkL7ar0BtDJkVZbVSOUCaGpoUK5xT2SmmQYaVaHmNicUm+ bfRiX2SNgyL5CSbIaZBRMUDm8CCAkg2NttCiDNc6mbzo7MrQqVYsPudIsogjFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699319335; a=rsa-sha256; cv=none; b=HA57simpldNW/diUzoXtVlCRMIxyJNSiYAlZsO6DH4HM+7s2msIKlg7Br+MSdTEZq6/LT0 fxrJFvfmWip1r3JO/+T1rEG2bBe4AQR3tPzyAVAck85JvVtrxiwUREQNckguf9pB5eedxq 3NmDVrEtkSY2+eTYxajabljWrPUqKObFD67kpdRBkfLD4Imq47PCMwfIN+FzN2a1yJJsNi 4kUsU1fIDARJsDVoBAmxoBAR33dI3G9gJXgJn1DrWbRQqV2YFj12BD6HbTPCTpokfObYQk 0LtxzZSi65NDstaOpmfF576Xd2HRJMpkfQ6rxJiBqJXhC8kdLllKPoK5yhTLYg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4SPVTz4XK6zWF4 for ; Tue, 7 Nov 2023 01:08:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3A718tx9079153 for ; Tue, 7 Nov 2023 01:08:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A718tRO079152 for ports-bugs@FreeBSD.org; Tue, 7 Nov 2023 01:08:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274947] devel/genie: update to 20230921 Date: Tue, 07 Nov 2023 01:08:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: agh@riseup.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274947 Bug ID: 274947 Summary: devel/genie: update to 20230921 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: agh@riseup.net Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org Created attachment 246169 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246169&action= =3Dedit Update to 20230921; some Makefile maintenance; patches for FreeBSD use Hello, Working on unbundling GENie from emulators/mame, I noticed that devel/genie= did not have the same patches that were required in MAME for GENie to correctly produce GMake projects/files. When stock GENie from devel/genie runs, it hardcodes the use of ${ARCH} into all the GNU Makefiles that it generates, I am not sure what for, and I have noticed that both NetBSD and OpenBSD are able to use GENie like that. I tho= ught the initial problem may have been because of FreeBSD's historic preference = to use amd64 over x86_64, however, the GENie build system looks like it compensates for this. If I use stock devel/genie for MAME, the build fails with Clang not being a= ble to find ${ARCH}, if I modify the build to create a directory ${ARCH}, the linker fails with finding no input, or not liking finding a directory. I am= not sure what exactly is the solution, however, I think FreeBSD automagically incantates the correct ISA bit width spell, so I suspect that is why the MA= ME port removed all references to ${ARCH} in the GENie related build configs. So included with this update, is the following patches: * files/patch-build_gmake.freebsd_genie.make (already part of devel/genie) Have commented out AR, CC, and CXX in the makefile so the Ports values are inherited. Also removed the offending $(ARCH), and some -Os optimisations so not to poison the compiler environment inherited from the Ports. * files/patch-src_host_scripts.c This file has a mega sized const char* containing loads of predefined build= -fu for all GENie supporting platforms (most of which are lumped together), her= e is where ${ARCH} is littered. This file eventually contributes to building the custom GNU Makefile for the Project (in this case, MAME) for the supporting platform. * files/patch-src_tools_gcc.lua Attempt to use compiler environment inherited from Ports again. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=