FS#76607 - [hplip] don't link unnecessary prebuilt ImageProcessor library
Attached to Project:
Arch Linux
Opened by Letu Ren (FantasqueX) - Thursday, 17 November 2022, 05:56 GMT
Last edited by Toolybird (Toolybird) - Thursday, 17 November 2022, 21:16 GMT
Opened by Letu Ren (FantasqueX) - Thursday, 17 November 2022, 05:56 GMT
Last edited by Toolybird (Toolybird) - Thursday, 17 November 2022, 21:16 GMT
|
Details
Description:
Currently hplip links an unnecessary prebuilt library. If we don't link this library, hplip can be built normally. So, I think it is possible to add a patch to prevent linking this library. Debian has already done that. Patch is attached. Reference: https://salsa.debian.org/printing-team/hplip/-/blob/debian/main/debian/patches/0028-Remove-ImageProcessor-binary-installs.patch |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 17 November 2022, 21:16 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Thursday, 17 November 2022, 21:16 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
PKGBUILD.patch
FS#59681Are you sure? AFAICT it doesn't. Sure, it's there in the src tarball but it doesn't get built, linked or installed in the Arch build. You can see for yourself if you study the logs. The Makefile does try to install it but fails due to lack of DESTDIR support.
cp: cannot create regular file '/usr/lib/libImageProcessor-x86_64.so': Permission denied
chmod: cannot access '/usr/lib/libImageProcessor-x86_64.so': No such file or directory
ln: failed to create symbolic link '/usr/lib/libImageProcessor.so': Permission denied
Edit: We used to have the patch but it was removed here [1]
[1] https://github.com/archlinux/svntogit-packages/commit/cb4d55e5
Why is it removed previously?