GNU bug report logs - #19245
Compile warnings after updating to 2.4.4

Previous Next

Package: libtool;

Reported by: Michael Wobst <wobst.michael <at> web.de>

Date: Mon, 1 Dec 2014 20:00:03 UTC

Severity: normal

Done: "Gary V. Vaughan" <gary <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19245 in the body.
You can then email your comments to 19245 AT debbugs.gnu.org in the normal way.

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#19245; Package libtool. (Mon, 01 Dec 2014 20:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Wobst <wobst.michael <at> web.de>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 01 Dec 2014 20:00:04 GMT) Full text and rfc822 format available.

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

From: Michael Wobst <wobst.michael <at> web.de>
To: bug-libtool <at> gnu.org
Subject: Compile warnings after updating to 2.4.4
Date: Mon, 01 Dec 2014 20:35:58 +0100
After I updated our project's embedded libldtl to 2.4.4, several "No 
such file or directory" compile warnings showed up; see below:

                                                               ^
mv -f .deps/libltdlc_la-lt_error.Tpo .deps/libltdlc_la-lt_error.Plo
/bin/bash ../libtool --silent  --tag=CC   --mode=compile gcc -std=gnu99 
-DHAVE_CONFIG_H -I. -I..  -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' 
-DLTDL -I. -I. -Ilibltdl -I./libltdl -Ilibltdl -I./libltdl/libltdl   -g 
-O2 -fstack-protector -fno-strict-aliasing -Wall -Wbad-function-cast 
-Wcast-align -Wcast-qual -Wclobbered -Wempty-body -Wignored-qualifiers 
-Wlogical-op -Wmissing-declarations -Wmissing-field-initializers 
-Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes 
-Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith 
-Wredundant-decls -Wshadow -Wsign-compare -Wtype-limits -Wundef 
-Wuninitialized -Wwrite-strings -MT libltdlc_la-ltdl.lo -MD -MP -MF 
.deps/libltdlc_la-ltdl.Tpo -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' 
|| echo './'`ltdl.c
cc1: warning: ./libltdl/libltdl: No such file or directory [enabled by 
default]

Regards,
Michael





Information forwarded to bug-libtool <at> gnu.org:
bug#19245; Package libtool. (Mon, 01 Dec 2014 22:36:02 GMT) Full text and rfc822 format available.

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

From: "Gary V. Vaughan" <gary <at> gnu.org>
To: Michael Wobst <wobst.michael <at> web.de>
Cc: 19245 <at> debbugs.gnu.org
Subject: Re: bug#19245: Compile warnings after updating to 2.4.4
Date: Mon, 1 Dec 2014 22:35:12 +0000
Hi Michael,

Thanks for the bug report.  I'm afraid there's almost nothing to go on here though.

> On Dec 1, 2014, at 7:35 PM, Michael Wobst <wobst.michael <at> web.de> wrote:
> 
> After I updated our project's embedded libldtl

from what?

> to 2.4.4, several "No such file or directory" compile warnings showed up; see below:
> 
>                                                               ^
> mv -f .deps/libltdlc_la-lt_error.Tpo .deps/libltdlc_la-lt_error.Plo
> /bin/bash ../libtool --silent  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -Ilibltdl -I./libltdl/libltdl   -g -O2 -fstack-protector -fno-strict-aliasing -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wclobbered -Wempty-body -Wignored-qualifiers -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
> cc1: warning: ./libltdl/libltdl: No such file or directory [enabled by default]

Is there a ./libltdl/libltdl file or directory?

What happens when you run the failing libtool command from the shell prompt?

What about when you remove the --silent switch?

Can you see an error in the gcc command that libtool (without --silent) runs?

What happens when you runt *that* from the shell prompt?

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)





Information forwarded to bug-libtool <at> gnu.org:
bug#19245; Package libtool. (Thu, 04 Dec 2014 14:58:02 GMT) Full text and rfc822 format available.

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

From: "Gary V. Vaughan" <gary <at> gnu.org>
To: Michael Wobst <wobst.michael <at> web.de>
Cc: bug-libtool <at> gnu.org, close-19245 <at> debbugs.gnu.org
Subject: Re: bug#19245: Compile warnings after updating to 2.4.4
Date: Thu, 4 Dec 2014 14:49:06 +0000
[[put bug-libtool and debbugs back in Cc:]]

Hi Michael,

> On Dec 4, 2014, at 1:45 PM, Michael Wobst <wobst.michael <at> web.de> wrote:
> 
> Hi Garry,

(Just the one 'r' in my name, please! :-)

> well, it's not just a cosmetical change from what I can see in 2.4.4's libltdl/Makefile.am when compared to 2.4.3's libltdl/Makefile.am
> 
> I did a diff -urN to show you what I'm talking about:
> 
> #####################################################################
> --- trunk_2.4.3/libltdl/Makefile.am     2014-12-04 14:11:47.887496698 +0100
> +++ trunk_2.4.4/libltdl/Makefile.am     2014-12-04 14:11:09.087091542 +0100
> @@ -45,8 +45,9 @@
> # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
> # (not as a sub-package!) using 'nostdinc':
> AM_CPPFLAGS           += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
> -                         -DLTDL -I. -I$(srcdir) -Ilibltdl \
> -                         -I$(srcdir)/libltdl -I$(srcdir)/libltdl
> +                         -DLTDL -I. -I$(srcdir) \
> +                         -Ilibltdl  -I$(srcdir)/libltdl \
> +                         -Ilibltdl -I$(srcdir)/libltdl/libltdl
> 
> #####################################################################
> 
> Note the last line with the path being '$(srcdir)/libltdl/libltdl'.
> This doesn't appear in previous versions of libtool, but in 2.4.4

Ahah!  Agreed, and fixed in master (I'll push as soon as the testsuite
finishes); thanks for persevering with me.  While the change to ltdl.mk was
indeed cosmetic, I didn't account for the fact that during generation of
libltdl/Makefile.am multiple libltdl/libltdl on a single line of the source
file breaks the edit process.

Thanks again for your help in tracking down and fixing that bug.

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)



Reply sent to "Gary V. Vaughan" <gary <at> gnu.org>:
You have taken responsibility. (Thu, 04 Dec 2014 15:01:01 GMT) Full text and rfc822 format available.

Notification sent to Michael Wobst <wobst.michael <at> web.de>:
bug acknowledged by developer. (Thu, 04 Dec 2014 15:01:02 GMT) Full text and rfc822 format available.

Message #16 received at 19245-close <at> debbugs.gnu.org (full text, mbox):

From: "Gary V. Vaughan" <gary <at> gnu.org>
To: 19245-close <at> debbugs.gnu.org
Subject: Re: bug#19245: Compile warnings after updating to 2.4.4
Date: Thu, 4 Dec 2014 15:00:07 +0000
> On Dec 4, 2014, at 2:53 PM, Michael Wobst <wobst.michael <at> web.de> wrote:
> 
> Hey Gary (with one 'r') ;-)
> 
> I'm glad we finally figured it out. Thanks!
> 
> Greets,
> Michael
> 
> Gary V. Vaughan schrieb:
>> [[put bug-libtool and debbugs back in Cc:]]
>> 
>> Hi Michael,
>> 
>>> On Dec 4, 2014, at 1:45 PM, Michael Wobst <wobst.michael <at> web.de> wrote:
>>> 
>>> Hi Garry,
>> 
>> (Just the one 'r' in my name, please! :-)
>> 
>>> well, it's not just a cosmetical change from what I can see in 2.4.4's libltdl/Makefile.am when compared to 2.4.3's libltdl/Makefile.am
>>> 
>>> I did a diff -urN to show you what I'm talking about:
>>> 
>>> #####################################################################
>>> --- trunk_2.4.3/libltdl/Makefile.am     2014-12-04 14:11:47.887496698 +0100
>>> +++ trunk_2.4.4/libltdl/Makefile.am     2014-12-04 14:11:09.087091542 +0100
>>> @@ -45,8 +45,9 @@
>>> # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
>>> # (not as a sub-package!) using 'nostdinc':
>>> AM_CPPFLAGS           += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
>>> -                         -DLTDL -I. -I$(srcdir) -Ilibltdl \
>>> -                         -I$(srcdir)/libltdl -I$(srcdir)/libltdl
>>> +                         -DLTDL -I. -I$(srcdir) \
>>> +                         -Ilibltdl  -I$(srcdir)/libltdl \
>>> +                         -Ilibltdl -I$(srcdir)/libltdl/libltdl
>>> 
>>> #####################################################################
>>> 
>>> Note the last line with the path being '$(srcdir)/libltdl/libltdl'.
>>> This doesn't appear in previous versions of libtool, but in 2.4.4
>> 
>> Ahah!  Agreed, and fixed in master (I'll push as soon as the testsuite
>> finishes); thanks for persevering with me.  While the change to ltdl.mk was
>> indeed cosmetic, I didn't account for the fact that during generation of
>> libltdl/Makefile.am multiple libltdl/libltdl on a single line of the source
>> file breaks the edit process.
>> 
>> Thanks again for your help in tracking down and fixing that bug.
>> 
>> Cheers,
>> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Jan 2015 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 232 days ago.

Previous Next


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