Subject: powertop: FTBFS, problem with aclocal: error: too many loops

From: Laurent Bonnaud <[email-masked]>
Date: Mon, 10 Feb 2020 11:29:12 +0100

Package: powertop
Version: 2.11-1
Severity: serious

Dear Maintainer,

here is the problem:

$ apt -b source powertop
Reading package lists... Done
NOTICE: 'powertop' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian/powertop.git
Please use:
git clone https://salsa.debian.org/debian/powertop.git
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'powertop_2.11-1.dsc'
Skipping already downloaded file 'powertop_2.11.orig.tar.gz'
Skipping already downloaded file 'powertop_2.11-1.debian.tar.xz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in powertop-2.11
dpkg-buildpackage: info: source package powertop
dpkg-buildpackage: info: source version 2.11-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Kan-Ru Chen (陳侃如) <[email-masked]>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
Copying file m4/codeset.m4
Copying file m4/fcntl-o.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/printf-posix.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
aclocal: installing 'm4/ax_cxx_compile_stdcxx.m4' from '/usr/share/aclocal/ax_cxx_compile_stdcxx.m4'
aclocal: overwriting 'm4/ax_cxx_compile_stdcxx_11.m4' with '/usr/share/aclocal/ax_cxx_compile_stdcxx_11.m4'
aclocal: overwriting 'm4/ax_pthread.m4' with '/usr/share/aclocal/ax_pthread.m4'
aclocal: installing 'm4/ax_require_defined.m4' from '/usr/share/aclocal/ax_require_defined.m4'
aclocal: error: too many loops
aclocal: Please contact <[email-masked]>.
 at /usr/share/automake-1.16/Automake/Channels.pm line 662.
        Automake::Channels::msg("automake", "", "too many loops") called at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 212
        Automake::ChannelDefs::prog_error("too many loops") called at /usr/bin/aclocal line 1195
autoreconf: aclocal failed with exit status: 255
dh_autoreconf: error: autoreconf -f -i returned exit code 1
make: *** [debian/rules:6: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
E: Build command 'cd powertop-2.11 && dpkg-buildpackage -b -uc' failed.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages powertop depends on:
ii  libc6                2.30-0experimental2
ii  libgcc-s1 [libgcc1]  10-20200204-1
ii  libgcc1              1:10-20200204-1
ii  libncursesw6         6.1+20191019-1
ii  libnl-3-200          3.4.0-1+b1
ii  libnl-genl-3-200     3.4.0-1+b1
ii  libpci3              1:3.6.4-1
ii  libstdc++6           10-20200204-1
ii  libtinfo6            6.1+20191019-1

powertop recommends no packages.

Versions of packages powertop suggests:
ii  cpufrequtils       008-1.1
pn  laptop-mode-tools  <none>

-- no debconf information

-- 
Laurent.