Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Feb 2014 02:18:17 +0200
From:      Vladislav Prodan <universite@ukr.net>
To:        ports@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   Error build the port devel/glib20
Message-ID:  <1391818627.885938616.ruy8upl9@frv35.fwdcdn.com>

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

# uname -a
FreeBSD vm-10-1.domain.com 10.0-STABLE FreeBSD 10.0-STABLE #0 r261419: Mon Feb  3 02:57:25 UTC 2014     root@grind.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

make BATCH=yes MAKE_JOBS_UNSAFE=yes WITH_COLLATION_FIX=yes install -C /usr/ports/devel/glib20

...
gmake[5]: Entering directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib'
  CC       libglib_2_0_la-gallocator.lo
  CC       libglib_2_0_la-gcache.lo
  CC       libglib_2_0_la-gcompletion.lo
  CC       libglib_2_0_la-grel.lo
  CC       libglib_2_0_la-gthread-deprecated.lo
  CC       libglib_2_0_la-garray.lo
  CC       libglib_2_0_la-gasyncqueue.lo
  CC       libglib_2_0_la-gatomic.lo
gatomic.c:392:10: warning: incompatible integer to pointer conversion passing 'gssize' (aka 'long') to parameter of type 'gpointer'
      (aka 'void *') [-Wint-conversion]
  return g_atomic_pointer_add ((volatile gpointer *) atomic, val);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gatomic.h:170:46: note: expanded from macro 'g_atomic_pointer_add'
    (gssize) __sync_fetch_and_add ((atomic), (val));                         \
                                             ^~~~~
gatomic.c:416:10: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type
      'gpointer' (aka 'void *') [-Wint-conversion]
  return g_atomic_pointer_and ((volatile gpointer *) atomic, val);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gatomic.h:177:45: note: expanded from macro 'g_atomic_pointer_and'
    (gsize) __sync_fetch_and_and ((atomic), (val));                          \
                                            ^~~~~
gatomic.c:440:10: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type
      'gpointer' (aka 'void *') [-Wint-conversion]
  return g_atomic_pointer_or ((volatile gpointer *) atomic, val);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gatomic.h:184:44: note: expanded from macro 'g_atomic_pointer_or'
    (gsize) __sync_fetch_and_or ((atomic), (val));                           \
                                           ^~~~~
gatomic.c:464:10: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type
      'gpointer' (aka 'void *') [-Wint-conversion]
  return g_atomic_pointer_xor ((volatile gpointer *) atomic, val);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gatomic.h:191:45: note: expanded from macro 'g_atomic_pointer_xor'
    (gsize) __sync_fetch_and_xor ((atomic), (val));                          \
                                            ^~~~~
4 warnings generated.
  CC       libglib_2_0_la-gbacktrace.lo
  CC       libglib_2_0_la-gbase64.lo
  CC       libglib_2_0_la-gbitlock.lo
  CC       libglib_2_0_la-gbookmarkfile.lo
  CC       libglib_2_0_la-gbytes.lo
  CC       libglib_2_0_la-gcharset.lo
  CC       libglib_2_0_la-gchecksum.lo
  CC       libglib_2_0_la-gconvert.lo
gconvert.c:66:2: error: GNU libiconv not in use but included iconv.h is from libiconv
#error GNU libiconv not in use but included iconv.h is from libiconv
 ^
gconvert.c:310:21: warning: passing 'gchar **' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested
      pointer types [-Wincompatible-pointer-types-discards-qualifiers]
  return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left);
                    ^~~~~
/usr/local/include/iconv.h:83:48: note: passing argument to parameter 'inbuf' here
extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
                                               ^
1 warning and 1 error generated.
gmake[5]: *** [libglib_2_0_la-gconvert.lo] Error 1
gmake[5]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/glib20


-- 
Vladislav V. Prodan 
System & Network Administrator 
http://support.od.ua 
+380 67 4584408, +380 99 4060508
VVP88-RIPE



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