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

Bug 35451

Summary: openssl-0.9.7c-r1 fails due to directory permission problem
Product: Gentoo Linux Reporter: Fillup Morelock <gentoo>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild to fix the lack of "execute" permission on /usr/lib/pkgconfig/ is attached.

Description Fillup Morelock 2003-12-09 08:06:18 UTC
A directory is walked during make install that has 644, causing "permission
denied" in trying to move a file to its install location.  The file that can't
be removed is "openssl.pc".  I had to clean my portage tree to get portage to
work again afterward, and still if I sync/emerge -u and run across openssl
again, the install breaks every time.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




stinkpad root # emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test10-mm1)
=================================================================
System uname: 2.6.0-test10-mm1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 apm arts avi berkdb crypt cups curl encode esd foomaticdb gd gdbm
gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla
mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt
quicktime readline sdl slang snmp spell sse ssl svga tcltk tcpd truetype usb x86
xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2003-12-11 16:32:54 UTC

*** This bug has been marked as a duplicate of 34088 ***
Comment 2 Venkat Manakkal 2003-12-14 17:30:10 UTC
Created attachment 22227 [details]
Ebuild to fix the lack of "execute" permission on /usr/lib/pkgconfig/ is attached.

The failure of the openssl-0.9.7c-r1 ebuild is caused by incorrect permissions
on the /usr/lib/pkgconfig/ directory during install. The attached ebuild (with
a rev up to differentiate it) fixes it. Uses the same files as the -r1 ebuld,
will need to be digested.