From nobody Mon Nov 20 16:58:11 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 4SYtxH5lk7z51XpN for ; Mon, 20 Nov 2023 16:58:11 +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 4SYtxH2vtrz4d6T for ; Mon, 20 Nov 2023 16:58:11 +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=1700499491; 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: in-reply-to:in-reply-to:references:references; bh=WWvKttNSzKHY7sMaqbA9CCo1R5c0GLx2ULKm6HeDh5I=; b=sLVFS8/6QuR2jLufZoObG3UgEUkDwEMgSQs49TnM8dnGlj9m0bTFbm+vcu0VdRHesm5uC5 ZM4ptkUSQqhtxXfz6iQ9jip1PzLIpFKl0A6dfPaeRebD+szPiUhtCAxs8WaJItBpU9GIyX nVWkY024f1xcOmx1+qUhOqq43umlLsz7KPTv54x609Bt1y7UMWR8ftyGCBITLBgljkSXLq jFTel0rfkXkCMqRnw340a2VyZmeGGLQdF6hwd60NRsWwke3OikJZcEA7vBpKUNIsNJQPHq J3YctQWM/keEVJXBSZSt7fxluaXweSee+HYS0odnSXPVKh2jDIS2nAANkA3Khg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700499491; a=rsa-sha256; cv=none; b=RDbcTas1dkysMeWtkh+3737OpJrcP9V6Ib472IBaP45jCxAToW8peMQkpncj00Nu+0PH7e 6a3sE1xPdOujb8UQmASGO/G/uHVA0MnOes+k9qr8ynUuOacgIIMVGSoluPl683JB1qSAlN txZGT+cT0QAKOoeUxeZJND3v1pD99G6lXhmoQKfU2yjRfl8ptWINzGoHXcXrgWtxgGTJTS vv5M3iCZTU/h0CoQqrhCb2RPaeHEQDokVqJ7u4V9v97qVUZsmZckksvDLCtMdMZ4wNErAj KFWJUDcILsULZUJoNEfz6sE6xF5hQGedlG2eDzk6TcVSf/drGWBtY/iDmv5VGQ== 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 4SYtxH221Pz10lj for ; Mon, 20 Nov 2023 16:58:11 +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 3AKGwBSA046662 for ; Mon, 20 Nov 2023 16:58:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AKGwBUD046661 for ports-bugs@FreeBSD.org; Mon, 20 Nov 2023 16:58:11 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 262032] [NEW PORT] devel/xnvme: Cross-platform libraries and tools for NVMe devices Date: Mon, 20 Nov 2023 16:58:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fuz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: 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=3D262032 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |fuz@FreeBSD.org --- Comment #12 from Robert Clausecker --- Thank you for the update. Testing with Poudriere, I find that the build immediately fails as your port depends on Python but does not declare that it does: =3D=3D=3D> Configuring for xnvme-0.7.2 WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Us= ing both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options The Meson build system Version: 1.2.3 Source dir: /wrkdirs/usr/ports/sysutils/xnvme/work/xnvme-0.7.2 Build dir: /wrkdirs/usr/ports/sysutils/xnvme/work/xnvme-0.7.2/_build Build type: native build Project name: xnvme Project version: 0.7.2 C compiler for the host machine: cc (clang 14.0.5 "FreeBSD clang version 14= .0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)") C linker for the host machine: cc ld.lld 14.0.5 Host machine cpu family: aarch64 Host machine cpu: aarch64 Message: host_machine.system: freebsd Compiler for C supports arguments -Wno-missing-braces: YES=20 Compiler for C supports arguments -Wno-cast-function-type: YES=20 Compiler for C supports arguments -Wno-strict-aliasing: YES=20 Program python3 found: NO meson.build:49:31: ERROR: python3 not found A full log can be found at /wrkdirs/usr/ports/sysutils/xnvme/work/xnvme-0.7.2/_build/meson-logs/meson-= log.txt WARNING: Running the setup command as `meson [options]` instead of `meson s= etup [options]` is ambiguous and deprecated. =3D=3D=3D> Script "configure" failed unexpectedly. I think this is because you hard code prog_python =3D import('python').find_installation('python3') whereas we name the binary something like python3.9 or similar depending on= the exact version of Python used. The environment variable PYTHON is set to the name of the Python interpreter when the build is configured. To fix this, = it should suffice to just patch that line in meson.build to prog_python =3D import('python').find_installation() If I add this patch, the port builds fine. Are you ok with me doing so when checking in the package? --=20 You are receiving this mail because: You are the assignee for the bug.=