From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cyprien Nicolas Newsgroups: gmane.lisp.guile.bugs Subject: bug#11451: guile-2.0.5, guile-tools does not honor --program-suffix= Date: Fri, 11 May 2012 14:14:58 +0200 Message-ID: <4FAD02C2.6060202@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336752490 19432 80.91.229.3 (11 May 2012 16:08:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 May 2012 16:08:10 +0000 (UTC) To: 11451@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri May 11 18:08:07 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSsNy-0004lQ-Je for guile-bugs@m.gmane.org; Fri, 11 May 2012 18:08:06 +0200 Original-Received: from localhost ([::1]:59252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSsNx-0000ke-SB for guile-bugs@m.gmane.org; Fri, 11 May 2012 12:08:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSsNr-0000kT-KE for bug-guile@gnu.org; Fri, 11 May 2012 12:08:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSsNp-00067Z-JU for bug-guile@gnu.org; Fri, 11 May 2012 12:07:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSsNp-00067V-DF for bug-guile@gnu.org; Fri, 11 May 2012 12:07:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SSsNu-0002Rp-Gi for bug-guile@gnu.org; Fri, 11 May 2012 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cyprien Nicolas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 11 May 2012 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11451 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13367524699382 (code B ref -1); Fri, 11 May 2012 16:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 May 2012 16:07:49 +0000 Original-Received: from localhost ([127.0.0.1]:49314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSsNh-0002RH-2Y for submit@debbugs.gnu.org; Fri, 11 May 2012 12:07:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50970) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSokt-0005KT-Bx for submit@debbugs.gnu.org; Fri, 11 May 2012 08:15:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSokd-000558-HN for submit@debbugs.gnu.org; Fri, 11 May 2012 08:15:21 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:56051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSokd-000553-Bo for submit@debbugs.gnu.org; Fri, 11 May 2012 08:15:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSokX-0006TB-7w for bug-guile@gnu.org; Fri, 11 May 2012 08:15:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSokQ-0004y0-R0 for bug-guile@gnu.org; Fri, 11 May 2012 08:15:08 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:57201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSokQ-0004sb-I8 for bug-guile@gnu.org; Fri, 11 May 2012 08:15:02 -0400 Original-Received: by bkcjm19 with SMTP id jm19so2663502bkc.0 for ; Fri, 11 May 2012 05:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=jMmaxClYVNe99f50Bg1TkKM3I2Utlfc40fOBQIlcugA=; b=UlfO9utqjH6EtiifXgO9yeo349CH0VUYd7l2Ew8gK1M80C2QFIMhFZxx5Ig3Y5lpPn pwA6wQ5DxLoMaBSW3p/0r83FhE9FIYMVrWNYtHjt3vuNOqL455TVt873qhqQxFo9u6u1 Trtw2TGoBSkxFWwpfiqyDQksP/StigzodDHSz+4G6sDJNU11SGF5RPzBEsCyuWINbonJ nAde5OSYlJBB7IjAqszemkmgisvzQKgI5yYp1N5ggSqk4qA7hK4VxFFWEfA3dv6VH9bN nU4JsswGbgSms/JLoai2eAIjTGIdQVWwKrs69x19sI2psQiv0pevQ/FlrMjI6cPGNRTo yJSg== Original-Received: by 10.204.154.138 with SMTP id o10mr389584bkw.34.1336738499827; Fri, 11 May 2012 05:14:59 -0700 (PDT) Original-Received: from [138.96.193.83] (sita.inria.fr. [138.96.193.83]) by mx.google.com with ESMTPS id ig1sm18205371bkc.4.2012.05.11.05.14.58 (version=SSLv3 cipher=OTHER); Fri, 11 May 2012 05:14:59 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:12.0) Gecko/20120503 Firefox/12.0 SeaMonkey/2.9.1 X-Enigmail-Version: 1.5pre X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 11 May 2012 12:07:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6331 Archived-At: Hello guilers, I'm working on provinding guile-2.0 in Gentoo. We choose to provide both guile-1.8 and guile-2.0, as some programs have not been ported to guile-2.0 (and some seems to have dead upstream). In order to have both versions installed in /usr at the same time, I make use of --program-suffix=-${MAJOR} during configure (MAJOR being either 1.8 or 2.0). We provide a script that create symlinks for guile binaries targeting either 1.8 or 2.0, update environment (GUILE_LOAD_PATH), and even a symlink for the manpage. This almost work out of the box, except for guile.m4, which is renamed to guile-${MAJOR}.m4 at install time, and a symlink is handled by the above script. Two days ago, I tried to bump our guile ebuild from 2.0.1 to 2.0.5, and I notice that guile-tools was renamed to guild. Well, this is not an issue, I just have to update the above cited script to make the right links. My issue is that the build system provides a symlink 'guile-tools' which points to guild-2.0. And that symlink does not respect --program-suffix=, thus our package manager complains about guile-tools already existing in the installation directory. I see two possibilities from here : - make that symlink honoring --program-suffix; - add a build option to tell the configure script that I don't want that symlink (it will be created by our script). Thanks -- ,Cyprien