From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.lisp.guile.bugs Subject: bug#54444: wrong .pc file for `configure --disable-shared` Date: Fri, 18 Mar 2022 10:23:20 +0000 (UTC) Message-ID: <20220318.112320.1724489575830201298.wl@gnu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20050"; mail-complaints-to="usenet@ciao.gmane.io" To: 54444@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Fri Mar 18 11:24:08 2022 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nV9mC-00053Z-KL for guile-bugs@m.gmane-mx.org; Fri, 18 Mar 2022 11:24:08 +0100 Original-Received: from localhost ([::1]:57424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nV9mB-0005mP-1L for guile-bugs@m.gmane-mx.org; Fri, 18 Mar 2022 06:24:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV9m7-0005mG-2y for bug-guile@gnu.org; Fri, 18 Mar 2022 06:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nV9m6-0003yp-QK for bug-guile@gnu.org; Fri, 18 Mar 2022 06:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nV9m6-0003Yu-Im for bug-guile@gnu.org; Fri, 18 Mar 2022 06:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Werner LEMBERG Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 18 Mar 2022 10:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54444 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164759901113653 (code B ref -1); Fri, 18 Mar 2022 10:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Mar 2022 10:23:31 +0000 Original-Received: from localhost ([127.0.0.1]:56375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV9lb-0003Y9-DL for submit@debbugs.gnu.org; Fri, 18 Mar 2022 06:23:31 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV9la-0003Y1-49 for submit@debbugs.gnu.org; Fri, 18 Mar 2022 06:23:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV9lZ-0005kg-VY for bug-guile@gnu.org; Fri, 18 Mar 2022 06:23:29 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:50187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV9lY-0003ug-4r for bug-guile@gnu.org; Fri, 18 Mar 2022 06:23:29 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 39B8B240101 for ; Fri, 18 Mar 2022 11:23:26 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KKg8F5RPjz9rxd for ; Fri, 18 Mar 2022 11:23:25 +0100 (CET) Received-SPF: pass client-ip=185.67.36.66; envelope-from=werner.lemberg@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10265 Archived-At: [guile 2.2.7] If I configure guile with ``` configure --disable-shared ``` the created `guile-2.2.pc` is incorrect: Instead of ``` Libs: -L${libdir} -lguile-2.2 -lgc Libs.private: -lgmp -lltdl -L/usr/lib64/../lib64 -lffi \ -lunistring -lcrypt -lm ``` it should have ``` Libs: -L${libdir} -lguile-2.2 -lgc \ -lgmp -lltdl -L/usr/lib64/../lib64 -lffi \ -lunistring -lcrypt -lm ``` IMHO the user must not be forced to know how guile was installed. Or to say it differently: It's not the job of an application's `configure` script to find out whether it has to pass the `--static` keyword to `pkg-config` if it just wants to link to guile in general. Werner