bugGNU Stow - Bugs: bug #64372, Support the case where...

 
 

bug #64372: Support the case where `/usr/local/share/man` is a symlink to `/usr/local/man`

Submitter:  Sergio Callegari <callegar>
Submitted:  Sun 02 Jul 2023 07:08:05 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 02 Jul 2023 07:08:05 AM UTC, original submission:  

Almost always `/usr/local/share/man` and `/usr/local/man` are intended as synonymous.

Most linux distros and BSDs enforce this by setting up the initial filesystem so that `/usr/local/man` is a symlink to `/usr/local/share/man`.

This generally works well with stow. You need package `foo` that has an install script, you set the PREFIX to `/usr/local/stow/foo`, you install and then you stow. Everything works because by changing the PREFIX the man pages will go in `/usr/local/stow/foo/share/man` and when you stow the appropriate symlinks will be created from `/usr/local/share/man`.

However, some linux distros (and notably arch and derivatives) do thing the other way round and pretend that `/usr/local/share/man` should be a symlink to `/usr/local/man`.

This makes stow complain. Back to the previous example, when you have the foo man pages in `/usr/local/stow/foo/share/man` and you try to stow `foo`, stow will error out because `/usr/local/share/man` exists as a file.

Would be great if stow could be made aware of the fact that `/usr/local/share/man` and `/usr/local/man` can often be synonymous by means of symlinks.

Sergio Callegari <callegar>

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by callegar (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code