[Piuparts-devel] Bug#1104230: piuparts: changes file is not readable on unshare build backend
Dheeraj Reddy
dheerajre at proton.me
Sun Apr 27 12:57:47 BST 2025
Package: piuparts
Version: 1.6.0
Severity: minor
X-Debbugs-Cc: dheerajre at proton.me
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- What led up to the situatuon?
-ran sbuild on rsync with piuparts in config file:
$piuparts_opts = ['--no-eatmydata', '--distribution=%r', '--fake-essential-packages=systemd-sysv'];
- Piuparts ran failed after changes file became unreadable
-- Error Log of Piuparts:
piuparts
--------
0m0.0s INFO: Running non-root. Reexecuting in a usernamespace.
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at https://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: The FAQ also explains how to contact us in case you think piuparts is wrong.
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 1.6.0 starting up.
0m0.0s INFO: Command line arguments: /usr/bin/piuparts --no-eatmydata --distribution=unstable --fake-essential-packages=systemd-sysv /home/poseidon/pkgs/rsync_3.4.1+ds1-3_amd64.changes
0m0.0s INFO: Running on: Linux debian 6.12.19-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.19-1 (2025-03-16) x86_64
/usr/bin/piuparts:2375: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
logging.warn(changes_path + " is not readable. Skipping.")
0m0.0s WARNING: /home/poseidon/pkgs/rsync_3.4.1+ds1-3_amd64.changes is not readable. Skipping.
Piuparts caught exception, exiting...
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/piuparts", line 3749, in <module>
main()
~~~~^^
File "/usr/bin/piuparts", line 3734, in main
process_packages(package_list)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/bin/piuparts", line 3605, in process_packages
packages = get_package_names_from_package_files(package_list)
File "/usr/bin/piuparts", line 2344, in get_package_names_from_package_files
for filename in package_files:
^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
------------------------------------------------------------
0m0.0s ERROR: piuparts run ends.
E: Piuparts run failed.
---------------------------------------------------------------------------------------------------------
-- Outcome of the action:
Even though there are no severe consequences and salsa-ci reports no
such bug I thought this was worth reporting as a bug.
-- Expected outcome:
Piuparts Ran successfully and reported no errors
-- System Information:
Debian Release: trixie/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.22-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages piuparts depends on:
ii debsums 3.0.2.1
ii libjs-sphinxdoc 8.1.3-5
ii lsb-release 12.1-1
ii lsof 4.99.4+dfsg-2
ii mount 2.41-4
ii piuparts-common 1.6.0
ii python3 3.13.2-2
ii python3-debian 1.0.1
Versions of packages piuparts recommends:
ii adequate 0.17.5+b4
ii debootstrap 1.0.140
ii mmdebstrap 1.5.7-1
Versions of packages piuparts suggests:
ii docker.io 26.1.5+dfsg1-9+b3
ii schroot 1.6.13-6
ii uidmap 1:4.17.4-1
-- no debconf information
More information about the Piuparts-devel
mailing list