Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283011 - media-video/smplayer-0.6.8 fails to compile with pt_PT translation
Summary: media-video/smplayer-0.6.8 fails to compile with pt_PT translation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 09:08 UTC by Álvaro Morais
Modified: 2009-10-21 22:45 UTC (History)
1 user (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 Álvaro Morais 2009-08-28 09:08:57 UTC
media-video/smplayer-0.6.8 fails to compile with pt_PT.
The smplayer_pt_PT.ts file is missing.

Reproducible: Always

Steps to Reproduce:
1. USE="linguas_pt_PT" emerge smplayer
2. or
3. LINGUAS="pt_PT" emerge smplayer

Actual Results:  
Compilation fails:

ect-2.0 -lSM -lICE -pthread -pthread -lXrender -lXrandr -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread                                                                                                                                  
make[1]: Leaving directory `/mnt/ebuild/working/portage/media-video/smplayer-0.6.8/work/smplayer-0.6.8/src'                                                 
 * Generating pt_PT translation ...                                                                                                                         
lrelease error: Cannot open smplayer_pt_PT.ts: No such file or directory                                                                                    
                                                                                                                                                      [ !! ]
 *                                                                                                                                                          
 * ERROR: media-video/smplayer-0.6.8 failed.                                                                                                                
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2909:  Called gen_translation 'pt_PT'
 *             environment, line 1688:  Called die
 * The specific snippet of code:
 *       eend $? || die "failed to generate $1 translation"
 *  The die message:
 *   failed to generate pt_PT translation
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/ebuild/working/portage/media-video/smplayer-0.6.8/temp/build.log'.
 * The ebuild environment file is located at '/mnt/ebuild/working/portage/media-video/smplayer-0.6.8/temp/environment'.
 *

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

>>>  '/mnt/ebuild/working/portage/media-video/smplayer-0.6.8/temp/build.log'

 * Messages for package media-video/smplayer-0.6.8:

 *
 * ERROR: media-video/smplayer-0.6.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2909:  Called gen_translation 'pt_PT'
 *             environment, line 1688:  Called die
 * The specific snippet of code:
 *       eend $? || die "failed to generate $1 translation"
 *  The die message:
 *   failed to generate pt_PT translation
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/ebuild/working/portage/media-video/smplayer-0.6.8/temp/build.log'.
 * The ebuild environment file is located at '/mnt/ebuild/working/portage/media-video/smplayer-0.6.8/temp/environment'.
 *


Expected Results:  
To actually compile.

A current workaround is to disable pt_PT support.
USE="-linguas_pt_PT" emerge -av smplayer

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64)
=================================================================                                         
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1  
Timestamp of tree: Fri, 28 Aug 2009 08:00:06 +0000                                                        
app-shells/bash:     4.0_p28                                                                              
dev-java/java-config: 2.1.8-r1                                                                            
dev-lang/python:     2.6.2-r1, 3.1.1                                                                      
dev-util/cmake:      2.6.4-r2                                                                             
sys-apps/baselayout: 2.0.1                                                                                
sys-apps/openrc:     0.4.3-r3                                                                             
sys-apps/sandbox:    2.1                                                                                  
sys-devel/autoconf:  2.13, 2.63-r1                                                                        
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                              
sys-devel/binutils:  2.19.1-r1                                                                            
sys-devel/gcc-config: 1.4.1                                                                               
sys-devel/libtool:   2.2.6a                                                                               
virtual/os-headers:  2.6.30-r1                                                                            
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                            
CBUILD="x86_64-pc-linux-gnu"                                                                              
CFLAGS="-march=native -mtune=native -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"  
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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ "
LANG="pt_PT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/mnt/ebuild/working"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi administrator alsa amd64 avahi bash-completion berkdb binary-drivers bittorrent bluetooth bonjour branding bzip2 cairo cdb cdda cddax cddb cdr cdrom chm cleartype cli cmake consolekit cracklib crypt curl dbus desktopglobe dri dts dvd dvdr eds emboss encode esd eselect evo ffmpeg firefox flac fortran gdbm gentoo gif gnome google-gadgets gpm gstreamer gtk gzip hal howl-compat icc iconv ipv6 isdnlog java john joystick jpeg jpeg2k kde kde4 kqemu ldap libnotify lm_sensors-arts lzma lzo mad mdnsresponder-compat mikmod mmx mmxext mng mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvidia ogg openal opengl openmp openssl pam pcre pdf perl phonon plasma png policykit ppds pppd pt pulseaudio python qt3 qt3support qt4 qtdesigner qtscript quicktime radio rar readline reflection reiser4 reiserfs rss samba sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification subtitles svg sysfs tcpd themes threads thumbnail thunar tiff transcode truetype unicode unzip upnp usb v4l v4l2 vcd vcdinfo vde vim vim-syntax vim-with-x vorbis webkit wifi x264 xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 anomen 2009-08-28 11:15:18 UTC
confirmed,

the 0.6.8 ebuild should be changed to accept LINGUAS="pt" instead of pt_PT.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-10-21 22:45:28 UTC
(In reply to comment #1)
> the 0.6.8 ebuild should be changed to accept LINGUAS="pt" instead of pt_PT.

Fixed. Thanks for reporting!