Skip to content

New salsaci pipeline makes debhelper/dh_lintian think symlinks were executables

Hi,

somewhere between these two jobs

something happened that made dh_lintian choke on debian/postgresql-server-dev-13.lintian-overrides. This file is a symlink pointing to postgresql-plpython3-13.lintian-overrides which in turn is a plain, non-executable file in git. Yet debhelper thinks the file is executable, and hence the strange shell error messages:

3839    dh_lintian
3840 debian/postgresql-server-dev-13.lintian-overrides: 2: repeated-path-segment: not found
3841 debian/postgresql-server-dev-13.lintian-overrides: 5: hardening-no-fortify-functions: not found
3842 debian/postgresql-server-dev-13.lintian-overrides: 6: library-not-linked-against-libc: not found
3843 debian/postgresql-server-dev-13.lintian-overrides: 7: shared-library-lacks-prerequisites: not found
3844 dh_lintian: error: debian/postgresql-server-dev-13.lintian-overrides returned exit code 127
3845 make: *** [debian/rules:92: binary] Error 25

The files have not been touched since July, and the old salsaci pipeline, the Debian buildds, and the apt.postgresql.org buildds are all happy. Only the new salsaci pipeline is choking on that file.

-rw-rw-r-- 1 myon myon 341 Sep 12 17:22 debian/postgresql-plpython3-13.lintian-overrides
lrwxrwxrwx 1 myon myon  41 Sep 12 17:22 debian/postgresql-server-dev-13.lintian-overrides -> postgresql-plpython3-13.lintian-overrides

Please investigate, I think the pipeline is at fault (and neither postgresql-13 nor dh_lintian).

Thanks, Christoph

Edited by Christoph Berg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information