<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>72706</bug_id>
          
          <creation_ts>2004-11-28 04:38 0000</creation_ts>
          <short_desc>dev-libs/pwlib-1.6.6 causes access violation on 64bit systems</short_desc>
          <delta_ts>2005-02-27 11:40:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>66931</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>blubb@gentoo.org</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          <cc>aw@lintrix.net</cc>
    
    <cc>gnome@gentoo.org</cc>
    
    <cc>VValdo@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2004-11-28 04:38:31 0000</bug_when>
            <thetext>just noticed it, will have a look at it later

&gt;&gt;&gt; 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&apos;: 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 = &quot;/tmp/sandbox-dev-libs_-_pwlib-1.6.6-6375.log&quot;

mkdir:     /usr/lib64/pwlib
--------------------------------------------------------------------------------</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aw@lintrix.net</who>
            <bug_when>2004-11-29 09:20:55 0000</bug_when>
            <thetext>I had the same problem and fixed it by editing the ebuild and putting addwrite &quot;/usr/lib&quot; as the top line of src_install() 

Installed and worked fine after that.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike.bonar@shaw.ca</who>
            <bug_when>2004-12-02 15:58:19 0000</bug_when>
            <thetext>I tried editing the ebuild too, but it didn&apos;t solve the problem for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aw@lintrix.net</who>
            <bug_when>2004-12-03 09:10:14 0000</bug_when>
            <thetext>Your output does actually say

&quot;ACCESS DENIED  mkdir:     /usr/lib64/pwlib&quot;

to be honest I can&apos;t remember what mine did say now but only that it looked the same as yours. Perhaps though you should try adding

addwrite &quot;/usr/lib64&quot;

instead/aswell as

only guessing here ;)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2004-12-03 09:16:30 0000</bug_when>
            <thetext>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&apos;s not the proper solution</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aw@lintrix.net</who>
            <bug_when>2004-12-03 10:48:31 0000</bug_when>
            <thetext>Simon,

Thanks for that comment, I didn&apos;t realise that. If I wanted to create a work around for this then what do you suggest should be the correct method?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2004-12-03 12:28:41 0000</bug_when>
            <thetext>just make a port-overlay, set the variable in make.conf and add addwrite /usr/lib64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>geoff@wozniak.ca</who>
            <bug_when>2004-12-16 04:16:11 0000</bug_when>
            <thetext>I ran into the same problem while running &apos;emerge world --emptytree --deep --update&apos;, 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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>svein.brostigen@oracle.com</who>
            <bug_when>2004-12-29 13:00:41 0000</bug_when>
            <thetext>I believe I have a solution to the problem including 2 patches. the whole process and the diffs can be found in:
http://forums.gentoo.org/viewtopic.php?p=1922128#1922128
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2005-02-27 11:21:52 0000</bug_when>
            <thetext>*** Bug 79667 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2005-02-27 11:40:13 0000</bug_when>
            <thetext>1.8.3-r1 works and marked stable</thetext>
          </long_desc>
      
    </bug>

</bugzilla>