FS#69026 - [pidgin] Packages for pidgin and libpurple contain the same empty directory

Attached to Project: Arch Linux
Opened by Stefan Husmann (stefanhusmann) - Friday, 18 December 2020, 14:49 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 01 April 2021, 22:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Both pidgin and libpurple contain the empty directory

/usr/lib/perl5/x86_64-linux-thread-multi

Whereas this might not a problem for the functionality of the packages as such, it obviously puzzles tools like rebuild-detector, which claims that both packages would need a rebuild.

Strange thing: At package bulid time, this directory will have a file perllocal.pod, which gets removed by a pacman hook at installtime.

Additional info:
* package version(s) 1.14.1-3

Steps to reproduce:
- install rebuild-detector from AUR, written and maintained by a TU
- install pidgin (libpurple will be installed also as dependency).
- install any other package and watch the messages from the pacman hooks.

This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 01 April 2021, 22:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  pidgin 2.14.2-1
Comment by Maxim Baz (maximbaz) - Saturday, 19 December 2020, 00:15 GMT
While it was not intentional for rebuild-detector to flag an official package (fixed since 4.1.5), it seems that Perl package guidelines [1] does tell that this file should not have been created during the build time:

> The files perllocal.pod and .packlist also should not be present; this is taken care of by the example PKGBUILD described below.

1: https://wiki.archlinux.org/index.php/Perl_package_guidelines#Package_file_placement
Comment by Doug Newgard (Scimmia) - Saturday, 19 December 2020, 12:53 GMT
perllocal.pod doesn't exist in the package, so it's not getting removed by a pacman hook at install time.

Loading...