Bug 129873 - Rebuilding of gnupg always fails
Summary: Rebuilding of gnupg always fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnupg
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-08-13 17:10 UTC by Robert Scheck
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-02 01:20:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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>
+- set LANG=C before running shm coprocessing build-time check
+
 * Tue Jul 27 2004 Nalin Dahyabhai <nalin> 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!


Note You need to log in before you can comment on or make changes to this bug.