Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145178 - emerge media-video/ogmrip-0.10.0 fails if GMSGFMT is not set manually
Summary: emerge media-video/ogmrip-0.10.0 fails if GMSGFMT is not set manually
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 146944 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-26 06:50 UTC by Bernhard Kühnel
Modified: 2007-03-17 20:20 UTC (History)
2 users (show)

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


Attachments
ogmrip-0.10.0_rc3-intltool patch (ogmrip-0.10.0_rc3-intltool.patch,631 bytes, patch)
2006-09-11 15:05 UTC, Olivier Rolland
Details | Diff
gmrip-0.10.0_rc3-r2 ebuild (ogmrip-0.10.0_rc3-r2.ebuild,2.25 KB, text/plain)
2006-09-11 15:07 UTC, Olivier Rolland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Kühnel 2006-08-26 06:50:22 UTC
output of "emerge ogmrip":
<snip>
Making all in po
/bin/sh: -o: command not found
make[2]: *** [fr.gmo] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: media-video/ogmrip-0.10.0_rc3 failed.
<snip>

a quick look in the Makefile at var/tmp/portage/ogmrip-0.10.0-r3/work/ogmrip*/po/ showed:
47:GMSGFMT =
126:      && rm -f $$file && $(GMSGFMT) -o $$file $<

whereas "which gmsgfmt" reported
/usr/bin/gmsgfmt


exporting GMSFMT=/usr/bin/gmsgfmt solved the issue.
Sadly, I couldn't find any similar report at the ogmrip site, here or in the WWW, so it could also be a problem in the configure script or even my system setup, but the above workaround might also be implemented.


output of locale:

LANG=de_DE.UTF-8
LC_ALL=de_DE.UTF-8

emerge --info says:

Portage 2.1-r2 (default-linux/amd64/2005.1, gcc-3.4.6/amd64-vanilla, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-chemnitz.de/pub/linux/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 7zip X aac aalib acpi alsa arts avi bash-completion berkdb bitmap-fonts boost browserplugin bzip2 cdr cjk cli crypt cups directfb dlloader dri dts dv dvb dvd dvdr dvdread eds emboss encode fbcon firefox flac foomaticdb fortran gif glibc-omitfp gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java javascript joystick jpeg kde kdeenablefinal kerberos ldap lzw lzw-tiff matroska mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcre pdflib perl png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session slang spell spl ssl svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wmf xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard input_devices_joystick kernel_linux linguas_de linguas_en userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Olivier Rolland 2006-08-29 05:30:08 UTC
There is similar problem on freebsd. I've commited a fix lately but I didn't have any feedback about it. Can you, please, try the latest svn version and see if this issue is still there ?

Thanks,

Olivier
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2006-09-06 11:53:15 UTC
package.masked, pending removal.  Please try newer version(s) of ogmrip, and open new bugs if necessary.
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2006-09-06 11:56:00 UTC
(In reply to comment #2)
> package.masked, pending removal.  Please try newer version(s) of ogmrip, and
> open new bugs if necessary.
> 

Whoops, I got a little too bug-happy.  Reopening.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-09 06:07:19 UTC
*** Bug 146944 has been marked as a duplicate of this bug. ***
Comment 5 Albert Zeyer 2006-09-09 06:26:39 UTC
Same error here (see the duplicate; sorry, don't saw this report), so for completeness my $(emerge --info):

Portage 2.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo   ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit X a52 aac aalib acpi alsa ao apm artworkextra asf audiofile avi bash-completion bindist bitmap-fonts bittorrent browserplugin bzip2 cairo cdda cddb cdparanoia cdr cdrom cle266 corba crypt cups curl dbus dedicated dga divx4linux dlopen dlz dmi dmx dri dts dv dvd dvdr dvdread dvi ecc edl eds encode erandom exif fame ffmpeg flac font-server foomaticdb fortran fping fpx freetts freetype ftp gcj gif gimp glade glibc-compat20 glibc-omitfp glitz glut glx gnome gnome-print gnutls gphoto2 gtk gtk2 guile hal howl i8x0 imagemagick imlib imlib2 insecure-drivers ithreads jack java javascript jpeg jpeg2k kerberos krb4 lame lcms libcaca linuxthreads-tls live logitech-mouse lzo mad matroska mikmod mjpeg mng mod modplug motif mozilla mp3 mp4 mpeg mpeg2 mpeg4 mplayer multislot musepack nautilus ncurses network nls nntp nptl nptlonly nsplugin nvidia nvram objc ogg oggvorbis openal opengl oss pam png posix ppds profile python qt quicktime rar rdesktop readline reiserfs rtc samba sblive scanner scp screen sdl sensord server session sharedext sharedmem silc silverxp speex spell ssl subtitles svg svgz t1lib tcltk teamarena tga themes theora threads tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb utf8 vcd video_cards_nv video_cards_nvidia vlm vorbis wma wma123 wmf wxwindows x264 xanim xcomposite xine xml2 xmms xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Olivier Rolland 2006-09-11 15:05:16 UTC
Created attachment 96749 [details, diff]
ogmrip-0.10.0_rc3-intltool patch
Comment 7 Olivier Rolland 2006-09-11 15:07:02 UTC
Created attachment 96750 [details]
gmrip-0.10.0_rc3-r2 ebuild

Can you please try this patch and this ebuild and see if the gmsgfmt issue is fixed ?

Thanks,

Olivier
Comment 8 Albert Zeyer 2006-09-12 06:07:58 UTC
I have tested the new ebuild, but it doesn't work either - with same error:

...
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/local/include -I.. -Wall -Werror -Wl,--export-dynamic -o dvdcpy dvdcpy.o  -L/usr/local/lib -L/usr/pkg/lib /usr/lib/libdvdread.so -ldl
make[2]: Leaving directory `/var/tmp/portage/ogmrip-0.10.0_rc3-r2/work/ogmrip-0.10.0-rc3/dvdcpy'
Making all in data
make[2]: Entering directory `/var/tmp/portage/ogmrip-0.10.0_rc3-r2/work/ogmrip-0.10.0-rc3/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/ogmrip-0.10.0_rc3-r2/work/ogmrip-0.10.0-rc3/data'
Making all in po
make[2]: Entering directory `/var/tmp/portage/ogmrip-0.10.0_rc3-r2/work/ogmrip-0.10.0-rc3/po'
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file &&  -o $file fr.po
file=`echo en | sed 's,.*/,,'`.gmo \
  && rm -f $file &&  -o $file en.po
/bin/sh: -o: command not found
make[2]: *** [fr.gmo] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/sh: -o: command not found
make[2]: *** [en.gmo] Error 127
make[2]: Leaving directory `/var/tmp/portage/ogmrip-0.10.0_rc3-r2/work/ogmrip-0.10.0-rc3/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ogmrip-0.10.0_rc3-r2/work/ogmrip-0.10.0-rc3'
make: *** [all] Error 2

!!! ERROR: media-video/ogmrip-0.10.0_rc3-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.



acomputer ogmrip-0.10.0-rc3 # grep -R -i gmsgfmt *
Makefile:GMSGFMT =
Makefile.in:GMSGFMT = @GMSGFMT@
aclocal.m4:       AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
autom4te.cache/output.0:ac_subst_vars='{...}'
autom4te.cache/output.0:          # Extract the first word of "gmsgfmt", so it can be a program name with args.
autom4te.cache/output.0:set dummy gmsgfmt; ac_word=$2
autom4te.cache/output.0:if test "${ac_cv_path_GMSGFMT+set}" = set; then
autom4te.cache/output.0:  case $GMSGFMT in
autom4te.cache/output.0:  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
autom4te.cache/output.0:    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
autom4te.cache/output.0:  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
autom4te.cache/output.0:GMSGFMT=$ac_cv_path_GMSGFMT
autom4te.cache/output.0:if test -n "$GMSGFMT"; then
autom4te.cache/output.0:  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
autom4te.cache/output.0:echo "${ECHO_T}$GMSGFMT" >&6
autom4te.cache/output.0:s,@GMSGFMT@,$GMSGFMT,;t t
autom4te.cache/output.1:ac_subst_vars='{...}'
autom4te.cache/output.1:          # Extract the first word of "gmsgfmt", so it can be a program name with args.
autom4te.cache/output.1:set dummy gmsgfmt; ac_word=$2
autom4te.cache/output.1:if test "${ac_cv_path_GMSGFMT+set}" = set; then
autom4te.cache/output.1:  case $GMSGFMT in
autom4te.cache/output.1:  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
autom4te.cache/output.1:    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
autom4te.cache/output.1:  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
autom4te.cache/output.1:GMSGFMT=$ac_cv_path_GMSGFMT
autom4te.cache/output.1:if test -n "$GMSGFMT"; then
autom4te.cache/output.1:  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
autom4te.cache/output.1:echo "${ECHO_T}$GMSGFMT" >&6
autom4te.cache/output.1:s,@GMSGFMT@,$GMSGFMT,;t t
autom4te.cache/traces.0:m4trace:configure.in:384: -1- AC_SUBST([GMSGFMT], [$ac_cv_path_GMSGFMT])
autom4te.cache/traces.1:m4trace:configure.in:384: -1- AC_SUBST([GMSGFMT], [$ac_cv_path_GMSGFMT])
config.log:GMSGFMT=''
config.status:s,@GMSGFMT@,,;t t
configure:ac_subst_vars='{...}'
configure:        # Extract the first word of "gmsgfmt", so it can be a program name with args.
configure:set dummy gmsgfmt; ac_word=$2
configure:if test "${ac_cv_path_GMSGFMT+set}" = set; then
configure:  case $GMSGFMT in
configure:  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
configure:    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
configure:  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
configure:GMSGFMT=$ac_cv_path_GMSGFMT
configure:if test -n "$GMSGFMT"; then
configure:  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
configure:echo "${ECHO_T}$GMSGFMT" >&6
configure:s,@GMSGFMT@,$GMSGFMT,;t t
data/Makefile:GMSGFMT =
data/Makefile.in:GMSGFMT = @GMSGFMT@
dvdcpy/Makefile:GMSGFMT =
dvdcpy/Makefile.in:GMSGFMT = @GMSGFMT@
libbacon/Makefile:GMSGFMT =
libbacon/Makefile.in:GMSGFMT = @GMSGFMT@
libogmdvd/Makefile:GMSGFMT =
libogmdvd/Makefile.in:GMSGFMT = @GMSGFMT@
libogmdvd-gtk/Makefile:GMSGFMT =
libogmdvd-gtk/Makefile.in:GMSGFMT = @GMSGFMT@
libogmjob/Makefile:GMSGFMT =
libogmjob/Makefile.in:GMSGFMT = @GMSGFMT@
libogmrip/Makefile:GMSGFMT =
libogmrip/Makefile.in:GMSGFMT = @GMSGFMT@
po/Makefile:GMSGFMT =
po/Makefile:      && rm -f $$file && $(GMSGFMT) -o $$file $<
po/Makefile.in:GMSGFMT =
po/Makefile.in:   && rm -f $$file && $(GMSGFMT) -o $$file $<
po/Makefile.in.in:GMSGFMT = @GMSGFMT@
po/Makefile.in.in:        && rm -f $$file && $(GMSGFMT) -o $$file $<
src/Makefile:GMSGFMT =
src/Makefile.in:GMSGFMT = @GMSGFMT@
subrip/Makefile:GMSGFMT =
subrip/Makefile.in:GMSGFMT = @GMSGFMT@
theoraenc/Makefile:GMSGFMT =
theoraenc/Makefile.in:GMSGFMT = @GMSGFMT@
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2006-10-24 08:33:36 UTC
Please test with rc4 or 0.10.0
Comment 10 Bernhard Kühnel 2006-10-24 10:48:40 UTC
Making all in po
/bin/sh: line 1: -o: command not found
make[2]: *** [cs.gmo] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: media-video/ogmrip-0.10.0_rc4 failed.

same on media-video/ogmrip-0.10.0

Again, setting GMSGFMT manually results in a clean merge.
Comment 11 Steve Dibb (RETIRED) gentoo-dev 2006-10-24 10:52:10 UTC
reopening
Comment 12 Olivier Rolland 2006-10-24 13:26:51 UTC
I really don't know how to fix this one. If someone can provide a patch, I'll be more than happy to commit it.

Cheers,

Olivier
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2007-02-22 03:37:02 UTC
Hmm, Im curious.  Can you try with 0.10.2 *and* latest stable automake / autoconf.

If it still fails, post emerge --info again