First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 31365
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ilya Volynets <ilya@total-knowledge.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
razor-2.36-r1_Makefile.patch comments out install-razor-agents rule in Makefile patch gatto 2003-12-20 18:41 0000 292 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 31365 depends on: Show dependency tree
Show dependency graph
Bug 31365 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-10-17 11:01 0000
When emerging net-mail/razor-2.36-r1 final install step fails with error
"unable to find [bunch of Razor2 modules] in @INC". 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.

------- Comment #1 From Ilya Volynets 2003-10-17 11:14:58 0000 -------
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'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)

------- Comment #2 From Martin Diers 2003-10-23 09:47:50 0000 -------
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

------- Comment #3 From Dewet Diener 2003-10-23 13:54:28 0000 -------
Confirmed problem and hack to overcome the problem.  However, I noticed the
following upon installing the first time:

[..snip..]
>>> 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'
make[1]: Leaving directory
`/mp3/portage/portage/razor-2.36/work/razor-agents-2.36/Razor2-Preproc-deHTMLxs'
cp bin/razor-client blib/script/razor-client
[..snip..]

It finished properly, after which I installed -r1.

------- Comment #4 From Stephane Loeuillet 2003-11-23 06:12:13 0000 -------
got it too with perl 5.8.2, razor 2.36-r1 but i don't have any complain at
"unpack" (patching) time. it only breaks after compilation, at install time.

------- Comment #5 From gatto 2003-12-20 18:41:51 0000 -------
Created an attachment (id=22511) [edit]
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.

------- Comment #6 From Rene Androsch 2004-01-03 08:01:33 0000 -------
I also ran into this problem, so I also did it in this way:

ACCEPT_KEYWORDS="~x86" emerge -qD "<razor-2.36-r1"
followed by
ACCEPT_KEYWORDS="~x86" emerge -qD razor

and now it seems to work.
Maybe somebody could create a -r2 release, which fixes that!

------- Comment #7 From Donovan Long 2004-01-13 02:33:23 0000 -------
env ACCEPT_KEYWORDS="~x86" emerge -qD "<razor-2.36-r1"&&env
ACCEPT_KEYWORDS="~x86" emerge -qD razor

Can confirm this works here as well.

------- Comment #8 From SpanKY 2004-01-20 16:53:32 0000 -------
fixed in cvs with the given patch, thanks

------- Comment #9 From SpanKY 2004-01-22 21:44:48 0000 -------
*** Bug 39104 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug