Sat Apr 20 02:48:59 UTC 2024 I: starting to build distro-info/unstable/armhf on jenkins on '2024-04-20 02:48' Sat Apr 20 02:48:59 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_16/3540/console.log Sat Apr 20 02:48:59 UTC 2024 I: Downloading source for unstable/distro-info=1.7 --2024-04-20 02:48:59-- http://deb.debian.org/debian/pool/main/d/distro-info/distro-info_1.7.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1539 (1.5K) [text/prs.lines.tag] Saving to: ‘distro-info_1.7.dsc’ 0K . 100% 234M=0s 2024-04-20 02:48:59 (234 MB/s) - ‘distro-info_1.7.dsc’ saved [1539/1539] Sat Apr 20 02:48:59 UTC 2024 I: distro-info_1.7.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (native) Source: distro-info Binary: distro-info, libdistro-info-perl, python3-distro-info Architecture: any all Version: 1.7 Maintainer: Benjamin Drung Uploaders: Stefano Rivera Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/debian/distro-info Vcs-Git: https://salsa.debian.org/debian/distro-info.git Testsuite: autopkgtest Testsuite-Triggers: black, isort, mypy, pylint, pylint3, python3-all, python3-flake8, python3-typeshed, shunit2 Build-Depends: black , debhelper-compat (= 13), dh-sequence-python3, distro-info-data (>= 0.59~) , isort , mypy [!i386] , pylint (>= 2.2.2-2~) , python3-all, python3-flake8 , python3-setuptools, python3-typeshed , shunit2 Package-List: distro-info deb devel optional arch=any libdistro-info-perl deb perl optional arch=all python3-distro-info deb python optional arch=all Checksums-Sha1: 6358abe1d39116e63d0ba0fa3e1d34ea5e66d9b2 33408 distro-info_1.7.tar.xz Checksums-Sha256: 6fa91b888320b74cd4391941092601a9bc33f3427d1d0ba93efcb7f31bcecf7e 33408 distro-info_1.7.tar.xz Files: 5bbd2f4992ff7db5d05056b660b6c659 33408 distro-info_1.7.tar.xz -----BEGIN PGP SIGNATURE----- iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCZT4cRxQcc3RlZmFub3JA ZGViaWFuLm9yZwAKCRBHew2wJjpU2GyWAQCjSkYtxNoJ4wal+utP6vUgnChQO8la /w1c0dHoNB/gDAEA+q7WC2ICvBzrdm6CFrog1fBMt+rAtE1dAsjJv7hsVQg= =NyP5 -----END PGP SIGNATURE----- Sat Apr 20 02:48:59 UTC 2024 I: Checking whether the package is not for us Sat Apr 20 02:49:00 UTC 2024 I: Starting 1st build on remote node virt32b-armhf-rb.debian.net. Sat Apr 20 02:49:00 UTC 2024 I: Preparing to do remote build '1' on virt32b-armhf-rb.debian.net. Sat Apr 20 02:52:57 UTC 2024 I: Deleting $TMPDIR on virt32b-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Fri Apr 19 14:49:09 -12 2024 I: pbuilder-time-stamp: 1713581349 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [distro-info_1.7.dsc] I: copying [./distro-info_1.7.tar.xz] I: Extracting source gpgv: Signature made Sun Oct 29 08:48:07 2023 gpgv: using EDDSA key EE9AD6F90520FA11F69F4824477B0DB0263A54D8 gpgv: issuer "stefanor@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./distro-info_1.7.dsc: no acceptable signature found dpkg-source: info: extracting distro-info in distro-info-1.7 dpkg-source: info: unpacking distro-info_1.7.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/4661/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='1b65e9d0dcb442f4a7c39e5d4e7eada1' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='4661' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.pdcsYXxd/pbuilderrc_w10l --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pdcsYXxd/b1 --logfile b1/build.log distro-info_1.7.dsc' SUDO_GID='112' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt32b 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 19 07:44 /bin -> usr/bin I: user script /srv/workspace/pbuilder/4661/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: black, debhelper-compat (= 13), dh-sequence-python3, distro-info-data (>= 0.59~), isort, mypy, pylint (>= 2.2.2-2~), python3-all, python3-flake8, python3-setuptools, python3-typeshed, shunit2 dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19442 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on black; however: Package black is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on distro-info-data (>= 0.59~); however: Package distro-info-data is not installed. pbuilder-satisfydepends-dummy depends on isort; however: Package isort is not installed. pbuilder-satisfydepends-dummy depends on mypy; however: Package mypy is not installed. pbuilder-satisfydepends-dummy depends on pylint (>= 2.2.2-2~); however: Package pylint is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-flake8; however: Package python3-flake8 is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-typeshed; however: Package python3-typeshed is not installed. pbuilder-satisfydepends-dummy depends on shunit2; however: Package shunit2 is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} black{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} distro-info-data{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} isort{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8t64{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} mypy{a} netbase{a} po-debconf{a} pylint{a} python3{a} python3-all{a} python3-astroid{a} python3-click{a} python3-colorama{a} python3-dill{a} python3-distutils{a} python3-flake8{a} python3-isort{a} python3-lib2to3{a} python3-logilab-common{a} python3-mccabe{a} python3-minimal{a} python3-mypy{a} python3-mypy-extensions{a} python3-packaging{a} python3-pathspec{a} python3-pkg-resources{a} python3-platformdirs{a} python3-psutil{a} python3-pycodestyle{a} python3-pyflakes{a} python3-setuptools{a} python3-toml{a} python3-tomlkit{a} python3-typeshed{a} python3-typing-extensions{a} python3.11{a} python3.11-minimal{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} shunit2{a} tzdata{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pyflakes3 python3-lxml python3-tk wget 0 packages upgraded, 82 newly installed, 0 to remove and 0 not upgraded. Need to get 46.8 MB of archives. After unpacking 188 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libpython3.11-minimal armhf 3.11.9-1 [805 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.2-1 [83.5 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf python3.11-minimal armhf 3.11.9-1 [1600 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.11.8-1 [26.3 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf tzdata all 2024a-2 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-4 [69.3 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-4 [145 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf libpython3.11-stdlib armhf 3.11.9-1 [1704 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf python3.11 armhf 3.11.9-1 [602 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.11.8-1 [9332 B] Get: 13 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.11.8-1 [27.4 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.3-1 [795 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.3-1 [1783 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-3+b1 [1091 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40-6 [85.2 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.12.1-1 [1375 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf autoconf all 2.71-3 [332 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf autopoint all 0.21-14 [496 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 68.1.2-2 [241 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf python3-colorama all 0.4.6-4 [36.2 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf python3-click all 8.1.7-1 [94.0 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf python3-mypy-extensions all 1.0.0-1 [6064 B] Get: 35 http://deb.debian.org/debian unstable/main armhf python3-packaging all 24.0-1 [45.5 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf python3-pathspec all 0.12.1-1 [28.1 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf python3-platformdirs all 4.2.0-1 [15.9 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.10.0-1 [66.2 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf black all 24.4.0-2 [159 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-7 [517 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 47 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.191-1+b1 [183 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf debhelper all 13.15.3 [901 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf python3-lib2to3 all 3.12.3-1 [77.6 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf python3-distutils all 3.12.3-1 [131 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 68.1.2-2 [468 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20240401 [107 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf distro-info-data all 0.60 [6168 B] Get: 60 http://deb.debian.org/debian unstable/main armhf python3-toml all 0.10.2-1 [16.2 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf python3-isort all 5.6.4-1 [63.2 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf isort all 5.6.4-1 [5660 B] Get: 63 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.2.6-6 [150 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.3-1 [1808 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf python3-psutil armhf 5.9.8-2 [225 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf python3-mypy armhf 1.9.0-4 [13.2 MB] Get: 69 http://deb.debian.org/debian unstable/main armhf mypy all 1.9.0-4 [29.0 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf python3-astroid all 3.1.0-1 [211 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf python3-logilab-common all 2.0.0-1 [343 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf python3-dill all 0.3.8-1 [81.7 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf python3-mccabe all 0.7.0-1 [10.5 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf python3-tomlkit all 0.12.4-1 [41.7 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf pylint all 3.0.3-1 [332 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.3-1 [659 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.11.8-1 [1056 B] Get: 78 http://deb.debian.org/debian unstable/main armhf python3-pycodestyle all 2.11.1-1 [39.4 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf python3-pyflakes all 3.2.0-1 [57.1 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf python3-flake8 all 7.0.0-1 [55.8 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf python3-typeshed all 0.0~git20231111.6764465-3 [1258 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf shunit2 all 2.1.8-4 [33.9 kB] Fetched 46.8 MB in 4s (11.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19442 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.9-1_armhf.deb ... Unpacking libpython3.11-minimal:armhf (3.11.9-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.6.2-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.9-1_armhf.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:armhf (3.11.9-1) ... Setting up libexpat1:armhf (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19758 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_armhf.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-2_all.deb ... Unpacking tzdata (2024a-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../5-libreadline8t64_8.2-4_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:armhf. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_armhf.deb ... Unpacking libpython3.11-stdlib:armhf (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_armhf.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.11.8-1) ... Setting up python3-minimal (3.11.8-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20750 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_armhf.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:armhf. Preparing to unpack .../01-libpython3.12-minimal_3.12.3-1_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.3-1_armhf.deb ... Unpacking python3.12-minimal (3.12.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../08-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-3+b1_armhf.deb ... Unpacking groff-base (1.23.0-3+b1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40-6_armhf.deb ... Unpacking bsdextrautils (2.40-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.1-1_armhf.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../18-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-colorama. Preparing to unpack .../19-python3-colorama_0.4.6-4_all.deb ... Unpacking python3-colorama (0.4.6-4) ... Selecting previously unselected package python3-click. Preparing to unpack .../20-python3-click_8.1.7-1_all.deb ... Unpacking python3-click (8.1.7-1) ... Selecting previously unselected package python3-mypy-extensions. Preparing to unpack .../21-python3-mypy-extensions_1.0.0-1_all.deb ... Unpacking python3-mypy-extensions (1.0.0-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../22-python3-packaging_24.0-1_all.deb ... Unpacking python3-packaging (24.0-1) ... Selecting previously unselected package python3-pathspec. Preparing to unpack .../23-python3-pathspec_0.12.1-1_all.deb ... Unpacking python3-pathspec (0.12.1-1) ... Selecting previously unselected package python3-platformdirs. Preparing to unpack .../24-python3-platformdirs_4.2.0-1_all.deb ... Unpacking python3-platformdirs (4.2.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../25-python3-typing-extensions_4.10.0-1_all.deb ... Unpacking python3-typing-extensions (4.10.0-1) ... Selecting previously unselected package black. Preparing to unpack .../26-black_24.4.0-2_all.deb ... Unpacking black (24.4.0-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../27-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../28-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../29-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../30-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../31-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../32-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../33-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../34-libelf1t64_0.191-1+b1_armhf.deb ... Unpacking libelf1t64:armhf (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../35-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../36-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../37-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../38-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../39-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../40-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../41-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../42-python3-lib2to3_3.12.3-1_all.deb ... Unpacking python3-lib2to3 (3.12.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../43-python3-distutils_3.12.3-1_all.deb ... Unpacking python3-distutils (3.12.3-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../44-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../45-dh-python_6.20240401_all.deb ... Unpacking dh-python (6.20240401) ... Selecting previously unselected package distro-info-data. Preparing to unpack .../46-distro-info-data_0.60_all.deb ... Unpacking distro-info-data (0.60) ... Selecting previously unselected package python3-toml. Preparing to unpack .../47-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-isort. Preparing to unpack .../48-python3-isort_5.6.4-1_all.deb ... Unpacking python3-isort (5.6.4-1) ... Selecting previously unselected package isort. Preparing to unpack .../49-isort_5.6.4-1_all.deb ... Unpacking isort (5.6.4-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../50-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../51-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../52-libjs-sphinxdoc_7.2.6-6_all.deb ... Unpacking libjs-sphinxdoc (7.2.6-6) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../53-libpython3.12-stdlib_3.12.3-1_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.3-1) ... Selecting previously unselected package python3-psutil. Preparing to unpack .../54-python3-psutil_5.9.8-2_armhf.deb ... Unpacking python3-psutil (5.9.8-2) ... Selecting previously unselected package python3-mypy. Preparing to unpack .../55-python3-mypy_1.9.0-4_armhf.deb ... Unpacking python3-mypy (1.9.0-4) ... Selecting previously unselected package mypy. Preparing to unpack .../56-mypy_1.9.0-4_all.deb ... Unpacking mypy (1.9.0-4) ... Selecting previously unselected package python3-astroid. Preparing to unpack .../57-python3-astroid_3.1.0-1_all.deb ... Unpacking python3-astroid (3.1.0-1) ... Selecting previously unselected package python3-logilab-common. Preparing to unpack .../58-python3-logilab-common_2.0.0-1_all.deb ... Unpacking python3-logilab-common (2.0.0-1) ... Selecting previously unselected package python3-dill. Preparing to unpack .../59-python3-dill_0.3.8-1_all.deb ... Unpacking python3-dill (0.3.8-1) ... Selecting previously unselected package python3-mccabe. Preparing to unpack .../60-python3-mccabe_0.7.0-1_all.deb ... Unpacking python3-mccabe (0.7.0-1) ... Selecting previously unselected package python3-tomlkit. Preparing to unpack .../61-python3-tomlkit_0.12.4-1_all.deb ... Unpacking python3-tomlkit (0.12.4-1) ... Selecting previously unselected package pylint. Preparing to unpack .../62-pylint_3.0.3-1_all.deb ... Unpacking pylint (3.0.3-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../63-python3.12_3.12.3-1_armhf.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../64-python3-all_3.11.8-1_armhf.deb ... Unpacking python3-all (3.11.8-1) ... Selecting previously unselected package python3-pycodestyle. Preparing to unpack .../65-python3-pycodestyle_2.11.1-1_all.deb ... Unpacking python3-pycodestyle (2.11.1-1) ... Selecting previously unselected package python3-pyflakes. Preparing to unpack .../66-python3-pyflakes_3.2.0-1_all.deb ... Unpacking python3-pyflakes (3.2.0-1) ... Selecting previously unselected package python3-flake8. Preparing to unpack .../67-python3-flake8_7.0.0-1_all.deb ... Unpacking python3-flake8 (7.0.0-1) ... Selecting previously unselected package python3-typeshed. Preparing to unpack .../68-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... Selecting previously unselected package shunit2. Preparing to unpack .../69-shunit2_2.1.8-4_all.deb ... Unpacking shunit2 (2.1.8-4) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.40-6) ... Setting up shunit2 (2.1.8-4) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up distro-info-data (0.60) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:armhf (1:5.45-3) ... Setting up libpython3.12-minimal:armhf (3.12.3-1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:armhf (0.191-1+b1) ... Setting up tzdata (2024a-2) ... Current default time zone: 'Etc/UTC' Local time is now: Sat Apr 20 02:51:09 UTC 2024. Universal Time is now: Sat Apr 20 02:51:09 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up netbase (6.4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.12-minimal (3.12.3-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libjs-sphinxdoc (7.2.6-6) ... Setting up libreadline8t64:armhf (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-3+b1) ... Setting up libpython3.12-stdlib:armhf (3.12.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:armhf (3.11.9-1) ... Setting up python3.12 (3.12.3-1) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:armhf (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up python3-platformdirs (4.2.0-1) ... Setting up python3-psutil (5.9.8-2) ... Setting up python3-pycodestyle (2.11.1-1) ... Setting up python3-packaging (24.0-1) ... Setting up python3-typeshed (0.0~git20231111.6764465-3) ... Setting up python3-dill (0.3.8-1) ... Setting up python3-typing-extensions (4.10.0-1) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-isort (5.6.4-1) ... Setting up python3-mccabe (0.7.0-1) ... Setting up python3-tomlkit (0.12.4-1) ... Setting up python3-pathspec (0.12.1-1) ... Setting up python3-lib2to3 (3.12.3-1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.3-1) ... python3.12: can't get files for byte-compilation Setting up python3-setuptools (68.1.2-2) ... Setting up python3-colorama (0.4.6-4) ... Setting up python3-mypy-extensions (1.0.0-1) ... Setting up python3-pyflakes (3.2.0-1) ... Setting up python3-all (3.11.8-1) ... Setting up python3-click (8.1.7-1) ... Setting up isort (5.6.4-1) ... Setting up python3-flake8 (7.0.0-1) ... Setting up python3-mypy (1.9.0-4) ... Setting up python3-astroid (3.1.0-1) ... Setting up mypy (1.9.0-4) ... Setting up dh-python (6.20240401) ... Setting up python3-logilab-common (2.0.0-1) ... Setting up black (24.4.0-2) ... Setting up pylint (3.0.3-1) ... Processing triggers for libc-bin (2.37-18) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/distro-info-1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../distro-info_1.7_source.changes dpkg-buildpackage: info: source package distro-info dpkg-buildpackage: info: source version 1.7 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Stefano Rivera dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean dh_auto_clean make -j3 clean make[1]: Entering directory '/build/reproducible-path/distro-info-1.7' rm -rf debian-distro-info ubuntu-distro-info python/build python/*.egg-info python/.pylint.d find python -name '*.pyc' -delete make[1]: Leaving directory '/build/reproducible-path/distro-info-1.7' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j3 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/distro-info-1.7' cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/distro-info-1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -g -O2 -std=gnu99 -Wl,-z,relro -Wl,-z,now -o debian-distro-info debian-distro-info.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/distro-info-1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -g -O2 -std=gnu99 -Wl,-z,relro -Wl,-z,now -o ubuntu-distro-info ubuntu-distro-info.c make[1]: Leaving directory '/build/reproducible-path/distro-info-1.7' dh_auto_test make -j3 test make[1]: Entering directory '/build/reproducible-path/distro-info-1.7' ./test-debian-distro-info cd perl && ./test.pl testAlias testAll testDevel testOldstable py3versions: no X-Python3-Version in control file, using supported versions cd python && python3.12 setup.py test 1..35 testStable ok 1 - unique: Matching lists ok 2 - symmetric_difference: Matching lists ok 3 - unique: 1 Unique Item ok 4 - unique: 1 Unique Item in the haystack ok 5 - symmetric_difference: 1 Unique Item ok 6 - Debian all ok 7 - Debian devel ok 8 - Debian oldstable ok 9 - Debian stable ok 10 - Debian testing ok 11 - Debian valid ok 12 - Debian valid ok 13 - Debian invalid ok 14 - Debian supported ok 15 - Debian LTS ok 16 - Debian ELTS ok 17 - Debian unsupported ok 18 - Debian codename, invalid ok 19 - Debian codename ok 20 - Debian version, invalid ok 21 - Debian version ok 22 - Ubuntu all ok 23 - Ubuntu version ok 24 - Ubuntu LTS version ok 25 - Ubuntu devel ok 26 - Ubuntu LTS ok 27 - Ubuntu stable ok 28 - Ubuntu valid ok 29 - Ubuntu invalid ok 30 - Ubuntu is_lts ok 31 - Ubuntu !is_lts ok 32 - Ubuntu !is_lts ok 33 - Ubuntu supported ok 34 - Ubuntu ESM ok 35 - Ubuntu unsupported testSupported testLTS testELTS testUnsupported testTesting testFullname testRelease testSeries testCombinedShortform testReleaseDate running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) WARNING: The wheel package is not available. /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) WARNING: The wheel package is not available. /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( testHelp WARNING: The wheel package is not available. running egg_info creating distro_info.egg-info testExactlyOne writing distro_info.egg-info/PKG-INFO writing dependency_links to distro_info.egg-info/dependency_links.txt writing top-level names to distro_info.egg-info/top_level.txt writing manifest file 'distro_info.egg-info/SOURCES.txt' testUnrecognizedOption reading manifest file 'distro_info.egg-info/SOURCES.txt' writing manifest file 'distro_info.egg-info/SOURCES.txt' testUnrecognizedArguments running build_ext testMissingArgumentAlias testMissingArgumentDate testMissingArgumentSeries testInvalidAlias test_flake8 (distro_info_test.test_flake8.Flake8TestCase.test_flake8) Test: Run flake8 on Python source code. ... Running following command: /usr/bin/python3.12 -m flake8 --max-line-length=99 debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py testInvalidDate testInvalidSeries testMultipleAlias testMultipleDates testMultipleSeries testUnknownSeries testSourceDateEpoch testDays ok test_all (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_all) Test: List all known Debian distributions. ... ok test_codename (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_codename) Test: Codename decoding ... ok test_codename_result (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_codename_result) Test: Check result set to codename. ... ok test_devel (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_devel) Test: Get latest development Debian distribution. ... ok test_elts_supported (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_elts_supported) Test: List all ELTS supported Debian distribution. ... ok test_fullname (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_fullname) Test: Check result set to fullname. ... ok test_lts_supported (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_lts_supported) Test: List all LTS supported Debian distribution. ... ok test_old (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_old) Test: Get old (stable) Debian distribution. ... ok test_release (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_release) Test: Check result set to release. ... ok test_stable (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_stable) Test: Get latest stable Debian distribution. ... ok test_supported (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_supported) Test: List all supported Debian distribution. ... ok test_testing (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_testing) Test: Get latest testing Debian distribution. ... ok test_unsupported (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_unsupported) Test: List all unsupported Debian distribution. ... ok test_valid (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_valid) Test: Check for valid Debian distribution. ... ok test_version (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_version) Test: Version decoding ... ok test_all (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_all) Test: List all known Ubuntu distributions. ... ok test_codename (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_codename) Test: Check result set to codename. ... ok test_current_unsupported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_current_unsupported) Test: List all unsupported Ubuntu distributions today. ... ok test_devel (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_devel) Test: Get latest development Ubuntu distribution. ... ok test_fullname (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_fullname) Test: Check result set to fullname. ... ok test_is_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_is_lts) Test: Check if Ubuntu distribution is an LTS. ... ok test_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_lts) Test: Get latest long term support (LTS) Ubuntu distribution. ... ok test_release (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_release) Test: Check result set to release. ... ok test_stable (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_stable) Test: Get latest stable Ubuntu distribution. ... ok test_supported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_supported) Test: List all supported Ubuntu distribution. ... ok test_unsupported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_unsupported) Test: List all unsupported Ubuntu distributions. ... ok test_valid (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_valid) Test: Check for valid Ubuntu distribution. ... ok test_version (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_version) Test: Check result set to version. ... ok test_pylint (distro_info_test.test_pylint.PylintTestCase.test_pylint) Test: Run pylint on Python source code. ... Running following command: pylint --rcfile=/build/reproducible-path/distro-info-1.7/python/distro_info_test/pylint.conf debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py Ran 31 tests. OK ./test-ubuntu-distro-info testAll testDevel testLatest testLTS testStable testSupported testUnsupported testFullname testRelease testSeries testCombinedShortform testReleaseDate testHelp testExactlyOne testUnrecognizedOption testUnrecognizedArguments testMissingArgumentDate testMissingArgumentSeries testDistributionDataOutdated testInvalidDate testInvalidSeries testMultipleDates testMultipleSeries testUnknownSeries testSourceDateEpoch testDays Ran 26 tests. OK FAIL test_isort (distro_info_test.test_isort.IsortTestCase.test_isort) Test: Run isort on Python source code. ... Running following command: isort --check-only --diff -l 99 debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py ok test_mypy (distro_info_test.test_mypy.MypyTestCase.test_mypy) Test: Run mypy on Python source code. ... Running following command: mypy --ignore-missing-imports --strict distro_info_test distro_info.py setup.py ok test_black (distro_info_test.test_black.BlackTestCase.test_black) Test: Run black code formatter on Python source code. ... Running following command: black --check --diff -l 99 debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py ok test_make_pep440_compliant_debian_backport (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_debian_backport) Test make_pep440_compliant() with Debian backport version. ... ok test_make_pep440_compliant_debian_stable (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_debian_stable) Test make_pep440_compliant() with Debian stable update. ... ok test_make_pep440_compliant_debian_stable_backport (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_debian_stable_backport) Test make_pep440_compliant() with Debian stable backport. ... ok test_make_pep440_compliant_tilde (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_tilde) Test make_pep440_compliant() with tilde in Debian version. ... ok test_make_pep440_compliant_ubuntu (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_ubuntu) Test make_pep440_compliant() with Ubuntu version. ... ok test_make_pep440_compliant_ubuntu_backport (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_ubuntu_backport) Test make_pep440_compliant() with Ubuntu backport version. ... ok test_make_pep440_compliant_ubuntu_security (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_ubuntu_security) Test make_pep440_compliant() with Ubuntu security update. ... ok test_make_pep440_compliant_unchanged (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_unchanged) Test make_pep440_compliant() with already correct version. ... ok ====================================================================== FAIL: test_pylint (distro_info_test.test_pylint.PylintTestCase.test_pylint) Test: Run pylint on Python source code. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/reproducible-path/distro-info-1.7/python/distro_info_test/test_pylint.py", line 70, in test_pylint self.fail("\n".join(msgs)) AssertionError: pylint exited with code 17 and has unexpected output on stderr: Exception on node in file '/build/reproducible-path/distro-info-1.7/python/debian-distro-info' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 91, in walk callback(astroid) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 1642, in visit_name self._loopvar_name(node) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 2550, in _loopvar_name if astmts[i].statement().parent_of(stmt) and not utils.in_for_else_branch( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 297, in statement return self.parent.statement() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 414, in statement raise StatementMissing(target=self) astroid.exceptions.StatementMissing: Statement not found on Can't write the issue template for the crash in /build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-27.txt because of: '[Errno 2] No such file or directory: '/build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-27.txt'' Here's the content anyway: First, please verify that the bug is not already filled: https://github.com/pylint-dev/pylint/issues/ Then create a new issue: https://github.com/pylint-dev/pylint/issues/new?labels=Crash 💥%2CNeeds triage 📥 Issue title: Crash ```` (if possible, be more specific about what made pylint crash) ### Bug description When parsing the following ``a.py``: ```python #!/usr/bin/python3 # Copyright (C) 2009-2011, Benjamin Drung # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # pylint: disable=invalid-name # pylint: enable=invalid-name """provides information about Debian's distributions""" import argparse import os import sys from distro_info import DebianDistroInfo, convert_date def parse_args(): script_name = os.path.basename(sys.argv[0]) usage = f"{script_name} [options]" epilog = f"See {script_name}(1) for more info." parser = argparse.ArgumentParser(usage=usage, epilog=epilog) parser.add_argument( "--date", dest="date", default=None, help="date for calculating the version (default: today).", ) parser.add_argument( "-a", "--all", dest="all", action="store_true", help="list all known versions" ) parser.add_argument( "-d", "--devel", dest="devel", action="store_true", help="latest development version" ) parser.add_argument( "-t", "--testing", dest="testing", action="store_true", help="current testing version" ) parser.add_argument( "-s", "--stable", dest="stable", action="store_true", help="latest stable version" ) parser.add_argument( "-o", "--old", dest="old", action="store_true", help="latest old (stable) version" ) parser.add_argument( "--supported", dest="supported", action="store_true", help="list of all supported versions (including development)", ) parser.add_argument( "-l", "--lts", dest="lts", action="store_true", help="list of all LTS supported stable versions", ) parser.add_argument( "-e", "--elts", dest="elts", action="store_true", help="list of all ELTS supported stable versions", ) parser.add_argument( "--unsupported", dest="unsupported", help="list of all unsupported stable versions" ) args = parser.parse_args() versions = [ args.all, args.devel, args.lts, args.elts, args.old, args.stable, args.supported, args.testing, args.unsupported, ] if len([x for x in versions if x]) != 1: parser.error( "You have to select exactly one of --all, --devel, --elts, --lts," " --old, --stable, --supported, --testing, --unsupported." ) if args.date is not None: try: args.date = convert_date(args.date) except ValueError: parser.error("Option --date needs to be a date in ISO 8601 format.") return args def main(): # pylint: disable=too-many-branches args = parse_args() if args.all: for distro in DebianDistroInfo().all: sys.stdout.write(distro + "\n") elif args.devel: sys.stdout.write(DebianDistroInfo().devel(args.date) + "\n") elif args.old: sys.stdout.write(DebianDistroInfo().old(args.date) + "\n") elif args.stable: sys.stdout.write(DebianDistroInfo().stable(args.date) + "\n") elif args.supported: for distro in DebianDistroInfo().supported(args.date): sys.stdout.write(distro + "\n") elif args.lts: for distro in DebianDistroInfo().lts_supported(args.date): sys.stdout.write(distro + "\n") elif args.elts: for distro in DebianDistroInfo().elts_supported(args.date): sys.stdout.write(distro + "\n") elif args.testing: sys.stdout.write(DebianDistroInfo().testing(args.date) + "\n") elif args.unsupported: for distro in DebianDistroInfo().unsupported(args.date): sys.stdout.write(distro + "\n") if __name__ == "__main__": main() ``` ### Command used ```shell pylint a.py ``` ### Pylint output
pylint crashed with a ``AstroidError`` and with the following stacktrace: ```python Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 788, in _lint_file check_astroid_module(module) File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1017, in check_astroid_module retval = self._check_astroid_module( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1069, in _check_astroid_module walker.walk(node) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 91, in walk callback(astroid) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 1642, in visit_name self._loopvar_name(node) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 2550, in _loopvar_name if astmts[i].statement().parent_of(stmt) and not utils.in_for_else_branch( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 297, in statement return self.parent.statement() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 414, in statement raise StatementMissing(target=self) astroid.exceptions.StatementMissing: Statement not found on The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 752, in _lint_files self._lint_file(fileitem, module, check_astroid_module) File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 790, in _lint_file raise astroid.AstroidError from e astroid.exceptions.AstroidError ```
### Expected behavior No crash. ### Pylint version ```shell pylint 3.0.3 astroid 3.1.0 Python 3.11.9 (main, Apr 10 2024, 13:16:36) [GCC 13.2.0] ``` ### OS / Environment linux (Linux) ### Additional dependencies . Can't write the issue template for the crash in /build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-27.txt because of: '[Errno 2] No such file or directory: '/build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-27.txt'' Here's the content anyway: First, please verify that the bug is not already filled: https://github.com/pylint-dev/pylint/issues/ Then create a new issue: https://github.com/pylint-dev/pylint/issues/new?labels=Crash 💥%2CNeeds triage 📥 Issue title: Crash ```` (if possible, be more specific about what made pylint crash) ### Bug description When parsing the following ``a.py``: ```python #!/usr/bin/python3 # Copyright (C) 2009-2011, Benjamin Drung # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # pylint: disable=invalid-name # pylint: enable=invalid-name """provides information about Ubuntu's distributions""" import argparse import os import sys from distro_info import UbuntuDistroInfo, convert_date def parse_args() -> argparse.Namespace: script_name = os.path.basename(sys.argv[0]) usage = f"{script_name} [options]" epilog = f"See {script_name}(1) for more info." parser = argparse.ArgumentParser(usage=usage, epilog=epilog) parser.add_argument( "--date", dest="date", default=None, help="date for calculating the version (default: today).", ) parser.add_argument( "-a", "--all", dest="all", action="store_true", help="list all known versions" ) parser.add_argument( "-d", "--devel", dest="devel", action="store_true", help="latest development version" ) parser.add_argument( "-s", "--stable", dest="stable", action="store_true", help="latest stable version" ) parser.add_argument( "--lts", dest="lts", action="store_true", help="latest long term support (LTS) version" ) parser.add_argument( "--supported", dest="supported", action="store_true", help="list of all supported versions (including development)", ) parser.add_argument( "--unsupported", dest="unsupported", action="store_true", help="list of all unsupported stable versions", ) args = parser.parse_args() versions = [args.all, args.devel, args.lts, args.stable, args.supported, args.unsupported] if len([x for x in versions if x]) != 1: parser.error( "You have to select exactly one of --all, --devel, --lts, " "--stable, --supported, --unsupported." ) if args.date is not None: try: args.date = convert_date(args.date) except ValueError: parser.error("Option --date needs to be a date in ISO 8601 format.") return args def main() -> None: args = parse_args() if args.all: for distro in UbuntuDistroInfo().all: sys.stdout.write(distro + "\n") elif args.devel: sys.stdout.write(UbuntuDistroInfo().devel(args.date) + "\n") elif args.lts: sys.stdout.write(UbuntuDistroInfo().lts(args.date) + "\n") elif args.stable: sys.stdout.write(UbuntuDistroInfo().stable(args.date) + "\n") elif args.supported: for distro in UbuntuDistroInfo().supported(args.date): sys.stdout.write(distro + "\n") elif args.unsupported: for distro in UbuntuDistroInfo().unsupported(args.date): sys.stdout.write(distro + "\n") if __name__ == "__main__": main() ``` ### Command used ```shell pylint a.py ``` ### Pylint output
pylint crashed with a ``AstroidError`` and with the following stacktrace: ```python Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 788, in _lint_file check_astroid_module(module) File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1017, in check_astroid_module retval = self._check_astroid_module( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1069, in _check_astroid_module walker.walk(node) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 91, in walk callback(astroid) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 1642, in visit_name self._loopvar_name(node) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 2550, in _loopvar_name if astmts[i].statement().parent_of(stmt) and not utils.in_for_else_branch( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 297, in statement return self.parent.statement() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 414, in statement raise StatementMissing(target=self) astroid.exceptions.StatementMissing: Statement not found on The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 752, in _lint_files self._lint_file(fileitem, module, check_astroid_module) File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 790, in _lint_file raise astroid.AstroidError from e astroid.exceptions.AstroidError ```
### Expected behavior No crash. ### Pylint version ```shell pylint 3.0.3 astroid 3.1.0 Python 3.11.9 (main, Apr 10 2024, 13:16:36) [GCC 13.2.0] ``` ### OS / Environment linux (Linux) ### Additional dependencies . Can't write the issue template for the crash in /build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-36.txt because of: '[Errno 2] No such file or directory: '/build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-36.txt'' Here's the content anyway: First, please verify that the bug is not already filled: https://github.com/pylint-dev/pylint/issues/ Then create a new issue: https://github.com/pylint-dev/pylint/issues/new?labels=Crash 💥%2CNeeds triage 📥 Issue title: Crash ```` (if possible, be more specific about what made pylint crash) ### Bug description When parsing the following ``a.py``: ```python #!/usr/bin/python3 import pathlib import re from setuptools import setup PACKAGES = ["distro_info"] PY_MODULES = ["distro_info"] SCRIPTS = ["debian-distro-info", "ubuntu-distro-info"] def get_debian_version() -> str: """look what Debian version we have""" changelog = pathlib.Path(__file__).parent.parent / "debian" / "changelog" with changelog.open("r", encoding="utf-8") as changelog_f: head = changelog_f.readline() match = re.compile(r".*\((.*)\).*").match(head) if not match: raise ValueError(f"Failed to extract Debian version from '{head}'.") return match.group(1) def make_pep440_compliant(version: str) -> str: """Convert the version into a PEP440 compliant version.""" public_version_re = re.compile(r"^([0-9][0-9.]*(?:(?:a|b|rc|.post|.dev)[0-9]+)*)\+?") _, public, local = public_version_re.split(version, maxsplit=1) if not local: return version sanitized_local = re.sub("[+~]+", ".", local).strip(".") pep440_version = f"{public}+{sanitized_local}" assert re.match("^[a-zA-Z0-9.]+$", sanitized_local), f"'{pep440_version}' not PEP440 compliant" return pep440_version if __name__ == "__main__": setup( name="distro-info", version=make_pep440_compliant(get_debian_version()), py_modules=PY_MODULES, packages=PACKAGES, test_suite="distro_info_test", url="https://salsa.debian.org/debian/distro-info", author="Benjamin Drung", author_email="bdrung@debian.org", package_data={"distro_info": ["py.typed"]}, ) ``` ### Command used ```shell pylint a.py ``` ### Pylint output
pylint crashed with a ``AstroidError`` and with the following stacktrace: ```python Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 788, in _lint_file check_astroid_module(module) File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1017, in check_astroid_module retval = self._check_astroid_module( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1069, in _check_astroid_module walker.walk(node) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, in walk self.walk(child) File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 91, in walk callback(astroid) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 1642, in visit_name self._loopvar_name(node) File "/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 2550, in _loopvar_name if astmts[i].statement().parent_of(stmt) and not utils.in_for_else_branch( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 297, in statement return self.parent.statement() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 414, in statement raise StatementMissing(target=self) astroid.exceptions.StatementMissing: Statement not found on The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 752, in _lint_files self._lint_file(fileitem, module, check_astroid_module) File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 790, in _lint_file raise astroid.AstroidError from e astroid.exceptions.AstroidError ```
### Expected behavior No crash. ### Pylint version ```shell pylint 3.0.3 astroid 3.1.0 Python 3.11.9 (main, Apr 10 2024, 13:16:36) [GCC 13.2.0] ``` ### OS / Environment linux (Linux) ### Additional dependencies . pylint found issues: ************* Module debian-distro-info debian-distro-info:1:0: F0002: debian-distro-info: Fatal error while checking 'debian-distro-info'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-27.txt'. (astroid-error) ************* Module ubuntu-distro-info ubuntu-distro-info:22:0: C0413: Import "import argparse" should be placed at the top of the module (wrong-import-position) ubuntu-distro-info:23:0: C0413: Import "import os" should be placed at the top of the module (wrong-import-position) ubuntu-distro-info:24:0: C0413: Import "import sys" should be placed at the top of the module (wrong-import-position) ubuntu-distro-info:26:0: C0413: Import "from distro_info import UbuntuDistroInfo, convert_date" should be placed at the top of the module (wrong-import-position) ubuntu-distro-info:1:0: F0002: ubuntu-distro-info: Fatal error while checking 'ubuntu-distro-info'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-27.txt'. (astroid-error) ************* Module distro_info_test distro_info_test/__init__.py:17:0: C0413: Import "import inspect" should be placed at the top of the module (wrong-import-position) distro_info_test/__init__.py:18:0: C0413: Import "import os" should be placed at the top of the module (wrong-import-position) distro_info_test/__init__.py:19:0: C0413: Import "import unittest" should be placed at the top of the module (wrong-import-position) ubuntu-distro-info:22:0: C0411: standard import "import argparse" should be placed before "from distro_info import DebianDistroInfo, convert_date" (wrong-import-order) ubuntu-distro-info:23:0: C0411: standard import "import os" should be placed before "from distro_info import DebianDistroInfo, convert_date" (wrong-import-order) ubuntu-distro-info:24:0: C0411: standard import "import sys" should be placed before "from distro_info import DebianDistroInfo, convert_date" (wrong-import-order) distro_info_test/__init__.py:17:0: C0411: standard import "import inspect" should be placed before "from distro_info import DebianDistroInfo, convert_date" (wrong-import-order) distro_info_test/__init__.py:18:0: C0411: standard import "import os" should be placed before "from distro_info import DebianDistroInfo, convert_date" (wrong-import-order) distro_info_test/__init__.py:19:0: C0411: standard import "import unittest" should be placed before "from distro_info import DebianDistroInfo, convert_date" (wrong-import-order) ubuntu-distro-info:22:0: C0412: Imports from package argparse are not grouped (ungrouped-imports) ubuntu-distro-info:23:0: C0412: Imports from package os are not grouped (ungrouped-imports) ubuntu-distro-info:24:0: C0412: Imports from package sys are not grouped (ungrouped-imports) distro_info_test/__init__.py:18:0: C0412: Imports from package os are not grouped (ungrouped-imports) ************* Module setup setup.py:1:0: F0002: setup.py: Fatal error while checking 'setup.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/build/reproducible-path/distro-info-1.7/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2024-04-19-14-52-36.txt'. (astroid-error) ---------------------------------------------------------------------- Ran 41 tests in 29.523s FAILED (failures=1) Test failed: error: Test failed: make[1]: *** [Makefile:39: test-python] Error 1 make[1]: Leaving directory '/build/reproducible-path/distro-info-1.7' dh_auto_test: error: make -j3 test returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/4661 and its subdirectories Sat Apr 20 02:53:00 UTC 2024 W: No second build log, what happened?