GNU bug report logs - #14429
libdir does not take sysroot into account

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: markbrounce@HIDDEN; dated Mon, 20 May 2013 23:26:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 May 2013 23:33:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 20 19:33:11 2013
Received: from localhost ([127.0.0.1]:53587 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UeZZn-0005fg-CV
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 19:33:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48304)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <markbrounce@HIDDEN>) id 1UeZ4u-0004Vi-JO
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 19:01:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeZ49-0008Kw-Rw
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 19:00:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 
	RP_MATCHES_RCVD autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:46235)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeZ49-0008Kl-PB
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 19:00:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59442)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeZ43-0004do-4f
	for bug-libtool@HIDDEN; Mon, 20 May 2013 19:00:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeZ3w-0008Ei-WB
	for bug-libtool@HIDDEN; Mon, 20 May 2013 19:00:23 -0400
Received: from karen.lavabit.com ([72.249.41.33]:56004)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeZ3w-0008EM-RQ
	for bug-libtool@HIDDEN; Mon, 20 May 2013 19:00:16 -0400
Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10])
	by karen.lavabit.com (Postfix) with ESMTP id 227EF11BAAF;
	Mon, 20 May 2013 18:00:16 -0500 (CDT)
Received: from lavabit.com (g231013017.adsl.alicedsl.de [92.231.13.17])
	by lavabit.com with ESMTP id GBESTBL9CLB0;
	Mon, 20 May 2013 18:00:16 -0500
Received: from 92.231.13.17 (SquirrelMail authenticated user markbrounce)
	by lavabit.com with HTTP; Mon, 20 May 2013 19:00:16 -0400 (EDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com;
	b=ganl1t4XpZ76QwT0m3DhTb66ZXoJGzNKx4UeG0jPhpu1t2rxFfMiuXQMA1zGzvzpxAavr/C0LRUa1MEFr6ukCYiG7eTEpjvz8f2/1OCdroFxNYyd0fhcRiIiQk0XJkL6EjW9XvP3l1dc/yN7KYQycTBbQegC98/qO6sjl0WOcO8=;
	h=Message-ID:In-Reply-To:References:Date:Subject:From:To:Cc:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding;
Message-ID: <29603.92.231.13.17.1369090816.squirrel@HIDDEN>
In-Reply-To: <58998.92.231.13.17.1369090213.squirrel@HIDDEN>
References: <58998.92.231.13.17.1369090213.squirrel@HIDDEN>
Date: Mon, 20 May 2013 19:00:16 -0400 (EDT)
Subject: Re: libdir does not take sysroot into account
From: markbrounce@HIDDEN
To: bug-libtool@HIDDEN
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 20 May 2013 19:33:10 -0400
Cc: markbrounce@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

> I am trying to cross-compile linux-pam.

That's util-linux of course.

> libtool should prepend its sysroot to libdir.

libtool should work just right if libraries were moved into a sysroot
after building and installing!







Information forwarded to bug-libtool@HIDDEN:
bug#14429; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 May 2013 23:25:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 20 19:25:13 2013
Received: from localhost ([127.0.0.1]:53575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UeZS4-0005Kb-EZ
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 19:25:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43944)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <markbrounce@HIDDEN>) id 1UeYvj-0004CB-TK
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 18:51:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeYv0-00044q-Jv
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 18:51:07 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 
	RP_MATCHES_RCVD autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:44504)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeYv0-00044k-GZ
	for submit <at> debbugs.gnu.org; Mon, 20 May 2013 18:51:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55220)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeYuw-0002nw-LD
	for bug-libtool@HIDDEN; Mon, 20 May 2013 18:51:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeYus-00040w-TS
	for bug-libtool@HIDDEN; Mon, 20 May 2013 18:50:58 -0400
Received: from karen.lavabit.com ([72.249.41.33]:55041)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <markbrounce@HIDDEN>) id 1UeYus-0003hl-Od
	for bug-libtool@HIDDEN; Mon, 20 May 2013 18:50:54 -0400
Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10])
	by karen.lavabit.com (Postfix) with ESMTP id 985CC11BAA5
	for <bug-libtool@HIDDEN>; Mon, 20 May 2013 17:50:13 -0500 (CDT)
Received: from lavabit.com (g231013017.adsl.alicedsl.de [92.231.13.17])
	by lavabit.com with ESMTP id EWXOA8JRD99M
	for <bug-libtool@HIDDEN>; Mon, 20 May 2013 17:50:13 -0500
Received: from 92.231.13.17 (SquirrelMail authenticated user markbrounce)
	by lavabit.com with HTTP; Mon, 20 May 2013 18:50:13 -0400 (EDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com;
	b=KxzfkUDnLxYHI5r2uv+CR1cGBN7jWNJKek2QY8lk4AR5J5KjAiUKxtX31awnufzoOjhoVBHINczwSbjkZ8cFXjD2RB42ziYAkh1FDcjydlfd50TMz+kqeg3O4cbBDlPAbktcPQOFxcTimJm7QFveA1uJPE1ml0hgoFTtl4Jw6vU=;
	h=Message-ID:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding;
Message-ID: <58998.92.231.13.17.1369090213.squirrel@HIDDEN>
Date: Mon, 20 May 2013 18:50:13 -0400 (EDT)
Subject: libdir does not take sysroot into account
From: markbrounce@HIDDEN
To: bug-libtool@HIDDEN
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 20 May 2013 19:25:10 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

I am using libtool master (a4629ebf) configured with
"--with-sysroot=3D/tmp/root".  My build toolchain (gcc, binutils) has bee=
n
configured with the same sysroot.

I am trying to cross-compile linux-pam. All dependencies have been
configured and built with --prefix=3D/usr, but ultimately been moved afte=
r
installing to /tmp/root.

Building fails with

libtool: warning: library '/tmp/root/lib64/libpam.la' was moved.
libtool: warning: library '/tmp/root/lib64/libpam_misc.la' was moved.
libtool:   error: cannot find the library '/lib64/libpam.la' or unhandled
argument '/lib64/libpam.la'

/tmp/root/lib64/libpam.la includes

# Directory that this library needs to be installed in:
libdir=3D'/lib64'

libtool should prepend its sysroot to libdir.






Acknowledgement sent to markbrounce@HIDDEN:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#14429; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.