The attached patch should fix the build issue. The logic is : if
readlink -f fails, then the link is absolute and the file is to be found
in debian/tmp.

This logic fixed the issue in the previous version of the package.

Please test the patch and report back.

Nicolas, thank you very much for this patch! When applied, hplip builds again in a pbuilder chroot.
Unfortunately, I see some strange errors at the end of the build process:
---------->8------------
dh_fixperms -a
dh_makeshlibs -a
dh_python2 -a --no-guessing-versions
E: tools:94: cannot open debian/hplip/usr/sbin/hpssd
E: tools:94: cannot open debian/hplip/usr/bin/hp-colorcal
E: tools:94: cannot open debian/hplip/usr/bin/hp-hpdio
E: tools:94: cannot open debian/hplip/usr/bin/hp-setup
E: tools:94: cannot open debian/hplip/usr/bin/hp-testpage
E: tools:94: cannot open debian/hplip/usr/bin/hp-unload
E: tools:94: cannot open debian/hplip/usr/bin/hp-timedate
E: tools:94: cannot open debian/hplip/usr/bin/hp-query
E: tools:94: cannot open debian/hplip/usr/bin/hp-clean
E: tools:94: cannot open debian/hplip/usr/bin/hp-plugin
E: tools:94: cannot open debian/hplip/usr/bin/hp-scan
E: tools:94: cannot open debian/hplip/usr/bin/hp-info
E: tools:94: cannot open debian/hplip/usr/bin/hp-check
E: tools:94: cannot open debian/hplip/usr/bin/hp-pkservice
E: tools:94: cannot open debian/hplip/usr/bin/hp-firmware
E: tools:94: cannot open debian/hplip/usr/bin/hp-probe
E: tools:94: cannot open debian/hplip/usr/bin/hp-levels
E: tools:94: cannot open debian/hplip/usr/bin/hp-makeuri
E: tools:94: cannot open debian/hplip/usr/bin/hp-align
dh_installdeb -a
---------->8------------

I really wonder how hplip can correctly build in sid without Nicolas's patch when
debian/tmp/usr/bin/hp-hpdio points to the non-existing
/usr/share/hplip/hpdio.py

Someone dare to explain?

Best regards

Ronny



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to