Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187574 - media-video/kmplayer-0.9.4a-r1 does not compile with errors on translations
Summary: media-video/kmplayer-0.9.4a-r1 does not compile with errors on translations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 10:48 UTC by yuk
Modified: 2007-08-14 06:43 UTC (History)
1 user (show)

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


Attachments
Crude modification to the ebuild to add doc useflag (kmplayer-0.9.4a-r2.ebuild,2.21 KB, text/plain)
2007-08-04 00:07 UTC, Arttu Valo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yuk 2007-08-03 10:48:00 UTC
Trying to emerge media-video/kmplayer-0.9.4a-r1 I get error on /var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/doc/da

It sounds strange since I have

LINGUAS="it"

in my /etc/make.conf.

Reproducible: Always

Steps to Reproduce:
1. Ask me to emerge kmplayer
2.
3.

Actual Results:  
compile error

Expected Results:  
emerge ok

[root@linux145:~]# emerge --info
Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22.1 i686)
=================================================================
System uname: 2.6.22.1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 03 Aug 2007 09:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=pentium4 -march=pentium4 -msse3 -msse2 -msse -mmmx -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=pentium4 -march=pentium4 -msse3 -msse2 -msse -mmmx -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/var/portage-distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks metadata-transfer nodoc noinfo sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.inode.at/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://mirrors.serveftp.org/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/var/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
SYNC="rsync://10.209.4.14/gentoo-portage"
USE="7zip X X509 a52 aac acl acpi activefilter aio akode alisp alsa amr amrnb amrwb ao aotuv arts asf async atm audacious audiofile authdaemond autoipd automount avahi bash-completion bcmath bcp bdf berkdb bindist bitmap-fonts bittorrent bjam bl bluetooth boost buffysize bzip2 c3p0 cairo calendar caps cdb cddb cdparanoia cdr chroot cli colordiff config_wizard connectionstatus cpudetection cracklib crypt cscope css ctype cups curl curlwrappers cursors dbus dcraw device-mapper dga dhcp discard-path disk-partition diskio divx djvu dmi dmx dri dts dv dvd dvdr dvdread eap-tls elf emboss emerald enca encode epson escreen evo exif expat extrafilters fam fame fat ffmpeg fftw finger firefox flac flatfile fltk fontconfig foomaticdb fpx ftp fuse gcj gd gdbm gdm gif glib glibc-omitfp glitz gmedia gnokii gnutls gopher gpgme gphoto2 gpm graphviz gs gsm gstreamer guile hal hddtemp hdri hpn ical icons iconv icq idn ieee1394 imagemagick imap imlib immqt-bc inifile iodbc irda irmc isdnlog jack jack-tmpfs java javascript jbig jce jfs jingle john jpeg jpeg2k justify kde kdeenablefinal kdm kerberos kipi lame lcms ldap ldirectord lesstif libcaca libedit libg++ live lm_sensors logitech-mouse logrotate lua lzo mad management mbox meanwhile mfd-rewrites mhash midi mikmod mime mjpeg mmap mmx mmxext mng modplug mono motif mozdevelop mp2 mp3 mpeg mpi mplayer msn multicall multiuser musepack nas ncurses netboot network network-cron nfs nls nntp nptl nptlonly nsplugin ntfs oav objc objc-gc odbc offensive ogg openal openct openexr opengl openmp pam pam_chroot pam_console pam_timestamp parse-clocks pch pcmcia pcntl pcre pda pdf pdo-external perl php physfs pic pike png pnm pop portaudio posix povray ppds pppd prediction pwdb pyste python q32 qq qt3 qt3support qt4 quicktime rar rdesktop readline real realmedia reflection reiserfs rle rpm rrdtool rtc ruby samba sametime sasl sdl sensord serial server session sharedext silc simplexml slang slp smartcard smime sms smux sndfile snmp soap sockets sound speex spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification staticsocket stats svg swat sysfs syslog sysvipc tcl tga theora threads threadsonly tidy tiff timidity tivo tk tokenizer toolbar tools truetype truetype-fonts type1-fonts ucs2 unicode usb utempter v4l v4l2 vcd vidix vim vim-pager vim-syntax vorbis wavpack wddx wifi win32codecs winbind wireshark wmf wmp wxwindows x264 x86 xanim xcomposite xforms xfs xinetd xml xmlreader xmlrpc xmlwriter xorg xpm xprint xsl xv xvid xvmc yaz yv12 zeroconf zip zlib zoran" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="joystick keyboard evdev mouse vmmouse void vmware" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="userspace" USERLAND="GNU" VIDEO_CARDS="radeon i810 dummy fbdev vesa vga"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 yuk 2007-08-03 10:48:58 UTC
This is the error:

make[2]: Leaving directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/src'
Making all in icons
make[2]: Entering directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/icons'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/icons'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/doc'
Making all in da
make[3]: Entering directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/doc/da'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
/usr/kde/3.5/share/apps/ksgmltools2/customization/entities/l10n.entities:148: warning: failed to load external entity "/usr/kde/3.5/share/apps/ksgmltools2/customization/da/lang.entities"
%kde.l10n.ents;
               ^
Entity: line 1:
 %kde.l10n.ents;
                ^
index.docbook:15: parser error : Entity 'language' not defined
<book lang="&language;">
                      ^
index.docbook:15: element book: validity error : Syntax of value for attribute lang of book is not valid
<book lang="&language;">
                       ^
index.docbook:15: element book: validity error : Value "" for attribute lang of book is not among the enumerated set
<book lang="&language;">
                       ^
index.docbook:37: parser error : Entity 'erik.kjaer.pedersen.role' not defined
&erik.kjaer.pedersen.role;
                          ^
index.docbook:51: parser error : Entity 'FDLNotice' not defined
>&FDLNotice;</legalnotice>
            ^
index.docbook:51: element legalnotice: validity error : Element legalnotice content does not follow the DTD, expecting (title? , (calloutlist | glosslist | itemizedlist | orderedlist | segmentedlist | simplelist | variablelist | caution | important | note | tip | warning | literallayout | programlisting | programlistingco | screen | screenco | screenshot | formalpara | para | simpara | blockquote | indexterm | beginpage)+), got (CDATA)
>&FDLNotice;</legalnotice>
                          ^
index.docbook:546: parser error : Entity 'underFDL' not defined
&underFDL; &underGPL; </chapter>
          ^
index.docbook:546: parser error : Entity 'underGPL' not defined
&underFDL; &underGPL; </chapter>
                     ^
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/doc/da'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/kmplayer-0.9.4a-r1/work/kmplayer-0.9.4a'
make: *** [all] Error 2

!!! ERROR: media-video/kmplayer-0.9.4a-r1 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  kmplayer-0.9.4a-r1.ebuild, line 66:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
!!! 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/kmplayer-0.9.4a-r1/temp/build.log'.
Comment 2 yuk 2007-08-03 10:55:50 UTC
I also have in my /etc/make.conf

FEATURES="nodoc noinfo"

Why the ebuild is trying to make doc in Danish?

Thanks and bye.
Fabio
Comment 3 Arttu Valo 2007-08-04 00:02:52 UTC
(In reply to comment #2)
> FEATURES="nodoc noinfo"
> Why the ebuild is trying to make doc in Danish?

I'm no specialist on the issue, but the original sources seem to always make docs in *all* languages and there doesn't appear to be suitable Gentoo-specific changes (e.g., doc-useflag) in the ebuild to counter that.
Comment 4 Arttu Valo 2007-08-04 00:07:17 UTC
Created attachment 126836 [details]
Crude modification to the ebuild to add doc useflag

Very crude doc-useflag introduction to the kmplayer/kmplayer-0.9.4a-r1 ebuild. Maybe it helps? I have no idea why the po-files get the useflag treatment in the original ebuild, though, so I left that in.
Comment 5 yuk 2007-08-06 08:00:01 UTC
(In reply to comment #4)
> Created an attachment (id=126836) [edit]
> Crude modification to the ebuild to add doc useflag
> 

Worked fine!
Thanks!

Fabio
Comment 6 Wulf Krueger (RETIRED) gentoo-dev 2007-08-13 17:38:04 UTC
I can't reproduce your problem. It works just fine for me. I've corrected the LINGUAS handling so that it includes the documentation which should correct the problem for you.
Comment 7 yuk 2007-08-14 06:43:21 UTC
(In reply to comment #6)
> I can't reproduce your problem. It works just fine for me. I've corrected the
> LINGUAS handling so that it includes the documentation which should correct the
> problem for you.
> 

Perfect. Great work.
Now it works fine also for me!

Thank you very much.

Bye
Fabio