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.

Full log


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




This bug report was last modified 2 years and 144 days ago.

Previous Next


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