<?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>31365</bug_id>
          
          <creation_ts>2003-10-17 11:01 0000</creation_ts>
          <short_desc>net-mail/razor-2.36-r1 ebuild fails install step</short_desc>
          <delta_ts>2004-01-22 21:44:48 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>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ilya@total-knowledge.com</reporter>
          <assigned_to>net-mail@gentoo.org</assigned_to>
          <cc>gentoo-bugs@wurzelbenutzer.de</cc>
    
    <cc>lambej@rpi.edu</cc>
    
    <cc>leroutier@gmail.com</cc>
    
    <cc>net-mail@gentoo.org</cc>
    
    <cc>poobar@nycap.rr.com</cc>

      

      
          <long_desc isprivate="0">
            <who>ilya@total-knowledge.com</who>
            <bug_when>2003-10-17 11:01:53 0000</bug_when>
            <thetext>When emerging net-mail/razor-2.36-r1 final install step fails with error
&quot;unable to find [bunch of Razor2 modules] in @INC&quot;. Apparently reason is that
before final merge, modules are installed into /var/tmp/portage/.../, which is
not in @INC.

Reproducible: Always
Steps to Reproduce:
1. emerge /usr/portage/net-mail/razor/razor-2.36-r1.ebuild




I think adding image directory to @INC for duration of ebuild should be done
(probably for all perl modules). As a workaround, I installed razor-agints by
hand, and then rerun emerge - it seems it worked just fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ilya@total-knowledge.com</who>
            <bug_when>2003-10-17 11:14:58 0000</bug_when>
            <thetext>Here are few last lines from ebuild:

Installing /var/tmp/portage/razor-2.36-r1/image/usr/bin/razor-client
Writing
/var/tmp/portage/razor-2.36-r1/image//usr/lib/perl5/vendor_perl/5.8.0/alphaev6-linux/auto/razor-agents/.packlist
Appending installation info to
/var/tmp/portage/razor-2.36-r1/image//usr/lib/perl5/vendor_perl/5.8.0/perllocal.pod
blib/script/razor-client
Can&apos;t locate Razor2/Preproc/deHTMLxs.pm in @INC (@INC contains: lib /etc/perl
/usr/lib/perl5/site_perl/5.8.0/alphaev6-linux /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/alphaev6-linux
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/alphaev6-linux
/usr/lib/perl5/5.8.0 /usr/local/lib/site_perl .) at lib/Razor2/Preproc/Manager.pm
line 4.
BEGIN failed--compilation aborted at lib/Razor2/Preproc/Manager.pm line 4.
Compilation failed in require at lib/Razor2/Client/Agent.pm line 22.
BEGIN failed--compilation aborted at lib/Razor2/Client/Agent.pm line 22.
Compilation failed in require at blib/script/razor-client line 21.
BEGIN failed--compilation aborted at blib/script/razor-client line 21.
make: *** [install_razor_agents] Error 2

!!! ERROR: net-mail/razor-2.36-r1 failed.
!!! Function perl-module_src_install, Line 102, Exitcode 2
!!! (no error message)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>martin@diers.us</who>
            <bug_when>2003-10-23 09:47:50 0000</bug_when>
            <thetext>I ran into this same problem, but only on one out of two machines. It seems
the install patch is still required in certain cases. I was able to work
around the problem by first merging razor-2.36, followed by razor-2.36-r1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoobugzilla@dewet.org</who>
            <bug_when>2003-10-23 13:54:28 0000</bug_when>
            <thetext>Confirmed problem and hack to overcome the problem.  However, I noticed the
following upon installing the first time:

[..snip..]
&gt;&gt;&gt; Install razor-2.36 into /mp3/portage/portage/razor-2.36/image/ category
net-mail
patching file Makefile
Hunk #1 FAILED at 275.
Hunk #2 succeeded at 736 (offset 53 lines).
Hunk #3 FAILED at 764.
Hunk #4 FAILED at 777.
3 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
make[1]: Entering directory
`/mp3/portage/portage/razor-2.36/work/razor-agents-2.36/Razor2-Preproc-deHTMLxs&apos;
make[1]: Leaving directory
`/mp3/portage/portage/razor-2.36/work/razor-agents-2.36/Razor2-Preproc-deHTMLxs&apos;
cp bin/razor-client blib/script/razor-client
[..snip..]

It finished properly, after which I installed -r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leroutier@gmail.com</who>
            <bug_when>2003-11-23 06:12:13 0000</bug_when>
            <thetext>got it too with perl 5.8.2, razor 2.36-r1 but i don&apos;t have any complain at &quot;unpack&quot; (patching) time. it only breaks after compilation, at install time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>poobar@nycap.rr.com</who>
            <bug_when>2003-12-20 18:41:51 0000</bug_when>
            <thetext>Created an attachment (id=22511)
comments out install-razor-agents rule in Makefile

This should fix it. razor-client gets run during pkg_postint() in the
razor-2.36-r1.ebuild anyway, so this is not needed in the Makefile for us.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>art@artstower.com</who>
            <bug_when>2004-01-03 08:01:33 0000</bug_when>
            <thetext>I also ran into this problem, so I also did it in this way:

ACCEPT_KEYWORDS=&quot;~x86&quot; emerge -qD &quot;&lt;razor-2.36-r1&quot;
followed by
ACCEPT_KEYWORDS=&quot;~x86&quot; emerge -qD razor

and now it seems to work.
Maybe somebody could create a -r2 release, which fixes that!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@lucidity.ca</who>
            <bug_when>2004-01-13 02:33:23 0000</bug_when>
            <thetext>env ACCEPT_KEYWORDS=&quot;~x86&quot; emerge -qD &quot;&lt;razor-2.36-r1&quot;&amp;&amp;env ACCEPT_KEYWORDS=&quot;~x86&quot; emerge -qD razor

Can confirm this works here as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-01-20 16:53:32 0000</bug_when>
            <thetext>fixed in cvs with the given patch, thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-01-22 21:44:48 0000</bug_when>
            <thetext>*** Bug 39104 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>22511</attachid>
            <date>2003-12-20 18:41 0000</date>
            <desc>comments out install-razor-agents rule in Makefile</desc>
            <filename>razor-2.36-r1_Makefile.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHJhem9yLWFnZW50cy0yLjM2L01ha2VmaWxlLm9sZAkyMDAzLTEyLTIwIDIxOjI3OjM3LjAw
MDAwMDAwMCAtMDUwMAorKysgcmF6b3ItYWdlbnRzLTIuMzYvTWFrZWZpbGUJMjAwMy0xMi0yMCAy
MToyNzo1NS4wMDAwMDAwMDAgLTA1MDAKQEAgLTgxNiw3ICs4MTYsNyBAQAogCiAjIGJlZ2luIHJh
em9yLWFnZW50cwogaW5zdGFsbF9yYXpvcl9hZ2VudHMgOjoKLQkkKElOU1RfU0NSSVBUKS9yYXpv
ci1jbGllbnQKKyMJJChJTlNUX1NDUklQVCkvcmF6b3ItY2xpZW50CiAjIGVuZCByYXpvci1hZ2Vu
dHMKIAogCg==
</data>        

          </attachment>
    </bug>

</bugzilla>