On Thu, Jun 04, 2020 at 11:54:54AM +0200, Andreas Tille wrote: > Control: tags -1 pending > > On Thu, Jun 04, 2020 at 12:44:30PM +0300, Adrian Bunk wrote: > > if [ ! -e debian/tmp/usr/lib/*/perl5/*/auto/jellyfish/jellyfish.so ] ; then > > sleep 1; fi > > chrpath --delete debian/tmp/usr/lib/*/perl5/*/auto/jellyfish/jellyfish.so > > open: Permission denied > > elf_open: Invalid argument > > make[1]: *** [debian/rules:36: override_dh_auto_install] Error 1 > > I commented "Rules-Requires-Root: no" in d/control to fix this. > However, I'd love to understand why chrpath would require root > permissions.
Your reply omits the relevant part from the log: > > -r-xr-xr-x 1 buildd buildd 1630880 Jun 3 20:05 > > debian/tmp/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/jellyfish/jellyfish.so ^ I don't know why this lacks the 'w', but "chmod 644" should workaround it. > Kind regards > > Andreas. cu Adrian