From nobody@FreeBSD.org  Mon Sep  5 05:24:17 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 92B8C106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Sep 2011 05:24:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 81DBB8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Sep 2011 05:24:17 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p855OGFu010422
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 5 Sep 2011 05:24:16 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p855OGOW010408;
	Mon, 5 Sep 2011 05:24:16 GMT
	(envelope-from nobody)
Message-Id: <201109050524.p855OGOW010408@red.freebsd.org>
Date: Mon, 5 Sep 2011 05:24:16 GMT
From: Martin Laabs <spamtrap@martinlaabs.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/webkit-gtk2 fails to build/link
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160471
>Category:       ports
>Synopsis:       www/webkit-gtk2 fails to build/link
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 05:30:00 UTC 2011
>Closed-Date:    Mon Feb 27 19:50:39 UTC 2012
>Last-Modified:  Mon Feb 27 19:50:39 UTC 2012
>Originator:     Martin Laabs
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD pc.martinlaabs.de 8.2-STABLE FreeBSD 8.2-STABLE #5: Sat Aug 27 20:11:14 CEST 2011     martin@pc.martinlaabs.de:/usr/obj/usr/src/sys/PC_KERNEL  amd64

>Description:
When building the current www/webkit-gtk2 it fails to link a file in the building process.There are also some syntax errors reported before.

Parts of the build log:

--------------:<--------------
gmake[1]: Entering directory `/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2'
  GEN    WebKit-1.0.gir
/usr/local/bin/gmkdir -p ./.deps/DerivedSources
/usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:123: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
/usr/include/machine/endian.h:130: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:130: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
g-ir-scanner: compile: cc -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/drm -I/usr/local/include/libsoup-2.4 -I/usr/local/include/libxml2 -O2 -fno-strict-aliasing -pipe -march=athlon64 -O2 -I./Source -I./Source/WebKit/gtk -I./DerivedSources -I./DerivedSources/webkit -I./Source/WebKit/gtk -I./Source/JavaScriptCore/ForwardingHeaders -I. -I/usr/local/include/glib-2.0 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/libsoup-2.4 -I/usr/local/include/libxml2 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local
 /include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/pixman-1 -I/usr/local/include/drm -c -o /usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.o /usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.c
g-ir-scanner: link: /bin/sh /usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/gnome-libtool --mode=link --tag=CC --silent cc -o /usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0 -export-dynamic -O2 -fno-strict-aliasing -pipe -march=athlon64 -O2 -L. -lwebkitgtk-1.0 -pthread -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 /usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.o
/usr/bin/ld: warning: libbz2.so.4, needed by /usr/local/lib/libfreetype.so, may conflict with libbz2.so.1
/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.o(.data+0x2e8): undefined reference to `webkit_dom_html_media_element_get_type'
/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.o(.data+0x3c0): undefined reference to `webkit_dom_media_error_get_type'
/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.o(.data+0x450): undefined reference to `webkit_dom_time_ranges_get_type'
linking of temporary binary failed: Command '['/bin/sh', '/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/gnome-libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0', '-export-dynamic', '-O2', '-fno-strict-aliasing', '-pipe', '-march=athlon64', '-O2', '-L.', '-lwebkitgtk-1.0', '-pthread', '-L/usr/local/lib', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-latk-1.0', '-lpangocairo-1.0', '-lXext', '-lXrender', '-lXinerama', '-lXi', '-lXrandr', '-lXcursor', '-lXcomposite', '-lXdamage', '-lgdk_pixbuf-2.0', '-lpangoft2-1.0', '-lXfixes', '-lcairo', '-lX11', '-lpango-1.0', '-lm', '-lfreetype', '-lfontconfig', '-lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lglib-2.0', '/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2/tmp-introspectCtP6Li/WebKit-1.0.o']' returned non-zero exit status 1
gmake[1]: *** [WebKit-1.0.gir] Error 1
gmake[1]: Leaving directory `/usr/tmp/portbuild/usr/ports/www/webkit-gtk2/work/webkit-1.4.2'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/www/webkit-gtk2.
*** Error code 1
------------------------:<-----------------------

>How-To-Repeat:
cd /usr/ports/www/webkit-gtk2
make clean
make

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 5 05:30:17 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160471 

From: Martin Laabs <info@martinlaabs.de>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc: Martin Laabs <spamtrap@martinlaabs.de>
Subject: Re: ports/160471: www/webkit-gtk2 fails to build/link
Date: Thu, 08 Sep 2011 18:38:48 +0200

 Hello,
 
 found a fix for the problem in:
 
 http://forums.freebsd.org/showthread.php?t=25970
 
 run "make config" and enable the "video" option.
 
 Greetings,
   Martin L.
 
 On 05.09.2011 07:30, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/160471'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs.
 >
 > You can access the state of your problem report at any time
 > via this link:
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=160471
 >
 >> Category:       ports
 >> Responsible:    freebsd-ports-bugs
 >> Synopsis:       www/webkit-gtk2 fails to build/link
 >> Arrival-Date:   Mon Sep 05 05:30:00 UTC 2011
 >
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160471: commit references a PR
Date: Mon, 27 Feb 2012 19:49:14 +0000 (UTC)

 kwm         2012-02-27 19:49:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/webkit-gtk2      Makefile 
   Log:
   Remove the video option, webkit no longer builds without it.
   
   PR:             ports/160268 [1], ports/160471 [2]
   Reported by:    paul@thistledew.org [1], Martin Laabs <spamtrap@martinlaabs.de> [2]
   
   Revision  Changes    Path
   1.45      +2 -10     ports/www/webkit-gtk2/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: kwm 
State-Changed-When: Mon Feb 27 19:50:27 UTC 2012 
State-Changed-Why:  
Fix committed, thanks for reporting. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160471 
>Unformatted:
