Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 22:34:59 +0100
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>,  FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Build Failure: webkit-gtk2
Message-ID:  <54B58F83.4080003@rainbow-runner.nl>
In-Reply-To: <20150113211309.GA1478@elch.exwg.net>
References:  <20150112090212.2efaa349@scorpio> <54B42D38.6010109@intersonic.se> <20150113211309.GA1478@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-1-2015 22:13, Christoph Moench-Tegeder wrote:
> ## Per olof Ljungmark (peo@intersonic.se):
>>>    CXXLD    libWTF.la
>>>    CXXLD    Programs/LLIntOffsetsExtractor
>>> /usr/bin/ld:./.libs/libWTF.a: file format not recognized; treating as linker script
>>> /usr/bin/ld:./.libs/libWTF.a:1: syntax error
>>> c++: error: linker command failed with exit code 1 (use -v to see invocation)
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196296
> That, and the related/duplicate 196333 and 195500 (webkit-gtk3).
>
>> Due to a maintenance issue, changes to bugs between 2015-01-07 and
>> 2015-01-10 were lost. Please resubmit any updates as appropriate. We
>> apologize for the inconvenience.
> Great for those who do not check bugzilla on a daily basis :)
>
>> Anyway, to reliably build webkit-gtk you must enable BOTH WEBGL and
>> WEBAUDIO, otherwise the build will fail.
> Those options are gone with the update to webkit-gtk 2.4.8 (in both
> the -gtk2 and the -gtk3 port).
> There had been two problems, one related to GNU ar and the other one
> when building with non-default OPTIONS. The latter one has been resolved
> in r376609, the former one has not been fixed yet - despite rather
> distinct error messages, the problems have been mixed up in the PRs.
>
> Is any gnome@ committer around to commit the rest of the fixes?
>
> Regards,
> Christoph

That would be me.
Hardcoding AR=/usr/bin/ar isn't a fix I like. Like Kurt mentioned earlier:
----

The webkit-gtk2 build fails if the ports 'ar' is found before the system 'ar'.
Check $PATH and put /usr/bin before /usr/local/bin.
-----

What I would like to know is why people are changing PATH?

-Koop






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B58F83.4080003>