Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271989 - net-libs/net6-1.3.9 fails to build with >=net-libs/gnutls-2.7.1
Summary: net-libs/net6-1.3.9 fails to build with >=net-libs/gnutls-2.7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal with 2 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 294657 (view as bug list)
Depends on: 290349
Blocks: 253709
  Show dependency tree
 
Reported: 2009-05-31 15:23 UTC by Priit Laes (IRC: plaes)
Modified: 2009-11-26 00:01 UTC (History)
10 users (show)

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


Attachments
net6-gnutls.patch (net6-gnutls.patch,742 bytes, patch)
2009-05-31 15:51 UTC, Priit Laes (IRC: plaes)
Details | Diff
A slightly cleaner patch (net6-libgnutls.patch,738 bytes, patch)
2009-07-18 21:37 UTC, Robert Marmorstein
Details | Diff
Fix libgnutls bug (net6-1.3.9-r1.ebuild,871 bytes, text/plain)
2009-07-18 21:39 UTC, Robert Marmorstein
Details
Updated ebuild that fixes both bugs (net6-1.3.9-r1.ebuild,916 bytes, text/plain)
2009-07-18 21:57 UTC, Robert Marmorstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2009-05-31 15:23:06 UTC
net-libs/gnutls-2.8.0 is installed.

[snip]
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libnet6... yes
checking for libgnutls-config... no
checking for libgnutls - version >= 1.0.0... no
*** The libgnutls-config script installed by LIBGNUTLS could not be found
*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBGNUTLS_CONFIG environment variable to the
*** full path to libgnutls-config.
configure: error:
***
*** libgnutls was not found. You may want to get it by using the
*** package manager of your distribution or by compiling the source
*** from ftp://ftp.gnutls.org/pub/gnutls/. This dependency is
*** now mandatory.
[/snip]
Comment 1 Priit Laes (IRC: plaes) 2009-05-31 15:51:41 UTC
Created attachment 193066 [details, diff]
net6-gnutls.patch

Use pkg-config for finding..
Comment 2 Ivan 2009-06-25 13:41:51 UTC
Would you be able to tell me how you applied this patch?  It doesn't seem to work for me :s
Comment 3 Krzysztof Magusiak 2009-07-01 19:35:32 UTC
I tried to apply the patch, but it didn't work for me either.
Comment 4 Robert Marmorstein 2009-07-18 21:37:11 UTC
Created attachment 198433 [details, diff]
A slightly cleaner patch

Here is a slightly cleaner patch that I was able to get working.  I will post the ebuild I used below.
Comment 5 Robert Marmorstein 2009-07-18 21:39:28 UTC
Created attachment 198435 [details]
Fix libgnutls bug

Using this ebuild, I was able to successfully emerge net6.  Here are the steps I followed:

1.  Place the ebuild in the net-libs/net6 directory (I did this in my local overlay, but it would probably work in /usr/portage/net-libs/net6).  

2.  Make a "files" directory under that folder and copy the net6-libgnutls.patch file there.

3.  Use "ebuild net6-1.3.9-r1.ebuild manifest" to update the file manifest.  

4.  Emerge!
Comment 6 Robert Marmorstein 2009-07-18 21:44:36 UTC
Don't forget to also fix bug #271994....
Comment 7 Robert Marmorstein 2009-07-18 21:57:14 UTC
Created attachment 198436 [details]
Updated ebuild that fixes both bugs

This ebuild fixes both bugs, so that both net6 and obby compile.
Comment 8 Krzysztof Magusiak 2009-07-20 21:39:57 UTC
The new patch works just fine.
Comment 9 Boris Petersen 2009-08-06 09:43:12 UTC
confirmed, patch and ebuild work fine, please bump into tree
Comment 10 Johannes Krude 2009-09-27 17:34:32 UTC
The last activity on this bug seems to be 2 month old, but it still not fixed in the portage tree
Comment 11 Benjamin Herr 2009-10-22 15:32:00 UTC
Hi,

the proposed patch has been applied to upstream, please bump the version of net6 to 1.3.10.
Comment 12 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-28 20:59:32 UTC
In portage, thanks for the patches.
Comment 13 Rafał Mużyło 2009-11-26 00:01:19 UTC
*** Bug 294657 has been marked as a duplicate of this bug. ***