GNU bug report logs - #13462
error: file 'build-aux/funclib.sh' not found

Previous Next

Package: libtool;

Reported by: Peter Rosin <peda <at> lysator.liu.se>

Date: Wed, 16 Jan 2013 17:02:02 UTC

Severity: normal

To reply to this bug, email your comments to 13462 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#13462; Package libtool. (Wed, 16 Jan 2013 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Rosin <peda <at> lysator.liu.se>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Wed, 16 Jan 2013 17:02:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: bug-libtool <at> gnu.org
Subject: error: file 'build-aux/funclib.sh' not found
Date: Wed, 16 Jan 2013 18:00:46 +0100
Hi!

If I, in a dirty git checkout (added an insignificant newline) as
of today, do this

	./bootstrap -fc
	cd ..
	mkdir foo
	cd foo
	../libtool/configure
	make
	make check

all is fine. If I then modify build-aux/ltmain.in (with another
insignificant newline) followed by

	make

or
	make check

I get:

  GEN      ../libtool-msvc/build-aux/ltmain.sh
inline-source:   error: file 'build-aux/funclib.sh' not found
inline-source:   error: file 'build-aux/options-parser' not found
  GEN      libtool

followed by numerous failures that appear to be related.

Cheers,
Peter




Information forwarded to bug-libtool <at> gnu.org:
bug#13462; Package libtool. (Fri, 18 Jan 2013 09:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 13462 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: 13462 <at> debbugs.gnu.org, Libtool Patches List <libtool-patches <at> gnu.org>
Subject: Re: bug#13462: error: file 'build-aux/funclib.sh' not found
Date: Fri, 18 Jan 2013 10:46:38 +0100
On 2013-01-16 18:00, Peter Rosin wrote:
> Hi!
> 
> If I, in a dirty git checkout (added an insignificant newline) as
> of today, do this
> 
> 	./bootstrap -fc
> 	cd ..
> 	mkdir foo
> 	cd foo
> 	../libtool/configure
> 	make
> 	make check
> 
> all is fine. If I then modify build-aux/ltmain.in (with another
> insignificant newline) followed by
> 
> 	make
> 
> or
> 	make check
> 
> I get:
> 
>   GEN      ../libtool-msvc/build-aux/ltmain.sh
> inline-source:   error: file 'build-aux/funclib.sh' not found
> inline-source:   error: file 'build-aux/options-parser' not found
>   GEN      libtool
> 
> followed by numerous failures that appear to be related.

Hi!

This appears to fix it. Ok to commit?

Cheers,
Peter

From 3723f89999cf69192cf09825a52447652ae47f8f Mon Sep 17 00:00:00 2001
From: Peter Rosin <peda <at> lysator.liu.se>
Date: Fri, 18 Jan 2013 10:40:37 +0100
Subject: [PATCH] maint: find external libraries from a VPATH build

Fixes bug#13462.

* build-aux/ltmain.in: Assume that the external libraries are in the
same directory as this script.

Signed-off-by: Peter Rosin <peda <at> lysator.liu.se>
---
 build-aux/ltmain.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index c8cdb9c..2e85cb0 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -61,8 +61,8 @@ package_revision=@package_revision@
 # Much of our low-level functionality needs to be sourced from external
 # libraries, which are installed to $pkgauxdir.
 
-. "build-aux/funclib.sh"
-. "build-aux/options-parser"
+. `echo "$0" |${SED-sed} 's|[^/]*$||'`"funclib.sh"
+. `echo "$0" |${SED-sed} 's|[^/]*$||'`"options-parser"
 
 # Set a version string.
 scriptversion='(GNU @PACKAGE@) @VERSION@'
-- 
1.7.9






Information forwarded to bug-libtool <at> gnu.org:
bug#13462; Package libtool. (Mon, 28 Jan 2013 13:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 13462 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: 13462 <at> debbugs.gnu.org, Libtool Patches List <libtool-patches <at> gnu.org>
Subject: Re: bug#13462: error: file 'build-aux/funclib.sh' not found
Date: Mon, 28 Jan 2013 14:06:02 +0100
On 2013-01-18 10:46, Peter Rosin wrote:
> On 2013-01-16 18:00, Peter Rosin wrote:
>> Hi!
>>
>> If I, in a dirty git checkout (added an insignificant newline) as
>> of today, do this
>>
>> 	./bootstrap -fc
>> 	cd ..
>> 	mkdir foo
>> 	cd foo
>> 	../libtool/configure
>> 	make
>> 	make check
>>
>> all is fine. If I then modify build-aux/ltmain.in (with another
>> insignificant newline) followed by
>>
>> 	make
>>
>> or
>> 	make check
>>
>> I get:
>>
>>   GEN      ../libtool-msvc/build-aux/ltmain.sh
>> inline-source:   error: file 'build-aux/funclib.sh' not found
>> inline-source:   error: file 'build-aux/options-parser' not found
>>   GEN      libtool
>>
>> followed by numerous failures that appear to be related.
> 
> Hi!
> 
> This appears to fix it. Ok to commit?

Ping?

Cheers,
Peter





This bug report was last modified 12 years and 140 days ago.

Previous Next


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