hplip-3.18.3 - fails to create symbolic link to locatedriver tool

Bug #1756953 reported by Daniel Pielmeier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

The installation fails if $bindir does not exist. The attached patch fixes this by creating the directory before creating the symbolic link hp-locatedriver.

Revision history for this message
Daniel Pielmeier (daniel-pielmeier) wrote :
Revision history for this message
Nishitha Antony (ni301701) wrote :

Hi Daniel,

The default directory path for the bindir is /usr/bin which will be available in most of the cases and might fail only in rare corner case scenarios. Thanks for sharing the patch details and we will review and consider this fix in our future releases.

Thanks,
Nishitha

Changed in hplip:
status: New → In Progress
Revision history for this message
Daniel Pielmeier (daniel-pielmeier) wrote :

Thank you for the response.

In Gentoo this not a rare corner case but actually the standard case. As Gentoo is source based every program is compiled on the machine of the user. Before copying the program to the life system it is installed to an empty temporary location. The existence of any directory can not be taken for granted here.

Please consider this for inclusion. If you take a closer look at Makefile.in you will find that in other cases this has been taken care of already.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.