Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90327 - unable to emerge media-sound/alsa-utils-1.0.8 - mv: cannot stat `t-ja.gmo': No such file or directory
Summary: unable to emerge media-sound/alsa-utils-1.0.8 - mv: cannot stat `t-ja.gmo': N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 22:04 UTC by Scott Walker
Modified: 2005-05-05 02:32 UTC (History)
2 users (show)

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 Scott Walker 2005-04-24 22:04:17 UTC
emerge alsu-utils fails because it can't find t-ja.gmo ... what more can I say?

Reproducible: Always
Steps to Reproduce:
1. emerge alsa-utils
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-utils-1.0.8 to /
>>> md5 files   ;-) alsa-utils-1.0.8.ebuild
>>> md5 files   ;-) alsa-utils-1.0.7.ebuild
>>> md5 files   ;-) files/alsasound.confd
>>> md5 files   ;-) files/alsa-modules.conf-rc
>>> md5 files   ;-) files/digest-alsa-utils-1.0.7
>>> md5 files   ;-) files/digest-alsa-utils-1.0.8
>>> md5 files   ;-) files/alsasound
>>> md5 src_uri ;-) alsa-utils-1.0.8.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-utils-1.0.8.tar.bz2 to /var/tmp/portage/alsa-utils-1.0.8/work
>>> Source unpacked.
 * econf: updating alsa-utils-1.0.8/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating alsa-utils-1.0.8/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... no
checking for msgmerge... /usr/bin/msgmerge
found gmsgfmt program is not GNU msgfmt; ignore it
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: ./config.rpath: No such
file or directory
done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.8... found.
checking for snd_ctl_open in -lasound... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether i686-pc-linux-gnu-gcc needs -traditional... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating alsactl/Makefile
config.status: creating alsamixer/Makefile
config.status: creating amidi/Makefile
config.status: creating amixer/Makefile
config.status: creating m4/Makefile
config.status: creating alsaconf/alsaconf
config.status: creating alsaconf/Makefile
config.status: creating alsaconf/po/Makefile
config.status: creating aplay/Makefile
config.status: creating include/Makefile
config.status: creating iecset/Makefile
config.status: creating utils/Makefile
config.status: creating utils/alsa-utils.spec
config.status: creating seq/Makefile
config.status: creating seq/aconnect/Makefile
config.status: creating seq/aplaymidi/Makefile
config.status: creating seq/aseqnet/Makefile
config.status: creating speaker-test/Makefile
config.status: creating include/aconfig.h
config.status: executing default-1 commands
config.status: executing depfiles commands
Making all in include
make[1]: Entering directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/include'
make  all-am
make[2]: Entering directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/include'
make[2]: Leaving directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/include'
make[1]: Leaving directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/include'
Making all in alsactl
make[1]: Entering directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsactl'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include    
-march=athlon-xp -O3 -pipe -fforce-addr -funroll-loops
-maccumulate-outgoing-args -MT alsactl.o -MD -MP -MF ".deps/alsactl.Tpo" \
  -c -o alsactl.o `test -f 'alsactl.c' || echo './'`alsactl.c; \
then mv -f ".deps/alsactl.Tpo" ".deps/alsactl.Po"; \
else rm -f ".deps/alsactl.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc  -march=athlon-xp -O3 -pipe -fforce-addr -funroll-loops
-maccumulate-outgoing-args   -o alsactl  alsactl.o  -lasound -lm -ldl -lpthread
make[1]: Leaving directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsactl'
Making all in alsaconf
make[1]: Entering directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsaconf'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsaconf/po'
mv: cannot stat `t-ja.gmo': No such file or directory
make[2]: *** [ja.gmo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsaconf/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsaconf'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-utils-1.0.8 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
susccessful emerge

Portage 2.0.51.20-r4 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1,glibc-2.3.4.20040808-r1,glibc-2.3.4.20050125-r0,glibc-2.3.5-r0,
2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4, 2.3.5
sys-devel/autoconf:  2.13, 2.59-r5, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r1, 1.8.5-r3, 1.9.4, 1.9.5
sys-devel/binutils:  2.15.90.0.1.1-r4, 2.15.92.0.2-r4, 2.15.92.0.2-r5,
2.15.92.0.2-r6, 2.15.92.0.2-r7, 2.15.92.0.2-r8
sys-devel/libtool:   1.5.2-r5, 1.5.10-r4, 1.5.10-r5, 1.5.14
virtual/os-headers:  2.6.8.1-r2, 2.6.8.1-r4, 2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -funroll-loops
-maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -funroll-loops
-maccumulate-outgoing-args -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://127.0.0.1/gentoo http://zuul/gentoo 
ftp://10.123.0.129/pub/gentoo  ftp://glengowrie.air-stream.wan/gentoo 
ftp://10.121.0.35/gentoo  http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex S3TC X X509 a52 aac acpi acpi4linux alsa apache2 arts
artworkextra avi bash-completion bmp bonobo bzip2 bzlib caps cddb cdparanoia cdr
chroot css dga dio disablexmb divx4linux dnd dvb dvd dvdr dvdread eds encode esd
exif fam flac foomaticdb fpx gd gif gimp gimpprint gkrellm gnome gphoto2
gstreamer gtk gtk2 gtkhtml hub icq imagemagick imlib ithreads jp2 jpeg jpeg2k
libcaca libsamplerate lm_sensors mad md5sum mdb mime mjpeg mmx mmx2 mng monkey
mono moznocompose moznoirc moznomail moznoxft mozp3p mozxmlterm mp3 mpeg mpeg4
mpi mplayer msn native ncurses network nocd nptl nvidia oav ogg oggvorbis openal
opengl oscar ospfapi oss pdfkit pdflib perl php pic pie png pnp pthreads
quicktime readline real rrdtool samba sockets sse sse2 ssl svga tcpd tga theora
threads tiff transcode truetype-fonts type1-fonts underscores unicode usb
userlocales utf8 v4l v4l2 vcd videos vidix vorbis winbind wmf wxwindows xanim
xine xmms xosd xpm xv xvid xvmc zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-25 10:17:42 UTC
Please try with:
MAKEOPTS="-j1"
Comment 2 Scott Walker 2005-04-25 15:21:17 UTC
nup, -j1 does exactly the same as previously
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-28 10:08:46 UTC
I can not reproduce this at all...
Comment 4 Scott Walker 2005-04-29 00:12:39 UTC
OK, here's a snippit that might help (or not):

SpinServer po # pwd;ls -la;cat -n Makefile
/var/tmp/portage/alsa-utils-1.0.8/work/alsa-utils-1.0.8/alsaconf/po
total 20
drwxr-xr-x  2 root root   128 Apr 29 16:33 .
drwxr-xr-x  3 root root   248 Apr 29 16:33 ..
-rw-r--r--  1 root root  1886 Apr 29 16:33 Makefile
-rw-r--r--  1 root root  1912 Jan  5 22:10 Makefile.in
-rw-r--r--  1 root root 11221 Dec 30 02:40 ja.po
     1  POFILES = ja.po
     2  
     3  DOMAIN = alsaconf
     4  GETTEXT_SRC = ../alsaconf.in
     5  
     6  XGETTEXT_OPTIONS = -kxmsg -kxecho
     7  
     8  top_builddir = ../..
     9  
    10  datadir = /usr/share
    11  exec_prefix = ${prefix}
    12  prefix = /usr
    13  localedir = $(datadir)/locale
    14  
    15  USE_NLS = yes
    16  INSTALL = /bin/install -c
    17  INSTALL_DATA = ${INSTALL} -m 644
    18  # mkdir_p = @mkdir_p@
    19  mkdir_p = mkdir -p --
    20  XGETTEXT = :
    21  MSGFMT = :
    22  GMSGFMT = :
    23  MSGMERGE = /usr/bin/msgmerge
    24  MSGMERGE_UPDATE = /usr/bin/msgmerge --update
    25  
    26  DISTFILES = $(POFILES) Makefile.in
    27  CATALOGS = $(POFILES:.po=.gmo)
    28  
    29  all: $(CATALOGS)
    30  
    31  .SUFFIXES: .po .gmo .mo
    32  
    33  .po.mo:
    34          $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
    35  
    36  .po.gmo:
    37          @lang=`echo $* | sed -e 's,.*/,,'`; \
    38          rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
    39  
.....and so on, down to line 85 then <EOF>

I'm sure it's something to do with this line 38, and possibly the $(GMSGFMT) part....???I dunno really, just throwing some suggestions around
Comment 5 Tobias Sager 2005-04-30 00:56:26 UTC
I get the error as well.
What surprises me about the Makefile is this:
<snip>    
21  MSGFMT = :
22  GMSGFMT = :
</snip>

In config.log I have:
<snip>
config.log:ac_cv_path_GMSGFMT=/usr/bin/gmsgfmt
config.log:ac_cv_path_MSGFMT=:
</snip>

And the configure output shows:
<snip>
checking for msgfmt... no
checking for gmsgfmt... /usr/bin/gmsgfmt
</snip>

Anyone can make anything out of that?
Comment 6 Tobias Sager 2005-05-04 08:00:59 UTC
Don't know if it has sth do do with this as well, but I get a similar error
while merging xchat-2.4.3:
<snip>
make[1]: Entering directory `/var/tmp/portage/xchat-2.4.3/work/xchat-2.4.3'
Making all in po
make[2]: Entering directory `/var/tmp/portage/xchat-2.4.3/work/xchat-2.4.3/po'
test -z "am.gmo az.gmo bg.gmo ca.gmo cs.gmo de.gmo el.gmo en_GB.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mk.gmo ms.gmo nb.gmo nl.gmo no.gmo pt.gmo pt_BR.gmo ru.gmo sk.gmo sl.gmo sq.gmo sr.gmo sv.gmo uk.gmo vi.gmo wa.gmo zh_CN.gmo zh_TW.gmo" || make am.gmo az.gmo bg.gmo ca.gmo cs.gmo de.gmo el.gmo en_GB.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mk.gmo ms.gmo nb.gmo nl.gmo no.gmo pt.gmo pt_BR.gmo ru.gmo sk.gmo sl.gmo sq.gmo sr.gmo sv.gmo uk.gmo vi.gmo wa.gmo zh_CN.gmo zh_TW.gmo
make[3]: Entering directory `/var/tmp/portage/xchat-2.4.3/work/xchat-2.4.3/po'
rm -f am.gmo && : -c --statistics -o am.gmo am.po
mv: cannot stat `t-am.gmo': No such file or directory
make[3]: *** [am.gmo] Error 1
make[3]: *** Waiting for unfinished jobs....
rm -f az.gmo && : -c --statistics -o az.gmo az.po
mv: cannot stat `t-az.gmo': No such file or directory
make[3]: *** [az.gmo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xchat-2.4.3/work/xchat-2.4.3/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/var/tmp/portage/xchat-2.4.3/work/xchat-2.4.3/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xchat-2.4.3/work/xchat-2.4.3'
make: *** [all] Error 2

!!! ERROR: net-irc/xchat-2.4.3 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! Compile failed
!!! If you need support, post the topmost build error, NOT this status message.
</snip>
Comment 7 Eric Shattow 2005-05-04 09:46:16 UTC
gmsgfmt has occasionally been messed up by relinking the dependent libs. please check and make sure that gmsgfmt on your system is working.
Comment 8 Tobias Sager 2005-05-04 11:02:26 UTC
Reemerging gettext fixes it. Thanks, Eric.
Comment 9 Scott Walker 2005-05-04 23:45:56 UTC
ok - I've done an emerge -vu world once or twice since this fault was logged, so I don't know exactly what it was that fixed it, but I just tried to emerge it again and it went in no Q's asked.
Quite likely as a result of gettext being updated..???
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-05 02:32:27 UTC
ok, well I'm guessing that something in gettext fixed it... I don't have a strong understanding of i18n, so I'm sorry I couldn't be more helpful there.