Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662594 - app-crypt/xca-2.1.0 : pki_x509.cpp:870:14: error: X509_get0_extensions was not declared in this scope
Summary: app-crypt/xca-2.1.0 : pki_x509.cpp:870:14: error: X509_get0_extensions was no...
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: libressl-support libressl-2.8.0
  Show dependency tree
 
Reported: 2018-08-01 17:34 UTC by Toralf Förster
Modified: 2018-11-14 05:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.48 KB, text/plain)
2018-08-01 17:34 UTC, Toralf Förster
Details
app-crypt:xca-2.1.0:20180801-040809.log (app-crypt:xca-2.1.0:20180801-040809.log,15.93 KB, text/plain)
2018-08-01 17:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.98 KB, text/plain)
2018-08-01 17:34 UTC, Toralf Förster
Details
environment (environment,17.94 KB, text/plain)
2018-08-01 17:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.23 KB, application/x-bzip)
2018-08-01 17:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.48 KB, application/x-bzip)
2018-08-01 17:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.74 KB, application/x-bzip)
2018-08-01 17:35 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2018-11-07 16:29 UTC, Toralf Förster
Details
app-crypt:xca-2.1.1:20181107-154651.log (app-crypt:xca-2.1.1:20181107-154651.log,15.92 KB, text/plain)
2018-11-07 16:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.55 KB, text/plain)
2018-11-07 16:29 UTC, Toralf Förster
Details
environment (environment,22.23 KB, text/plain)
2018-11-07 16:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.56 KB, application/x-bzip)
2018-11-07 16:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.38 KB, application/x-bzip)
2018-11-07 16:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.88 KB, application/x-bzip)
2018-11-07 16:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-01 17:34:40 UTC
x86_64-pc-linux-gnu-g++ -Wall -Wextra -DXCA_PREFIX=\"/usr/share/xca\" -DETC=\"/etc\" -DDOCDIR=\"/usr/share/doc/xca-2.1.0\" -O2 -pipe -march=native  -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtSql -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -fPIC -I/var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0 -I/var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0 -I/var/tmp/portage/app-crypt/xca-2.1.0/work/xca-2.1.0/ui -O2 -pipe -march=native -O2 -ggdb -O2 -ggdb  -c pki_x509.cpp -o pki_x509.o
pki_x509.cpp: In member function ‘virtual extList pki_x509::getV3ext() const’:
pki_x509.cpp:870:14: error: ‘X509_get0_extensions’ was not declared in this scope
  el.setStack(X509_get0_extensions(cert));
              ^~~~~~~~~~~~~~~~~~~~
pki_x509.cpp:870:14: note: suggested alternative: ‘X509_REQ_get_extensions’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl-test_20180728-001933

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-crypt/xca
[ebuild  N    ] app-crypt/xca-2.1.0  USE="libressl -bindist -doc"
Comment 1 Toralf Förster gentoo-dev 2018-08-01 17:34:43 UTC
Created attachment 541990 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-01 17:34:46 UTC
Created attachment 541992 [details]
app-crypt:xca-2.1.0:20180801-040809.log
Comment 3 Toralf Förster gentoo-dev 2018-08-01 17:34:49 UTC
Created attachment 541994 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-01 17:34:52 UTC
Created attachment 541996 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-01 17:34:55 UTC
Created attachment 541998 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-01 17:34:58 UTC
Created attachment 542000 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-01 17:35:01 UTC
Created attachment 542002 [details]
temp.tbz2
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2018-08-02 06:18:27 UTC
Please check with libressl-2.7, works for me.
Comment 9 Toralf Förster gentoo-dev 2018-11-07 16:29:31 UTC
got at the unstable amd64 chroot image 17.0-desktop-gnome_libressl_20181104-213057 this : pki_x509.cpp:872:14: error: X509_get0_extensions was not declared in this scope
Comment 10 Toralf Förster gentoo-dev 2018-11-07 16:29:34 UTC
Created attachment 554418 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2018-11-07 16:29:36 UTC
Created attachment 554420 [details]
app-crypt:xca-2.1.1:20181107-154651.log
Comment 12 Toralf Förster gentoo-dev 2018-11-07 16:29:39 UTC
Created attachment 554422 [details]
emerge-history.txt
Comment 13 Toralf Förster gentoo-dev 2018-11-07 16:29:41 UTC
Created attachment 554424 [details]
environment
Comment 14 Toralf Förster gentoo-dev 2018-11-07 16:29:44 UTC
Created attachment 554426 [details]
etc.portage.tbz2
Comment 15 Toralf Förster gentoo-dev 2018-11-07 16:29:47 UTC
Created attachment 554428 [details]
logs.tbz2
Comment 16 Toralf Förster gentoo-dev 2018-11-07 16:29:49 UTC
Created attachment 554430 [details]
temp.tbz2
Comment 17 Larry the Git Cow gentoo-dev 2018-11-08 07:00:33 UTC
The bug has been closed via the following commit(s):

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

commit 279e97b718d7a4aae03dd4100d943d81d19ddc6c
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2018-11-08 06:56:34 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-11-08 07:00:23 +0000

    app-crypt/xca: build with >=dev-libs/libressl-2.7.0
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=662594
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-crypt/xca/xca-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit b64ab4904391b0606a46f275fe7de82ff3c1c337
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2018-11-08 06:57:45 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-11-08 07:00:17 +0000

    profiles: package.use.mask: mask app-crypt/xca[libressl]
    
    Needs >=dev-libs/libressl-2.7.0
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=662594
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 18 Stefan Strogin gentoo-dev 2018-11-14 05:32:00 UTC
But dev-libs/libressl-2.{7,8}* are still masked. Can the bug be closed like that?
Comment 19 Stefan Strogin gentoo-dev 2018-11-14 05:36:03 UTC
Oh, I see you have masked >=app-crypt/xca-2.1.0 libressl as well.
Sorry for bothering, please disregard the previous comment.