Bug#996953: perl: make -j72 failing with a text file busy error

Cedric Hombourger cedric_hombourger at mentor.com
Thu Oct 21 11:00:58 BST 2021


Package: perl
Version: 5.32.1-4+deb11u1
Severity: normal

Dear Maintainer,

Attempt to rebuild the perl package from sources using dpkg-buildpackage
on a rather powerful machine regularly fails with a text file busy error
for generate_uudmap as shown below (reformatted to avoid long lines):

    ...
    x86_64-linux-gnu-gcc -o generate_uudmap   \
        -Wl,-z,relro -fstack-protector-strong \
        -L/usr/local/lib generate_uudmap.o    \
	-ldl -lm -lpthread -lc -lcrypt 
    x86_64-linux-gnu-gcc -o generate_uudmap   \
        -Wl,-z,relro -fstack-protector-strong \
        -L/usr/local/lib generate_uudmap.o    \
        -ldl -lm -lpthread -lc -lcrypt 
    ./generate_uudmap uudmap.h bitcount.h mg_data.h
    make[3]: ./generate_uudmap: Text file busy
    make[3]: *** [Makefile:329: bitcount.h] Error 127
    make[3]: Leaving directory '/home/builder/perl-5.32.1/build-static'
    make[2]: *** [Makefile:757: makefile] Error 2
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/home/builder/perl-5.32.1/build-static'
    dh_auto_build: error: cd build-static &&             \
        make -j72 "INSTALL=install --strip-program=true" \
	returned exit code 2
    make[1]: *** [debian/rules:110: perl-build-static-stamp] Error 25
    ...


This may be an upstream issue. Will attempt to reproduce it.

-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/72 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages perl depends on:
ii  dpkg               1.20.9
ii  libperl5.32        5.32.1-4+deb11u1
ii  perl-base          5.32.1-4+deb11u1
ii  perl-modules-5.32  5.32.1-4+deb11u1

Versions of packages perl recommends:
ii  netbase  6.3

Versions of packages perl suggests:
pn  libtap-harness-archive-perl                             <none>
pn  libterm-readline-gnu-perl | libterm-readline-perl-perl  <none>
ii  make                                                    4.3-4.1
pn  perl-doc                                                <none>

-- no debconf information




More information about the Perl-maintainers mailing list