GNU bug report logs - #59288
Makefile grows huge due to repeated lines

Previous Next

Package: automake;

Reported by: Ilmari Lauhakangas <ilmari.lauhakangas <at> libreoffice.org>

Date: Tue, 15 Nov 2022 21:24:02 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.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 59288 in the body.
You can then email your comments to 59288 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-automake <at> gnu.org:
bug#59288; Package automake. (Tue, 15 Nov 2022 21:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ilmari Lauhakangas <ilmari.lauhakangas <at> libreoffice.org>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Tue, 15 Nov 2022 21:24:02 GMT) Full text and rfc822 format available.

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

From: Ilmari Lauhakangas <ilmari.lauhakangas <at> libreoffice.org>
To: bug-automake <at> gnu.org
Subject: Makefile grows huge due to repeated lines
Date: Tue, 15 Nov 2022 18:48:31 +0200
This was noticed when configuring curl: 
https://github.com/curl/curl/issues/9843

Curl's lib/Makefile might grow to fill all the available disk space on 
some Linux systems (observed on Debian 11).

On my Arch Linux system, the Makefile fortunately stays at around 14MB. 
Curl developer's comment in the GitHub issue on the number of 
repetitions in my Makefile: "The 628 number is curious. It seems to be 
the number of lib source files times two!"

I bisected the problem to

https://git.savannah.gnu.org/cgit/automake.git/commit/?id=08849db866b44510f6b8fd49e313c91a43a3dfd3
deps: fix corner-case "make distclean" bug

Repro steps:

On automake's side:

$ ./bootstrap && ./configure --prefix=/tmp/amdev && make && make install

On curl's side (the configure options are from LibreOffice where this 
was originally observed):

$ am=/tmp/amdev
$ env PERL5LIB=$am/lib AUTOMAKE="$am/bin/automake" 
ACLOCAL="$am/bin/aclocal" autoreconf -fi
$ ./configure \
  --without-gnutls --without-mbedtls \
  --enable-ftp --enable-http --enable-ipv6 \
  --without-libidn2 --without-libpsl --without-librtmp \
  --without-libssh2 --without-nghttp2 \
  --without-libssh --without-brotli \
  --without-ngtcp2 --without-quiche \
  --without-zstd --without-hyper --without-libgsasl --without-gssapi \
  --disable-mqtt --disable-ares \
  --disable-dict --disable-file --disable-gopher --disable-imap \
  --disable-ldap --disable-ldaps --disable-manual --disable-pop3 \
  --disable-rtsp --disable-smb --disable-smtp --disable-telnet  \
  --disable-tftp  \
  --with-nss --with-nss-deprecated \
  --with-openssl \
  --without-ca-bundle --without-ca-path

Regards,
Ilmari Lauhakangas




Information forwarded to bug-automake <at> gnu.org:
bug#59288; Package automake. (Wed, 16 Nov 2022 22:39:01 GMT) Full text and rfc822 format available.

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

From: Karl Berry <karl <at> freefriends.org>
To: ilmari.lauhakangas <at> libreoffice.org
Cc: 59288 <at> debbugs.gnu.org
Subject: Re: bug#59288: Makefile grows huge due to repeated lines
Date: Wed, 16 Nov 2022 15:38:35 -0700
    Subject: bug#59288: Makefile grows huge due to repeated lines

Thanks for the report.

    I bisected the problem to
    https://git.savannah.gnu.org/cgit/automake.git/commit/?id=08849db866b44510f6b8fd49e313c91a43a3dfd3

And even more so for that.

    "The 628 number is curious. It seems to be the number of lib source
    files times two!"

Interesting. Easy to understand.

    Repro steps:

I'll make sure it reproduces for me. I have no idea offhand what to
do about it, but I'll look into it as soon as I can, unless by some
miracle someone else gets interested in automake maintenance ...

Thanks again,
Karl




Information forwarded to bug-automake <at> gnu.org:
bug#59288; Package automake. (Thu, 02 Mar 2023 16:35:02 GMT) Full text and rfc822 format available.

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

From: Ilmari Lauhakangas <ilmari.lauhakangas <at> libreoffice.org>
To: 59288 <at> debbugs.gnu.org
Subject: close 59288
Date: Thu, 2 Mar 2023 18:34:38 +0200
Jan Engelhardt discovered this is not a problem in automake, but in curl:
https://lists.gnu.org/archive/html/automake/2023-03/msg00010.html

Ilmari




Information forwarded to bug-automake <at> gnu.org:
bug#59288; Package automake. (Thu, 02 Mar 2023 22:25:01 GMT) Full text and rfc822 format available.

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

From: Karl Berry <karl <at> freefriends.org>
To: 59288 <at> debbugs.gnu.org, 59288-done <at> debbugs.gnu.org
Subject: Re: bug#59288: close 59288
Date: Thu, 2 Mar 2023 15:24:21 -0700
Thanks Ilmari, thanks Jan. Closing.




Reply sent to Karl Berry <karl <at> freefriends.org>:
You have taken responsibility. (Thu, 02 Mar 2023 22:25:02 GMT) Full text and rfc822 format available.

Notification sent to Ilmari Lauhakangas <ilmari.lauhakangas <at> libreoffice.org>:
bug acknowledged by developer. (Thu, 02 Mar 2023 22:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 31 Mar 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 26 days ago.

Previous Next


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