ports/118941: sysutils/gnome-system-tools 2.20.0 won't build on FreeBSD 6.2 with GCC 3.4.6

Jeremy Messenger mezz7 at cox.net
Sat Dec 22 20:48:32 PST 2007


On Sat, 22 Dec 2007 21:27:43 -0600, Keith Gaughan  
<keith.gaughan at gmail.com> wrote:

> Sorry for not replying sooner. Actually I think I've discovered another
> reason why it wasn't building correctly. I diffed the output from
> "find /usr/local | sort" against "pkg_info -L \* | grep ^/usr/local |  
> sort"
> and I'm now thinking that the problem might have been an old copy of
> Autoconf 2.59 that was left over from the Autotools cleanup a few months  
> back
> that was causing the problems. I think it was building with that instead  
> of
> with Autoconf 2.61. Once I removed that, it started including
> "-I ../../src/common" when building the various tools.
>
> Sorry for wasting your time on that. I ought to have caught it by myself.
> My theory on why it worked just fine when I built it with GCC 4.1 is that
> somehow that got it building with 2.61 instead.

Actually, you have hit a real bug. :-) I am blind, I didn't see that it  
already included "-I../../src/common", but it is in the wrong position. It  
should be always in the begin before that "-I/usr/local/include" and other  
include paths. I have created a correct path looks like this below and  
committed it.

==========================================
--- configure.orig	2007-12-22 22:34:20.000000000 -0600
+++ configure	2007-12-22 22:34:43.000000000 -0600
@@ -25180,7 +25180,7 @@
  GST_CFLAGS="$GST_DEPENDS_CFLAGS $GST_CRACK_LIB_CFLAGS  
$GST_DEPRECATED_FLAGS"

  GST_TOOL_LIBS="\$(top_builddir)/src/common/libsetuptool.a $GST_LIBS"
-GST_TOOL_CFLAGS="$GST_CFLAGS -I\$(top_srcdir)/src/common"
+GST_TOOL_CFLAGS="-I\$(top_srcdir)/src/common $GST_CFLAGS"

  GST_TOOL_CLEANFILES="\$(desktop) \$(desktop).in"
  GST_TOOL_EXTRA_DIST="\$(toolpixmaps) \$(desktop).in.in"
==========================================

I will reporting about it in GNOME bugzilla with include a patch for  
configure.in.

Cheers,
Mezz

> K.


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-gnome mailing list