[pcre-dev] [Bug 1220] New: force symlink to the man pages to…

Etusivu
Poista viesti
Lähettäjä: Benedikt Morbach
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: [pcre-dev] [Bug 1220] New: force symlink to the man pages to avoid 'file exists' errors
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1220
           Summary: force symlink to the man pages to avoid 'file exists'
                    errors
           Product: PCRE
           Version: 8.30
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: benedikt.morbach@???
                CC: pcre-dev@???



Created an attachment (id=553)
--> (http://bugs.exim.org/attachment.cgi?id=553)
'ln -s' → 'ln -sf'

we build multilib packages by building for 32-bit and then 64-bit and
installing both to the same DESTDIR.

This generally works fine, but fails for pcre because of the way the Makefile
creates the 16-bit names for the per function man pages.

It uses 'ln -s' instead of 'ln -sf', so obviously the second installation
fails.

It is no problem at all if those symlinks already exist and the man pages
themselves are happily overwritten, so I would propose that you use 'ln -sf'.

Patch to implement this change attached.

Thanks


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email