From unknown Wed Jun 18 23:04:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#72838 <72838@debbugs.gnu.org> To: bug#72838 <72838@debbugs.gnu.org> Subject: Status: [PATCH core-updates] gnu: ffmpeg: Fix build on i686 with binutils 2.41. Reply-To: bug#72838 <72838@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:04:41 +0000 retitle 72838 [PATCH core-updates] gnu: ffmpeg: Fix build on i686 with binu= tils 2.41. reassign 72838 guix-patches submitter 72838 Andr=C3=A9 Batista severity 72838 normal tag 72838 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 27 14:47:47 2024 Received: (at submit) by debbugs.gnu.org; 27 Aug 2024 18:47:47 +0000 Received: from localhost ([127.0.0.1]:47557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sj1EJ-0005Hj-3P for submit@debbugs.gnu.org; Tue, 27 Aug 2024 14:47:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:43310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sj1EF-0005HZ-Um for submit@debbugs.gnu.org; Tue, 27 Aug 2024 14:47:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sj1DO-0000Wa-Nv for guix-patches@gnu.org; Tue, 27 Aug 2024 14:46:50 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sj1DM-0007Lk-JO for guix-patches@gnu.org; Tue, 27 Aug 2024 14:46:50 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4Wtc2s4Md7z9x8c for ; Tue, 27 Aug 2024 18:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1724784405; bh=ESJCloLKiik3t0Ov6lVJWvaiKniwPResTUnmV03O2bQ=; h=From:To:Cc:Subject:Date:From; b=BLRCbmNVWCdzpyTkt/wEcSbD1wTq50eQif6Z3sDzqupXxw0raENWld4t7tRHZ/7hd 1A7KjtKBs5AapthajoFi/4V7RCfOiyafFVmnsT3uVF4XmlzKfaf5P47GuB494amtWo npVCtY5Bg7NyqssoZBC1Yq8b1aGnr22wVZ/rfNzk= X-Riseup-User-ID: 330149DE16A6A602701E2FC61C43373963E188030A258CBB237FA1553D8967D0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4Wtc2r4sMWzFrwv; Tue, 27 Aug 2024 18:46:44 +0000 (UTC) From: =?UTF-8?q?Andr=C3=A9=20Batista?= To: guix-patches@gnu.org Subject: [PATCH core-updates] gnu: ffmpeg: Fix build on i686 with binutils 2.41. Date: Tue, 27 Aug 2024 15:46:26 -0300 Message-ID: <20240827184626.1392-1-nandre@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=nandre@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/video.scm (ffmpeg): Add 'bypass-openal-check phase which breaks configure phase on i686. Unconditionally set openal configure check to true. --- gnu/packages/video.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index f7d58ab8f5..e2720628bb 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1835,6 +1835,15 @@ (define-public ffmpeg "--disable-mipsfpu") #:phases #~(modify-phases %standard-phases + (add-before 'configure 'bypass-openal-check + ;; configure fails linking to openal when using binutils >= 2.38 + ;; due to openal's usage of protected visibility for its dynamic + ;; symbols. Bypass this configure time check for now. See: + ;; https://lists.gnu.org/archive/html/guix-devel/2024-08/msg00159.html + (lambda _ + (substitute* "configure" + (("alGetError \\|\\|") + "alGetError \|\| true \|\|")))) (replace 'configure ;; configure does not work followed by "SHELL=..." and ;; "CONFIG_SHELL=..."; set environment variables instead base-commit: 87cc46aefce0072dc83e667d85a59a34eecfd89f -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 28 17:16:06 2024 Received: (at 72838-done) by debbugs.gnu.org; 28 Aug 2024 21:16:06 +0000 Received: from localhost ([127.0.0.1]:49796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjQ1N-0004Mi-OQ for submit@debbugs.gnu.org; Wed, 28 Aug 2024 17:16:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjQ1L-0004MC-4C for 72838-done@debbugs.gnu.org; Wed, 28 Aug 2024 17:16:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjQ0M-0002vx-Re; Wed, 28 Aug 2024 17:15:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=GAH6YSIHI2Nd23msGbBJ5gosrFN3XJEzmhLs2YZvDPo=; b=W48nuzACfB0n8j5DGSJo ctTF3o6+Cl/v4TyQaV4Jx6M1NxdWfHwelYGHg8FL7UemYVFT/tlN+C2vxZmqxNEvxnxgJ6JREuOs3 zQx/cpCYKJ/zHWEHtX4NEKVWrlflb1lXe0wGj3DhaCCiHRIGkt7lSRY1lliw++gKwNb4s6X+WWLIx 2KEAOVHicqLagTQEnhvxM4gfdzr5D+ayvGWbQoIcOF4JUCNLmT1oFp0j1RCOn0PNIKTvR662hVpzB /9Uijw1I31nAWMJNk6Kt5bgLDb7u7m9I12aj0XtNt31tVSW2WodgaJn8Wamp7GLpEb8jO9vWbTnt2 Een6Al4ZqQYgeQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: bug#72838: [PATCH core-updates] gnu: ffmpeg: Fix build on i686 with binutils 2.41. In-Reply-To: <20240827184626.1392-1-nandre@riseup.net> (=?utf-8?Q?=22Andr?= =?utf-8?Q?=C3=A9?= Batista"'s message of "Tue, 27 Aug 2024 15:46:26 -0300") References: <20240827184626.1392-1-nandre@riseup.net> Date: Wed, 28 Aug 2024 23:15:00 +0200 Message-ID: <878qwgic2z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72838-done Cc: 72838-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Andr=C3=A9 Batista skribis: > * gnu/packages/video.scm (ffmpeg): Add 'bypass-openal-check phase > which breaks configure phase on i686. Unconditionally set openal > configure check to true. Applied with the change below to avoid a rebuild on other systems. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e2720628bb..ac89562a55 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1835,15 +1835,18 @@ (define-public ffmpeg "--disable-mipsfpu") #:phases #~(modify-phases %standard-phases - (add-before 'configure 'bypass-openal-check - ;; configure fails linking to openal when using binutils >= 2.38 - ;; due to openal's usage of protected visibility for its dynamic - ;; symbols. Bypass this configure time check for now. See: - ;; https://lists.gnu.org/archive/html/guix-devel/2024-08/msg00159.html - (lambda _ - (substitute* "configure" - (("alGetError \\|\\|") - "alGetError \|\| true \|\|")))) + #$@(if (target-x86-32?) + #~((add-before 'configure 'bypass-openal-check + ;; configure fails linking to openal when using binutils + ;; >= 2.38 due to openal's usage of protected visibility + ;; for its dynamic symbols. Bypass this configure time + ;; check for now. See: + ;; https://lists.gnu.org/archive/html/guix-devel/2024-08/msg00159.html + (lambda _ + (substitute* "configure" + (("alGetError \\|\\|") + "alGetError \|\| true \|\|"))))) + #~()) (replace 'configure ;; configure does not work followed by "SHELL=..." and ;; "CONFIG_SHELL=..."; set environment variables instead --=-=-=-- From unknown Wed Jun 18 23:04:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 Sep 2024 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator