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
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ec04.
    Corresponding source code