From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 11:45:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF2481065670 for ; Tue, 18 Jan 2011 11:45:13 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9865A8FC13 for ; Tue, 18 Jan 2011 11:45:13 +0000 (UTC) Received: by qwj9 with SMTP id 9so5532026qwj.13 for ; Tue, 18 Jan 2011 03:45:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.81.206 with SMTP id y14mr4772155qck.127.1295351112810; Tue, 18 Jan 2011 03:45:12 -0800 (PST) Received: by 10.229.102.19 with HTTP; Tue, 18 Jan 2011 03:45:12 -0800 (PST) X-Originating-IP: [93.221.172.96] In-Reply-To: <800EAF42-2B15-4031-9E5B-CDEC6D96653B@boosten.org> References: <4D0726F2.6070703@boosten.org> <800EAF42-2B15-4031-9E5B-CDEC6D96653B@boosten.org> Date: Tue, 18 Jan 2011 12:45:12 +0100 Message-ID: From: "C. P. Ghost" To: Peter Boosten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: Updating glib from 2.24.2 to 2.26.1_1 fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2011 11:45:13 -0000 On Mon, Jan 17, 2011 at 7:07 PM, Peter Boosten wrote: > > On 14 dec 2010, at 09:12, Peter Boosten wrote: > >> Hi all, >> >> In an attempt to update glib on my 8.0-machine, portupgrade stops with >> this message: >> >> **** >> >> gnome-libtool: compile: =A0cc -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 =A0-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/gi= o' >> gmake[3]: *** [all-recursive] Error 1 >> gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gi= o' >> gmake[2]: *** [all] Error 2 >> gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gi= o' >> 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 >> >> Stop in /usr/ports/devel/glib20. >> *** Error code 1 >> >> 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) >> =A0 =A0 =A0 =A0! devel/glib20 (glib-2.24.2) =A0 =A0(compiler error) >> >> **** >> >> Anyone know how to solve this issue? > > 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, howev= er that didn't work either. > > Am I really the only one having this problem (or using glib :-) )? > > help... Just guessing: have you missed the following entries in /usr/ports/UPDATING and messed up your environment? 20101208: AFFECTS: autotools AUTHOR: autotools@FreeBSD.org Another stage in the autotools cleanup that reduces tree churn whilst updating components, a number of ports have now moved to non-versioned locations since there is now only the concept of legacy and current versions. # portmaster -o devel/autoconf devel/autoconf268 # portmaster -o devel/automake devel/automake111 # portmaster -o devel/libtool devel/libtool22 # portmaster -o devel/libltdl devel/libltdl22 substitute 'portupgrade' for 'portmaster' accordingly if that's your your upgrade tool of choice. 20101204: AFFECTS: autotools AUTHOR: autotools@FreeBSD.org The next stage in the ongoing cleanup of autotools-using ports is a refactoring of bsd.autotools.mk so that version numbers are no longer needed within the USE_AUTOTOOLS stanza. There is either autoconf213/autoconf or automake14/automake (for the legacy versions, and the currently available versions). This will considerably reduce the amount of tree-wide patching in future on an update. IMPORTANT: if you have either devel/autoconf-wrapper or devel/automake-wrapper installed on your system (and you most likely do) PLEASE update these ports to their new versions before updating anything else -- Bad Things[tm] are likely to happen otherwise. > Peter Boosten > http://www.boosten.org -cpghost. --=20 Cordula's Web. http://www.cordula.ws/