Summary: | app-crypt/gpgme: gpgme-config script fails with et_EE locale, breaking at least kdepimlibs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | step <step247> |
Component: | [OLD] KDE | Assignee: | Daniel Black (RETIRED) <dragonheart> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | crypto+disabled, jaak, kde, truedfx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-710724-highlight-.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
libkleo-4.1.2 bildlog
kdepimlibs as requested as requested VERBOSE="1" emerge -1 kdepimlibs |
Description
step
2008-10-16 11:06:35 UTC
Created attachment 169148 [details]
libkleo-4.1.2 bildlog
A complete build log from /var/tmp/portage/kde-base/libkleo-4.1.2/temp/build.log
1) I unmerged KDE 4.1.2 2) Emerged emerge -anuv @world with not a single problem, 3) then emerge kmail kde-base/korganizer kde-base/kaddressbook kde-base/kgpg kde-base/kcalc kde-base/kdeartwork-kscreensaver kde-base/akregator -atv And I get the same libkleo error. See the libkleo-4.1.2 bildlog attachment # emerge --info Portage 2.2_rc12 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0 Timestamp of tree: Sun, 19 Oct 2008 20:45:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 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.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="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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 /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/var/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.osuosl.org/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo" LANG="et_EE.UTF-8" LC_ALL="et_EE.UTF-8" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=480" 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.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi addbookmarks alias alsa arts berkdb cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam firefox fortran gdbm gif gpm hal highlight history htmlhandbook iconv ipv6 isdnlog jpeg kde kerberos ldap mad matroska midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg openct opengl openldap openmp oss pam pcre pcsc-lite pdf perl png postgresql pppd python qt qt3 qt3support qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl svg tcpd tetex tiff truetype unicode vorbis win32codecs x86 xcomposite xml xorg xv zlib" ALSA_CARDS="intel8x0" 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 routeshare shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Created attachment 169316 [details]
kdepimlibs as requested
Created attachment 169318 [details]
as requested VERBOSE="1" emerge -1 kdepimlibs
as requested VERBOSE="1" emerge -1 kdepimlibs build log
This happens when kdepimlibs is built using an et_EE locale. This is not a bug in kdepimlibs, but in gpgme. $ LC_COLLATE=et_EE.UTF-8 gpgme-config --libs --thread=pthread Usage: gpgme-config [OPTIONS] Options: [--thread={ pthread}] [--prefix] [--exec-prefix] [--version] [--api-version] [--libs] [--cflags] [--get-gpg] [--get-gpgsm] $ LC_COLLATE=C gpgme-config --libs --thread=pthread -L/usr/lib64 -lgpgme -L/usr/lib64 -lgpg-error From gpgme-config: optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` This assumes all the English letters are matched by a-zA-Z, which is not true in an et_EE locale. This problem in back KDE 4.2.1 export LANG= emerge kdepimlibs-4.2.1 and kde-base/libkleo-4.2.1 compiles just fine after that fixed (finally). in gpgme-1.1.8-r1 sorry for the delay. reported upstream. LC_COLLATE=et_EE.UTF-8 /var/tmp/portage/app-crypt/gpgme-1.1.8-r1/image/usr/bin/gpgme-config --libs --thread=pthread -L/usr/lib64 -lgpgme -L/usr/lib64 -lgpg-error thanks step for the report and Harald van Dijk for isolating the problem This is not resolved. This problem exist also in kde-base/libkleo-4.2.1-r1. libkleo etc fails to compiled with LANG="et_EE.UTF-8" (In reply to comment #9) > This is not resolved. This problem exist also in kde-base/libkleo-4.2.1-r1. > libkleo etc fails to compiled with LANG="et_EE.UTF-8" have you got gpgme-1.1.8-r1 installed? looking closer look this below maybe another kde-base/libkleo-4.2.1* problem. please this in another bug report. ./libkleo-4.2.1/libkleo/ui/cryptoconfigmodule.cpp: return KIcon( ss.replace( QRegExp( "[^a-zA-Z0-9_]" ), "-" ) ); ./libkleo-4.2.1/libkleo/kleo/kconfigbasedkeyfilter.cpp: const QStringList contexts = config.readEntry( "match-contexts", "any" ).toLower().split( QRegExp( "[^a-zA-Z0-9_-!]+" ), QString::SkipEmptyParts ); dan@passivegrun i've added the same patch to gpgme-1.1.6.ebuild now too. This bug seems to be fixed. fixed upstream too. |