Hi,

* Rob Browning <r...@defaultvalue.org> [2024-12-10 15:34]:
I'm not sure if this is intended to work, but with a home directory that
doesn't allow access by "other"s, i.e. "chmod o-rwx ~", an unshare
sbuild attempt fails like this here:

 0m0.0s WARNING: 
/home/rlb/deb/lockfile-progs/lockfile-progs_0.1.21~1.gbp7eb6ac_amd64.changes is 
not readable. Skipping.

 Piuparts caught exception, exiting...
 ------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/bin/piuparts", line 3720, in <module>
     main()
   File "/usr/bin/piuparts", line 3705, in main
     process_packages(package_list)
   File "/usr/bin/piuparts", line 3576, in process_packages
     packages = get_package_names_from_package_files(package_list)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/bin/piuparts", line 2322, in get_package_names_from_package_files
     for filename in package_files:
                     ^^^^^^^^^^^^^
 TypeError: 'NoneType' object is not iterable

A simple way to reproduce this is:

apt source -b hostname
chmod o-r hostname_3.25_amd64.changes
piuparts hostname_3.25_amd64.changes

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to