portupgrade -f intltool fails

Kevin Oberman kob6558 at gmail.com
Sun Sep 11 21:19:45 UTC 2011


On Sun, Sep 11, 2011 at 1:54 PM, Frank Durda IV <uhclem at freebsd.org> wrote:
>
> Attempting to build pidgin 11-Sep-2011 on a freshly
> installed 8.2 AMD64 system:  (numerous other ports
> have already been built/installed using ports make
> portmaster and other things that pulled updated
> ports data from ftp2.freebsd.org.    Thanks for looking!
>
>
>    66  13:14   cd pidgin
>    67  13:14   make
>
> This failed.
>
>    70  15:12   portmaster net-im/pidgin
>
> This also failed.  Following the displayed recommendation:
>
>
>    71  15:30   sh /tmp/gnomelogalyzer.sh
>
> It advised installing portupgrade and using the following command:
>
>
>    75  15:31   cd ../../ports-mgmt/portupgrade
>    76  15:31   make
>    79  15:40   make install
>    80  15:41   rehash
>
>    82  15:30   portupgrade -f intltool
>
> portupgrade -f intltool
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 343 packages found (-0 +343) ....................................................................................................100....................................................................................................200....................................................................................................300........................................... done]
> [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 22715 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000....... ..... done]
> --->  Reinstalling 'intltool-0.41.1' (textproc/intltool)
> --->  Building '/usr/ports/textproc/intltool'
> ===>  Cleaning for intltool-0.41.1
> ===>  Vulnerability check disabled, database not found
> ===>  License check disabled, port has not defined LICENSE
> ===>  Extracting for intltool-0.41.1
> => SHA256 Checksum OK for gnome/intltool-0.41.1.tar.gz.
> ===>   intltool-0.41.1 depends on file: /usr/local/bin/perl5.10.1 - found
> ===>  Patching for intltool-0.41.1
> ===>   intltool-0.41.1 depends on file: /usr/local/bin/perl5.10.1 - found
> ===>   intltool-0.41.1 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/mach/XML/Parser.pm - found
> ===>   intltool-0.41.1 depends on executable: gmake - found
> ===>   intltool-0.41.1 depends on file: /usr/local/bin/perl5.10.1 - found
> ===>   intltool-0.41.1 depends on shared library: iconv.3 - found
> ===>  Configuring for intltool-0.41.1
> 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... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether gmake sets $(MAKE)... yes
> checking for perl... /usr/bin/perl
> checking for perl >= 5.8.1... 5.10.1
> checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to gnome at FreeBSD.org [maintainer] and attach the
> "/usr/ports/textproc/intltool/work/intltool-0.41.1/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. an `ls
> /var/db/pkg`).
> *** Error code 1
>
> Stop in /usr/ports/textproc/intltool.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20110911-65178-18fkif5-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=intltool-0.41.1 UPGRADE_PORT_VER=0.41.1 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>        ! textproc/intltool (intltool-0.41.1)   (configure error)
> nemesis2# pwd
> /usr/ports/ports-mgmt/portupgrade
> nemesis2#
> nemesis2# more /usr/ports/textproc/intltool/work/intltool-0.41.1/config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by intltool configure 0.41.1, which was
> generated by GNU Autoconf 2.64.  Invocation command line was
>
>  $ ./configure --libdir=/usr/local/libdata --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd8.2
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = nemesis2.lonestar.org
> uname -m = amd64
> uname -r = 8.2-RELEASE
> uname -s = FreeBSD
> uname -v = FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
>
> /usr/bin/uname -p = amd64
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /sbin
> PATH: /bin
> PATH: /usr/sbin
> PATH: /usr/bin
> PATH: /usr/games
> PATH: /usr/local/sbin
> PATH: /usr/local/bin
> PATH: /root/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1706: checking for a BSD-compatible install
> configure:1774: result: /usr/bin/install -c -o root -g wheel
> configure:1785: checking whether build environment is sane
> configure:1835: result: yes
> configure:1976: checking for a thread-safe mkdir -p
> configure:2015: result: ./install-sh -c -d
> configure:2028: checking for gawk
> configure:2058: result: no
> configure:2028: checking for mawk
> configure:2058: result: no
> configure:2028: checking for nawk
> configure:2044: found /usr/bin/nawk
> configure:2055: result: nawk
> configure:2066: checking whether gmake sets $(MAKE)
> configure:2088: result: yes
> configure:2175: checking for perl
> configure:2193: found /usr/bin/perl
> configure:2205: result: /usr/bin/perl
> configure:2216: checking for perl >= 5.8.1
> configure:2223: result: 5.10.1
> configure:2226: checking for XML::Parser
> configure:2232: error: XML::Parser perl module is required for intltool
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_env_build_alias_set=set
> ac_cv_env_build_alias_value=amd64-portbld-freebsd8.2
> ac_cv_env_host_alias_set=''
> ac_cv_env_host_alias_value=''
> ac_cv_env_target_alias_set=''
> ac_cv_env_target_alias_value=''
> ac_cv_path_PERL=/usr/bin/perl
> ac_cv_prog_AWK=nawk
> ac_cv_prog_make_gmake_set=yes
> lt_cv_sys_max_cmd_len=262144
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACLOCAL='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/missing --run aclocal-1.11'
> AMTAR='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/missing --run tar'
> AUTOCONF='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/missing --run autoconf'
> AUTOHEADER='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/missing --run autoheader'
> AUTOMAKE='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/missing --run automake-1.11'
> AWK='nawk'
> CYGPATH_W='echo'
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> INSTALL_DATA='install  -o root -g wheel -m 444'
> INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
> INSTALL_SCRIPT='install  -o root -g wheel -m 555'
> INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> MAKEINFO='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/missing --run makeinfo'
> MKDIR_P='./install-sh -c -d'
> PACKAGE='intltool'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME='intltool'
> PACKAGE_STRING='intltool 0.41.1'
> PACKAGE_TARNAME='intltool'
> PACKAGE_URL=''
> PACKAGE_VERSION='0.41.1'
> PATH_SEPARATOR=':'
> PERL='/usr/bin/perl'
> SET_MAKE=''
> SHELL='/bin/sh'
> STRIP=''
> VERSION='0.41.1'
> aclocaldir='${datadir}/aclocal'
> am__isrc=''
> am__leading_dot='.'
> am__tar='${AMTAR} chof - "$$tardir"'
> am__untar='${AMTAR} xf -'
> bindir='${exec_prefix}/bin'
> build_alias='amd64-portbld-freebsd8.2'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='/usr/local/info'
> install_sh='${SHELL} /usr/ports/textproc/intltool/work/intltool-0.41.1/install-sh'
> libdir='/usr/local/libdata'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='/usr/local/man'
> mkdir_p='$(top_builddir)/./install-sh -c -d'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> pkgdatadir='${datadir}/intltool'
> prefix='/usr/local'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> /* confdefs.h */
> #define PACKAGE_NAME "intltool"
> #define PACKAGE_TARNAME "intltool"
> #define PACKAGE_VERSION "0.41.1"
> #define PACKAGE_STRING "intltool 0.41.1"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_URL ""
> #define PACKAGE "intltool"
> #define VERSION "0.41.1"
>
> configure: exit 2
> nemesis2#
>
>
>
> nemesis2# cd ../../textproc/intltool/
> nemesis2# make
> ===>   intltool-0.41.1 depends on file: /usr/local/lib/perl5/site_perl/5.10.1/mach/XML/Parser.pm - found
> ===>   intltool-0.41.1 depends on executable: gmake - found
> ===>   intltool-0.41.1 depends on file: /usr/local/bin/perl5.10.1 - found
> ===>   intltool-0.41.1 depends on shared library: iconv.3 - found
> ===>  Configuring for intltool-0.41.1
> 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... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether gmake sets $(MAKE)... yes
> checking for perl... /usr/bin/perl
> checking for perl >= 5.8.1... 5.10.1
> checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to gnome at FreeBSD.org [maintainer] and attach the
> "/usr/ports/textproc/intltool/work/intltool-0.41.1/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. an `ls
> /var/db/pkg`).
> *** Error code 1
>
> Stop in /usr/ports/textproc/intltool.
> nemesis2#

Odd. This is the second report in 24 hours.

First, the fix is 'portmaster p5-XML-Parser.

Why is this happening? Usually it is the result of an incomplete perl
upgrade. Upgrading perl
requires re-building all perl ports. /usr/ports/UPDATING provides the
safe way, but
'portmaster p5-' will usually do the j0ob MUCH faster.

I really think I've seen this happen when I had not updated perl,
though, so I'm suspicious that
there might be something else going on.
-- 
R. Kevin Oberman, Network Engineer - Retired
E-mail: kob6558 at gmail.com


More information about the freebsd-gnome mailing list