From owner-freebsd-ports Tue Mar 12 21:46:20 2002 Delivered-To: freebsd-ports@freebsd.org Received: from adam12.midearth.org (cs666880-180.austin.rr.com [66.68.80.180]) by hub.freebsd.org (Postfix) with ESMTP id 8BCF837B400; Tue, 12 Mar 2002 21:46:08 -0800 (PST) Received: from adam12.midearth.org (localhost [127.0.0.1]) by adam12.midearth.org (8.12.2/8.12.2) with ESMTP id g2D5k8Op024284; Tue, 12 Mar 2002 23:46:08 -0600 (CST) (envelope-from slpalmer@midearth.org) Received: from localhost (slpalmer@localhost) by adam12.midearth.org (8.12.2/8.12.2/Submit) with ESMTP id g2D5k8DY024247; Tue, 12 Mar 2002 23:46:08 -0600 (CST) X-Authentication-Warning: adam12.midearth.org: slpalmer owned process doing -bs Date: Tue, 12 Mar 2002 23:46:08 -0600 (CST) From: "Stephen L. Palmer" To: Joe Clarke Cc: freebsd-current@FreeBSD.ORG, Subject: Re: port: glibtop failure on -current / Gnome won't build In-Reply-To: <20020312231740.M2030-100000@adam12.midearth.org> Message-ID: <20020312234349.V10330-100000@adam12.midearth.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org My mistake, I guess it helps if I 'gzip -d' the patch ;-) Sorry about that, it seems to work great! --- Stephen L. Palmer slpalmer@midearth.org On Tue, 12 Mar 2002, Stephen L. Palmer wrote: > Replaced file with the one you attached, did 'make clean' and 'make' and > got the following. > > > [snip] > cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES - > I../.. -I../.. -I../../sysdeps/freebsd -I../../include -I../../intl -I/usr/X11R6 > /include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/g > nome-libs/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/ > usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/local/include/glib12 -O -pip > e -Wall -Wunused -I/usr/local/include -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLI > BTOP_GUILE_NAMES -I/usr/local/include -DGTOPLOCALEDIR=\"/usr/local/share/gnome/l > ocale\" -DLIBGTOP_VERSION=\"1.0.13\" -DLIBGTOP_SERVER_VERSION=\"5\" -DLIBGTOP_VE > RSION_CODE=1000013 -DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server\" -I/usr/loc > al/include -O -pipe -Wall -Wunused -I/usr/local/include -c proctime.c -fPIC -DPIC -o proctime.o > proctime.c: In function `calcru': > proctime.c:88: aggregate value used where an integer was expected > proctime.c:69: warning: unused variable `tv' > proctime.c: In function `glibtop_get_proc_time_p': > proctime.c:130: warning: unused variable `pstats' > proctime.c:128: warning: unused variable `u_addr' > proctime.c: At top level: > proctime.c:62: warning: `calcru' defined but not used > gmake[3]: *** [proctime.lo] Error 1 > gmake[3]: Leaving directory > `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr2/ports/devel/libgtop/work/libgtop-1.0.13' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 > > Stop in /usr2/ports/devel/libgtop. > *** Error code 1 > > Stop in /usr2/ports/devel/libgtop. > *** Error code 1 > > Stop in /usr2/ports/devel/libgtop. > root on adam12:/usr/ports/devel/libgtop % > > > --- > Stephen L. Palmer > slpalmer@midearth.org > > > On 12 Mar 2002, Joe Clarke wrote: > > > On Tue, 2002-03-12 at 20:06, Stephen L. Palmer wrote: > > > On: > > > FreeBSD adam12.midearth.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat > > > Mar 9 13:55:57 CST 2002 root@adam12.midearth.org:/usr2/obj/usr/src/sys/MIDEARTH i386 > > > > > > make of libgtop fails with the following error, causing a make of > > > /usr/ports/x11/gnome to fail... any suggestions? > > > > This patch should fix it. Just replace the original > > files/patch-sysdeps::freebsd::proctime::c with the attached version, and > > rebuild. I'm building a PR now. > > > > Joe > > > > > > > > [snip] > > > cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE > > > -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include > > > -I../../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include > > > -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include > > > -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 > > > -I/usr/X11R6/include/gtk12 -I/usr/local/include > > > -I/usr/local/include/glib12 -O -pipe -Wall -Wunused -I/usr/local/include > > > -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES > > > -I/usr/local/include -DGTOPLOCALEDIR=\"/usr/local/share/gnome/locale\" > > > -DLIBGTOP_VERSION=\"1.0.13\" -DLIBGTOP_SERVER_VERSION=\"5\" > > > -DLIBGTOP_VERSION_CODE=1000013 > > > -DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server\" -I/usr/local/include -O > > > -pipe -Wall -Wunused -I/usr/local/include -c proctime.c -fPIC -DPIC -o proctime.o > > > proctime.c: In function `calcru': > > > proctime.c:88: aggregate value used where an integer was expected > > > proctime.c:69: warning: unused variable `tv' > > > proctime.c: In function `glibtop_get_proc_time_p': > > > proctime.c:130: warning: unused variable `pstats' > > > proctime.c:128: warning: unused variable `u_addr' > > > proctime.c: At top level: > > > proctime.c:62: warning: `calcru' defined but not used > > > gmake[3]: *** [proctime.lo] Error 1 > > > gmake[3]: Leaving directory > > > `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd' > > > gmake[2]: *** [all-recursive] Error 1 > > > gmake[2]: Leaving directory > > > `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps' > > > gmake[1]: *** [all-recursive] Error 1 > > > gmake[1]: Leaving directory > > > `/usr2/ports/devel/libgtop/work/libgtop-1.0.13' > > > gmake: *** [all-recursive-am] Error 2 > > > *** Error code 2 > > > > > > Stop in /usr2/ports/devel/libgtop. > > > *** Error code 1 > > > > > > Stop in /usr2/ports/devel/libgtop. > > > *** Error code 1 > > > > > > Stop in /usr2/ports/devel/libgtop. > > > *** Error code 1 > > > > > > Stop in /usr2/ports/devel/libgtop. > > > root on adam12:/usr/ports/devel/libgtop % > > > > > > > > > --- > > > Stephen L. Palmer > > > slpalmer@midearth.org > > > > > > Receipt of this email does not entitle you to collect, > > > use, or sell my personal information for any commercial, > > > or non-commercial purposes. Non-solicited commercial > > > emails sent to my address will be billed $500.00 per > > > offense for use of storage space on my mail servers, > > > bandwidth fees, and personal administrative overhead. > > > You have been warned. > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-ports" in the body of the message > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message