Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806178 - net-vpn/strongswan-5.9.2-r1 - ../.../crl.h: error: expected identifier before numeric constant
Summary: net-vpn/strongswan-5.9.2-r1 - ../.../crl.h: error: expected identifier before...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dennis Eisele
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-02 11:53 UTC by Toralf Förster
Modified: 2022-01-12 08:25 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.31 KB, text/plain)
2021-08-02 11:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,289.49 KB, text/plain)
2021-08-02 11:53 UTC, Toralf Förster
Details
environment (environment,90.91 KB, text/plain)
2021-08-02 11:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.34 KB, application/x-bzip)
2021-08-02 11:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,28.99 KB, application/x-bzip)
2021-08-02 11:53 UTC, Toralf Förster
Details
net-vpn:strongswan-5.9.2-r1:20210802-095445.log (net-vpn:strongswan-5.9.2-r1:20210802-095445.log,265.60 KB, text/plain)
2021-08-02 11:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.74 KB, application/x-bzip)
2021-08-02 11:53 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 2021-08-02 11:53:20 UTC
                 from /usr/include/openssl/engine.h:30,
                 from openssl_plugin.c:29:
../../../../src/libstrongswan/credentials/certificates/crl.h:47:9: error: expected identifier before numeric constant
   47 |         CRL_REASON_UNSPECIFIED                          = 0,
      |         ^~~~~~~~~~~~~~~~~~~~~~
openssl_plugin.c: In function ‘login’:
openssl_plugin.c:357:17: warning: ‘ENGINE_ctrl_cmd_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j3-20210729-204616

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   jamvm 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 173f41a88a87f8ed9312b55844b34c380c5306af
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 2 08:52:57 2021 +0000

    2021-08-02 08:52:55 UTC

emerge -qpvO net-vpn/strongswan
[ebuild  N    ] net-vpn/strongswan-5.9.2-r1  USE="caps constraints gmp mysql non-root openssl pam sqlite strongswan_plugins_led strongswan_plugins_lookip strongswan_plugins_systime-fix strongswan_plugins_unity strongswan_plugins_vici systemd -curl -debug -dhcp -eap -farp -gcrypt -ldap -networkmanager -pkcs11 (-selinux) -strongswan_plugins_aesni -strongswan_plugins_blowfish -strongswan_plugins_bypass-lan -strongswan_plugins_ccm -strongswan_plugins_chapoly -strongswan_plugins_ctr -strongswan_plugins_forecast -strongswan_plugins_gcm -strongswan_plugins_ha -strongswan_plugins_ipseckey -strongswan_plugins_newhope -strongswan_plugins_ntru (-strongswan_plugins_padlock) -strongswan_plugins_rdrand -strongswan_plugins_save-keys -strongswan_plugins_unbound -strongswan_plugins_whitelist"
Comment 1 Toralf Förster gentoo-dev 2021-08-02 11:53:21 UTC
Created attachment 729678 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-02 11:53:23 UTC
Created attachment 729681 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-02 11:53:24 UTC
Created attachment 729684 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-02 11:53:25 UTC
Created attachment 729687 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-02 11:53:26 UTC
Created attachment 729690 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-02 11:53:28 UTC
Created attachment 729693 [details]
net-vpn:strongswan-5.9.2-r1:20210802-095445.log
Comment 7 Toralf Förster gentoo-dev 2021-08-02 11:53:29 UTC
Created attachment 729696 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-02 12:22:34 UTC
Possibly OpenSSL 3 related?
Comment 9 Dennis Eisele 2022-01-11 18:30:38 UTC
Looks like its Openssl 3 related, but works for me with the new version of strongswan.
Comment 10 Larry the Git Cow gentoo-dev 2022-01-12 08:25:03 UTC
The bug has been closed via the following commit(s):

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

commit 27433e746e662096bcf6b91647307f9640878a22
Author:     Dennis Eisele <kernlpanic@dennis-eisele.de>
AuthorDate: 2022-01-11 22:57:45 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-01-12 08:23:26 +0000

    net-vpn/strongswan: change dependencies so openssl3 isn't used
    
    Closes: https://bugs.gentoo.org/806178
    Signed-off-by: Dennis Eisele <kernlpanic@dennis-eisele.de>
    Closes: https://github.com/gentoo/gentoo/pull/23747
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../{strongswan-5.9.2-r1.ebuild => strongswan-5.9.2-r2.ebuild}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)