Subject: Build Problems with databases/shared-mime-info
To: None <pkgsrc-users@netbsd.org>
From: Dave Vollenweider <metaridley@mchsi.com>
List: pkgsrc-users
Date: 10/23/2007 02:38:49
--Signature=_Tue__23_Oct_2007_02_38_49_-0500__p6oE3=438iMLzze
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I get the following errors when trying to build shared-mime-info:

file=3D`echo zh_CN | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/pkgsrc/databases/shared-mime-info/work/.to=
ols/bin/msgfmt -o $file zh_CN.po
file=3D`echo zh_TW | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/pkgsrc/databases/shared-mime-info/work/.to=
ols/bin/msgfmt -o $file zh_TW.po
INTLTOOL_EXTRACT=3D../intltool-extract srcdir=3D. ../intltool-update --gett=
ext-package shared-mime-info --pot
WARNING: This version of gettext does not support extracting non-ASCII
         strings. That means you should install a version of gettext
         that supports non-ASCII strings (such as GNU gettext >=3D 0.12),
         or have to let non-ASCII strings untranslated. (If there is any)
xgettext: unrecognized option `--flag=3Dg_strdup_printf:1:c-format'
Try `xgettext --help' for more information.
ERROR: xgettext failed to generate PO template file. Please consult
       error message above if there is any.
gmake[1]: *** [shared-mime-info.pot] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/databases/shared-mime-info/work/sh=
ared-mime-info-0.19/po'
gmake: *** [check-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/databases/shared-mime-info
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/shared-mime-info

I see that devel/gettext-lib is listed as a dependency in the Makefile, but=
 it doesn't look like it's getting pulled in:

=3D=3D=3D> Installing dependencies for shared-mime-info-0.19
=3D> Build dependency libtool-base>=3D1.5.18nb5: libtool-base-1.5.24nb5 fou=
nd
=3D> Build dependency intltool>=3D0.35: intltool-0.36.2 found
=3D> Build dependency gmake>=3D3.78: gmake-3.81 found
=3D> Build dependency perl>=3D5.0: perl-5.8.8nb4 found
=3D> Build dependency pkg-config>=3D0.19: pkg-config-0.21nb1 found
=3D> Full dependency glib2>=3D2.8.6nb1: glib2-2.14.1 found
=3D> Full dependency libxml2>=3D2.6.23nb1: libxml2-2.6.30 found

This is on NetBSD/i386 3.1 using pkgsrc-2007Q3.

- Dave V.

--Signature=_Tue__23_Oct_2007_02_38_49_-0500__p6oE3=438iMLzze
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFHHaUJuWJN8YAVIWwRAmIeAJ4wKLtoFHYIaAhw0EKwvNRTh7QjJQCgpmE5
k2xhyZmGnStxr5OeQ66gPNk=
=VJId
-----END PGP SIGNATURE-----

--Signature=_Tue__23_Oct_2007_02_38_49_-0500__p6oE3=438iMLzze--