Solved webkit2-gtk3 build issue

I've been trying to update this port for the better part of a week now and not getting anywhere. I haven't seen anything posted, but its happening to me on multiple boxes.

Before I file a PR, is anyone else having issues building www/webkit2-gtk3?

Seems to break at:
Code:
/usr/local/bin/ranlib ../../lib/libANGLESupport.a
gmake[4]: Leaving directory '/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.14.7'
[  3%] Built target ANGLESupport
gmake[3]: Leaving directory '/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.14.7'
gmake[2]: *** [Makefile:155: all] Error 2
gmake[2]: Leaving directory '/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.14.7'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/webkit2-gtk3
*** Error code 1

Stop.

I've tried:

1. MAKE_JOBS_UNSAFE=yes
Code:
/usr/bin/ld:../../lib/libWTFGTK.a: file format not recognized; treating as linker script
/usr/bin/ld:../../lib/libWTFGTK.a:1: syntax error
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:142: bin/LLIntOffsetsExtractor] Error 1
gmake[4]: Leaving directory '/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.14.7'
gmake[3]: *** [CMakeFiles/Makefile2:481: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
gmake[3]: Leaving directory '/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.14.7'
gmake[2]: *** [Makefile:155: all] Error 2
gmake[2]: Leaving directory '/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.14.7'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/webkit2-gtk3
*** Error code 1

Stop.
make: stopped in /usr/ports/www/webkit2-gtk3

2. Rebuilding all dependencies along with the port itself: portmaster -fRwebkit2-gtk3

3. Entertained the idea that it may be clang related and added
Code:
USE_GCC=any

to the Makefile with and without unsafe jobs without any progress.

At this point, I'm just a monkey flinging poo. Since it's a dependency for www/firefox, I'm kinda in a bind.

Before I forget, make.conf is pretty vanilla:
Code:
OPTIONS_UNSET=DOCS EXAMPLES 
DEFAULT_VERSIONS+= perl5=5.24 
DEFAULT_VERSIONS+=ssl=openssl 
DISABLE_VULNERABILITIES= YES

Yes, I realize DISABLE_VULNERABILITIES is not ideal, and yes, I could use packages. Call it a practice in self abuse.
 
Back
Top