On 24 July 2023 at 06:47, Helmut Grohne wrote:
| Source: gretl
| Version: 2023b-1
| Severity: important
| Tags: patch
| 
| gretl contains an empty directory /usr/lib/pkgconfig. Due to having
| implemented the /usr-merge using directory aliasing, this directory is
| prone to loss.

Are we sure this is 'important'?
 
| Looking into gretl, it becomes evident that this directory is not
| needed. It is an artifact of splitting files to different binary
| packages. As such, the directory can be deleted without loss of
| functionality. What does not exist, cannot be lost, problem solved. I'm
| attaching a patch for your convenience.

edd@rob:/var/cache/pbuilder/result$ for f in *2023b*deb; do echo $f; dpkg -c $f 
| grep config; done
gretl_2023b-1_amd64.deb
drwxr-xr-x root/root         0 2023-07-23 09:34 ./usr/lib/pkgconfig/
gretl-common_2023b-1_all.deb
gretl-data_2023b-1_all.deb
gretl-dbgsym_2023b-1_amd64.deb
gretl-doc_2023b-1_all.deb
libgretl1_2023b-1_amd64.deb
libgretl1-dbgsym_2023b-1_amd64.deb
libgretl1-dev_2023b-1_amd64.deb
drwxr-xr-x root/root         0 2023-07-23 09:34 ./usr/lib/pkgconfig/
-rw-r--r-- root/root       317 2023-07-23 09:34 ./usr/lib/pkgconfig/gretl.pc
edd@rob:/var/cache/pbuilder/result$ 

Looks like it is alive and well in libgretl1-dev where it should be.

But I agree with the 'find and rmdir'.  Per 'git blame' we had the lintian
override since 2007 (!!) but yes, with the /usr rearrangement it may make
sense to clean this up.

Dirk

| Helmut
| x[DELETED ATTACHMENT gretl_2023b-1.1.debdiff, plain text]

-- 
dirk.eddelbuettel.com | @eddelbuettel | [email protected]

Reply via email to