[Piuparts-devel] False positive from piuparts for packages that depend on python3-clang?

Kerchen, Paul Paul.Kerchen at elektrobit.com
Fri Jan 6 21:59:16 GMT 2023


Hi piuparts devs,
First off, I wanted to say thanks for your efforts on maintaining piuparts! I recently started using piuparts to check some packages that I'm working on and I'm finding it super useful.

With that said, I've encountered a situation which seems like a false positive from piuparts (or at least inconsistent behavior). Specifically, if a package has a dependency on python3-clang and I invoke it like this:
sudo piuparts --defaults='ubuntu' --warn-on-others --no-upgrade-test python3-fakeapp_1.0.0_all.deb

piuparts fails with this error:
6m44.7s ERROR: FAIL: After purging files have disappeared:
              /usr/lib32/         owned by: lib32gcc-s1, lib32stdc++6, libc6-i386

(the 'python3-fakeapp' package is just a single-line Python script that prints a message, so it's not doing anything that should involve /usr/lib32). Incidentally, I'm running piuparts 1.1.1build1 under Ubuntu 20.04 (64-bit).

If I remove the dependency on python3-clang from my package, piuparts does not report any errors.

And if I run piuparts on python3-clang directly, like this:
sudo piuparts --defaults='ubuntu' --warn-on-others --no-upgrade-test python3-clang

that also does not report any errors.

Out of curiousity, I added pre_install and post_purge scripts to check for the presence of /usr/lib32 during the pre_install and post_purge phases for both the fakeapp (with clang dependency) and clang package checks. For both packages, the scripts reported that the directory is present in the pre_install phase, and absent in the post_purge phase, yet piuparts does not raise an error when checking the python3-clang package directly but only when it is a dependency of the python3-fakeapp package.

Is this a bug in piuparts? Am I misusing it? Is there a way to supress this failure?

Thanks for any help or guidance you can supply!

Paul Kerchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20230106/83a72657/attachment.htm>


More information about the Piuparts-devel mailing list