Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692240 - dev-libs/libp11-0.4.10 with >=dev-libs/libressl-3.0.0: p11_rsa.c:435:12: error: static declaration of RSA_meth_set_flags follows non-static declaration
Summary: dev-libs/libp11-0.4.10 with >=dev-libs/libressl-3.0.0: p11_rsa.c:435:12: erro...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2019-08-15 17:16 UTC by Toralf Förster
Modified: 2021-05-06 19:16 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.57 KB, text/plain)
2019-08-15 17:16 UTC, Toralf Förster
Details
dev-libs:libp11-0.4.10:20190814-152201.log (dev-libs:libp11-0.4.10:20190814-152201.log,14.43 KB, text/plain)
2019-08-15 17:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,252.64 KB, text/plain)
2019-08-15 17:16 UTC, Toralf Förster
Details
environment (environment,20.19 KB, text/plain)
2019-08-15 17:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.23 KB, application/x-bzip)
2019-08-15 17:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.04 KB, application/x-bzip)
2019-08-15 17:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.56 KB, application/x-bzip)
2019-08-15 17:17 UTC, Toralf Förster
Details
fix to compile against libressl-3.0.0 (libreP11.patch,433 bytes, patch)
2019-09-30 18:12 UTC, pagorman
Details | Diff
updated patch for compiling libp11 against LibreSSL-3.0.1 (libp11-Libressl-3.0.1.patch,1.13 KB, patch)
2019-10-04 01:29 UTC, pagorman
Details | Diff
Updated libressl patch for libp11-0.4.11 (libp11-0.4.11-libressl.patch,602 bytes, patch)
2021-01-15 12:30 UTC, Sandino Araico Sanchez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-08-15 17:16:45 UTC
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.      -O2 -pipe -march=native -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -c p11_rsa.c  -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o
p11_rsa.c:435:12: error: static declaration of ‘RSA_meth_set_flags’ follows non-static declaration
  435 | static int RSA_meth_set_flags(RSA_METHOD *meth, int flags)
      |            ^~~~~~~~~~~~~~~~~~
In file included from libp11.h:31,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20190810-072511

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *




emerge -qpvO dev-libs/libp11
[ebuild  N    ] dev-libs/libp11-0.4.10  USE="libressl -bindist -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-08-15 17:16:48 UTC
Created attachment 586904 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-15 17:16:51 UTC
Created attachment 586906 [details]
dev-libs:libp11-0.4.10:20190814-152201.log
Comment 3 Toralf Förster gentoo-dev 2019-08-15 17:16:54 UTC
Created attachment 586908 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-15 17:16:56 UTC
Created attachment 586910 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-15 17:17:00 UTC
Created attachment 586912 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-15 17:17:04 UTC
Created attachment 586914 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-08-15 17:17:07 UTC
Created attachment 586916 [details]
temp.tbz2
Comment 8 pagorman 2019-09-30 18:12:44 UTC
Created attachment 591444 [details, diff]
fix to compile against libressl-3.0.0

sorry for the delay!

This patch is already queued for merging upstream.

The only holdup is an autobuild / code-checker 404ing on a windows b. This isn't the only pull request with this problem.
Comment 9 pagorman 2019-09-30 18:13:08 UTC
*windows binary
Comment 10 pagorman 2019-10-04 01:29:00 UTC
Created attachment 591772 [details, diff]
updated patch for compiling libp11 against LibreSSL-3.0.1
Comment 11 pagorman 2019-10-04 01:47:29 UTC
Submitted Patch for inclusion upstream.
Comment 12 Sandino Araico Sanchez 2021-01-15 12:30:38 UTC
Created attachment 682993 [details, diff]
Updated libressl patch for libp11-0.4.11

libressl patch for libp11-0.4.11 is one line.
Comment 13 Larry the Git Cow gentoo-dev 2021-05-06 19:16:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=e04225e470ac4931dfab508f185485f0602aac7f

commit e04225e470ac4931dfab508f185485f0602aac7f
Author:     Sandino Araico Sanchez <sandino@sandino.net>
AuthorDate: 2021-05-01 05:00:11 +0000
Commit:     Quentin Retornaz <gentoo@retornaz.com>
CommitDate: 2021-05-06 19:15:59 +0000

    =dev-libs/libp11-0.4.11 libressl support
    
    Signed-off-by: Sandino Araico Sanchez <sandino@sandino.net>
    Bug: https://bugs.gentoo.org/692240
    Closes: https://github.com/gentoo/libressl/pull/331
    Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>

 dev-libs/libp11/files/libp11-0.4.11-libressl.patch | 13 +++++++++
 dev-libs/libp11/libp11-0.4.11.ebuild               | 31 ++++++++++++++++++++++
 dev-libs/libp11/metadata.xml                       | 20 ++++++++++++++
 3 files changed, 64 insertions(+)