<?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>226071</bug_id>
          
          <creation_ts>2008-06-12 13:58 0000</creation_ts>
          <short_desc>app-i18n/man-pages-cs-0.17-r1 is trying to remove the installed manpages</short_desc>
          <delta_ts>2008-06-12 22:17:24 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>2008.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>david@watzke.cz</reporter>
          <assigned_to>darkside@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>david@watzke.cz</who>
            <bug_when>2008-06-12 13:58:39 0000</bug_when>
            <thetext>app-i18n/man-pages-cs-0.17-r1 is trying to remove the installed manpages from the system..

# wipe the old pages
for i in latest/man?; do for j in $i/*; do k=`basename $i`; l=`basename $j`; rm -f /usr/share/man/cs/$k/$l; done; done
rm: cannot remove `/usr/share/man/cs/man1/ar.1&apos;: Permission denied
rm: cannot remove `/usr/share/man/cs/man1/at.1&apos;: Permission denied
rm: cannot remove `/usr/share/man/cs/man1/basename.1&apos;: Permission denied
rm: cannot remove `/usr/share/man/cs/man1/bzdiff.1&apos;: Permission denied
... and so on ...
make: *** [remove] Error 1

that&apos;s not very clever, I guess... I&apos;m using paludis and the &quot;userpriv&quot; feature or how is it called</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-06-12 14:30:40 0000</bug_when>
            <thetext>Hmm, you are right. Its in upstream&apos;s makefile. I will look at removing that bit because we should be letting $PM remove them..

Admittetly, I kinda got caught in this &apos;trivial&apos; version bump as there have been quite a few bugs with it that is associated with me not have these man pages on my system (naturally, I&apos;m not Czech ;) ) So, do you see anything else not correct with the ebuild so hopefully I don&apos;t have to fix anythign else?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@watzke.cz</who>
            <bug_when>2008-06-12 14:37:11 0000</bug_when>
            <thetext>Yeah, I noticed... it&apos;s indeed because of these messy &quot;build&quot; scripts. Maybe it would be better to write our own ones instead of using these. But fixing (or removing) this bit should be enough to get it finally working, I guess. Once it&apos;s installed, it should be fine...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-06-12 14:41:16 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Yeah, I noticed... it&apos;s indeed because of these messy &quot;build&quot; scripts. Maybe it
&gt; would be better to write our own ones instead of using these. But fixing (or
&gt; removing) this bit should be enough to get it finally working, I guess. Once
&gt; it&apos;s installed, it should be fine...
&gt; 

Ok, I won&apos;t get to it until tonight because I am at work so feel free to hack away if you want. ;)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@watzke.cz</who>
            <bug_when>2008-06-12 14:55:32 0000</bug_when>
            <thetext>Created an attachment (id=156505)
ebuild patch to fix this bug

Ok, here comes the fix... we only need to run make latest, possible compression (make gz) is done by the PM.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-06-12 22:17:24 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; Created an attachment (id=156505) [edit]
&gt; ebuild patch to fix this bug
&gt; 
&gt; Ok, here comes the fix... we only need to run make latest, possible compression
&gt; (make gz) is done by the PM.
&gt; 

Great. Thanks. Fixed in CVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>156505</attachid>
            <date>2008-06-12 14:55 0000</date>
            <desc>ebuild patch to fix this bug</desc>
            <filename>man-pages-cs-0.17-dont-wipe-old.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1hbi1wYWdlcy1jcy0wLjE3LXIxLmVidWlsZAkyMDA4LTA2LTExIDA3OjA1OjMzLjAwMDAw
MDAwMCArMDIwMAorKysgbWFuLXBhZ2VzLWNzLTAuMTctcjIuZWJ1aWxkCTIwMDgtMDYtMTIgMTY6
NTA6NDEuMDAwMDAwMDAwICswMjAwCkBAIC0xNywxMiArMTcsMTEgQEAKIFM9IiR7V09SS0RJUn0v
JHtQfS4ke01ZX1BWfSIgI25vdCBzdXJlIGlmIHRoaXMgaXMgdGhlIGJlc3QgYXBwcm9hY2guCiAK
IHNyY19jb21waWxlKCkgewotCW1ha2UgbGF0ZXN0IHx8IGRpZSAibWFrZSBsYXRlc3QgZmFpbGVk
IgotCW1ha2UgREVTVERJUj0iJHtEfSIgfHwgZGllICJtYWtlIERFU1RESVIgZmFpbGVkIgorCW1h
a2UgREVTVERJUj0iJHtEfSIgbGF0ZXN0IHx8IGRpZSAibWFrZSBsYXRlc3QgZmFpbGVkIgogfQog
CiBzcmNfaW5zdGFsbCgpIHsKLQllbWFrZSBpbnN0YWxsIERFU1RESVI9IiR7RH0iIHx8IGRpZQor
CWVtYWtlIERFU1RESVI9IiR7RH0iIGluc3RhbGwgfHwgZGllCiAJI21ha2UgTUFORElSPSIke0R9
Ii91c3Ivc2hhcmUvbWFuL2NzIGluc3RhbGwgfHwgZGllCiAJZG9kb2MgQ09OVFJJQiBSRUFETUUq
CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>