Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2013 10:04:53 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Koop Mast <kwm@rainbow-runner.nl>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>, blackfriar <blackfriar@inhio.eu>
Subject:   Re: intltool ===> Script "configure" failed unexpectedly.
Message-ID:  <CAN6yY1tsMbNKvYvGFjqwiB6XAyLBFtWDkbXoMEL_MPy7cfiYFw@mail.gmail.com>
In-Reply-To: <51D01F64.8020305@rainbow-runner.nl>
References:  <1372585718.90964.3.camel@misanthropy.inhio.eu> <51D01F64.8020305@rainbow-runner.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 30, 2013 at 5:07 AM, Koop Mast <kwm@rainbow-runner.nl> wrote:

> On 30-6-2013 11:48, blackfriar wrote:
>
>> root@mis:/usr/ports/textproc/**intltool # make install clean
>> ===> Fetching all distfiles required by intltool-0.50.2 for building
>> ===>  Extracting for intltool-0.50.2
>> => SHA256 Checksum OK for gnome/intltool-0.50.2.tar.gz.
>> ===>   intltool-0.50.2 depends on file: /usr/local/bin/perl5.14.4 -
>> found
>> ===>  Patching for intltool-0.50.2
>> ===>   intltool-0.50.2 depends on file: /usr/local/bin/perl5.14.4 -
>> found
>> ===>   intltool-0.50.2 depends on package: p5-XML-Parser>=0 - found
>> ===>   intltool-0.50.2 depends on executable: gmake - found
>> ===>   intltool-0.50.2 depends on file: /usr/local/bin/perl5.14.4 -
>> found
>> ===>   intltool-0.50.2 depends on shared library: iconv.3 - found
>> ===>  Configuring for intltool-0.50.2
>> configure: loading site script /usr/ports/Templates/config.**site
>> checking for a BSD-compatible install... /usr/bin/install -c -o root -g
>> wheel
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
>> checking for gawk... (cached) /usr/bin/awk
>> checking whether gmake sets $(MAKE)... yes
>> checking for perl... /usr/bin/perl
>> checking for perl >= 5.8.1... 5.14.4
>> checking for XML::Parser... configure: error: XML::Parser perl module is
>> required for intltool
>> ===>  Script "configure" failed unexpectedly.
>> Please report the problem to gnome@FreeBSD.org [maintainer] and attach
>> the
>> "/usr/ports/textproc/intltool/**work/intltool-0.50.2/config.**log"
>> including
>> the
>> output of the failure of your make command. Also, it might be a good
>> idea to
>> provide an overview of all packages installed on your system (e.g. a
>> /usr/sbin/pkg_info -Ea).
>> *** [do-configure] Error code 1
>>
>> Stop in /usr/ports/textproc/intltool.
>>
>
> Did you do update your perl recently? Then you might want to follow
> ports/UPDATING entry 20130612
>

I had assumed that this was the problem I have had more than once.

It only happens after a perl update, so the the obvious thought was that I
had failed to re-install something.  I decided to test this theory after
the latest perl version bump.

First I updated perl and then updated all ports that created perl modules.
I confirmed that p5-HTML-Parser had been updated. I checked
/usr/local/lib/perl5/site_perl/5.14.2 and confirmed that all modules, man
pages, etc. had been removed so that the only things left were empty
directories. I checked and /usr/local/lib/perl5/site_perl/5.14/mach/XML and
found that Parser.pm and the Parser sub-directory were present. It all
looked good.

Then I tried to re-build intltool and it failed in the same way it always
does after a perl update. I then re-installed p5-XML-Parser. After that,
intltool configured and built fine.

My theory is that something that was re-installed AFTER p5-XML-Parser was
re-installed stepped on something from the Parser install, but I can't
confirm it. Next time I will look record the mtime on each of the files in
the p5-XML-Parser plist to see what has changed, but I don't think I can
just blame it one something stale left after the perl upgrade.

I should mention that, since so much stuff is dependent on perl, I upgrade
perl  and then re-install all "p5" ports (portmaster p5-), to the order of
the re-installations my be a bit different in my case.

In any case, re-installing p5-XML-Parser seems to always fix this.
-- 
R. Kevin Oberman, Network Engineer
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tsMbNKvYvGFjqwiB6XAyLBFtWDkbXoMEL_MPy7cfiYFw>