Bug 180678 - app-misc/mc - chmod fails due to hardcoded /usr/lib
Bug#: 180678 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: sebastijan@fingerprints.si
Component: Ebuilds
URL: 
Summary: app-misc/mc - chmod fails due to hardcoded /usr/lib
Keywords:  
Status Whiteboard: 
Opened: 2007-06-03 00:38 0000
Description:   Opened: 2007-06-03 00:38 0000
At the end of installation:
chmod: cannot access
`/var/tmp/portage/app-misc/mc-4.6.1-r3/image//usr/lib/mc/cons.saver': No such
file or directory
 * Applying mc-4.6.0-ebuild-syntax.patch ...                                   
                                                                               
                           [ ok ]
>>> Completed installing mc-4.6.1-r3 into /var/tmp/portage/app-misc/mc-4.6.1-r3/image/

Missing one space?

Reproducible: Always




app-misc/mc-4.6.1-r3
first install (not upgrade)

I think this is syntax error and happens every time, so no additional info is
nedded

------- Comment #1 From Jorge Manuel B. S. Vicetto 2007-06-03 01:08:57 0000 -------
The problem seems to be caused by the following in src_install:

fperms u+s /usr/lib/mc/cons.saver

------- Comment #2 From Jorge Manuel B. S. Vicetto 2007-06-03 01:29:14 0000 -------
Created an attachment (id=120997) [details]
Diff to mc-4.6.1-r3.diff to use multilib and $(get_libdir)

This solved my error on amd64.

------- Comment #3 From Wulf Krueger (RETIRED) 2007-06-03 10:18:46 0000 -------
Fixed in CVS.