Build Failure: webkit-gtk2
kwm at rainbow-runner.nl
Tue Jan 13 21:35:02 UTC 2015
On 13-1-2015 22:13, Christoph Moench-Tegeder wrote:
> ## Per olof Ljungmark (peo at 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)
> 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?
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?
More information about the freebsd-ports