Re: Build Failure: webkit-gtk2

2015-01-13 Thread Christoph Moench-Tegeder
## Per olof Ljungmark (p...@intersonic.se):
  
CXXLDlibWTF.la
CXXLDPrograms/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

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Build Failure: webkit-gtk2

2015-01-13 Thread Koop Mast


On 13-1-2015 22:13, Christoph Moench-Tegeder wrote:

## Per olof Ljungmark (p...@intersonic.se):

   CXXLDlibWTF.la
   CXXLDPrograms/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



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Build Failure: webkit-gtk2

2015-01-13 Thread Kurt Jaeger
Hi!

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

Because we can (most of the time), and sometimes it helps. And sometimes
we detect broken things 8-}

If a port needs a specific version of ar, can't that be made part
of the build ?

-- 
p...@opsec.eu+49 171 3101372 5 years to go !
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Build Failure: webkit-gtk2

2015-01-13 Thread Christoph Moench-Tegeder
## Koop Mast (k...@rainbow-runner.nl):

 Hardcoding AR=/usr/bin/ar isn't a fix I like.

Well, webkit-gtk (and www/chromium earlier, we have the same problem/fix
there) use base system's ld (that's because it's called by your compiler
of-the-day) but some ar (which is found by configure). AFAIK there's
no real official way to force use of one toolchain (instead of mix and
match).

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

Because sometimes we like to use the things we installed in LOCALBASE :)

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Build Failure: webkit-gtk2

2015-01-12 Thread Kurt Jaeger
Hi!

 Is anyone besides me having a problem building webkit-gtk2? It fails with
 this error message:
 
   CXXLDlibWTF.la
   CXXLDPrograms/LLIntOffsetsExtractor
 /usr/bin/ld:./.libs/libWTF.a: file format not recognized; treating as linker 
 script
 /usr/bin/ld:./.libs/libWTF.a:1: syntax error

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.

-- 
p...@opsec.eu+49 171 3101372 5 years to go !
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Build Failure: webkit-gtk2

2015-01-12 Thread Jerry
FreeBSD 10.1 amd64

Is anyone besides me having a problem building webkit-gtk2? It fails with
this error message:

  CXXLDlibWTF.la
  CXXLDPrograms/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)
GNUmakefile:40539: recipe for target 'Programs/LLIntOffsetsExtractor' failed
gmake[1]: *** [Programs/LLIntOffsetsExtractor] Error 1
gmake[1]: Leaving directory '/usr/ports/www/webkit-gtk2/work/webkitgtk-2.4.8'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/webkit-gtk2


The entire build log is available here:

http://seibercom.net/logs/webkit-gtk2.txt

-- 
Jerry


pgplEVY8xFx80.pgp
Description: OpenPGP digital signature


Re: Build Failure: webkit-gtk2

2015-01-12 Thread Dave Horsfall
On Mon, 12 Jan 2015, Kurt Jaeger wrote:

 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.

Only temporarily, I would hope...

-- 
Dave Horsfall DTM (VK2KFU)  Bliss is a MacBook with a FreeBSD server.
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Build Failure: webkit-gtk2

2015-01-12 Thread Per olof Ljungmark
On 2015-01-12 15:02, Jerry wrote:
 FreeBSD 10.1 amd64
 
 Is anyone besides me having a problem building webkit-gtk2? It fails with
 this error message:
 
   CXXLDlibWTF.la
   CXXLDPrograms/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)
 GNUmakefile:40539: recipe for target 'Programs/LLIntOffsetsExtractor' failed
 gmake[1]: *** [Programs/LLIntOffsetsExtractor] Error 1
 gmake[1]: Leaving directory '/usr/ports/www/webkit-gtk2/work/webkitgtk-2.4.8'
 *** Error code 1
 
 Stop.
 make: stopped in /usr/ports/www/webkit-gtk2

There is a Bugzilla entry concerning this

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196296

However:

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.

Anyway, to reliably build webkit-gtk you must enable BOTH WEBGL and
WEBAUDIO, otherwise the build will fail.

Cheers,

//per
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Build Failure: webkit-gtk2

2015-01-12 Thread Jerry
On Mon, 12 Jan 2015 15:20:23 +0100, Kurt Jaeger stated:

 Is anyone besides me having a problem building webkit-gtk2? It fails with
 this error message:
 
   CXXLDlibWTF.la
   CXXLDPrograms/LLIntOffsetsExtractor
 /usr/bin/ld:./.libs/libWTF.a: file format not recognized; treating as
 linker script /usr/bin/ld:./.libs/libWTF.a:1: syntax error  

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.

Okay, that fixed the problem. While it may not be technically a BUG, it is a
serious annoyance never-the-less.

-- 
Jerry


pgp3eC0RpPNXr.pgp
Description: OpenPGP digital signature