Bug 815116 - gpgme.h: fatal error: gpgme-i386.h: No such file or directory compilation terminated.
Summary: gpgme.h: fatal error: gpgme-i386.h: No such file or directory compilation ter...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gpgme
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-22 16:12 UTC by Mads Kiilerich
Modified: 2012-06-01 16:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-01 16:55:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2012-04-22 16:12:43 UTC
$ echo '#include "gpgme.h"' > test.c && gcc test.c 
In file included from test.c:1:0:
/usr/include/gpgme.h:14:24: fatal error: gpgme-i386.h: No such file or directory
compilation terminated.

$ rpm -qf /usr/include/gpgme.h
gpgme-devel-1.3.0-6.fc17.i686

$ rpm -qlf /usr/include/gpgme.h|grep include
/usr/include/gpgme-i686.h
/usr/include/gpgme.h

$ grep i.86 /usr/include/gpgme.h
#if defined(__i386__)
#include "gpgme-i386.h"


Both __i386 and __i686__ is defined. Patching gpgme.h so it starts with a 686 sections brings it one step further but fails with
/usr/include/gpgme-i686.h:95:2: error: #error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.

I guess this problem might cause some FTBFS packages on i686.

Comment 1 Rex Dieter 2012-04-22 16:21:34 UTC
OK, seen similar issues on other multilib hacks, I can apply the same fix here.

Comment 2 Rex Dieter 2012-04-22 16:42:01 UTC
Fwiw, the latter problem is a separate one, in that apps that use gpgme are expected to be built using the same value of _FILE_OFFSET_BITS as gpgme was built with.

Comment 3 Rex Dieter 2012-04-22 23:58:09 UTC
Try out this build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4013881

Comment 4 Mads Kiilerich 2012-04-23 01:02:07 UTC
Yes, that works for me.

(Except for the LFS issue which probably is caused by package I was building - bazaar-1.4.2-14 (without docs) resurrected from the land of the orphans. Brutally and naively removing the warning from gpgme-32.h worked good enough for this experiment.)

Comment 5 Fedora Update System 2012-04-23 01:13:46 UTC
gpgme-1.3.0-8.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2012-1726/gpgme-1.3.0-8.fc17

Comment 6 Fedora Update System 2012-04-24 03:18:17 UTC
Package gpgme-1.3.0-8.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gpgme-1.3.0-8.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1726/gpgme-1.3.0-8.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-06-01 16:55:14 UTC
gpgme-1.3.0-8.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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