1 |
Mike Kazantsev <mk.fraggod@×××××.com> writes: |
2 |
|
3 |
> man 1 ebuild |
4 |
> ebuild /usr/portage/mail-filter/procmail configure |
5 |
> (do-some-sed-in-/var/tmp) |
6 |
> ebuild /usr/portage/mail-filter/procmail merge |
7 |
|
8 |
Many thanks for the tips... and hugely usefull. |
9 |
|
10 |
But: |
11 |
Yikes I may have jumped the gun thinking I was good to go but at least |
12 |
I now have the commands to get a little further... unfortunately the |
13 |
build breaks for a different reason now. |
14 |
|
15 |
ebuild \ |
16 |
/usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild configure |
17 |
|
18 |
cd to source: |
19 |
/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22 |
20 |
|
21 |
sed -i -e 's/getline/get_line/g' src/*.c src/*.h |
22 |
|
23 |
(all good so far) |
24 |
|
25 |
ebuild \ |
26 |
/usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild merge |
27 |
|
28 |
[...] tail of error below: |
29 |
|
30 |
Whoeaaa! There's something fishy going on here. |
31 |
You have a look and see if you detect anything uncanny: |
32 |
******************************************************* |
33 |
i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 |
34 |
cc1: error: unrecognized command line option "-fno-inline-functions2" |
35 |
:::: |
36 |
cc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 |
37 |
cc1: error: unrecognized command line option "-fno-inline-functions2" |
38 |
:::: |
39 |
gcc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 |
40 |
cc1: error: unrecognized command line option "-fno-inline-functions2" |
41 |
:::: |
42 |
******************************************************* |
43 |
I suggest you take a look at the definition of CFLAGS* and CC |
44 |
in the Makefile before you try make again. |
45 |
make[1]: *** [init] Error 1 |
46 |
make[1]: Leaving directory `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22' |
47 |
make: *** [src/Makefile] Error 2 |
48 |
* |
49 |
* ERROR: mail-filter/procmail-3.22-r10 failed. |
50 |
* Call stack: |
51 |
* ebuild.sh, line 49: Called src_compile |
52 |
* environment, line 2531: Called die |
53 |
* The specific snippet of code: |
54 |
* emake CC="$(tc-getCC)" || die |
55 |
* The die message: |
56 |
* (no error message) |