Command failed [exit code 1]: /usr/local/sbin/portinstall misc/shared-mime-info

Antonio Olivares olivares14031 at gmail.com
Wed Jul 27 06:41:17 UTC 2011


Dear kind folks,

I got me a new hard drive on one of my machines and installed FreeBSD
8.2 amd64 on it.   I tried to run

# portupgrade -R firefox
which would update firefox to latest and all the ports that depend on
it, but I am encountering a problem with shared-mime-info.


quadcore# portupgrade -R firefox
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 399
packages found (-1 +0) (...) done]
Stale dependency: firefox-4.0_1,1 --> shared-mime-info-0.80 --
manually run 'pkgdb -F' to fix, or specify -O to force.
quadcore# pkgdb -F
--->  Checking the package registry database
Duplicated origin: print/font-amsfonts - amspsfnt-1.0_5 cmpsfont-1.0_6
Unregister any of them? [no] y
  Unregister amspsfnt-1.0_5 keeping the installed files intact? [no] y
  -> cmpsfont-1.0_6 is kept.
  --> Saving the amspsfnt-1.0_5's +CONTENTS file as
/var/db/pkg/cmpsfont-1.0_6/+CONTENTS.amspsfnt-1.0_5
  --> Unregistering amspsfnt-1.0_5
  --> Done.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 398
packages found (-1 +0) (...) done]
Stale dependency: ImageMagick-6.6.7.10_1 -> shared-mime-info-0.80
(misc/shared-mime-info):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes] y
[Gathering depends for misc/shared-mime-info
..................................... done]
--->  Installing 'shared-mime-info-0.80_1' from a port (misc/shared-mime-info)
--->  Building '/usr/ports/misc/shared-mime-info'
===>  Cleaning for shared-mime-info-0.80_1
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for shared-mime-info-0.80_1
=> SHA256 Checksum OK for shared-mime-info-0.80.tar.bz2.
===>  Patching for shared-mime-info-0.80_1
===>  Applying FreeBSD patches for shared-mime-info-0.80_1
===>   shared-mime-info-0.80_1 depends on executable: gmake - found
===>   shared-mime-info-0.80_1 depends on file:
/usr/local/bin/intltool-extract - found
===>   shared-mime-info-0.80_1 depends on executable: pkg-config - found
===>   shared-mime-info-0.80_1 depends on shared library: intl - found
===>   shared-mime-info-0.80_1 depends on shared library: glib-2.0.0 - found
===>   shared-mime-info-0.80_1 depends on shared library: xml2.5 - found
===>  Configuring for shared-mime-info-0.80_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 gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc3
checking for an ANSI C-conforming const... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome at FreeBSD.org, and attach (a)
"/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.80/config.log", (b)
the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome at FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/misc/shared-mime-info.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20110727-40109-cel0gl-0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! misc/shared-mime-info	(configure error)
Command failed [exit code 1]: /usr/local/sbin/portinstall misc/shared-mime-info


Any hints/pointers to resolve this issue?

Thanks in Advance,

Antonio


More information about the freebsd-questions mailing list