From owner-freebsd-questions@FreeBSD.ORG Mon Jan 17 18:57:17 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 BD48E1065673 for ; Mon, 17 Jan 2011 18:57:17 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4781D8FC12 for ; Mon, 17 Jan 2011 18:57:17 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PeuGR-0004gA-Pj for freebsd-questions@freebsd.org; Mon, 17 Jan 2011 19:57:15 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jan 2011 19:57:15 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jan 2011 19:57:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 17 Jan 2011 13:59:13 -0500 Lines: 73 Message-ID: References: <4D0726F2.6070703@boosten.org> <800EAF42-2B15-4031-9E5B-CDEC6D96653B@boosten.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net 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: Mon, 17 Jan 2011 18:57:17 -0000 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: cc -DHAVE_CONFIG_H -I. -I.. >> -DG_LOG_DOMAIN=\"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=\"/usr/local/lib/gio/modules\" >> -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -O -pipe >> -march=pentiumpro -Wall -MT gzlibcompressor.lo -MD -MP -MF ^^^^^^^^^^^^^^^^^^^^ [snip] >> 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 >> >> 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=portupgrade >> UPGRADE_PORT=glib-2.24.2 UPGRADE_PORT_VER=2.24.2 make >> ** Fix the problem and try again. >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> ! devel/glib20 (glib-2.24.2) (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, > however that didn't work either. > > Am I really the only one having this problem (or using glib :-) )? > > help... I don't think I have any magic answer here. Just did a 'make' for this port on a 8.1-Release box and it built just fine. Only a couple of things come to mind for me. Take out the -march=pentiumpro from your make.conf, and any other compiler optimizations. Whenever I experience a problem in portupgrade my standard first thing to try is to build the port manually, outside of portupgrade. Just for the purpose of simplification and to eliminate portupgrade as a variable. I don't have any 8.0 boxen to try the build on. I can only say it works here on 8.1. -Mike