Bug 129873

Summary: Rebuilding of gnupg always fails
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: gnupgAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-02 01:20:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 123268    

Description Robert Scheck 2004-08-13 17:10:40 UTC
Description of problem:
Rebuilding of gnupg will always fail, if the LANG environment 
variable isn't set to "C".

--- snipp ---
+ expect -f /usr/src/redhat/SOURCES/gnupg-shm-coprocessing.expect
gpg: DBG: mapped 4k shared memory at 0xb724b000, id=327680
gpg: WARNUNG: Unsichere Zugriffsrechte (homedir) "."
gpg: Schlüsselbund `./secring.gpg' erstellt
gpg: Schlüsselbund `./pubring.gpg' erstellt
gpg: Auf geht's - Botschaft eintippen ...
[ WAITING FOR INPUT / SAME AS "gnupg [enter]" ]
--- snapp --- 

Version-Release number of selected component (if applicable):
gnupg-1.2.5-0

How reproducible:
Everytime, see below.

Steps to Reproduce:
1. export LANG=de_DE@euro
2. rpmbuild -ba gnupg.spec
3. Die with the error/problem described above, because German and
   English localized output aren't the same *hmpf*

Actual results:
Here's a diff from what is working for me:

--- snipp ---
--- gnupg.spec       2004-07-27 21:38:57.000000000 +0200
+++ gnupg.spec.rsc   2004-08-13 19:09:03.000000000 +0200
@@ -39,7 +39,7 @@

 make %{?_smp_mflags}
 make check
-expect -f $RPM_SOURCE_DIR/gnupg-shm-coprocessing.expect
+LANG=C expect -f %{SOURCE2}

 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,6 +78,9 @@
 %{_mandir}/man7/*

 %changelog
+* Fri Aug 13 2004 Robert Scheck <redhat@linuxnetz.de>
+- set LANG=C before running shm coprocessing build-time check
+
 * Tue Jul 27 2004 Nalin Dahyabhai <nalin@redhat.com> 1.2.5-1
 - update to 1.2.5

--- snapp ---

Expected results:
Use of the suggested changes ;-)

Comment 1 Nalin Dahyabhai 2004-11-02 01:20:28 UTC
<whacks self on forehead>

Thanks!