You are not logged in.

#1 2011-05-31 11:32:10

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Abiword fails to build

Hi all, first off let me apologise if this isn't the way to do this - it's my first post here (I'm not even a lurker yikes).

Quick background on this (no judgment please) - I'm building my Arch system "from scratch", compiling everything (except the base install) using the ABS to take advantage of native cflags for my netbook. I've got everything installed and working that I feel I need, except Abiword (and an audio player, but I haven't settled on one yet tongue)

Anyway, I've tried to build Abiword many times, but it keeps on failing, up to the version that made it onto ABS 2 days ago. Now, I'm not sure how to report these faults, and what information I should be posting. This is my first venture into Arch, and it's been 95% sucessful. I'm keen to learn, so if you can let me know what information I need to post on here, I'll post it up tonight and hopefully you can help?

This is assuming that I'm the only one having these issues, and it's not a problem with the package (it's been like it for a couple of weeks). I'm using "ordinary" cflags i.e. "-march=native -mfpmath=sse -fomit-frame-pointer -O2 -pipe", so it's not failing due to that. I can't remember the exact error message before the build bails out, I think it's something like about an "unspecified option". I found it in the Makefile of the src, but removing it didn't help, as a subsequent makepkg seems to re-unpack the source as the option "magically" reappears.

Anyway, please let me know what I need to post here to enable you to help me smile

Last edited by chemicalfan (2011-05-31 14:01:01)

Offline

#2 2011-05-31 12:01:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Abiword fails to build

You need the exact error message. And then google it.

Offline

#3 2011-05-31 12:13:14

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

As in, what 'make' kicks out right at the end?

Offline

#4 2011-05-31 12:47:08

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Abiword fails to build

Yeah, but look for the *first* failing "ERROR" (as opposed to just a warning). You want *that* error, not any of the subsequent errors that are simply caused by the first error.

Offline

#5 2011-05-31 13:58:50

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

Cool, thanks for your help smile

Offline

#6 2011-05-31 21:49:59

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

Ok, Google has come up trumps! My error was "g++: error: unrecognised option '--no-undefined', displayed whilst linking. Google reveals a bug introduced with GCC 4.6.0 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46410). Not technically a bug, as it appears it was intentional, so the build needs to be changed I think. So, what do I do now?

Offline

#7 2011-06-01 08:48:27

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

Right, I'm still learning here - the bug has been reported upstream & patched (http://bugzilla.abisource.com/show_bug.cgi?id=13066), how do I contact the maintaner of the ABS package to get this patch included in the PKGBUILD?

Offline

#8 2011-06-01 08:53:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Abiword fails to build

chemicalfan wrote:

Right, I'm still learning here - the bug has been reported upstream & patched (http://bugzilla.abisource.com/show_bug.cgi?id=13066), how do I contact the maintaner of the ABS package to get this patch included in the PKGBUILD?

ABS gets updated PKGBUILDs when they're used to build the official packages. abiword hasn't changed in months so you need to wait for the rebuild.
The latest stable release is version 2.8.6 - which is in the repos. You can post to the ML to ask for a rebuild.

Last edited by karol (2011-06-01 08:55:05)

Offline

#9 2011-06-01 09:29:32

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

Hmm, I guess this is where the AUR comes in? Except there isn't a patched one on there yet (and it's been 2-3 weeks since that patch came out).

Am I gonna get anywhere badgering the Abiword guys for a rebuild? After all, I'm just a small fry, who am I to influence their release cycle??

Offline

#10 2011-06-01 09:37:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Abiword fails to build

chemicalfan wrote:

Hmm, I guess this is where the AUR comes in? Except there isn't a patched one on there yet (and it's been 2-3 weeks since that patch came out).

Am I gonna get anywhere badgering the Abiword guys for a rebuild? After all, I'm just a small fry, who am I to influence their release cycle??

I don't see abiword in the todo list so you can ask when is the rebuild planned. You may be stuck with abs + some patch for a while.

Offline

#11 2011-06-01 10:20:39

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

I'm guessing it'll be once the Abiword dev team release a new version - I'm impatient and can't wait that long, so I'll just patch mine in the mean time.

Thanks for your help smile

Offline

#12 2011-06-01 10:44:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Abiword fails to build

chemicalfan wrote:

I'm guessing it'll be once the Abiword dev team release a new version - I'm impatient and can't wait that long, so I'll just patch mine in the mean time.

Thanks for your help smile

Thanks for the heads-up :-)
We have a page in our wiki https://wiki.archlinux.org/index.php/Abiword where you can put the info about gcc 4.6 "bug" and patch.

Offline

#13 2011-06-02 09:28:50

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: Abiword fails to build

Doh, I can't sign up for a wiki account as I'm not on a Linux machine at the moment (can't give the "date -u ....." function result). I won't be for a few days - any chance someone else can just put a link to this thread on it, and I'll expand on it at the weekend?

Offline

#14 2011-06-02 09:39:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Abiword fails to build

chemicalfan wrote:

any chance someone else can just put a link to this thread on it, and I'll expand on it at the weekend?

Done.

Offline

Board footer

Powered by FluxBB