From edwin@mavetju.org  Thu Jan 24 18:22:55 2002
Return-Path: <edwin@mavetju.org>
Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141])
	by hub.freebsd.org (Postfix) with ESMTP id 7128137B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Jan 2002 18:22:54 -0800 (PST)
Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141])
	by topaz.mdcc.cx (Postfix) with ESMTP id 3ECE62B7CD
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Jan 2002 03:22:51 +0100 (CET)
Received: by k7.mavetju.org (Postfix, from userid 1001)
	id 774CE1A9; Fri, 25 Jan 2002 13:22:47 +1100 (EST)
Message-Id: <20020125022247.774CE1A9@k7.mavetju.org>
Date: Fri, 25 Jan 2002 13:22:47 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] devel/gnomevfs doesn't compile without devel/oaf
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34245
>Category:       ports
>Synopsis:       [patch] devel/gnomevfs doesn't compile without devel/oaf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 18:30:00 PST 2002
>Closed-Date:    Wed Feb 13 14:43:21 PST 2002
>Last-Modified:  Wed Feb 13 14:43:43 PST 2002
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Dec 25 02:20:13 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

$FreeBSD: ports/devel/gnomevfs/Makefile,v 1.24 2002/01/23 15:22:19 sobomax Exp $

>Description:

devel/gnomevfs doesn't compile without devel/oaf installed.

This morning I saw that these ports were updated and because I knew
how related they are, I just removed them all and started to rebuild
them.

>How-To-Repeat:

cd ${PORTSDIR}/devel/gnomevfs
pkg_delete oaf_*
make

>Fix:

It should be a BUILD_DEPENDS maybe but LIB_DPENDS works fine too.

--- Makefile.old	Fri Jan 25 13:04:44 2002
+++ Makefile	Fri Jan 25 13:05:53 2002
@@ -17,6 +17,7 @@
 BUILD_DEPENDS=	msgfmt-new:${PORTSDIR}/devel/gettext-devel \
 		${X11BASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:${PORTSDIR}/misc/gnomemimedata
 LIB_DEPENDS=	gconf-1.1:${PORTSDIR}/devel/gconf
+LIB_DEPENDS+=	oaf.0:${PORTSDIR}/devel/oaf
 .if !exists(/usr/bin/bzip2)
 LIB_DEPENDS+=	bz2.1:${PORTSDIR}/archivers/bzip2
 .endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: okazaki 
Responsible-Changed-When: Sat Jan 26 08:29:28 PST 2002 
Responsible-Changed-Why:  
over to maintainers 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34245 
State-Changed-From-To: open->feedback 
State-Changed-By: ade 
State-Changed-When: Tue Feb 12 21:05:39 PST 2002 
State-Changed-Why:  
Can you update your ports tree and try again?  I am definitely seeing 
a dependency from gnomevfs to oaf, and am unable to recreate your 
problem. 

If the problem persists, please send a full error log, we don't have 
much to go on here, and the patch you supplied is definitely the 
wrong solution to the problem. 


Responsible-Changed-From-To: gnome->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Tue Feb 12 21:05:39 PST 2002 
Responsible-Changed-Why:  
I'll handle it. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34245 

From: Edwin Groothuis <edwin@mavetju.org>
To: ade@FreeBSD.org
Cc: freebsd-gnats-submit@freebsd.org, gnome@freebsd.org
Subject: Re: ports/34245: [patch] devel/gnomevfs doesn't compile without devel/oaf
Date: Wed, 13 Feb 2002 16:35:08 +1100

 On Tue, Feb 12, 2002 at 09:07:43PM -0800, ade@FreeBSD.org wrote:
 > Synopsis: [patch] devel/gnomevfs doesn't compile without devel/oaf
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ade
 > State-Changed-When: Tue Feb 12 21:05:39 PST 2002
 > State-Changed-Why: 
 > Can you update your ports tree and try again?  I am definitely seeing
 > a dependency from gnomevfs to oaf, and am unable to recreate your
 > problem.
 >
 > If the problem persists, please send a full error log, we don't have
 > much to go on here, and the patch you supplied is definitely the
 > wrong solution to the problem.
 
 I have the following makefile:
 $FreeBSD: ports/devel/gnomevfs/Makefile,v 1.26 2002/01/26 08:05:28 sobomax Exp $
 
 Maybe there shouldn't be checked for liboaf.so.0 but for oaf-config,
 I don't know. It was just a suggestion.
 
 Edwin
 
 ===>  Extracting for gnomevfs-1.0.4_2
 >> Checksum OK for gnome-vfs-1.0.4.tar.gz.
 ===>   gnomevfs-1.0.4_2 depends on executable: msgfmt-new - found
 ===>   gnomevfs-1.0.4_2 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
 ===>   gnomevfs-1.0.4_2 depends on executable: gmake - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: gconf-1.1 - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: X11.6 - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: esd.2 - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: glib12.3 - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: gtk12.2 - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: Imlib.5 - found
 ===>   gnomevfs-1.0.4_2 depends on shared library: gnome.5 - found
 ===>  Patching for gnomevfs-1.0.4_2
 ===>  Applying FreeBSD patches for gnomevfs-1.0.4_2
 ===>  Configuring for gnomevfs-1.0.4_2
 creating cache ./config.cache
 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
 checking whether build environment is sane... yes
 checking whether gmake sets ${MAKE}... yes
 checking for working aclocal... found
 checking for working autoconf... found
 checking for working automake... found
 checking for working autoheader... found
 checking for working makeinfo... found
 checking for perl... /usr/bin/perl
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for strerror in -lcposix... no
 checking for gcc... cc
 checking whether the C compiler (cc -O -pipe  ) works... yes
 checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether cc accepts -g... yes
 checking how to run the C preprocessor... cc -E
 checking for gawk... no
 checking for mawk... no
 checking for nawk... no
 checking for awk... awk
 checking for Cygwin environment... no
 checking for mingw32 environment... no
 checking host system type... i386--freebsd4.5
 checking build system type... i386--freebsd4.5
 checking for ld used by GCC... /usr/libexec/elf/ld
 checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
 checking for /usr/libexec/elf/ld option to reload object files... -r
 checking for BSD-compatible nm... /usr/bin/nm -B
 checking whether ln -s works... yes
 checking how to recognise dependant libraries... pass_all
 checking for object suffix... o
 checking for executable suffix... no
 checking command to parse /usr/bin/nm -B output... ok
 checking for dlfcn.h... yes
 checking for ranlib... ranlib
 checking for strip... strip
 checking for objdir... .libs
 checking for cc option to produce PIC... -fPIC
 checking if cc PIC flag -fPIC works... yes
 checking if cc static flag -static works... yes
 checking if cc supports -c -o file.o... yes
 checking if cc supports -c -o file.lo... yes
 checking if cc supports -fno-rtti -fno-exceptions... yes
 checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... freebsd4.5 ld.so
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking whether -lc should be explicitly linked in... yes
 creating libtool
 checking for pkg-config... /usr/local/bin/pkg-config
 checking for gnome-mime-data-2.0... yes
 checking MIME_DATABASE_CFLAGS...   
 checking MIME_DATABASE_LIBS...   
 checking for gnome-config... /usr/X11R6/bin/gnome-config
 checking if /usr/X11R6/bin/gnome-config works... yes
 checking for orbit-config... /usr/local/bin/orbit-config
 checking for orbit-idl... /usr/local/bin/orbit-idl
 checking for working ORBit environment... yes
 checking for gnorba libraries... yes
 checking for glib-config... /usr/local/bin/glib12-config
 checking for GLIB - version >= 1.2.6... yes
 checking for gtk-config... /usr/X11R6/bin/gtk12-config
 checking for GTK - version >= 1.2.0... yes
 checking what warning flags to pass to the C compiler... -Wall -Wunused
 checking what language compliance flags to pass to the C compiler... 
 checking for pthread_create in -pthread... yes
 checking for sem_wait in -lrt... no
 checking size_t in <sys/types.h>... yes
 checking off_t in <sys/types.h>... yes
 checking for ranlib... (cached) ranlib
 checking for ANSI C header files... yes
 checking for working const... yes
 checking for inline... inline
 checking for working alloca.h... no
 checking for alloca... yes
 checking for unistd.h... yes
 checking for getpagesize... yes
 checking for working mmap... yes
 checking for argz.h... no
 checking for limits.h... yes
 checking for locale.h... yes
 checking for nl_types.h... yes
 checking for malloc.h... no
 checking for string.h... yes
 checking for unistd.h... (cached) yes
 checking for sys/param.h... yes
 checking for getcwd... yes
 checking for munmap... yes
 checking for putenv... yes
 checking for setenv... yes
 checking for setlocale... yes
 checking for strchr... yes
 checking for strcasecmp... yes
 checking for strdup... yes
 checking for __argz_count... no
 checking for __argz_stringify... no
 checking for __argz_next... no
 checking for stpcpy... no
 checking for LC_MESSAGES... yes
 checking whether NLS is requested... yes
 checking for libintl.h... yes
 checking for gettext in libc... no
 checking for bindtextdomain in -lintl... yes
 checking for gettext in libintl... checking for gettext in -lintl... yes
 yes
 checking for msgfmt... /usr/local/bin/msgfmt-new
 checking for dcgettext... no
 checking for gmsgfmt... /usr/local/bin/msgfmt-new
 checking for xgettext... /usr/local/bin/xgettext-new
 checking for catalogs to be installed...  az ca da de el es eu fi fr ga gl hu it ja ko lt nl nn no pl pt pt_BR ro ru sk sl sv tr uk wa zh_TW
 checking for working alloca.h... (cached) no
 checking for alloca... (cached) yes
 checking for getdtablesize... yes
 checking for open64... no
 checking for lseek64... no
 checking for statvfs... no
 checking for getdelim... no
 checking size of int... 4
 checking size of long... 4
 checking size of long long... 8
 checking for sys/resource.h... yes
 checking for sys/vfs.h... no
 checking for sys/mount.h... yes
 checking for sys/statvfs.h... no
 checking for oaf-config... no
 The program oaf-config was not found
 checking for xml-config... /usr/local/bin/xml-config
 checking for gconf-config... /usr/X11R6/bin/gconf-config
 checking for GCONF - version >= 0.9... yes
 checking for t_accept in -lnsl... no
 checking for socket in -lsocket... no
 checking for socket... yes
 checking for gethostbyname... yes
 checking for BZ2_bzCompressInit in -lbz2... yes
 checking struct linger is available... yes
 checking for cdda_interface.h... no
 checking for cdda_paranoia.h... no
 checking for OpenSSL includes... 
 checking for openssl/ssl.h... yes
 checking for openssl/x509.h... yes
 checking for OpenSSL libraries... no
 checking for gtkdoc-mkdb... false
 checking for db2html... false
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating gnome-vfs.spec
 creating libgnomevfs/gnome-vfs-file-size.h
 creating idl/Makefile
 creating libgnomevfs-pthread/Makefile
 creating libgnomevfs/Makefile
 creating modules/Makefile
 creating modules/extfs/Makefile
 creating modules/extfs/ar
 creating modules/extfs/cpio
 creating modules/extfs/deb
 creating modules/extfs/lha
 creating modules/extfs/rar
 creating modules/extfs/zip
 creating modules/extfs/zoo
 creating man/Makefile
 creating man/gnome-vfs-mime.5
 creating devel-docs/Makefile
 creating devel-docs/gnome-vfs-tutorial/Makefile
 creating po/Makefile.in
 creating test/Makefile
 creating test/vfs-run
 creating doc/Makefile
 creating config.h
 <= gnome-vfs configuration summary :
 
 Enable profiler         : NO
 
 
 GNOME platform          : 1.x
 
 CFLAGS                  : -O -pipe  -I/usr/X11R6/include
 LDFLAGS                 :  -L/usr/X11R6/lib
 
 ===>  Building for gnomevfs-1.0.4_2
 gmake  all-recursive
 gmake[1]: Entering directory `/usr/ports/devel/gnomevfs/work/gnome-vfs-1.0.4'
 Making all in libgnomevfs
 gmake[2]: Entering directory `/usr/ports/devel/gnomevfs/work/gnome-vfs-1.0.4/libgnomevfs'
 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/usr/X11R6/etc\"		-DGNOME_VFS_DATADIR=\"/usr/X11R6/share/gnome\"		-DGNOME_VFS_PREFIX=\"/usr/X11R6\"		-I..					-I../intl				-I..				-I../intl				-I../libgnomevfs			-I/usr/local/include/glib12 -D_THREAD_SAFE					-I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include										-I/usr/local/include/gnome-xml					-I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/us r/local/include -I/usr/X11R6/include 				-Wall -Wunused  			                               	-D_GNU_SOURCE					-D_REENTRANT					-D_POSIX_PTHREAD_SEMANTICS			-DLIBDIR=\"/usr/X11R6/lib\"				-DSYSCONFDIR=\"/usr/X11R6/etc\"			-DG_LOG_DOMAIN=\"GnomeVFS\"			  -D_THREAD_SAFE -I/usr/local/include  -O -pipe  -I/usr/X11R6/include -c fnmatch.c
 mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/usr/X11R6/etc\" -DGNOME_VFS_DATADIR=\"/usr/X11R6/share/gnome\" -DGNOME_VFS_PREFIX=\"/usr/X11R6\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -Wall -Wunused -D_GNU_SOURCE -D_ REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DLIBDIR=\"/usr/X11R6/lib\" -DSYSCONFDIR=\"/usr/X11R6/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_THREAD_SAFE -I/usr/local/include -O -pipe -I/usr/X11R6/include -c fnmatch.c  -fPIC -DPIC -o .libs/fnmatch.lo
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/usr/X11R6/etc\" -DGNOME_VFS_DATADIR=\"/usr/X11R6/share/gnome\" -DGNOME_VFS_PREFIX=\"/usr/X11R6\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -Wall -Wunused -D_GNU_SOURCE -D_ REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DLIBDIR=\"/usr/X11R6/lib\" -DSYSCONFDIR=\"/usr/X11R6/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_THREAD_SAFE -I/usr/local/include -O -pipe -I/usr/X11R6/include -c fnmatch.c -o fnmatch.o >/dev/null 2>&1
 mv -f .libs/fnmatch.lo fnmatch.lo
 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/usr/X11R6/etc\"		-DGNOME_VFS_DATADIR=\"/usr/X11R6/share/gnome\"		-DGNOME_VFS_PREFIX=\"/usr/X11R6\"		-I..					-I../intl				-I..				-I../intl				-I../libgnomevfs			-I/usr/local/include/glib12 -D_THREAD_SAFE					-I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include										-I/usr/local/include/gnome-xml					-I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/us r/local/include -I/usr/X11R6/include 				-Wall -Wunused  			                               	-D_GNU_SOURCE					-D_REENTRANT					-D_POSIX_PTHREAD_SEMANTICS			-DLIBDIR=\"/usr/X11R6/lib\"				-DSYSCONFDIR=\"/usr/X11R6/etc\"			-DG_LOG_DOMAIN=\"GnomeVFS\"			  -D_THREAD_SAFE -I/usr/local/include  -O -pipe  -I/usr/X11R6/include -c gnome-vfs-application-registry.c
 rm -f .libs/gnome-vfs-application-registry.lo
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/usr/X11R6/etc\" -DGNOME_VFS_DATADIR=\"/usr/X11R6/share/gnome\" -DGNOME_VFS_PREFIX=\"/usr/X11R6\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -Wall -Wunused -D_GNU_SOURCE -D_ REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DLIBDIR=\"/usr/X11R6/lib\" -DSYSCONFDIR=\"/usr/X11R6/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_THREAD_SAFE -I/usr/local/include -O -pipe -I/usr/X11R6/include -c gnome-vfs-application-registry.c  -fPIC -DPIC -o .libs/gnome-vfs-application-registry.lo
 In file included from gnome-vfs-application-registry.h:31,
                  from gnome-vfs-application-registry.c:29:
 ../libgnomevfs/gnome-vfs-mime-handlers.h:29: liboaf/liboaf.h: No such file or di
 rectory
 In file included from gnome-vfs-application-registry.h:31,
                  from gnome-vfs-application-registry.c:29:
 ../libgnomevfs/gnome-vfs-mime-handlers.h:56: syntax error before `OAF_ServerInfo
 '
 ../libgnomevfs/gnome-vfs-mime-handlers.h:66: syntax error before `*'
 ../libgnomevfs/gnome-vfs-mime-handlers.h:66: warning: type defaults to `int' in 
 declaration of `gnome_vfs_mime_get_default_component'
 ../libgnomevfs/gnome-vfs-mime-handlers.h:66: warning: data definition has no typ
 e or storage class
 gmake[2]: *** [gnome-vfs-application-registry.lo] Error 1
 gmake[2]: Leaving directory `/usr/ports/devel/gnomevfs/work/gnome-vfs-1.0.4/libgnomevfs'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/devel/gnomevfs/work/gnome-vfs-1.0.4'
 gmake: *** [all-recursive-am] Error 2
 *** Error code 2
 
 Stop in /usr/ports/devel/gnomevfs.
 *** Error code 1
 
 Stop in /usr/ports/devel/gnomevfs.
 *** Error code 1
 
 Stop in /usr/ports/devel/gnomevfs.
 
 -- 
 Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
 edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
 ------------------+                       http://www.FatalDimensions.org/

From: Ade Lovett <ade@FreeBSD.org>
To: Edwin Groothuis <edwin@mavetju.org>
Cc: <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/34245: [patch] devel/gnomevfs doesn't compile without
	devel/oaf
Date: Wed, 13 Feb 2002 00:03:25 -0600

 On 02/12/02 23:35, "Edwin Groothuis" <edwin@mavetju.org> wrote:
 
 > On Tue, Feb 12, 2002 at 09:07:43PM -0800, ade@FreeBSD.org wrote:
 >> Synopsis: [patch] devel/gnomevfs doesn't compile without devel/oaf
 >> 
 >> State-Changed-From-To: open->feedback
 >> State-Changed-By: ade
 >> State-Changed-When: Tue Feb 12 21:05:39 PST 2002
 >> State-Changed-Why:
 >> Can you update your ports tree and try again?  I am definitely seeing
 >> a dependency from gnomevfs to oaf, and am unable to recreate your
 >> problem.
 >> 
 >> If the problem persists, please send a full error log, we don't have
 >> much to go on here, and the patch you supplied is definitely the
 >> wrong solution to the problem.
 > 
 > I have the following makefile:
 > $FreeBSD: ports/devel/gnomevfs/Makefile,v 1.26 2002/01/26 08:05:28 sobomax Exp
 > $
 
 Ok. That's up-to-date.
 
 > ===>  Extracting for gnomevfs-1.0.4_2
 >>> Checksum OK for gnome-vfs-1.0.4.tar.gz.
 > ===>   gnomevfs-1.0.4_2 depends on executable: msgfmt-new - found
 > ===>   gnomevfs-1.0.4_2 depends on file:
 > /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
 > ===>   gnomevfs-1.0.4_2 depends on executable: gmake - found
 > ===>   gnomevfs-1.0.4_2 depends on shared library: gconf-1.1 - found
 >
 > [snip]
 
 The gconf is the killer line - devel/gconf has a direct dependency on
 devel/oaf, ie: there is no way that gconf could have been installed without
 devel/oaf.
 
 From devel/gconf/Makefile:
 
 LIB_DEPENDS=    guile.9:${PORTSDIR}/lang/guile \
                 oaf.0:${PORTSDIR}/devel/oaf \
                 db3.2:${PORTSDIR}/databases/db3
 
 Can you verify the existence of /usr/X11R6/bin/oaf-config and
 /usr/X11R6/lib/liboaf* on your machine.
 
 If they exist, then they only other thing I can think of is that there's
 some very weird shell interaction going on such that the check for
 oaf-config fails.
 
 -aDe
 

From: Edwin Groothuis <edwin@mavetju.org>
To: Ade Lovett <ade@FreeBSD.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/34245: [patch] devel/gnomevfs doesn't compile without devel/oaf
Date: Wed, 13 Feb 2002 17:45:35 +1100

 On Wed, Feb 13, 2002 at 12:03:25AM -0600, Ade Lovett wrote:
 > On 02/12/02 23:35, "Edwin Groothuis" <edwin@mavetju.org> wrote:
 > 
 > > On Tue, Feb 12, 2002 at 09:07:43PM -0800, ade@FreeBSD.org wrote:
 > >> Synopsis: [patch] devel/gnomevfs doesn't compile without devel/oaf
 > >> 
 > >> State-Changed-From-To: open->feedback
 > >> State-Changed-By: ade
 > >> State-Changed-When: Tue Feb 12 21:05:39 PST 2002
 > >> State-Changed-Why:
 > >> Can you update your ports tree and try again?  I am definitely seeing
 > >> a dependency from gnomevfs to oaf, and am unable to recreate your
 > >> problem.
 > >> 
 > >> If the problem persists, please send a full error log, we don't have
 > >> much to go on here, and the patch you supplied is definitely the
 > >> wrong solution to the problem.
 > > 
 > > I have the following makefile:
 > > $FreeBSD: ports/devel/gnomevfs/Makefile,v 1.26 2002/01/26 08:05:28 sobomax Exp
 > > $
 > 
 > Ok. That's up-to-date.
 > 
 > > ===>  Extracting for gnomevfs-1.0.4_2
 > >>> Checksum OK for gnome-vfs-1.0.4.tar.gz.
 > > ===>   gnomevfs-1.0.4_2 depends on executable: msgfmt-new - found
 > > ===>   gnomevfs-1.0.4_2 depends on file:
 > > /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
 > > ===>   gnomevfs-1.0.4_2 depends on executable: gmake - found
 > > ===>   gnomevfs-1.0.4_2 depends on shared library: gconf-1.1 - found
 > >
 > > [snip]
 > 
 > The gconf is the killer line - devel/gconf has a direct dependency on
 > devel/oaf, ie: there is no way that gconf could have been installed without
 > devel/oaf.
 
 True. Gconf is there, but gconf is only depending on liboaf.so.0,
 not on oaf-config. gnomevfs is depending on oaf-config and on the
 include-files.
 
 In my opinion (feel free to disagree with it and I admit that my
 patch was wrong on this now that I'm rethinking it) there should
 be a BUILD_DEPEND for every -config it is looking for:
 gnome-config, glib-config, orbit-config, gtk-config, pkg-config,
 oaf-config, xml-config, gconf-config.
 Please don't assume 'because gconf-config is available' that these
 ones are installed correctly, please check it explicitely.
 
 But of course, that's only my point of view :-)
 
 Edwin
 
 > 
 > >From devel/gconf/Makefile:
 > 
 > LIB_DEPENDS=    guile.9:${PORTSDIR}/lang/guile \
 >                 oaf.0:${PORTSDIR}/devel/oaf \
 >                 db3.2:${PORTSDIR}/databases/db3
 > 
 > Can you verify the existence of /usr/X11R6/bin/oaf-config and
 > /usr/X11R6/lib/liboaf* on your machine.
 > 
 > If they exist, then they only other thing I can think of is that there's
 > some very weird shell interaction going on such that the check for
 > oaf-config fails.
 > 
 > -aDe
 
 -- 
 Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
 edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
 ------------------+                       http://www.FatalDimensions.org/

From: Ade Lovett <ade@FreeBSD.org>
To: Edwin Groothuis <edwin@mavetju.org>
Cc: <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/34245: [patch] devel/gnomevfs doesn't compile without
	devel/oaf
Date: Wed, 13 Feb 2002 10:33:56 -0600

 On 02/13/02 00:45, "Edwin Groothuis" <edwin@mavetju.org> wrote:
 > True. Gconf is there, but gconf is only depending on liboaf.so.0,
 > not on oaf-config. gnomevfs is depending on oaf-config and on the
 > include-files.
 
 It is *impossible* for liboaf to be installed, without oaf-config and the
 include files.  Look at devel/oaf/pkg-plist.  If, somehow, you have managed
 to accomplish this, something is very very wrong, somewhere.
 
 > In my opinion (feel free to disagree with it and I admit that my
 > patch was wrong on this now that I'm rethinking it) there should
 > be a BUILD_DEPEND for every -config it is looking for:
 > gnome-config, glib-config, orbit-config, gtk-config, pkg-config,
 > oaf-config, xml-config, gconf-config.
 
 That would simply needlessly bloat DEPENDS in various ports.  Just as with
 oaf, you can simply LIB_DEPEND, for example, on libgtk12.so.*, rather than
 explicitly having to look for gtk12-config (gtk-config does not exist on a
 FreeBSD box installed from ports).
 
 > Please don't assume 'because gconf-config is available' that these
 > ones are installed correctly, please check it explicitely.
 
 When "blah-config" and "libblah.*" are installed by the same port, depending
 on libblah.* is enough, assuming y'all somehow haven't screwed up your
 shell, or are putting things in really weird places yourself.
 
 Don't take my word for it, though.  The bento package building cluster is
 just over there, and it's happily been building gnomevfs (including oaf) for
 quite some time.  Unless there is compelling evidence to the contrary, I'm
 going to close this PR as a localized problem, rather than an issue with the
 ports infrastructure itself.
 
 Regards,
     -aDe
 
State-Changed-From-To: feedback->closed 
State-Changed-By: ade 
State-Changed-When: Wed Feb 13 14:43:21 PST 2002 
State-Changed-Why:  
Closed at submitters request. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34245 
>Unformatted:
