1 |
On Tuesday 06 February 2007 20:28:55 Michael Cummings wrote: |
2 |
> Davide Angelocola wrote: |
3 |
> <snip> |
4 |
> |
5 |
> > That is ok. However I think that "die" should be better than "exit" |
6 |
> > here in order to avoid the error "Can't open ...". |
7 |
> |
8 |
> Except wouldn't exit just exit the sub...? (bash is so much fun) Did you |
9 |
> test this locally (probably not, I know :)? |
10 |
I've also a patch (attached) that produces the following output: |
11 |
# emerge mod_perl |
12 |
|
13 |
>>> Emerging (1 of 1) www-apache/mod_perl-2.0.3 to / |
14 |
* mod_perl-2.0.3.tar.gz MD5 ;-) ... [ |
15 |
ok ] |
16 |
* mod_perl-2.0.3.tar.gz RMD160 ;-) ... [ |
17 |
ok ] |
18 |
* mod_perl-2.0.3.tar.gz SHA1 ;-) ... [ |
19 |
ok ] |
20 |
* mod_perl-2.0.3.tar.gz SHA256 ;-) ... [ |
21 |
ok ] |
22 |
* mod_perl-2.0.3.tar.gz size ;-) ... [ |
23 |
ok ] |
24 |
* checking ebuild checksums ;-) ... [ |
25 |
ok ] |
26 |
* checking auxfile checksums ;-) ... [ |
27 |
ok ] |
28 |
* checking miscfile checksums ;-) ... [ |
29 |
ok ] |
30 |
* checking mod_perl-2.0.3.tar.gz ;-) ... [ |
31 |
ok ] |
32 |
>>> Unpacking source... |
33 |
* You cannot build mod_perl on a threaded apache |
34 |
* with an unthreaded perl. You must either emerge |
35 |
* perl with ithreads in your USE flags, or emerge |
36 |
* apache without threading support |
37 |
|
38 |
!!! ERROR: www-apache/mod_perl-2.0.3 failed. |
39 |
Call stack: |
40 |
ebuild.sh, line 1613: Called dyn_unpack |
41 |
ebuild.sh, line 750: Called qa_call 'src_unpack' |
42 |
environment, line 3600: Called src_unpack |
43 |
mod_perl-2.0.3.ebuild, line 38: Called die |
44 |
|
45 |
!!! (no error message) |
46 |
!!! If you need support, post the topmost build error, and the call stack if |
47 |
relevant. |
48 |
!!! A complete build log is located |
49 |
at '/var/tmp/portage/www-apache/mod_perl-2.0.3/temp/build.log'. |
50 |
|
51 |
!!! This ebuild is from an overlay: '/usr/local/portage/dfa-overlay' |
52 |
|
53 |
PS |
54 |
the subject is wrong: it should be www-apache/mod-perl. Sorry :-) |
55 |
|
56 |
-- |
57 |
Best Regards, |
58 |
-- Davide Angelocola |