Gentoo Archives: gentoo-perl

From: Davide Angelocola <davide.angelocola@×××××××.it>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] www-server/mod_perl-2.0.3 ebuild
Date: Tue, 06 Feb 2007 23:04:06
Message-Id: 200702070003.38219.davide.angelocola@tiscali.it
In Reply to: Re: [gentoo-perl] www-server/mod_perl-2.0.3 ebuild by Michael Cummings
On Tuesday 06 February 2007 20:28:55 Michael Cummings wrote:
> Davide Angelocola wrote: > <snip> > > > That is ok. However I think that "die" should be better than "exit" > > here in order to avoid the error "Can't open ...". > > Except wouldn't exit just exit the sub...? (bash is so much fun) Did you > test this locally (probably not, I know :)?
I've also a patch (attached) that produces the following output: # emerge mod_perl
>>> Emerging (1 of 1) www-apache/mod_perl-2.0.3 to /
* mod_perl-2.0.3.tar.gz MD5 ;-) ... [ ok ] * mod_perl-2.0.3.tar.gz RMD160 ;-) ... [ ok ] * mod_perl-2.0.3.tar.gz SHA1 ;-) ... [ ok ] * mod_perl-2.0.3.tar.gz SHA256 ;-) ... [ ok ] * mod_perl-2.0.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mod_perl-2.0.3.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
* You cannot build mod_perl on a threaded apache * with an unthreaded perl. You must either emerge * perl with ithreads in your USE flags, or emerge * apache without threading support !!! ERROR: www-apache/mod_perl-2.0.3 failed. Call stack: ebuild.sh, line 1613: Called dyn_unpack ebuild.sh, line 750: Called qa_call 'src_unpack' environment, line 3600: Called src_unpack mod_perl-2.0.3.ebuild, line 38: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/www-apache/mod_perl-2.0.3/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/portage/dfa-overlay' PS the subject is wrong: it should be www-apache/mod-perl. Sorry :-) -- Best Regards, -- Davide Angelocola

Attachments

File name MIME type
die.diff text/x-diff