Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242332 - app-crypt/gpgme: gpgme-config script fails with et_EE locale, breaking at least kdepimlibs
Summary: app-crypt/gpgme: gpgme-config script fails with et_EE locale, breaking at lea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Black (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 11:06 UTC by step
Modified: 2009-04-26 21:06 UTC (History)
4 users (show)

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


Attachments
libkleo-4.1.2 bildlog (build.log,6.58 KB, text/plain)
2008-10-20 06:23 UTC, step
Details
kdepimlibs as requested (kdepimlibs-4.1.2_build_2.log,304.40 KB, text/plain)
2008-10-21 15:02 UTC, step
Details
as requested VERBOSE="1" emerge -1 kdepimlibs (kdepimlibs-4.1.2_BUILD_LOG.tar.bz2,32.16 KB, text/plain)
2008-10-21 15:36 UTC, step
Details

Note You need to log in before you can comment on or make changes to this bug.
Description step 2008-10-16 11:06:35 UTC
I can not get past the libkleo install and complete the upgrade from 4.1.1 to
4.1.2. 


emerge kde-base/libkleo -atv

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ] kde-base/libkleo-4.1.2 [4.1.1] USE="-debug -kdeprefix" 0 kB
[?=>0]

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Portage tree and overlays:                           
 [0] /usr/portage                                    
 [?] indicates that the source repository could not be determined

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) kde-base/libkleo-4.1.2
 * kdepim-4.1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...                                                        
Unpacking parts of kdepim-4.1.2.tar.bz2 to
/var/tmp/portage/kde-base/libkleo-4.1.2/work
Saving library dependendencies in libkleo:4.1                                   
>>> Source unpacked.                                                                   
>>> Configuring source in /var/tmp/portage/kde-base/libkleo-4.1.2/work/libkleo-4.1.2 ...
-- The C compiler identification is GNU                                         
-- The CXX compiler identification is GNU                                       
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc                 
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works        
-- Detecting C compiler ABI info                                                
-- Detecting C compiler ABI info - done                                         
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++               
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works      
-- Detecting CXX compiler ABI info                                              
-- Detecting CXX compiler ABI info - done                                       
-- Looking for Q_WS_X11                                                         
-- Looking for Q_WS_X11 - found                                                 
-- Looking for Q_WS_WIN                                                         
-- Looking for Q_WS_WIN - not found.                                            
-- Looking for Q_WS_QWS                                                         
-- Looking for Q_WS_QWS - not found.                                            
-- Looking for Q_WS_MAC                                                         
-- Looking for Q_WS_MAC - not found.                                            
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)                                
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so 
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
- found                                                                         
-- Looking for gethostbyname                                                    
-- Looking for gethostbyname - found                                            
-- Looking for connect                                                          
-- Looking for connect - found                                                  
-- Looking for remove                                                           
-- Looking for remove - found                                                   
-- Looking for shmat                                                            
-- Looking for shmat - found                                                    
-- Looking for IceConnectionNumber in ICE                                       
-- Looking for IceConnectionNumber in ICE - found                               
-- Found X11: /usr/lib/libX11.so                                                
-- Looking for include files CMAKE_HAVE_PTHREAD_H                               
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                       
-- Looking for pthread_create in pthreads                                       
-- Looking for pthread_create in pthreads - not found                           
-- Looking for pthread_create in pthread                                        
-- Looking for pthread_create in pthread - found                                
-- Found Threads: TRUE                                                          
-- Found Automoc4: /usr/bin/automoc4                                            
-- Found Perl: /usr/bin/perl                                                    
-- Performing Test _OFFT_IS_64BIT                                               
-- Performing Test _OFFT_IS_64BIT - Failed                                      
-- Performing Test HAVE_FPIE_SUPPORT                                            
-- Performing Test HAVE_FPIE_SUPPORT - Success                                  
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL                              
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success                    
-- Performing Test __KDE_HAVE_GCC_VISIBILITY                                    
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success                          
-- Found Phonon: /usr/lib/libphonon.so                                          
-- Found Phonon Includes: /usr/include/KDE;/usr/include                         
-- Found KDE 4.1 include dir: /usr/include                                      
-- Found KDE 4.1 library dir: /usr/lib                                          
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler          
-- Found automoc4: /usr/bin/automoc4                                            
-- Found KDE PIM libraries                                                      
-- Boost version: 1.34.1                                                        
-- Found the following Boost libraries:                                         
-- Found Akonadi: /usr/lib/libakonadiprotocolinternals.so                       
-- Found Akonadi includes: /usr/include                                         
-- Found Akonadi common libraries: /usr/lib/libakonadiprotocolinternals.so      
-- Found Akonadi dbus-interfaces: /usr/share/dbus-1/interfaces                  
-- Found Kode XML compiler: /usr/bin/kxml_compiler                              
-- Found ZLIB: /lib/libz.so                                                     
-- Found Strigi >= 0.5.9                                                        
-- Found Strigi: /usr/lib/libstreams.so                                         
-- Found gpgme-config at /usr/bin/gpgme-config                                  
-- Found gpgme v1.1.6, checking for flavours...                                 
--  Found flavour 'vanilla', checking whether it's usable...yes                 
-- Usable gpgme flavours found:  vanilla                                        
-- Did NOT find qgpgme                                                          
-- Could not find OPTIONAL package GNOKII                                       
-- Found Soprano: /usr/lib/libsoprano.so                                        
-- Found Soprano includes: /usr/include                                         
-- Found Soprano Index: /usr/lib/libsopranoindex.so                             
-- Found Soprano Client: /usr/lib/libsopranoclient.so                           
-- Found NEPOMUK: /usr/lib/libnepomuk.so                                        
-- Found libassuan-config at /usr/bin/libassuan-config                          
-- Found assuan v1.0.5, checking for flavours...                                
--  Found flavour 'vanilla', checking whether it's usable...yes                 
-- Usable assuan flavours found:  vanilla                                       
-- NO usable assuan found for Kleopatra                                         
-- KMail support DISABLED (QGPGME not found).                                   
-- KTimeTracker support enabled.                                                
-- KMailCVT support DISABLED (because KMail support is disabled).               
-- KOrganizer support DISABLED (because KMail support is disabled).             
-- checking for module 'opensync-1.0>=0.33'                                     
--   package 'opensync-1.0>=0.33' not found                                     
-- Could not find OPTIONAL package OPENSYNC                                     
-- Found GLIB2: /usr/lib/libglib-2.0.so                                         
-- KitchenSync support disabled (OpenSync not found).                           
--                                                                              
-----------------------------------------------------------------------------   
-- The following external packages were located on your system.                 
-- This installation will have the extra features provided by these packages.   
+ boost                                                                         
+ gpgme                                                                         
+ libXss                                                                        
+ Soprano                                                                       
+ Nepomuk                                                                       
+ xsltproc                                                                      
+ assuan                                                                        
+ glib2                                                                         
-----------------------------------------------------------------------------   
-- The following OPTIONAL packages could NOT be located on your system.         
-- Consider installing them to enable more features from this software.         
+ gnokii: Gnokii Development Libraries <http://www.gnokii.org>                  
Needed to provide the ability to import and export KDE addressbook entries
to/from mobile phones that are accessible via gnokii    
+ opensync, 0.30 or greater: OpenSync Development Libraries
<http://www.opensync.org>                                              
Needed to provide syncing functionality in KDE PIM applications. Necessary to
compile kitchensync.                                 
-----------------------------------------------------------------------------   

-- Configuring done
-- Generating done 
-- Build files have been written to:
/var/tmp/portage/kde-base/libkleo-4.1.2/work/libkleo_build
>>> Source configured.                                                                         
>>> Compiling source in /var/tmp/portage/kde-base/libkleo-4.1.2/work/libkleo-4.1.2 ...         
>>> Source compiled.                                                                           
>>> Test phase [not enabled]: kde-base/libkleo-4.1.2                                           

>>> Install libkleo-4.1.2 into /var/tmp/portage/kde-base/libkleo-4.1.2/image/ category kde-base
make: *** No rule to make target `install'.  Stop.
 *
 * ERROR: kde-base/libkleo-4.1.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_install
 * environment, line 2999:  Called kde4-meta_src_install
 * environment, line 2400:  Called cmake-utils_src_install
 * environment, line  716:  Called die
 * The specific snippet of code:
 * emake install DESTDIR="${D}" || die "Make install failed";
 * The die message:
 * Make 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/kde-base/libkleo-4.1.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/kde-base/libkleo-4.1.2/temp/environment'.
 *

>>> Failed to emerge kde-base/libkleo-4.1.2, Log file:

>>>  '/var/tmp/portage/kde-base/libkleo-4.1.2/temp/build.log'

 * Messages for package kde-base/libkleo-4.1.2:

 *
 * ERROR: kde-base/libkleo-4.1.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_install
 * environment, line 2999:  Called kde4-meta_src_install
 * environment, line 2400:  Called cmake-utils_src_install
 * environment, line  716:  Called die
 * The specific snippet of code:
 * emake install DESTDIR="${D}" || die "Make install failed";
 * The die message:
 * Make 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/kde-base/libkleo-4.1.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/kde-base/libkleo-4.1.2/temp/environment'.
 *

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

-----
kde-base/kdepimlibs
     Available versions:
        (kde-4) [M](~)4.0.4 [M](~)4.0.5
        (4.1)   (~)4.1.2
        {debug htmlhandbook kdeprefix ldap sasl test}
     Installed versions:  4.1.2


Reproducible: Always




kde-base/kdepimlibs
     Available versions:
        (kde-4) [M](~)4.0.4 [M](~)4.0.5
        (4.1)   (~)4.1.2
        {debug htmlhandbook kdeprefix ldap sasl test}
     Installed versions:  4.1.2
Comment 1 step 2008-10-20 06:23:08 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
Comment 2 step 2008-10-20 06:26:53 UTC
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



Comment 3 step 2008-10-21 15:02:14 UTC
Created attachment 169316 [details]
kdepimlibs as requested
Comment 4 step 2008-10-21 15:36:51 UTC
Created attachment 169318 [details]
as requested VERBOSE="1" emerge -1 kdepimlibs

as requested VERBOSE="1" emerge -1 kdepimlibs build log
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2009-01-10 12:55:15 UTC
This happens when kdepimlibs is built using an et_EE locale.
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2009-01-10 13:14:57 UTC
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.
Comment 7 step 2009-03-07 21:46:15 UTC
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 




Comment 8 Daniel Black (RETIRED) gentoo-dev 2009-03-07 23:51:05 UTC
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
Comment 9 step 2009-03-17 07:00:52 UTC
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" 
Comment 10 Daniel Black (RETIRED) gentoo-dev 2009-03-17 07:34:53 UTC
(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
Comment 11 Daniel Black (RETIRED) gentoo-dev 2009-03-17 08:17:48 UTC
i've added the same patch to gpgme-1.1.6.ebuild now too.
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-04-26 17:27:51 UTC
This bug seems to be fixed.
Comment 13 Daniel Black (RETIRED) gentoo-dev 2009-04-26 21:06:43 UTC
fixed upstream too.