bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59288: Makefile grows huge due to repeated lines


From: Ilmari Lauhakangas
Subject: bug#59288: 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]