Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683812 - dev-libs/nettle-3.4.1: rsa-sign-tr.c:243:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
Summary: dev-libs/nettle-3.4.1: rsa-sign-tr.c:243:3: error: ‘for’ loop initial declara...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL: http://lists.lysator.liu.se/pipermail...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-04-19 04:27 UTC by Daniel M. Weeks
Modified: 2019-04-19 08:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2019-04-19 04:27:55 UTC
I just ran into this on a machine stuck at gcc 4.9. It's a known issue upstream and there is a patch: http://lists.lysator.liu.se/pipermail/nettle-bugs/2018/007379.html

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-04-19 08:57:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e066e778a6f4dc94090d03d703c29459de25d78f

commit e066e778a6f4dc94090d03d703c29459de25d78f
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-04-19 08:56:14 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-04-19 08:56:33 +0000

    dev-libs/nettle: fix C89 issue
    
    Thanks: Daniel M. Weeks
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=683812
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-libs/nettle/files/nettle-3.4.1-build.patch | 53 ++++++++++++++++++++++++++
 dev-libs/nettle/nettle-3.4.1.ebuild            |  4 ++
 2 files changed, 57 insertions(+)