Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244370 - media-video/smplayer-0.6.4 build fails during install: cannot stat `src/translations/*.qm': No such file or directory
Summary: media-video/smplayer-0.6.4 build fails during install: cannot stat `src/trans...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-25 19:32 UTC by Vasilis Lourdas
Modified: 2008-11-06 00:37 UTC (History)
4 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 Vasilis Lourdas 2008-10-25 19:32:41 UTC
smplayer-0.6.4 compiles fine, but fails to install:

x86_64-pc-linux-gnu-g++ -Wl,-O1 -o smplayer .obj/version.o .obj/global.o .obj/helper.o .obj/translator.o .obj/subtracks.o .obj/tracks.o .obj/titletracks.o .obj/extensions.o .obj/desktopinfo.o .obj/myprocess.o .obj/mplayerversion.o .obj/mplayerprocess.o .obj/infoprovider.o .obj/mplayerwindow.o .obj/mediadata.o .obj/mediasettings.o .obj/preferences.o .obj/images.o .obj/inforeader.o .obj/deviceinfo.o .obj/recents.o .obj/core.o .obj/logwindow.o .obj/infofile.o .obj/seekwidget.o .obj/mytablewidget.o .obj/shortcutgetter.o .obj/actionseditor.o .obj/filechooser.o .obj/preferencesdialog.o .obj/mycombobox.o .obj/tristatecombo.o .obj/languages.o .obj/selectcolorbutton.o .obj/prefwidget.o .obj/prefgeneral.o .obj/prefdrives.o .obj/prefinterface.o .obj/prefperformance.o .obj/prefinput.o .obj/prefsubtitles.o .obj/prefadvanced.o .obj/prefplaylist.o .obj/filepropertiesdialog.o .obj/playlist.o .obj/playlistpreferences.o .obj/playlistdock.o .obj/verticaltext.o .obj/eqslider.o .obj/videoequalizer.o .obj/audioequalizer.o .obj/myslider.o .obj/timeslider.o .obj/inputdvddirectory.o .obj/inputurl.o .obj/myaction.o .obj/myactiongroup.o .obj/myserver.o .obj/myclient.o .obj/filedialog.o .obj/inputmplayerversion.o .obj/about.o .obj/errordialog.o .obj/timedialog.o .obj/simplehttp.o .obj/osparser.o .obj/findsubtitleswindow.o .obj/basegui.o .obj/baseguiplus.o .obj/floatingwidget.o .obj/widgetactions.o .obj/toolbareditor.o .obj/defaultgui.o .obj/minigui.o .obj/clhelp.o .obj/smplayer.o .obj/main.o .obj/filedownloader.o .obj/subchooserdialog.o .obj/ioapi.o .obj/quazip.o .obj/quazipfile.o .obj/quazipnewinfo.o .obj/unzip.o .obj/zip.o .obj/moc_quazipfile.o .obj/qrc_icons.o    -L/usr/lib64/qt4 -lQtXml -L/usr/lib64 -L/usr/lib64/qt4 -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
make[1]: Leaving directory `/var/tmp/portage/media-video/smplayer-0.6.4/work/smplayer-0.6.4/src'
>>> Source compiled.
>>> Test phase [not enabled]: media-video/smplayer-0.6.4

>>> Install smplayer-0.6.4 into /var/tmp/portage/media-video/smplayer-0.6.4/image/ category media-video
install -d /var/tmp/portage/media-video/smplayer-0.6.4/image//usr/bin/
install -m 755 src/smplayer /var/tmp/portage/media-video/smplayer-0.6.4/image//usr/bin/
install -d /var/tmp/portage/media-video/smplayer-0.6.4/image//usr/share/smplayer
install -m 644 src/input.conf /var/tmp/portage/media-video/smplayer-0.6.4/image//usr/share/smplayer
install -d /var/tmp/portage/media-video/smplayer-0.6.4/image//usr/share/smplayer/translations
install -m 644 src/translations/*.qm /var/tmp/portage/media-video/smplayer-0.6.4/image//usr/share/smplayer/translations
install: cannot stat `src/translations/*.qm': No such file or directory
make: *** [install] Error 1
 * 
 * ERROR: media-video/smplayer-0.6.4 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_install
 * environment, line 2628:  Called die
 * The specific snippet of code:
 * emake DESTDIR="${D}" install || die "emake install failed";
 * The die message:
 * emake install failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/smplayer-0.6.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/smplayer-0.6.4/temp/environment'.
 * 

>>> Failed to emerge media-video/smplayer-0.6.4, Log file:

>>>  '/var/tmp/portage/media-video/smplayer-0.6.4/temp/build.log'

 * GNU info directory index is up-to-date.


emerge --info
emerge --info
Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.7-r2, 2.6.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Sat, 25 Oct 2008 17:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://saturn/~lourdas/ http://mirror.bytemark.co.uk/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 asf bash-completion berkdb bluetooth branding bzip2 bzlib cairo caps charconv chm cli cracklib crypt css ctype cups curl custom-optimization dba dbus device-mapper dmi dri dts dvd dvdr dvdread effects encode exif expat fat fbcon ffmpeg fftw firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hal hddtemp howl iconv icu id3tag imagemagick imap imlib innodb isdnlog jabber java java6 javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix lcms libsamplerate libwww lm_sensors madwifi maildir mailwrapper mhash midi mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs nvidia objc odbc offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pear perl php pmu png posix pppd python qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiserfs ruby sasl scanner server session sharedext simplexml slang smp sndfile soap sockets speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog tcltk tcpd tetex threads tidy tiff tokenizer tordns truetype unicode usb userlocales vda vnc vncviewer vorbis wmf wv wxgtk1 x264 xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc xvnc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-10-25 21:57:22 UTC
I think this is due to LINGUAS being unset. Of course it should not fail like that, and I have to look into this. For the time being you should be able to install it with LINGUAS="en_US" set.
Comment 2 Dror Levin (RETIRED) gentoo-dev 2008-10-25 22:01:15 UTC
My LINGUAS is set (although not to anything supported by smplayer) and I get the same error.

Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27 x86_64)
=================================================================                              
System uname: Linux-2.6.27-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.0 
Timestamp of tree: Sat, 25 Oct 2008 16:18:01 +0000                                             
app-shells/bash:     3.2_p39                                                                   
dev-java/java-config: 1.3.7, 2.1.6-r1                                                          
dev-lang/python:     2.6-r3                                                                    
dev-util/cmake:      2.6.2                                                                     
sys-apps/baselayout: 2.0.0                                                                     
sys-apps/openrc:     0.3.0-r1                                                                  
sys-apps/sandbox:    1.2.18.1-r3                                                               
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --jobs=3"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 3 Vasilis Lourdas 2008-10-25 22:09:34 UTC
(In reply to comment #1)
> I think this is due to LINGUAS being unset. Of course it should not fail like
> that, and I have to look into this. For the time being you should be able to
> install it with LINGUAS="en_US" set.

Yes, LINGUAS="en_US" emerge -v smplayer works fine here.
Comment 4 Rahul Jain 2008-10-26 21:02:34 UTC
LINGUAS=en_US does the job here as well.
Comment 5 Ian Abbott 2008-10-28 11:05:05 UTC
Rather than building with a temporary change to the LINGUAS variable, you can add the change to the "/etc/portage/package.use" file with the following line:

=media-video/smplayer-0.6.4 linguas_en_US

or if you want it to apply to all versions of smplayer:

media-video/smplayer linguas_en_US

This will make the package survive a subsequent "emerge -DuN world".
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2008-11-06 00:37:17 UTC
Fix committed. We now add en_US as a fallback in case no other translation is generated.