Subject: Re: databases/gnome-mime-data missing a dependancy
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 02/21/2006 10:08:46
On Tue, 21 Feb 2006 15:56:32 +0100
"Julio M. Merino Vidal" <jmmv84@gmail.com> wrote:
> On 21/02/2006, at 15:49, D'Arcy J.M. Cain wrote:
> > package well enough to be sure.  Here is the output of the build.
> >
> > checking for a BSD-compatible install... /usr/bin/install -c -o  
> > root -g
> > wheel checking whether build environment is sane... yes
> > /usr/obj/databases/gnome-mime-data/work.i386/gnome-mime-data-2.4.2/ 
> > missing:
> > Unknown `--run' option Try
> > `/usr/obj/databases/gnome-mime-data/work.i386/gnome-mime-data-2.4.2/ 
> > missing
> > --help' for more information configure: WARNING: `missing' script is
> > too old or missing checking for gawk... /usr/bin/awk checking whether
> > make sets $(MAKE)... yes checking for i386--netbsdelf-strip... no
> > checking for strip... strip
> > checking whether to enable maintainer-specific portions of  
> > Makefiles...
> > no checking for perl... /usr/pkg/bin/perl
> > checking for XML::Parser... configure: error: XML::Parser perl module
> > is required for intltool *** Error code 1
> >
> > So it fails the configure step.  The failure implies that the package
> > requires the module.
> >
> > I haven't made committed the change yet.  I will wait for further
> > discussion.
> 
> Can you please paste the full log of a 'make configure' after doing
> a 'make clean'?

That was most of it but here is the complete log up to the error:

PKG-JAIL::
[root@dilbert.druid.net:/usr/NetBSD/cvs/pkgsrc/databases/gnome-mime-data]
# make configure ===> Checking for vulnerabilities in gnome-mime-data-2.4.2nb3 => Checksum SHA1 OK for gnome-mime-data-2.4.2.tar.bz2.
=> Checksum RMD160 OK for gnome-mime-data-2.4.2.tar.bz2.
work.i386 -> /usr/obj/databases/gnome-mime-data/work.i386
===> Extracting for gnome-mime-data-2.4.2nb3
===> Required installed package xdg-dirs>=1.1: xdg-dirs-1.2nb1 found
===> Required installed package gnome2-dirs>=1.5: gnome2-dirs-1.5nb2
found ===> Required installed package perl>=5.0: perl-5.8.7nb8 found
===> Required installed package intltool>=0.34.1: intltool-0.34.2 found
===> Required installed package intltool>=0.34.1nb2: intltool-0.34.2
found ===> Patching for gnome-mime-data-2.4.2nb3
===> Applying pkgsrc patches for gnome-mime-data-2.4.2nb3
===> Overriding tools for gnome-mime-data-2.4.2nb3
===> Creating toolchain wrappers for gnome-mime-data-2.4.2nb3
===> Configuring for gnome-mime-data-2.4.2nb3
=> Fixing locale directory references.
=> Adding rpaths to pkgconfig files.
configure: WARNING: If you wanted to set the --build type, don't use
--host. If a cross compiler is detected then cross compile mode will be
used. checking for a BSD-compatible install... /usr/bin/install -c -o
root -g wheel checking whether build environment is sane... yes
/usr/obj/databases/gnome-mime-data/work.i386/gnome-mime-data-2.4.2/missing:
Unknown `--run' option Try
`/usr/obj/databases/gnome-mime-data/work.i386/gnome-mime-data-2.4.2/missing
--help' for more information configure: WARNING: `missing' script is
too old or missing checking for gawk... /usr/bin/awk checking whether
make sets $(MAKE)... yes checking for i386--netbsdelf-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles...
no checking for perl... /usr/pkg/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool *** Error code 1

Further, I removed the intltool package and rebuilt it and the Parser
module got built as expected.  I am at a complete loss as to how it was
built and installed without building the Parser before.  I know that I
never, ever use the -f option to pkg_delete and I never ran "make
update" in this session, failed or otherwise.

Once I have installed this build I will start over and see if it
happens again.

> > By the way, would this kind of change require a PKGREVISION bump?
> 
> Yes if it was kept as a DEPENDS, because the resulting binary package
> would be different (an extra dependency).

That was my understanding.  Thanks.

-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/