Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 161197

Summary: Crash compiling koffice-i18n-1.6.1 when LINGUAS="es"
Product: Gentoo Linux Reporter: José Luis Luri <xbleed>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: major CC: meteora, oc666, otama, sbriglie, urcindalo
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Error compiling source.
Diff for missing double quotes for file in docs/krita
Removed 2 undeclared objects types
Diff for missing double quotes for file in docs/krita
2nd diff for the docs/krita error for 2 undeclared object type

Description José Luis Luri 2007-01-09 20:20:01 UTC
It's simple, (in the last package "koffice-i18n-1.6.0" with the same sys-conf i had the same problem).

See the attached file.


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge portage
3. emerge koffice-i18n




Ballantines bleed # emerge --info
Portage 2.1.2_rc4-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-rc1 i686)
=================================================================
System uname: 2.6.20-rc1 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.12.8
Last Sync: Mon, 08 Jan 2007 18:50:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/"
LANG="es_ES.UTF-8"
LINGUAS="es"
MAKEOPTS="-j2"
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.europe.gentoo.org/gentoo-portage"
USE="alsa arts berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd dvdr fortran gdbm gpm iconv isdnlog kde kdehiddenvisibility libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python qt readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode x86 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 José Luis Luri 2007-01-09 20:21:23 UTC
Created attachment 106257 [details]
Error compiling source.
Comment 2 Armando Romero 2007-02-13 05:59:50 UTC
Created attachment 110017 [details, diff]
Diff for missing double quotes for file in docs/krita

/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita/using-filters.docbook

This is the location of this file

Hope this helps
Comment 3 Armando Romero 2007-02-13 06:01:35 UTC
Created attachment 110019 [details, diff]
Removed 2 undeclared objects types

/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita/developers.docbook

This other file is the only other one that prevents the ES package from compiling
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-13 11:45:35 UTC
Thanks for the patches. Please could you provide them in unified diff format (diff -u).

Thanks, Charlie
Comment 5 Armando Romero 2007-02-14 04:27:13 UTC
Created attachment 110140 [details, diff]
Diff for missing double quotes for file in docs/krita

Thank you for responding to this Charlie, I hope this is what you were asking for, next up is the other diff file
Comment 6 Armando Romero 2007-02-14 04:30:58 UTC
Created attachment 110141 [details, diff]
2nd diff for the docs/krita error for 2 undeclared object type
Comment 7 Tomas Cohen Arazi 2007-02-14 05:31:19 UTC
(In reply to comment #6)
> Created an attachment (id=110141) [edit]
> 2nd diff for the docs/krita error for 2 undeclared object type

I get this when using (and not using too) developers.dokbook.diff

make[4]: se ingresa al directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
using-filters.docbook:1077: parser error : Unescaped '<' not allowed in attributes values
>diálogo <guilabel
          ^
using-filters.docbook:1077: parser error : attributes construct error
>diálogo <guilabel
          ^
using-filters.docbook:1077: parser error : Couldn't find end of Start Tag link line 1076
>diálogo <guilabel
          ^
using-filters.docbook:1080: parser error : Opening and ending tag mismatch: para line 1069 and link
>. </para>
 ^
using-filters.docbook:1080: parser error : Opening and ending tag mismatch: sect1 line 1064 and para
>. </para>
          ^
using-filters.docbook:1098: parser error : Opening and ending tag mismatch: chapter line 1 and sect1
</sect1>
        ^
using-filters.docbook:1113: parser error : Unescaped '<' not allowed in attributes values
>diálogo <guilabel
          ^
using-filters.docbook:1113: parser error : attributes construct error
>diálogo <guilabel
          ^
using-filters.docbook:1113: parser error : Couldn't find end of Start Tag link line 1112
>diálogo <guilabel
          ^
using-filters.docbook:1116: parser error : Opening and ending tag mismatch: para line 1105 and link
>. </para>
 ^
using-filters.docbook:1116: parser error : Opening and ending tag mismatch: sect1 line 1100 and para
>. </para>
          ^
using-filters.docbook:1134: parser error : chunk is not well balanced
</sect1>
^
using-filters.docbook:1134: parser error : chunk is not well balanced
</sect1>
^
index.docbook:144: parser error : Failure to process entity filters
&filters;
         ^
index.docbook:144: parser error : Entity 'filters' not defined
&filters;
         ^
make[4]: *** [index.cache.bz2] Error 1
make[4]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1'
make: *** [all] Error 2

!!! ERROR: app-i18n/koffice-i18n-1.6.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4706:   Called src_compile
  koffice-i18n-1.6.1.ebuild, line 49:   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/app-i18n/koffice-i18n-1.6.1/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/overlays/tomas'
Comment 8 oc666 2007-02-26 12:22:56 UTC
Also, happend with LINGUAS="he en".
I get the next output.

# emerge -u koffice-i18n
Calculating dependencies... done!

>>> Emerging (1 of 1) app-i18n/koffice-i18n-1.6.1 to /
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
>>> Unpacking source...

 * You must set the LINGUAS environment variable to a list of valid
 * language codes, one for each language you would like to install.
 * e.g.: LINGUAS="sv de pt"
 *
 * The available language codes are:
ca cs cy da de el en_GB es et eu fi fr hu it ja lv ms nb nl pl pt pt_BR ru sk sl sr sr@Latn sv uk zh_CN zh_TW


!!! ERROR: app-i18n/koffice-i18n-1.6.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  koffice-i18n-1.6.1.ebuild, line 38:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


my emerge --info:

Gentoo Base System release 1.12.9
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Last Sync: Sun, 25 Feb 2007 22:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ "
LANG="he_IL.UTF-8"
LC_ALL="he_IL.UTF-8"
LINGUAS="he en"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X aac alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr apache apache2 arts asf avi bash-completion berkdb bidi bitmap-fonts bluetooth cdr cli cracklib crypt cups dbus divx4linux dri dv elibc_glibc encode firefox fortran gdbm gif gpm hal iconv icq input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ linguas_en linguas_he lm_sensors midi mmx mozdevelop mozilla mp3 mpeg msn mysql ncurses new-login nls nptl nptlonly nsplugin ntfs nvidia opengl oss pam pcre pdf perl php png ppds pppd python qt qt3 qt4 readline reflection reiserfs samba sensord session spell spl sse sse2 ssl symlink tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU utf8 v4l v4l2 video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa win32codecs xcomposite xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 urcindalo 2007-03-04 11:30:19 UTC
Same problem here with koffice-i18n-1.6.1 on AMD64 and es_ES at krita's turn:
------
Making all in krita
make[4]: se ingresa al directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
Making all in .
make[5]: se ingresa al directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita'
make[5]: No se hace nada para `all-am'.
make[5]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita'
using-filters.docbook:1077: parser error : Unescaped '<' not allowed in attributes values
>diálogo <guilabel
          ^
using-filters.docbook:1077: parser error : attributes construct error
>diálogo <guilabel
          ^
using-filters.docbook:1077: parser error : Couldn't find end of Start Tag link line 1076
>diálogo <guilabel
          ^
using-filters.docbook:1080: parser error : Opening and ending tag mismatch: para line 1069 and link
>. </para>
 ^
using-filters.docbook:1080: parser error : Opening and ending tag mismatch: sect1 line 1064 and para
>. </para>
          ^
using-filters.docbook:1098: parser error : Opening and ending tag mismatch: chapter line 1 and sect1
</sect1>
        ^
using-filters.docbook:1113: parser error : Unescaped '<' not allowed in attributes values
>diálogo <guilabel
          ^
using-filters.docbook:1113: parser error : attributes construct error
>diálogo <guilabel
          ^
using-filters.docbook:1113: parser error : Couldn't find end of Start Tag link line 1112
>diálogo <guilabel
          ^
using-filters.docbook:1116: parser error : Opening and ending tag mismatch: para line 1105 and link
>. </para>
 ^
using-filters.docbook:1116: parser error : Opening and ending tag mismatch: sect1 line 1100 and para
>. </para>
          ^
using-filters.docbook:1134: parser error : chunk is not well balanced
</sect1>
^
using-filters.docbook:1134: parser error : chunk is not well balanced
</sect1>
^
index.docbook:144: parser error : Failure to process entity filters
&filters;
         ^
index.docbook:144: parser error : Entity 'filters' not defined
&filters;
         ^
make[4]: *** [index.cache.bz2] Error 1
make[4]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice/krita'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs/koffice'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/var/tmp/portage/app-i18n/koffice-i18n-1.6.1/work/koffice-l10n-es-1.6.1'
make: *** [all] Error 2

!!! ERROR: app-i18n/koffice-i18n-1.6.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4764:   Called src_compile
  koffice-i18n-1.6.1.ebuild, line 48:   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
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2007-03-18 13:37:15 UTC
*** Bug 152734 has been marked as a duplicate of this bug. ***
Comment 11 Carsten Lohrke (RETIRED) gentoo-dev 2007-03-18 21:51:24 UTC
Well, better late then never. Patched without revision bump. Thanks for the patch Armando.
Comment 12 oc666 2007-03-28 15:11:39 UTC
I still have the problem with LINGUAS="he en"
Reopen the bug, please.
Comment 13 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2007-03-28 21:01:33 UTC
*** Bug 172351 has been marked as a duplicate of this bug. ***
Comment 14 sbriglie 2007-03-30 08:58:38 UTC
(In reply to comment #12)
> I still have the problem with LINGUAS="he en"
> Reopen the bug, please.
> 

I am having the same issues with LINGUAS="it en_GB"