Date: Mon, 17 Jan 2011 19:07:24 +0100 From: Peter Boosten <peter@boosten.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Updating glib from 2.24.2 to 2.26.1_1 fails Message-ID: <800EAF42-2B15-4031-9E5B-CDEC6D96653B@boosten.org> In-Reply-To: <4D0726F2.6070703@boosten.org> References: <4D0726F2.6070703@boosten.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14 dec 2010, at 09:12, Peter Boosten wrote: > Hi all, >=20 > In an attempt to update glib on my 8.0-machine, portupgrade stops with > this message: >=20 > **** >=20 > gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. > -DG_LOG_DOMAIN=3D\"GLib-GIO\" -I.. -I../glib -I../glib -I.. = -I../gmodule > -DG_DISABLE_CAST_CHECKS -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED > -DGIO_COMPILATION -DGIO_MODULE_DIR=3D\"/usr/local/lib/gio/modules\" > -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -O -pipe > -march=3Dpentiumpro -Wall -MT gzlibcompressor.lo -MD -MP -MF > .deps/gzlibcompressor.Tpo -c gzlibcompressor.c -fPIC -DPIC -o > .libs/gzlibcompressor.o > gzlibcompressor.c:68: error: expected specifier-qualifier-list before > 'gz_header' > gzlibcompressor.c: In function 'g_zlib_compressor_set_gzheader': > gzlibcompressor.c:80: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:83: error: 'GZlibCompressor' has no member named > 'gzheader' > gzlibcompressor.c:83: error: 'gz_header' undeclared (first use in this > function) > gzlibcompressor.c:83: error: (Each undeclared identifier is reported > only once > gzlibcompressor.c:83: error: for each function it appears in.) > gzlibcompressor.c:84: error: 'GZlibCompressor' has no member named > 'gzheader' > gzlibcompressor.c:86: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:87: error: 'GZlibCompressor' has no member named > 'gzheader' > gzlibcompressor.c:88: error: 'GZlibCompressor' has no member named > 'gzheader' > gzlibcompressor.c:90: error: 'GZlibCompressor' has no member named > 'gzheader' > gzlibcompressor.c:91: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:94: warning: implicit declaration of function > 'deflateSetHeader' > gzlibcompressor.c:94: error: 'GZlibCompressor' has no member named > 'gzheader' > gzlibcompressor.c: In function 'g_zlib_compressor_finalize': > gzlibcompressor.c:112: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:113: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c: In function 'g_zlib_compressor_get_property': > gzlibcompressor.c:171: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c: In function 'g_zlib_compressor_get_file_info': > gzlibcompressor.c:310: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c: In function 'g_zlib_compressor_set_file_info': > gzlibcompressor.c:335: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:338: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:339: error: 'GZlibCompressor' has no member named > 'file_info' > gzlibcompressor.c:342: error: 'GZlibCompressor' has no member named > 'file_info' > gmake[4]: *** [gzlibcompressor.lo] Error 1 > gmake[4]: Leaving directory = `/usr/ports/devel/glib20/work/glib-2.26.1/gio' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory = `/usr/ports/devel/glib20/work/glib-2.26.1/gio' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory = `/usr/ports/devel/glib20/work/glib-2.26.1/gio' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1' > gmake: *** [all] Error 2 > *** Error code 1 >=20 > Stop in /usr/ports/devel/glib20. > *** Error code 1 >=20 > Stop in /usr/ports/devel/glib20. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20101213-34478-1rabaqj-0 env UPGRADE_TOOL=3Dportupgrade > UPGRADE_PORT=3Dglib-2.24.2 UPGRADE_PORT_VER=3D2.24.2 make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! devel/glib20 (glib-2.24.2) (compiler error) >=20 > **** >=20 > Anyone know how to solve this issue? >=20 >=20 Still having problems getting this done, and now it gets worse, since = it's harder and harder to update ports depending on glib. Someone suggested offlist to install the zlib.h from version 1.2.5, = however that didn't work either. Am I really the only one having this problem (or using glib :-) )? help... --=20 Peter Boosten http://www.boosten.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?800EAF42-2B15-4031-9E5B-CDEC6D96653B>