Bug 72706 - dev-libs/pwlib-1.6.6 causes access violation on 64bit systems
|
Bug#:
72706
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: amd64@gentoo.org
|
Reported By: blubb@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: dev-libs/pwlib-1.6.6 causes access violation on 64bit systems
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-11-28 04:38 0000
|
just noticed it, will have a look at it later
>>> Install pwlib-1.6.6 into /var/tmp/portage/pwlib-1.6.6/image/ category dev-li bs
mkdir -p /var/tmp/portage/pwlib-1.6.6/image//usr/include
mkdir -p /var/tmp/portage/pwlib-1.6.6/image//usr/bin
mkdir -p /var/tmp/portage/pwlib-1.6.6/image//usr/share/pwlib
mkdir -p /var/tmp/portage/pwlib-1.6.6/image//usr/share/pwlib/make/
mkdir -p //usr/lib
mkdir -p //usr/lib/pwlib
ACCESS DENIED mkdir: /usr/lib64/pwlib
mkdir: cannot create directory `//usr/lib/pwlib': Permission denied
make: *** [install] Error 1
!!! ERROR: dev-libs/pwlib-1.6.6 failed.
!!! Function src_install, Line 112, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status message.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-libs_-_pwlib-1.6.6-6375.log"
mkdir: /usr/lib64/pwlib
--------------------------------------------------------------------------------
I had the same problem and fixed it by editing the ebuild and putting addwrite
"/usr/lib" as the top line of src_install()
Installed and worked fine after that.
I tried editing the ebuild too, but it didn't solve the problem for me.
Your output does actually say
"ACCESS DENIED mkdir: /usr/lib64/pwlib"
to be honest I can't remember what mine did say now but only that it looked the same as yours. Perhaps though you should try adding
addwrite "/usr/lib64"
instead/aswell as
only guessing here ;)
this is not what we want, because the ebuild is still putting stuff into
/usr/lib, and on 64bit arches, /usr/lib should only contain 32bit-libs.
addwrite is a nice workaround indeed, but it's not the proper solution
Simon,
Thanks for that comment, I didn't realise that. If I wanted to create a work around for this then what do you suggest should be the correct method?
just make a port-overlay, set the variable in make.conf and add addwrite
/usr/lib64.
I ran into the same problem while running 'emerge world --emptytree --deep
--update', but for pwlib-1.6.3-r2.
This was the contents of /tmp/sandbox-dev-libs_-_pwlib-1.6.3-r2-8879.log :
open_wr: /usr/lib/libpt_linux_x86_64_r.so.1.6.3
unlink: /usr/lib/libpt_linux_x86_64_r.so.1.6.3
*** Bug 79667 has been marked as a duplicate of this bug. ***
1.8.3-r1 works and marked stable