From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4327E1F61A for ; Thu, 15 Dec 2022 03:50:45 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.b="ZcmGnVvT"; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 6B2BC7F039; Thu, 15 Dec 2022 03:50:37 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=ZcmGnVvT; dkim-atps=neutral Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by nue.mailmanlists.eu (Postfix) with ESMTPS id DED727E95E for ; Thu, 15 Dec 2022 03:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=JbvPCM1fwms2tyezFa6miZjrdrB2icJNO8M3yHTgKso=; b=ZcmGnVvTo7PNRckHXhxNvfHxdotN1DFPOuUeICLiEU2dwws+hivKyUXZwHFNquZ4yBRB goEDVGDaS6u5V9nC3PGKckrs0CGcK+GXWQjWVS2GcxwQSrnMWW27cultFwcT+u+lb+Mz1+ Pmf4P84e9n5EhMpUDgRbc4/g1pW5M3KflB72F1lS5C5t2sWNF1tkDGpXN3wZuCU1NKBEDd dRMOUOhYeGigjO+Ea2uUwqCRzyCGJc10OQeUlskwUD3nbO0exLouljK5514fUEd9qFXn8N d6XLOzbxARqGNT8VkzPe8Hfn6UtikCIOND83xl6ERqJ/UncxAqV7COhc+/GxG+Sw== Received: by filterdrecv-6b9548745c-fdw76 with SMTP id filterdrecv-6b9548745c-fdw76-1-639A9987-6 2022-12-15 03:50:31.155937463 +0000 UTC m=+2349746.214451428 Received: from herokuapp.com (unknown) by geopod-ismtpd-3-6 (SG) with ESMTP id cTLL4xxvQ_uEwHkafx-USA for ; Thu, 15 Dec 2022 03:50:31.023 +0000 (UTC) Date: Thu, 15 Dec 2022 03:50:31 +0000 (UTC) From: "mistydemeo (Misty De Meo)" Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 19189 X-Redmine-Issue-Author: mistydemeo X-Redmine-Sender: mistydemeo X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 87693 X-SG-EID: =?us-ascii?Q?sbOWBwU0zWEDCkwdeJi5yF8vrrRLu4Mt=2FydpCRcOx6e+cyb97KzNSEM=2FRRizaK?= =?us-ascii?Q?A+4CvXWnk=2F5cPFk1IvWB=2FrL2EVwEy3sNapRo+55?= =?us-ascii?Q?33zcd0ygcWa21hOqAGEsc3xnIzdNityg=2FN2pEfw?= =?us-ascii?Q?ObI4hIdyVHZdwL4v52DSKUmROc3v2MZ7H0ZM8T8?= =?us-ascii?Q?bJV4GDCyR7Vj4T3BomDVLFJJtxQ5Im3Ggyqes0V?= =?us-ascii?Q?Suz39GC3Cf3tP+hgIWeF=2F3CT4V4RRzjYxrnVmXS?= =?us-ascii?Q?z797mH=2Fd4gnqiGurN1W7A=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: BV3PBXZCTCKLNHLMBSZ24N35ZPQCIMJT X-Message-ID-Hash: BV3PBXZCTCKLNHLMBSZ24N35ZPQCIMJT X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:111292] [Ruby master Bug#19189] Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #19189 has been updated by mistydemeo (Misty De Meo). Thank you! Can you also backport to the 3.1 branch, please? ---------------------------------------- Bug #19189: Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime https://bugs.ruby-lang.org/issues/19189#change-100649 * Author: mistydemeo (Misty De Meo) * Status: Closed * Priority: Normal * ruby -v: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux] * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Starting with Ruby 3.1.3, mkmf.rb calls to `pkg-config` will fail if `pkg-config` wasn't present on the system at the time it was built. Prior to that version, even if Ruby itself wasn't configured with `pkg-config`, mkmf.rb would be able to correctly pick it up from the `PATH`. This was introduced by https://github.com/ruby/ruby/commit/7f1ca666424849134990d022266bcd4d6636465f and its Ruby 3.1.3 equivalent, https://github.com/ruby/ruby/commit/3914581213e3aea138b02941b41e62c15461af27. I've confirmed that reverting this specific change fixes the problem. This broke a Ruby deployment which is built in a minimal Docker environment with no `pkg-config`, but which is later copied into a system with `pkg-config` present. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/