Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10078 - grepmail build fails
Summary: grepmail build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-01 23:58 UTC by Ivan Raikov
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Raikov 2002-11-01 23:58:06 UTC
>>> emerge (1 of 1) net-mail/grepmail-4.70-r1 to /
>>> md5 ;-) grepmail-4.70.tar.gz
>>> Unpacking source...
>>> Unpacking grepmail-4.70.tar.gz
>>> Source unpacked.
Do you want to install the Mail::Folder::FastReader module? This
module was written to help speed up grepmail's mailbox processing. It
can speed things up by 10-20%
=> [y] Checking if your kit is complete...
Looks good
Warning: prerequisite Date::Parse failed to load: Can't locate Date/Parse.pm in
@INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl .) at (eval 4) line 3.
WARNING from evaluation of
/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader/Makefile.PL:
Can't locate Inline/MakeMaker.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl .) at (eval 21) line 1.
BEGIN failed--compilation aborted at (eval 21) line 1.
Writing Makefile for grepmail
make[1]: Entering directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
make: *** [subdirs] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function perl-module_src_compile, Line 10, Exitcode 2
!!! compilation failed

make[1]: Entering directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
make: *** [subdirs] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4719, Exitcode 2
!!! (no error message)
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2002-11-05 10:05:51 UTC
emerge rsync
emerge ExtUtils-MakeMaker (even if a search says you have the latest version, 
this is just to be safe)

then 
emerge dev-perl/Inline dev-perl/TimeDate dev-perl/DateManip dev-perl/Digest-MD5 
dev-perl/Parse-RecDescent

Even if your system is running the latest version of MakeMaker, the first 
emerge is just to be safe. It appears from the output you pasted that somewhere 
along the line the fix didn't get loaded before the rest of the modules were 
installed, so it would be safer to re-emerge them and confirm that they get to 
the right place. Start with dev-perl/Digest-MD5 if you want - you should see 
right away from the emerge output whether it goes into /usr/lib/perl5/blah 
or /usr/lib/ and will be a good indicator if everything is in order. If this 
continues to give you problems, let me know and we can go through a more 
rigirous solution. If it does work, let me know too =:)
Comment 2 Ivan Raikov 2002-11-05 10:31:13 UTC
Hello,

   Thanks for the response. I followed your suggestions, but unfortunately,
grepmail still fails to build, this time the problem appears to be in the build
of module Mail::Folder::FastReader. Below is the output from emerge grepmail
(after rsyncing and after I've emerged MakeMaker and all the other stuff). Oh,
and Digest-MD5 does get installed into /usr/lib/perl5.

# emerge grepmail
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/grepmail-4.70-r1 to /
>>> md5 ;-) grepmail-4.70.tar.gz
>>> Unpacking source...
>>> Unpacking grepmail-4.70.tar.gz
>>> Source unpacked.
Do you want to install the Mail::Folder::FastReader module? This
module was written to help speed up grepmail's mailbox processing. It
can speed things up by 10-20%
=> [y] Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::Folder::FastReader
Writing Makefile for grepmail
make[1]: Entering directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
cp FastReader.pm ../blib/lib/Mail/Folder/FastReader.pm
/usr/bin/perl -Mblib -MInline=_INSTALL_ -MMail::Folder::FastReader -e1 0.10
../blib/arch
Using /var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader/../blib
Manifying ../blib/man3/Mail::Folder::FastReader.3pm
make[1]: Leaving directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
cp grepmail blib/script/grepmail
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/grepmail
Manifying blib/man1/grepmail.1
make[1]: Entering directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
make[1]: Leaving directory
`/var/tmp/portage/grepmail-4.70-r1/work/grepmail-4.70/FastReader'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/ar 
ch')" t/*.t
t/functionality.....NOK 71cat: write error: Broken pipe                      
t/functionality.....NOK 72cat: write error: Broken pipe                      
t/functionality.....NOK 77cat: write error: Broken pipe                      
t/functionality.....FAILED tests 58-82, 84-114                               
        Failed 56/114 tests, 50.88% okay (-2 skipped tests: 56 okay, 49.12%)
Failed Test       Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/functionality.t                    114   56  49.12%  58-82, 84-114
2 subtests skipped.
Failed 1/1 test scripts, 0.00% okay. 56/114 subtests failed, 50.88% okay.
make: *** [test_dynamic] Error 29

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4718, Exitcode 2
!!! (no error message)
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-11-05 10:50:21 UTC
Ivan,

     At least it's progress :)
     OK, will start hacking on this now. Thanks for your patience,

Mike
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2002-11-05 11:39:27 UTC
Ivan - found it. The ebuild was calling the test module from the compile 
portion, which was conflicting with the perl-module.eclass' own test section, 
hence the errors. I've commited an -r2, should hit the mirrors shortly and 
solve your problems.

Once you get it, please test/install/test and let me know if this is good for 
you (so we can close this out). Thanks,

Mike
Comment 5 Ivan Raikov 2002-11-06 10:41:03 UTC
Everything appears to be working now. Thanks for fixing it.