Summary: | openssl-0.9.7c-r1 fails to install openssl.pc due to permission issue | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Li Zhengang <022021199> |
Component: | [OLD] Development | Assignee: | Gentoo Release Team <releng> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrei.ivanov, dalcius, gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Li Zhengang
2003-11-22 02:12:03 UTC
please fsck your system OK, I found the problem. it is not a file system corrupt reason. the originall stage3 tarball seems to set the /usr/lib/pkgconfig directory's permission to " drw-r--r--", which would cause a permission error when deleting any file in that directory. and so does the openssl package, where the "openssl.pc" reside in /var/tmp/portage/openssl-0.9.7c-r1/image/usr/lib/pkgconfig. I just manually added a "x" permission to both /usr/lib/pkgconfig and /var/tmp/portage/openssl-0.9.7c-r1/image/usr/lib/pkgconfig( exactly after "ebuild install" before" ebuild qmerge". now the package is installed. *** Bug 34286 has been marked as a duplicate of this bug. *** I could be incorrect about this, but I believe the sequence is: compile install merge chmod u+x /usr/lib/pkgconfig chmod u+x /var/tmp/portage-pkg/openssl-0.9.7c-r1/bin/usr/lib/pkgconfig qmerge Worked for me. I wonder if there isn't anything that can be done to prevent this problem? It looks like the pkgconfig directory in /var/tmp/ gets created with rw- permissions every time. *** Bug 35451 has been marked as a duplicate of this bug. *** going to have the release guys double check their stuff release peeps, could you make sure comment #2 is fixed in all the current tarballs SpanKY -- I think part of the problem lies somewhere in the ebuild/source tarball for openssl. Every time I emerge openssl (after the 'install' step I believe, I don't recall), /var/tmp/portage/openssl-0.9.7c-r1/image/usr/lib/pkgconfig *always* gets *created* with rw- permissions. Even with proper permissions on usr/lib/pkgconfig I still get this problem. Thanks for looking into this =) Please see http://bugs.gentoo.org/attachment.cgi?id=22227&action=view - sorry I submitted to the duplicate. The attachment is an ebuild that has a quick hack to fix the missing execute permission on the /usr/lib/pkgconfig/. This ebuild compiles, installs and qmerges without a problem. ok, the openssl ebuild has been fixed ... tarball makers, could you make sure your end is fixed too ? its fixed on our end |