Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36297 - emerge mtoolsfm fails: /usr/bin/xgettext: Non-ASCII string at src/mtoolsfm.h:136.
Summary: emerge mtoolsfm fails: /usr/bin/xgettext: Non-ASCII string at src/mtoolsfm.h:...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 05:40 UTC by Ian Pickworth
Modified: 2003-12-22 17:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Pickworth 2003-12-22 05:40:57 UTC
Attempt to emerge mtoolsfm fails consistently. Relevant bits of emerge output as follows:

>>> emerge (1 of 1) app-misc/mtoolsfm-1.9.3 to /
...
>>> md5 src_uri ;-) MToolsFM-1.9-3.tar.gz
>>> Unpacking source...
>>> Unpacking MToolsFM-1.9-3.tar.gz to /var/tmp/portage/mtoolsfm-1.9.3/work
 * Applying mtoolsfm.c.diff...                                            [ ok ]
>>> Source unpacked.

....

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3'
Making all in po
make[2]: Entering directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3/po'
PATH=../src:$PATH /usr/bin/xgettext --default-domain=MToolsFM --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f MToolsFM.po \
   || ( rm -f ./MToolsFM.pot \
	&& mv MToolsFM.po ./MToolsFM.pot )
/usr/bin/xgettext: Non-ASCII string at src/mtoolsfm.h:136.
Please specify the source encoding through --from-code.
mv: cannot stat `MToolsFM.po': No such file or directory
make[2]: *** [MToolsFM.pot] Error 1
make[2]: Leaving directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3'make: *** [all-recursive-am] Error 2

!!! ERROR: app-misc/mtoolsfm-1.9.3 failed.
!!! Function src_compile, Line 391, Exitcode 2
!!! emake failed





Reproducible: Always
Steps to Reproduce:
1. emerge app-misc/mtoolsfm


Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/mtoolsfm-1.9.3 to /
>>> md5 src_uri ;-) MToolsFM-1.9-3.tar.gz
>>> Unpacking source...
>>> Unpacking MToolsFM-1.9-3.tar.gz to /var/tmp/portage/mtoolsfm-1.9.3/work
 * Applying mtoolsfm.c.diff...                                            [ ok
]>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe
-fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe
-fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for POSIXized ISC... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking conffile... /etc/mtoolsfm.conf
checking default-nosave... no
checking no-pixmaps... no
checking for ranlib... ranlib
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  de fr
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3'
Making all in po
make[2]: Entering directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3/po'
PATH=../src:$PATH /usr/bin/xgettext --default-domain=MToolsFM --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f MToolsFM.po \
   || ( rm -f ./MToolsFM.pot \
	&& mv MToolsFM.po ./MToolsFM.pot )
/usr/bin/xgettext: Non-ASCII string at src/mtoolsfm.h:136.
Please specify the source encoding through --from-code.
mv: cannot stat `MToolsFM.po': No such file or directory
make[2]: *** [MToolsFM.pot] Error 1
make[2]: Leaving directory `/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mtoolsfm-1.9.3/work/MToolsFM-1.9-3'make: ***
[all-recursive-am] Error 2

!!! ERROR: app-misc/mtoolsfm-1.9.3 failed.
!!! Function src_compile, Line 391, Exitcode 2
!!! emake failed



Expected Results:  
It should have emerged correctly.

Contents of /etc/profile.env

export KDEDIRS='/usr'
export INFODIR='/usr/share/info:/usr/X11R6/info'
export
INFOPATH='/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info'export
CONFIG_PROTECT_MASK='/etc/gconf'
export
CLASSPATH='.:/opt/sun-jdk-1.4.2.02/jre/lib:/opt/sun-jdk-1.4.2.02/lib/tools.jar:/opt/sun-jdk-1.4.2.02/jre/lib/rt.jar:.'
export
ROOTPATH='/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.02/bin:/opt/sun-jdk-1.4.2.02/jre/bin:/opt/sun-jdk-1.4.2.02/jre/javaws:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/qt/2/bin'
export CONFIG_PROTECT='/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config'
export
MANPATH='/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/sun-jdk-1.4.2.02/man:/usr/qt/3/doc/man'
export
PATH='/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.02/bin:/opt/sun-jdk-1.4.2.02/jre/bin:/opt/sun-jdk-1.4.2.02/jre/javaws:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/qt/2/bin:/usr/games/bin'
export PYTHONDOCS='/usr/share/doc/python-docs-2.2.3/html'
export KDEDIR='/usr/kde/3.1'
export JDK_HOME='/opt/sun-jdk-1.4.2.02'
export JAVAC='/opt/sun-jdk-1.4.2.02/bin/javac'
export LESS='-R'
export CC='gcc'
export PAGER='/usr/bin/less'
export HOSTNAME='ian2'
export G_BROKEN_FILENAMES='1'
export QMAKESPEC='linux-g++'
export LESSOPEN='|lesspipe.sh %s'
export CXX='g++'
export CVS_RSH='ssh'
export QTDIR='/usr/qt/3'
export JAVA_HOME='/opt/sun-jdk-1.4.2.02'
export XINITRC='/etc/X11/xinit/xinitrc'
export GDK_USE_XFT='1'
export MOZILLA_FIVE_HOME='/usr/lib/mozilla'
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-22 07:55:29 UTC
thx for reporting this, i added a patch to fix it 
Comment 2 Ian Pickworth 2003-12-22 17:33:47 UTC
Thanks for prompt fix :-).
I deleted my local copy fro /usr/portage/distfiles,
did emerge mtoolsfm again
and it worked..
Thanks.