Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508454 - net-libs/gnutls-3.3.1 USE=guile core.c:3369:3: error: 'gnutls_secure_malloc' undeclared
Summary: net-libs/gnutls-3.3.1 USE=guile core.c:3369:3: error: 'gnutls_secure_malloc' ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 22:00 UTC by Attila Tóth
Modified: 2014-04-25 19:06 UTC (History)
7 users (show)

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


Attachments
patch (gnutls-3.3.1-upstream_fixes-1.patch,4.95 KB, patch)
2014-04-23 01:42 UTC, jeremy
Details | Diff
fixed ebuild (gnutls-3.3.1.ebuild,3.18 KB, text/plain)
2014-04-23 01:43 UTC, jeremy
Details
872409857351f28b1e3c21526bfa6606c918b176.patch (872409857351f28b1e3c21526bfa6606c918b176.patch,870 bytes, patch)
2014-04-25 10:03 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2014-04-22 22:00:38 UTC
latest net-libs/gnutls-3.3.1 fails to build with USE=guile enabled, with the following error message:
core.c:3369:3: error: 'gnutls_secure_malloc' undeclared (first use in this function)

Reproducible: Always




Upstream already reacted.
References:
http://wiki.linuxfromscratch.org/blfs/ticket/4979
http://www.linuxfromscratch.org/patches/blfs/svn/gnutls-3.3.1-upstream_fixes-1.patch

Note: patch works for me
Comment 1 jeremy 2014-04-23 01:41:46 UTC
i can confirm this bug. I can also confirm that the patch works. Ill add the patch and an updated ebuild in a min
Comment 2 jeremy 2014-04-23 01:42:29 UTC
Created attachment 375504 [details, diff]
patch
Comment 3 jeremy 2014-04-23 01:43:03 UTC
Created attachment 375506 [details]
fixed ebuild
Comment 4 Juergen Rose 2014-04-24 12:23:05 UTC
Thanks jeremy,

the patch and the ebuild worked.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2014-04-24 12:53:57 UTC
Thank you for the patch.

I think patch should be split into two, the addition of GNUTLS_SAN_OTHERNAME is different issue.

Also, please avoid style changes (adding {} and such.

I also do not quite understand the move of:
-		char *buffer = NULL;
-		size_t size = 0;
-		int err;

Please discuss it with upstream and re-attach patches after committed so we can apply these.

Thanks!
Comment 6 Ed Catmur 2014-04-25 10:01:51 UTC
We just need this commit from upstream: https://gitorious.org/gnutls/gnutls/commit/872409857351f28b1e3c21526bfa6606c918b176.patch
Comment 7 Ed Catmur 2014-04-25 10:03:13 UTC
Created attachment 375656 [details, diff]
872409857351f28b1e3c21526bfa6606c918b176.patch
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2014-04-25 19:06:17 UTC
(In reply to Ed Catmur from comment #6)
> We just need this commit from upstream:
> https://gitorious.org/gnutls/gnutls/commit/
> 872409857351f28b1e3c21526bfa6606c918b176.patch

thanks!
applied.