failure building www/webkit-gtk2 on 8.2-STABLE

2011-11-30 Thread William Bulley
This is a freshly csup'd ports tree as of 11/24/2011 and uname -a gives:

   FreeBSD dell 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 29 08:36:55 EDT 2011
   root@dell:/usr/obj/usr/src/sys/DELL  amd64

When I try to "make install" in www/xxxterm this is what I get:

===>   xxxterm-1.518 depends on file: /usr/local/bin/perl5.14.1 - found
===>   xxxterm-1.518 depends on file: /usr/local/bin/intltool-extract - found
===>   xxxterm-1.518 depends on executable: pkg-config - found
===>   xxxterm-1.518 depends on shared library: gnutls.47 - found
===>   xxxterm-1.518 depends on shared library: soup-2.4 - found
===>   xxxterm-1.518 depends on shared library: webkitgtk-1.0 - not found
===>Verifying install for webkitgtk-1.0 in /usr/ports/www/webkit-gtk2
===>  Building for webkit-gtk2-1.4.3
gmake  all-am
gmake[1]: Entering directory `/usr/ports/www/webkit-gtk2/work/webkit-1.4.3'
  GENWebKit-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/libpng 
-I/usr/local/include/libsoup-2.4 -I/usr/local/include/libxml2 -O2 
-fno-strict-aliasing -pipe -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/libpng -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 -c -o 
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o 
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.c
g-ir-scanner: link: /bin/sh /usr/ports/www/webkit-gtk2/work/gnome-libtool 
--mode=link --tag=CC --silent cc -o 
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0 
-export-dynamic -O2 -fno-strict-aliasing -pipe -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/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x2e8):
 undefined reference to `webkit_dom_html_media_element_get_type'
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x3c0):
 undefined reference to `webkit_dom_media_error_get_type'
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x450):
 undefined reference to `webkit_dom_time_ranges_get_type'
linking of temporary binary failed: Command '['/bin/sh', 
'/usr/ports/www/webkit-gtk2/work/gnome-libtool', '--mode=link', '--tag=CC', 
'--silent', 'cc', '-o', 
'/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0', 
'-export-dynamic', '-O2', '-fno-strict-aliasing', '-pipe', '-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/ports/www/webkit-gtk2/wor

Re: failure building www/webkit-gtk2 on 8.2-STABLE

2011-12-01 Thread William Bulley
According to Robert Bonomi  on Wed, 11/30/11 at 16:12:
> > From owner-freebsd-questi...@freebsd.org  Wed Nov 30 09:14:56 2011
> > Date: Wed, 30 Nov 2011 10:12:23 -0500
> > From: William Bulley 
> > To: freebsd-questions@freebsd.org
> > Cc: gn...@freebsd.org
> > Subject: failure building www/webkit-gtk2 on 8.2-STABLE
> >
> > This is a freshly csup'd ports tree as of 11/24/2011 and uname -a gives:
> >
> >FreeBSD dell 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 29 08:36:55 EDT 
> > 2011
> >root@dell:/usr/obj/usr/src/sys/DELL  amd64
> >
> > When I try to "make install" in www/xxxterm this is what I get:
> >
> > ===>   xxxterm-1.518 depends on file: /usr/local/bin/perl5.14.1 - found
> > ===>   xxxterm-1.518 depends on file: /usr/local/bin/intltool-extract - 
> > found
> > ===>   xxxterm-1.518 depends on executable: pkg-config - found
> > ===>   xxxterm-1.518 depends on shared library: gnutls.47 - found
> > ===>   xxxterm-1.518 depends on shared library: soup-2.4 - found
> > ===>   xxxterm-1.518 depends on shared library: webkitgtk-1.0 - not found
> 
> *THIS* 'not found' indicates the linking (at least) of the exuecutable will 
> probably fail.

Thanks for the reply.  This knowledge is not all that useful.  The process of
making this port will, of course, make all dependencies of this port.  By not
finding that item forces the installation of www/webkit-gtk2 below.  This is
not an error.

> > ===>Verifying install for webkitgtk-1.0 in /usr/ports/www/webkit-gtk2
> > ===>  Building for webkit-gtk2-1.4.3
> > gmake  all-am
> > gmake[1]: Entering directory `/usr/ports/www/webkit-gtk2/work/webkit-1.4.3'
> >   GENWebKit-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 ';'
> 
> _these_ errors may be a separate issue   They indicate an incompatibility
> between the code and the -compiler- being used.  This could be an artifact
> of other errors, like the one implied below, or they could be from unrelated
> causes.   Eliminate the other errors, and see if this remains.

The port maintainers are responsible for assuring the compiler matches the
code, and that the code compiles with that compiler.  This is clearly an
error, but one that I have no idea how to fix.

> > Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: 
> > symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 
> > 'WEBKITGTK_API_VERSION'
> 
> This is "probably" directly related to the 'not found' error above.

Not so sure about that.  But again, how is this (and other errors) to be
fixed?  Why don't the port maintainers respond to this thread?

> > /usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x2e8):
> >  undefined reference to `webkit_dom_html_media_element_get_type'
> > /usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x3c0):
> >  undefined reference to `webkit_dom_media_error_get_type'
> > /usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x450):
> >  undefined reference to `webkit_dom_time_ranges_get_type'
> 
> as are all these.

Again, not so sure about that.

> > Can anyone tell me what is going on here and how I can correct it?
> > Can it be that this port does not build correctly on AMD hardware?

Again, thanks for the reply, but it doesn't get me all that much closer
to getting this port built.  Anyone else have any ideas or pointers?

Regards,

web...

-- 
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: failure building www/webkit-gtk2 on 8.2-STABLE

2011-12-02 Thread Koop Mast

On 1-12-2011 14:23, William Bulley wrote:

According to Robert Bonomi  on Wed, 11/30/11 at 16:12:

 From owner-freebsd-questi...@freebsd.org  Wed Nov 30 09:14:56 2011
Date: Wed, 30 Nov 2011 10:12:23 -0500
From: William Bulley
To: freebsd-questions@freebsd.org
Cc: gn...@freebsd.org
Subject: failure building www/webkit-gtk2 on 8.2-STABLE

This is a freshly csup'd ports tree as of 11/24/2011 and uname -a gives:

FreeBSD dell 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 29 08:36:55 EDT 2011
root@dell:/usr/obj/usr/src/sys/DELL  amd64

When I try to "make install" in www/xxxterm this is what I get:

===>xxxterm-1.518 depends on file: /usr/local/bin/perl5.14.1 - found
===>xxxterm-1.518 depends on file: /usr/local/bin/intltool-extract - found
===>xxxterm-1.518 depends on executable: pkg-config - found
===>xxxterm-1.518 depends on shared library: gnutls.47 - found
===>xxxterm-1.518 depends on shared library: soup-2.4 - found
===>xxxterm-1.518 depends on shared library: webkitgtk-1.0 - not found

*THIS* 'not found' indicates the linking (at least) of the exuecutable will
probably fail.

Thanks for the reply.  This knowledge is not all that useful.  The process of
making this port will, of course, make all dependencies of this port.  By not
finding that item forces the installation of www/webkit-gtk2 below.  This is
not an error.


===> Verifying install for webkitgtk-1.0 in /usr/ports/www/webkit-gtk2
===>   Building for webkit-gtk2-1.4.3
gmake  all-am
gmake[1]: Entering directory `/usr/ports/www/webkit-gtk2/work/webkit-1.4.3'
   GENWebKit-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 
';'

_these_ errors may be a separate issue   They indicate an incompatibility
between the code and the -compiler- being used.  This could be an artifact
of other errors, like the one implied below, or they could be from unrelated
causes.   Eliminate the other errors, and see if this remains.

The port maintainers are responsible for assuring the compiler matches the
code, and that the code compiles with that compiler.  This is clearly an
error, but one that I have no idea how to fix.


Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: 
symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 
'WEBKITGTK_API_VERSION'

This is "probably" directly related to the 'not found' error above.

Not so sure about that.  But again, how is this (and other errors) to be
fixed?  Why don't the port maintainers respond to this thread?


/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x2e8):
 undefined reference to `webkit_dom_html_media_element_get_type'
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x3c0):
 undefined reference to `webkit_dom_media_error_get_type'
/usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x450):
 undefined reference to `webkit_dom_time_ranges_get_type'

as are all these.

Again, not so sure about that.


Can anyone tell me what is going on here and how I can correct it?
Can it be that this port does not build correctly on AMD hardware?

Again, thanks for the reply, but it doesn't get me all that much closer
to getting this port built.  Anyone else have any ideas or pointers?

Regards,

web...



Can you check if you got the video option selected? "make config" if you 
haven't, please select it and do a "make clean"  before trying to build it.


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


Re: failure building www/webkit-gtk2 on 8.2-STABLE

2011-12-02 Thread William Bulley
According to Koop Mast  on Fri, 12/02/11 at 07:03:
> 
> Can you check if you got the video option selected? "make config" if you 
> haven't, please select it and do a "make clean"  before trying to build it.

Excellent advice!!!  Thank you very much!  Looks like -questions comes
through again.  You folks are wonderful.   :-)

Now for some questions and issues to resolve this once and for all.

How could I have possibly known that this option (WITH_VIDEO=yes) was
required?  I looked back at when I last built www/webkit-gtk2 and that
was here:

   -rw-r--r--  0 root   wheel 215 Jan 19  2010 webkit/options

In that file I found:

   WITHOUT_VIDEO=yes

So about a year ago www/webkit-gtk2 built just fine WITHOUT the video
option.  What changed?  I checked and there is no match (using grep) in
the /usr/ports/UPDATING file (whose first entry dates from 20080108):

   % grep -i webkit /usr/ports/UPDATING
   % 

So I wouldn't have found anything there.  I see in the Makefile that
WITH_VIDEO has a default of "on".  That must not have been the case a
year ago.  Should I blame the www/xxxterm for having a dependency on
www/webkit-gtk2?  During the attempted build of www/xxxterm I was not
asked for any options for www/webkit-gtk2 since I had a previous file
/var/db/ports/webkit/options from back about a year ago.  This is now
a moot point, since the port did build correctly with this change
(thanks again!), but for completeness sake and for my own sanity, how
would I have been able to avoid this problem?  Thanks.  :-)

Regards,

web...

-- 
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"