1 |
Hi, |
2 |
|
3 |
Thanks for the links. |
4 |
|
5 |
|
6 |
Le Wed, 22 Oct 2008 12:09:22 +0200, |
7 |
Liviu Andronic a écrit : |
8 |
|
9 |
> I've just uploaded the two files: |
10 |
> Makefile: |
11 |
> http://s000.tinyupload.com/index.php?file_id=02299843822915416335 |
12 |
|
13 |
You probably upload the wrong file. This can't be this one. |
14 |
|
15 |
|
16 |
But I think I found the problem, and it seems to be a bug : make is |
17 |
actually failing on this line in the Makefile : |
18 |
|
19 |
> /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */ |
20 |
|
21 |
|
22 |
Can you please run the following commands to copy the ebuild to an |
23 |
overlay ( assuming /usr/local/portage is the overlay ) : |
24 |
|
25 |
# cd /usr/local/portage |
26 |
# mkdir -p app-office/abiword/files |
27 |
# cd app-office/abiword |
28 |
# cp /usr/portage/app-office/abiword/abiword/abiword-2.6.4.ebuild . |
29 |
|
30 |
Then, edit abiword.2.6.4.ebuild, and add the following src_unpack |
31 |
function : |
32 |
|
33 |
> src_unpack() { |
34 |
> unpack ${A} |
35 |
> cd "${S}" |
36 |
> |
37 |
> epatch ${FILESDIR}/fix-build.patch |
38 |
> } |
39 |
|
40 |
Download the fix-build.patch from here to /tmp/fix-build.patch : |
41 |
|
42 |
http://s000.tinyupload.com/index.php?file_id=39475871613771688451 |
43 |
|
44 |
Finally run : |
45 |
|
46 |
# cd /usr/local/portage/app-office/abiword |
47 |
# cp /tmp/fix-build.patch files/ |
48 |
# ebuild abiword.2.6.4.ebuild digest |
49 |
# emerge =abiword-2.6.4 |
50 |
|
51 |
|
52 |
If it fix the problem, you should open a bug at http://bugs.gentoo.org, |
53 |
with your emerge --info, the build log when it fails, and the patch. |