From nobody Tue Aug 03 15:07:55 2021 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 1FF8E1342702 for ; Tue, 3 Aug 2021 15:07: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 4GfJCJ0H33z4j8F for ; Tue, 3 Aug 2021 15:07:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E5A2A15658 for ; Tue, 3 Aug 2021 15:07: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 173F7teM067459 for ; Tue, 3 Aug 2021 15:07:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 173F7ttW067458 for ports-bugs@FreeBSD.org; Tue, 3 Aug 2021 15:07: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 257588] multimedia/librav1e: add BINARY_ALIAS for CC and LD Date: Tue, 03 Aug 2021 15:07: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: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: evgeniy@khramtsov.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jbeich@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257588 Bug ID: 257588 Summary: multimedia/librav1e: add BINARY_ALIAS for CC and LD Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: evgeniy@khramtsov.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) Assignee: jbeich@FreeBSD.org Flags: maintainer-feedback? Created attachment 226910 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226910&action= =3Dedit v1 (use "git am") Add BINARY_ALIAS to respect CC and LD when using lang/rust from pkg.FreeBSD.org, e.g. pkg seeding. While here, also pet portlint by adding USE_LDCONFIG. lang/rust hardcodes environment at build time, resulting in multimedia/librav1e build failure if the hardcoded CC and LD differ from the configured CC and LD, and the system toolchain does not exist and is provided by ports: Compiling autocfg v1.0.1 Compiling libc v0.2.92 Compiling rayon-core v1.9.0 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.24 Compiling memchr v2.3.4 Compiling unicode-xid v0.2.1 error: linker `cc` not found | =3D note: No such file or directory (os error 2) error: aborting due to previous error error: could not compile `rayon-core` Passing RUSTFLAGS via {CONFIGURE,MAKE}_ENV (from git log) which worked for various ports did not work here, at least for me. Building lang/rust (bulk -S) unbroke the build for me, which suggests that Rust compiler hardcodes environment. ${CC} and ${LD} are enclosed in ""; I think that a user may set CC/LD containing spaces in an absolute path. Ignore git hashes in poudriere logs due to git detached HEAD used. 11.4/amd64: OK bulk diff https://codeberg.org/ei/misc/commit/0724fbd pkg diff https://codeberg.org/ei/misc/commit/c9d51ad testport https://codeberg.org/ei/misc/commit/49b492e 11.4/i386 OK: bulk diff https://codeberg.org/ei/misc/commit/7dcb0ae pkg diff https://codeberg.org/ei/misc/commit/596eafb testport https://codeberg.org/ei/misc/commit/45444d1 12.2/amd64: OK bulk diff https://codeberg.org/ei/misc/commit/0c1047b pkg diff https://codeberg.org/ei/misc/commit/f85779b testport https://codeberg.org/ei/misc/commit/4fd12c2 12.2/i386: OK bulk diff https://codeberg.org/ei/misc/commit/cd96cc9 pkg diff https://codeberg.org/ei/misc/commit/334f858 testport https://codeberg.org/ei/misc/commit/cb1ddf3 13.0/amd64: OK bulk diff https://codeberg.org/ei/misc/commit/a7308bd pkg diff https://codeberg.org/ei/misc/commit/d9ac2b8 testport https://codeberg.org/ei/misc/commit/8f4d107 13.0/aarch64 (via qemu-user-static): N/A ports-mgmt/poudriere-devel could not fetch lang/rust due to index issues in pkg.FreeBSD.org. lang/rust can't build on QEMU and is set as IGNORE for QEM= U. --=20 You are receiving this mail because: You are the assignee for the bug.=