Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38509 - compile error libgcrypt-1.1.91 and opencdk-0.5.1/gnutls-0.8.12
Summary: compile error libgcrypt-1.1.91 and opencdk-0.5.1/gnutls-0.8.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 37926 (view as bug list)
Depends on:
Blocks: 41408
  Show dependency tree
 
Reported: 2004-01-17 07:02 UTC by Andre Lammel
Modified: 2004-02-27 21:47 UTC (History)
3 users (show)

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


Attachments
opencdk-0.5.3 ebuild (opencdk-0.5.3.ebuild,791 bytes, text/plain)
2004-01-17 07:05 UTC, Andre Lammel
Details
gnutls-1.0.4 ebuild (gnutls-1.0.4.ebuild,1.26 KB, text/plain)
2004-01-17 09:40 UTC, Andre Lammel
Details
opencdk-0.5.3.ebuild (opencdk-0.5.3.ebuild,801 bytes, text/plain)
2004-01-19 11:55 UTC, Andre Lammel
Details
gnutls-1.0.4.ebuild (gnutls-1.0.4.ebuild,1.26 KB, text/plain)
2004-01-19 11:56 UTC, Andre Lammel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Lammel 2004-01-17 07:02:21 UTC
opencdk-0.5.1 does not compile with libgcrypt-1.1.91 because opencdk uses old
libgcrypt api calls.
Comment 1 Andre Lammel 2004-01-17 07:05:34 UTC
Created attachment 23978 [details]
opencdk-0.5.3 ebuild

the problem in this bug is solved by simply upgrading opencdk to version 0.5.3
this attachment is the new ebuild (hopefully o.k.)
Comment 2 Andre Lammel 2004-01-17 09:38:38 UTC
same with gnutls 0.8.12 - upgrade to gnutls 1.0.4 solves the problem
new ebuild for gnutls-1.0.4 is attached on net comment - and hopefully o.k.
Comment 3 Andre Lammel 2004-01-17 09:40:11 UTC
Created attachment 23989 [details]
gnutls-1.0.4 ebuild

this is the ebuild for gnutls-1.0.4
Comment 4 Andre Lammel 2004-01-17 10:26:06 UTC
i think there are some deps in the ebuilds using gnutls/opencdk to be solved...
otherwise emerge will try to merge older gnutls/opencdk - which fails as des-
cribed before.

they are easily resolvable by unmerging old versions of gnutls - should be done
by adding some flags to the ebuilds. 

i have not enough knowledge to correct the ebuilds - should be done by the package
maintainers.

hopefully i could help a little...
Comment 5 Mindaugas Tamosevicius 2004-01-17 13:08:58 UTC
quoting http://gnu.tsuren.net/software/gnutls/download.html:
"Note that there are two branches of gnutls. The stable branch 0.8.x needs libtasn 0.1.x, opencdk 0.5.1 and libgcrypt 1.1.12.
The new stable 1.0.x branch use libtasn 0.2.x, libgcrypt 1.1.90 and opencdk 0.5.3."
Comment 6 Jens Hoffrichter 2004-01-19 06:06:09 UTC
Hi,

I tried the ebuild for opencdk above, and it compiled without problem. 

I was trying to emerge evolution-1.5 (from breakmygentoo.net), it uses opencdk and gnutls, and I had also the described issues with gnutls. 

The posted ebuild for gnutls was incorrect, as it tried to download the source archive from ftp://ftp.gnutls.org/pub/gnutls/attic, which is not correct, as the file resides directly (I guess for the time being) in /pub/gnutls. But after correcting the SRC_URI in the .ebuild, it worked without problem.

Would it be possible to add a depend to opencdk and gnutls to require a libgcrypt <= 1.1.12 e.g.? I think this will testing simplify, especially if the ebuilds for the higher versions of opencdk etc. are entered into portage.

CU all,
Jens
Comment 7 Andre Lammel 2004-01-19 11:53:58 UTC
oki, i updated the depencies in the ebuilds and tested remerging gnutls after
unmerging following packets:

- libgcrypt
- opencdk
- gnutls

i now got installed following versions:

- libgcrypt-1.1.91
- opencdk-0.5.3
- gnutls-1.0.4

i could not verfiy the problem with libsoup
reported in bug #37732 if you use the newest
ebuild, which is for libsoup-1.99.26-r1, af-
ter using the latest ebuilds attached to this 
message.

but i think the problem in bug #37732 occours
if you do not unmerge older versions of above
mentioned software and rebuild linking depen-
cies using revdep-rebuild...

i had to fix the depencies in opencdk and gnutls
to opencdk require libgcrypt >= 1.1.80 and gnutls
require libgcrypt >= 1.1.80 and opencdk >= 1.5.3

i fixed the SRC_URI in the opencdk and the gnutls
ebuilds. also set flags to x86 but left rest un-
stable because i cannot test them.

should be o.k. now - so pls try them out and give
some feedback...

the new ebuilds follow...
Comment 8 Andre Lammel 2004-01-19 11:55:23 UTC
Created attachment 24091 [details]
opencdk-0.5.3.ebuild

updated ebuild for opencdk-0.5.3
Comment 9 Andre Lammel 2004-01-19 11:56:11 UTC
Created attachment 24092 [details]
gnutls-1.0.4.ebuild

updated ebuild for gnutls-1.0.4
Comment 10 Robert Moss (RETIRED) gentoo-dev 2004-01-19 17:29:01 UTC
For those having trouble with libsoup, a fix is included in Bug #37732.
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2004-01-22 17:02:53 UTC
*** Bug 37926 has been marked as a duplicate of this bug. ***
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2004-01-22 17:07:20 UTC
sorry for this taking so long. the problem here is gnutls-1.0.4 breaks binary compatibility, that means you have revdep-rebuild your apps that depend on gnutls. 

opencdk-0.5.3 is now in portage. 
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2004-02-01 04:00:35 UTC
fixed for this bug. gnutls-1.0.4 is another bug.