Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66190 - gpgme 1.0.0 not build becuse of a missing assuan.h
Summary: gpgme 1.0.0 not build becuse of a missing assuan.h
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
: 66215 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-03 00:49 UTC by Csaba Tóth
Modified: 2004-10-28 02:19 UTC (History)
4 users (show)

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


Attachments
The correct ebuild script (gpgme-1.0.0.ebuild,1.76 KB, text/plain)
2004-10-03 01:39 UTC, Csaba Tóth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Tóth 2004-10-03 00:49:40 UTC
The assuan.h is in "../assuan/assuan.h" instead of the "assuan.h" what is in the engine-gpgsm.c:42

Reproducible: Always
Steps to Reproduce:
1. emerge all gpgme version, and all assuan.h from your /usr/include
Actual Results:  
Not build

Expected Results:  
Build normalli

The solution what i do is copy the assuan.h into my /usr/include.
But the normal is:
1) do a patch what is correcting the #include "assuan.h" line to #include
"../assuan/assuan.h" or
2) do a patch to add into the gcc's parameters: -Iassuan or -I../assuan or
something similiar.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-10-03 01:08:44 UTC
patches welcome.
Comment 2 Csaba Tóth 2004-10-03 01:39:59 UTC
Created attachment 40968 [details]
The correct ebuild script

With this ebuild script it is builded for me correctly.
Comment 3 Csaba Tóth 2004-10-03 01:42:30 UTC
Oh, i forget to tell, i have changed just that line:

emake || die

to this:

emake CFLAGS="${CFLAGS} -I../assuan/" || die
Comment 4 Didier Link 2004-10-03 02:20:45 UTC
Maybe only a dependencies problem.

I've just emerged gpgme-1.0.0 and the same problem with assuan.h ... I emerge libassuan before gpgme and it's ok !

Maybe just add a depend on libassuan in gpgme ebuild can solve this problem ?

Comment 5 Roie Kerstein 2004-10-03 02:26:03 UTC
There is no need in dependencies if the ebuild can work without it.
In this case the ebuild works if it is fixed as described above.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-10-03 03:14:47 UTC
Thankyou T
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-10-03 03:14:47 UTC
Thankyou Tóth, sorry about being slow to fix.

Didier - I didn't want to put a depend in as libassuan is masked if I remember correctly.

Any more problems let me know.
Comment 8 Csaba Tóth 2004-10-03 08:50:25 UTC
for me now it is builded correctly.
thank you.
Comment 9 Daniel Black (RETIRED) gentoo-dev 2004-10-03 12:52:30 UTC
*** Bug 66215 has been marked as a duplicate of this bug. ***
Comment 10 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-05 08:58:23 UTC
It will be fixed properly in gpgme-1.0.1, now it triggers bug 66362:

http://marc.theaimsgroup.com/?l=gnupg-devel&m=109682025731166&w=2
Comment 11 Daniel Black (RETIRED) gentoo-dev 2004-10-28 02:19:54 UTC
Hope this is still fixed.