Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668748 - net-irc/irssi-1.1.1-r1 with dev-libs/libressl - network-openssl.c:51:12: error: static declaration of 'X509_STORE_up_ref' follows non-static declaration
Summary: net-irc/irssi-1.1.1-r1 with dev-libs/libressl - network-openssl.c:51:12: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-15 20:07 UTC by fkater
Modified: 2018-10-22 14:56 UTC (History)
2 users (show)

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 fkater 2018-10-15 20:07:52 UTC
irssi cannot be build. I haven't investigated further but this sounds like a
libressl issue. I am using libressl-2.7.4 on x86_64. 

> network-openssl.c:51:12: error: static declaration of 'X509_STORE_up_ref' follows non-static declaration
> In file included from /usr/include/openssl/x509.h:595,                                           
>                  from /usr/include/openssl/pem.h:71,                                                    
>                  from /usr/include/openssl/ssl.h:150,                           
>                  from tls.h:22,                                 
>                  from network-openssl.c:28:
> /usr/include/openssl/x509_vfy.h:435:5: note: previous declaration of 'X509_STORE_up_ref' was here                                                              
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/core -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread  -DSYSCONFDIR=\
> ""/etc"\" -DMODULEDIR=\""/usr/lib64/irssi/modules"\"   -march=native -g0 -O3 -pipe -fomit-frame-pointer -mindirect-branch=thunk -mfunction-return=thunk -mindire
> ct-branch-register -fno-diagnostics-show-caret -flto=5 -fuse-linker-plugin -Wall  -c -o servers.o servers.c
> make[3]: *** [Makefile:568: network-openssl.o] Error 1
> make[3]: *** Waiting for unfinished jobs....

irssi-1.0.7 still builds fine.

Thanks


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2018-10-22 14:56:58 UTC
The bug has been closed via the following commit(s):

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

commit 8604a85880a0776792b947faaeca48a345274209
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2018-10-22 14:56:31 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2018-10-22 14:56:31 +0000

    net-irc/irssi: revbump to fix libressl-2.7/2.8 bulding
    
    Closes: https://bugs.gentoo.org/668748
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 net-irc/irssi/files/libressl.patch  | 33 +++++++++++++++++++
 net-irc/irssi/irssi-1.1.1-r2.ebuild | 63 +++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)