Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 16:15:00 GMT
From:      Sean Bruno <sbruno@freebsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189026: clutter-gtk-0.10.8_5 fails to build
Message-ID:  <201404261615.s3QGF0SZ015404@cgiserv.freebsd.org>
Resent-Message-ID: <201404261620.s3QGK0KT059147@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189026
>Category:       ports
>Synopsis:       clutter-gtk-0.10.8_5 fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 26 16:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sean Bruno
>Release:        11-Current
>Organization:
FreeBSD Project
>Environment:
FreeBSD powernoodle.corp.yahoo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r264291M: Tue Apr 15 08:33:24 PDT 2014     sbruno@powernoodle.corp.yahoo.com:/usr/obj/usr/src/sys/POWERNOODLE  amd64

>Description:
Build failure of clutter-gtk
>How-To-Repeat:
build port
>Fix:


Patch attached with submission follows:

====>> Building graphics/clutter-gtk
build started at Sat Apr 26 08:00:26 PDT 2014
port directory: /usr/ports/graphics/clutter-gtk
building for: FreeBSD 11-amd64-default-job-06 11.0-CURRENT FreeBSD 11.0-CURRENT r264191 amd64
maintained by: gnome@FreeBSD.org
Makefile ident:      $FreeBSD: head/graphics/clutter-gtk/Makefile 351936 2014-04-23 13:25:16Z tijl $
Poudriere version: 3.1-pre
Host OSVERSION: 1100019
Jail OSVERSION: 1100017

---Begin Environment---
OSVERSION=1100017
UNAME_v=FreeBSD 11.0-CURRENT r264191
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=xterm
MASTERMNT=/usr/local/poudriere/data/build/11-amd64-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=97055
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=clutter-gtk-0.10.8_5
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/home/sbruno
MASTERNAME=11-amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--localstatedir=/usr/local/share  --with-html-dir=/usr/local/share/doc  --disable-gtk-doc  --with-gconf-source=xml:merged:/usr/local/etc/gconf/gconf.xml.defaults --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh GTKDOC="false" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include "  LDFLAGS=" -L/usr/local/lib -pthread"  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
GTK2_VERSION="2.10.0"
GTK3_VERSION="3.0.0"
DOCSDIR="share/doc/clutter-gtk"
EXAMPLESDIR="share/examples/clutter-gtk"
DATADIR="share/clutter-gtk"
WWWDIR="www/clutter-gtk"
ETCDIR="etc/clutter-gtk"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/clutter-gtk
DOCSDIR=/usr/local/share/doc/clutter-gtk
EXAMPLESDIR=/usr/local/share/examples/clutter-gtk
WWWDIR=/usr/local/www/clutter-gtk
ETCDIR=/usr/local/etc/clutter-gtk
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for clutter-gtk-0.10.8_5
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   clutter-gtk-0.10.8_5 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.7_2.txz
Installing pkg-1.2.7_2... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of clutter-gtk-0.10.8_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by clutter-gtk-0.10.8_5 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by clutter-gtk-0.10.8_5 for building
=> SHA256 Checksum OK for clutter-gtk-0.10.8.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by clutter-gtk-0.10.8_5 for building
===>  Extracting for clutter-gtk-0.10.8_5
=> SHA256 Checksum OK for clutter-gtk-0.10.8.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for clutter-gtk-0.10.8_5
===>  Applying FreeBSD patches for clutter-gtk-0.10.8_5
===========================================================================
=======================<phase: build-depends  >============================
===>   clutter-gtk-0.10.8_5 depends on executable: gmake - not found
===>    Verifying install for gmake in /usr/ports/devel/gmake
===>   Installing existing package /packages/All/gmake-3.82_1.txz
Installing gmake-3.82_1...Installing gettext-0.18.3.1... done
 done
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.5.txz
Installing pkgconf-0.9.5... done
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/glproto.pc in /usr/ports/x11/glproto
===>   Installing existing package /packages/All/glproto-1.4.17.txz
Installing glproto-1.4.17... done
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/dri2proto.pc in /usr/ports/x11/dri2proto
===>   Installing existing package /packages/All/dri2proto-2.8.txz
Installing dri2proto-2.8... done
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on file: /usr/local/libdata/pkgconfig/xp.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xp.pc in /usr/ports/x11/libXp
===>   Installing existing package /packages/All/libXp-1.0.2_2,1.txz
Installing libXp-1.0.2_2,1...Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6... done
Installing libXau-1.0.8_2...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1_2... done
Installing libxcb-1.10_2...Installing libpthread-stubs-0.3_4... done
Installing libxml2-2.8.0_5... done
 done
 done
Installing libXext-1.3.2_2,1...Installing xextproto-7.3.0... done
 done
Installing printproto-1.0.5... done
 done
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   clutter-gtk-0.10.8_5 depends on file: /usr/local/bin/intltool-extract - not found
===>    Verifying install for /usr/local/bin/intltool-extract in /usr/ports/textproc/intltool
===>   Installing existing package /packages/All/intltool-0.50.2.txz
Installing intltool-0.50.2...Installing p5-XML-Parser-2.41_1...Installing expat-2.1.0... done
Installing perl5-5.16.3_9... done
 done
 done
===>   Returning to build of clutter-gtk-0.10.8_5
===========================================================================
=======================<phase: lib-depends    >============================
===>   clutter-gtk-0.10.8_5 depends on shared library: libclutter-glx-1.0.so - not found
===>    Verifying for libclutter-glx-1.0.so in /usr/ports/graphics/clutter
===>   Installing existing package /packages/All/clutter-1.4.0_3.txz
Installing clutter-1.4.0_3...Installing atk-2.8.0...Installing glib-2.36.3_2...Installing libffi-3.0.13_1... done
Installing libiconv-1.14_3... done
Installing pcre-8.34... done
Installing python27-2.7.6_4... done
No schema files found: doing nothing.
 done
Installing gnomehier-3.0... done
 done
Installing gdk-pixbuf2-2.28.2...Installing jasper-1.900.1_14...Installing jpeg-8_4... done
 done
Installing libXi-1.7.2_2,1...Installing inputproto-2.3... done
Installing libXfixes-5.0.1_2...Installing fixesproto-5.0... done
 done
 done
Installing libXt-1.1.4_2,1...Installing libSM-1.2.2_2,1...Installing libICE-1.0.8_2,1... done
 done
 done
Installing png-1.5.18... done
Installing tiff-4.0.3_1...Installing freeglut-2.8.1_2...Installing libGLU-9.0.0...Installing libGL-9.1.7...Installing libXdamage-1.1.4_2...Installing damageproto-1.2.1... done
 done
Installing libXxf86vm-1.1.3_2...Installing xf86vidmodeproto-2.3.1... done
 done
Installing libdrm-2.4.52...Installing libpciaccess-0.13.2_2...Installing pciids-20140402... done
 done
 done
 done
 done
Installing libXrandr-1.4.2_2...Installing libXrender-0.9.8_2...Installing renderproto-0.11.1... done
 done
Installing randrproto-1.4.0... done
 done
 done
Installing jbigkit-1.6... done
Installing libXmu-1.1.2_2,1... done
 done
 done
Installing json-glib-0.14.2...Installing gobject-introspection-1.36.0_2...Installing python2-2_2... done
 done
 done
Installing libXcomposite-0.4.4_2,1...Installing compositeproto-0.4.2... done
 done
Installing pango-1.34.1_4...Installing cairo-1.10.2_10,2...Installing fontconfig-2.11.0_2,1...Installing freetype2-2.5.3_2... done
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs
/usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/db/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
 done
Installing pixman-0.32.4_2... done
Installing xcb-util-renderutil-0.3.8_2...Installing xcb-util-0.3.9_3,1... done
 done
 done
Installing encodings-1.0.4_1,1...Installing font-util-1.3.0_1... done
 done
Installing harfbuzz-0.9.25_2...Installing graphite2-1.2.4... done
Installing icu-52.1... done
 done
Installing libXft-2.3.1_2... done
Installing xorg-fonts-truetype-7.7_1...Installing dejavu-2.34_3... done
Installing font-bh-ttf-1.0.3_1...Installing mkfontdir-1.0.7...Installing mkfontscale-1.1.1_1...Installing libfontenc-1.1.2_2... done
 done
 done
 done
Installing font-misc-ethiopic-1.0.3_1... done
Installing font-misc-meltho-1.0.3_1... done
 done
 done
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====
Since FreeBSD has new USB stack, freeglut normally doesn't build on FreeBSD 8
(yet). To workaround this a small patch adds one include file and comments out
content of one function (only leaves return NULL).

This might cause side effects.  Joysticks do not work, and there might be ports
that do not compile or applications that crash because of this.

Do not hesitate to contact x11@FreeBSD.org if there are any issues and side
effects because of this.
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/lib/X11/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on shared library: libintl.so - found
===>   clutter-gtk-0.10.8_5 depends on shared library: libGL.so - found
===>   clutter-gtk-0.10.8_5 depends on shared library: libatk-1.0.so - found
===>   clutter-gtk-0.10.8_5 depends on shared library: libglib-2.0.so - found
===>   clutter-gtk-0.10.8_5 depends on shared library: libpcre.so - found
===>   clutter-gtk-0.10.8_5 depends on shared library: libgtk-x11-2.0.so - not found
===>    Verifying for libgtk-x11-2.0.so in /usr/ports/x11-toolkits/gtk20
===>   Installing existing package /packages/All/gtk2-2.24.22_2.txz
Installing gtk2-2.24.22_2...Installing cups-client-1.7.2...===> Creating users and/or groups.
Creating group 'cups' with gid '193'.
Creating user 'cups' with uid '193'.
 done
Installing gtk-update-icon-cache-2.24.22...Installing hicolor-icon-theme-0.12... done
Installing libXcursor-1.1.14_2... done
Installing libXinerama-1.1.3_2,1...Installing xineramaproto-1.2.1... done
 done
Installing shared-mime-info-1.1_1... done
 done
Installing python-2.7_1,2... done
 done
===>   Returning to build of clutter-gtk-0.10.8_5
===>   clutter-gtk-0.10.8_5 depends on shared library: libpango-1.0.so - found
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for clutter-gtk-0.10.8_5
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/configure
configure: WARNING: unrecognized options: --with-gconf-source
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking for style of include used by gmake... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking build system type... amd64-portbld-freebsd11.0
checking host system type... amd64-portbld-freebsd11.0
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking pkg-config is at least version 0.9.0... yes
checking for CLUTTER... yes
checking for GTK... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/autotools/Makefile
config.status: creating clutter-gtk/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/version.xml
config.status: creating examples/Makefile
config.status: creating clutter-gtk.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-gconf-source

                 ClutterGTK 0.10.8
                 ===================

                   prefix:   /usr/local

                  Flavour:   x11
              Debug level:   minimum
            Documentation:   no
           Compiler flags:   
       Introspection data:   auto

===========================================================================
=======================<phase: build          >============================
===>  Building for clutter-gtk-0.10.8_5
gmake[1]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8'
gmake  all-recursive
gmake[2]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8'
Making all in build
gmake[3]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/build'
Making all in autotools
gmake[4]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/build/autotools'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/build/autotools'
gmake[4]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/build'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/build'
gmake[3]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/build'
Making all in clutter-gtk
gmake[3]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk'
  CC     libclutter_gtk_0.10_la-gtk-clutter-embed.lo
  CC     libclutter_gtk_0.10_la-gtk-clutter-scrollable.lo
  CC     libclutter_gtk_0.10_la-gtk-clutter-util.lo
./gtk-clutter-util.c:397:62: warning: comparison of constant -1 with expression of type 'GtkIconSize' is always false [-Wtautological-constant-out-of-range-compare]
  g_return_val_if_fail (size > GTK_ICON_SIZE_INVALID || size == -1, NULL);
                                                        ~~~~ ^  ~~
/usr/local/include/glib-2.0/glib/gmessages.h:345:18: note: expanded from macro 'g_return_val_if_fail'
     if G_LIKELY(expr) { } else                                         \
                 ^
/usr/local/include/glib-2.0/glib/gmacros.h:296:59: note: expanded from macro 'G_LIKELY'
#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
                                                          ^
/usr/local/include/glib-2.0/glib/gmacros.h:290:8: note: expanded from macro '_G_BOOLEAN_EXPR'
   if (expr)                                    \
       ^
./gtk-clutter-util.c:439:65: warning: comparison of constant -1 with expression of type 'GtkIconSize' is always false [-Wtautological-constant-out-of-range-compare]
  g_return_val_if_fail ((size > GTK_ICON_SIZE_INVALID) || (size == -1), FALSE);
                                                           ~~~~ ^  ~~
/usr/local/include/glib-2.0/glib/gmessages.h:345:18: note: expanded from macro 'g_return_val_if_fail'
     if G_LIKELY(expr) { } else                                         \
                 ^
/usr/local/include/glib-2.0/glib/gmacros.h:296:59: note: expanded from macro 'G_LIKELY'
#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
                                                          ^
/usr/local/include/glib-2.0/glib/gmacros.h:290:8: note: expanded from macro '_G_BOOLEAN_EXPR'
   if (expr)                                    \
       ^
./gtk-clutter-util.c:485:62: warning: comparison of constant -1 with expression of type 'GtkIconSize' is always false [-Wtautological-constant-out-of-range-compare]
  g_return_val_if_fail (size > GTK_ICON_SIZE_INVALID || size == -1, NULL);
                                                        ~~~~ ^  ~~
/usr/local/include/glib-2.0/glib/gmessages.h:345:18: note: expanded from macro 'g_return_val_if_fail'
     if G_LIKELY(expr) { } else                                         \
                 ^
/usr/local/include/glib-2.0/glib/gmacros.h:296:59: note: expanded from macro 'G_LIKELY'
#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
                                                          ^
/usr/local/include/glib-2.0/glib/gmacros.h:290:8: note: expanded from macro '_G_BOOLEAN_EXPR'
   if (expr)                                    \
       ^
./gtk-clutter-util.c:501:12: warning: comparison of constant -1 with expression of type 'GtkIconSize' is always false [-Wtautological-constant-out-of-range-compare]
  if (size == -1 ||
      ~~~~ ^  ~~
./gtk-clutter-util.c:566:65: warning: comparison of constant -1 with expression of type 'GtkIconSize' is always false [-Wtautological-constant-out-of-range-compare]
  g_return_val_if_fail ((size > GTK_ICON_SIZE_INVALID) || (size == -1), FALSE);
                                                           ~~~~ ^  ~~
/usr/local/include/glib-2.0/glib/gmessages.h:345:18: note: expanded from macro 'g_return_val_if_fail'
     if G_LIKELY(expr) { } else                                         \
                 ^
/usr/local/include/glib-2.0/glib/gmacros.h:296:59: note: expanded from macro 'G_LIKELY'
#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
                                                          ^
/usr/local/include/glib-2.0/glib/gmacros.h:290:8: note: expanded from macro '_G_BOOLEAN_EXPR'
   if (expr)                                    \
       ^
./gtk-clutter-util.c:582:12: warning: comparison of constant -1 with expression of type 'GtkIconSize' is always false [-Wtautological-constant-out-of-range-compare]
  if (size == -1 ||
      ~~~~ ^  ~~
./gtk-clutter-util.c:622:12: warning: implicit conversion from enumeration type 'ClutterGtkInitError' to different enumeration type 'ClutterInitError' [-Wenum-conversion]
    return CLUTTER_INIT_ERROR_GTK;
    ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
./gtk-clutter-util.c:686:12: warning: implicit conversion from enumeration type 'ClutterGtkInitError' to different enumeration type 'ClutterInitError' [-Wenum-conversion]
    return CLUTTER_INIT_ERROR_GTK;
    ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
8 warnings generated.
  CC     libclutter_gtk_0.10_la-gtk-clutter-viewport.lo
  CC     libclutter_gtk_0.10_la-gtk-clutter-zoomable.lo
  CCLD   libclutter-gtk-0.10.la
  GEN    GtkClutter-0.10.gir
g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
g-ir-scanner: compile: cc -Wall -Wno-deprecated-declarations -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I. -I.. -I/usr/local/include/clutter-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/libdrm -I/usr/local/include/json-glib-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/clutter-1.0 -I/usr/local/include/libdrm -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/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/json-glib-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -I/usr/local/include/glib-2.0 -I/usr/local/include -c -o /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk/tmp-introspecth6Izpx/GtkClutter-0.10.o /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk/tmp-introspecth6Izpx/GtkClutter-0.10.c
g-ir-scanner: link: ../libtool --mode=link --tag=CC cc -o /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk/tmp-introspecth6Izpx/GtkClutter-0.10 -export-dynamic -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk/tmp-introspecth6Izpx/GtkClutter-0.10.o -L. libclutter-gtk-0.10.la -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/usr/local/lib -lglib-2.0 -lintl
libtool: link: cc -o /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk/tmp-introspecth6Izpx/.libs/GtkClutter-0.10 -O2 -pipe -fno-strict-aliasing -pthread /wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk/tmp-introspecth6Izpx/GtkClutter-0.10.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L/usr/local/lib -L/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk ./.libs/libclutter-gtk-0.10.so /usr/local/lib/libclutter-glx-1.0.so /usr/local/lib/libdrm.so /usr/local/lib/libjson-glib-1.0.so /usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libXext.so /usr/local/lib/libXrender.so /usr/local/lib/libXinerama.so /usr/local/lib/libXi.so /usr/local/lib/libXrandr.so /usr/local/lib/libXcursor.so /usr/local/lib/libXcomposite.so /usr/local/lib/libXdamage.so /usr/local/lib/libXfixes.so /usr/local/lib/libX11.so /usr/local/lib/libatk-1.0.so /usr/local/lib/li
 bcairo.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libffi.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libiconv.so /usr/local/lib/libpcre.so /usr/local/lib/libintl.so -lGL -lpng15 -lm -lz -pthread -Wl,-rpath -Wl,/usr/local/lib
g-ir-scanner: GtkClutter: warning: 7 warnings suppressed (use --warn-all to see them)
  GEN    GtkClutter-0.10.typelib
gmake[3]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/clutter-gtk'
Making all in doc
gmake[3]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/doc'
Making all in reference
gmake[4]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/doc/reference'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/doc/reference'
gmake[4]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/doc'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/doc'
gmake[3]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/doc'
Making all in examples
gmake[3]: Entering directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/examples'
  CC     gtk-clutter-events.o
  CCLD   gtk-clutter-events
  CC     gtk-clutter-multistage.o
  CCLD   gtk-clutter-multistage
  CC     gtk-clutter-test.o
  CCLD   gtk-clutter-test
  CC     gtk-clutter-viewport.o
gtk-clutter-viewport.c:39:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
  g_thread_init (NULL);
  ^
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: 'g_thread_init' declared here
void     g_thread_init                   (gpointer vtable);
         ^
1 warning generated.
  CCLD   gtk-clutter-viewport
/usr/bin/ld: /usr/local/lib/libgthread-2.0.so.0: invalid DSO for symbol `g_thread_init' definition
/usr/local/lib/libgthread-2.0.so.0: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [gtk-clutter-viewport] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8/examples'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/wrkdirs/usr/ports/graphics/clutter-gtk/work/clutter-gtk-0.10.8'
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/clutter-gtk
===>  Cleaning for clutter-gtk-0.10.8_5
build of /usr/ports/graphics/clutter-gtk ended at Sat Apr 26 08:01:21 PDT 2014
build time: 00:00:55


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261615.s3QGF0SZ015404>