Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126

Summary: libefs.pc installed with executable permission (bonobo-1.0.17.ebuild)
Product: Gentoo Linux Reporter: Tod M. Neidt <tneidt>
Component: [OLD] GNOMEAssignee: Mikael Hallendal (hallski) (RETIRED) <hallski>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tod M. Neidt 2002-01-10 17:38:07 UTC
Hi!

/usr/lib/pkgconfig/libefs.pc is installed with executable permissions.  I assume
that this is not correct because all the other *.pc files in that directory 
have permissions 644.

This is not a problem with the ebuild, it is a upstream bonobo problem.  It
happens because in the source tree <top>/libefs/Makefile.in specifies
pc_SCRIPTS=libefs.pc to be installed with INSTALL_SCRIPT instead of INSTALL_DATA

The simple fix is to append the line

chmod 644 ${D}/usr/lib/pkgconfig/libefs.pc

after the "make install" line of the src_install() function in the ebuild.

The other option is to sed the /libefs/Makefile.in before configuration but that
is hairier.

tod
Comment 1 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-16 15:29:34 UTC
commited in bonobo 1.0.18-r9
Comment 2 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-16 15:29:46 UTC
that would be 1.0.18-r1