Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146944 - ogmrip-0.10.0_rc3 failed to build
Summary: ogmrip-0.10.0_rc3 failed to build
Status: RESOLVED DUPLICATE of bug 145178
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 05:58 UTC by Albert Zeyer
Modified: 2006-09-09 06:07 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 Albert Zeyer 2006-09-09 05:58:47 UTC
I got this error on my AMD64 with GCC 4.1.1:
...
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -I/usr/local/include -I.. -Wall -Werror -Wl,--export-dynamic -o dvdcpy dvdcpy.o  -L/usr/local/lib -L/usr/pkg/lib /usr/lib64/libdvdread.so -ldl
make[2]: Leaving directory `/var/tmp/portage/ogmrip-0.10.0_rc3/work/ogmrip-0.10.0-rc3/dvdcpy'
Making all in data
make[2]: Entering directory `/var/tmp/portage/ogmrip-0.10.0_rc3/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/work/ogmrip-0.10.0-rc3/data'
Making all in po
make[2]: Entering directory `/var/tmp/portage/ogmrip-0.10.0_rc3/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/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/work/ogmrip-0.10.0-rc3'
make: *** [all] Error 2

!!! ERROR: media-video/ogmrip-0.10.0_rc3 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.


I took a look into /var/tmp/portage/ogmrip-0.10.0_rc3/work/ogmrip-0.10.0-rc3/po/Makefile:
...
GMSGFMT =
...
.po.gmo:
    file=`echo $* | sed 's,.*/,,'`.gmo \
      && rm -f $$file && $(GMSGFMT) -o $$file $<
...
It seems that the variable GMSGFMT was not set correctly.
So I took a look into the Makefile.in. Same here:
...
GMSGFMT =
...
And in Makefile.in.in:
...
GMSGFMT = @GMSGFMT@
...
It seems that @GMSGFMT@ is not set. So I did a search for GMSGFMT somewhere:
hcompneu po # grep GMSGFMT *
Makefile:GMSGFMT =
Makefile:         && rm -f $$file && $(GMSGFMT) -o $$file $<
Makefile.in:GMSGFMT =
Makefile.in:      && rm -f $$file && $(GMSGFMT) -o $$file $<
Makefile.in.in:GMSGFMT = @GMSGFMT@
Makefile.in.in:   && rm -f $$file && $(GMSGFMT) -o $$file $<
hcompneu po # cd ..
hcompneu ogmrip-0.10.0-rc3 # grep GMSGFMT *
Makefile:GMSGFMT =
Makefile.in:GMSGFMT = @GMSGFMT@
aclocal.m4:       AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
config.log:GMSGFMT=''
config.status:s,@GMSGFMT@,,;t t
configure:ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PKG_CONFIG ac_pt_PKG_CONFIG OGMRIP_CFLAGS OGMRIP_LIBS SED_PROG GUI_CFLAGS GUI_LIBS GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE HAVE_GTK_SUPPORT_TRUE HAVE_GTK_SUPPORT_FALSE HAL_CFLAGS HAL_LIBS HAVE_HAL_SUPPORT_TRUE HAVE_HAL_SUPPORT_FALSE HAL5_CFLAGS HAL5_LIBS ENCHANT_CFLAGS ENCHANT_LIBS HAVE_ENCHANT_SUPPORT_TRUE HAVE_ENCHANT_SUPPORT_FALSE DVDREAD_LIBS MPLAYER_PROG MENCODER_PROG OGMMERGE_PROG OGMSPLIT_PROG OGGENC_PROG LAME_PROG HAVE_X264_SUPPORT_TRUE HAVE_X264_SUPPORT_FALSE HAVE_LAVF_SUPPORT_TRUE HAVE_LAVF_SUPPORT_FALSE HAVE_DTS_SUPPORT_TRUE HAVE_DTS_SUPPORT_FALSE FAAC_PROG HAVE_AAC_SUPPORT_TRUE HAVE_AAC_SUPPORT_FALSE MKVMERGE_PROG HAVE_MKV_SUPPORT_TRUE HAVE_MKV_SUPPORT_FALSE THEORA_CFLAGS THEORA_LIBS HAVE_THEORA_SUPPORT_TRUE HAVE_THEORA_SUPPORT_FALSE GOCR_PROG HAVE_SRT_SUPPORT_TRUE HAVE_SRT_SUPPORT_FALSE GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS GLIB_GENMARSHAL OGMDVD_LT_VERSION OGMDVD_GTK_LT_VERSION OGMJOB_LT_VERSION OGMRIP_LT_VERSION LIBOBJS LTLIBOBJS'
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

It seems that $ac_cv_path_GMSGFMT was not set correctly.
Therefore (ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"), $as_dir, $ac_word and $ac_exec_ext seems to be corrupted. But the '/' is still missing in GMSGFMT, too.

I don't understand it.
gmsgfmt is available:
# gmsgfmt --version
gmsgfmt (GNU gettext-tools) 0.14.5
Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.


--
Albert
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-09 06:07:19 UTC

*** This bug has been marked as a duplicate of 145178 ***