Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 744127

Summary: dev-libs/libstrophe-0.10.0: fails to build with libressl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andriy Utkin (RETIRED) <andrey_utkin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
dev-libs:libstrophe-0.10.0:20200921-235905.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-09-22 16:08:49 UTC
src/tls_openssl.c:85:21: error: ‘SSL_ERROR_WANT_ASYNC’ undeclared here (not in a function); did you mean ‘SSL_ERROR_WANT_ACCEPT’?
   85 |     TLS_ERROR_FIELD(SSL_ERROR_WANT_ASYNC),
      |                     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:73:29: note: in definition of macro ‘TLS_ERROR_FIELD’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20200917-221845

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.46.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Sep 21 11:05:34 PM UTC 2020
/var/db/repos/libressl	Mon Sep 21 04:07:08 PM UTC 2020

emerge -qpvO dev-libs/libstrophe
[ebuild  N    ] dev-libs/libstrophe-0.10.0  USE="libressl -doc -expat"
Comment 1 Toralf Förster gentoo-dev 2020-09-22 16:08:51 UTC
Created attachment 661930 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-09-22 16:08:52 UTC
Created attachment 661933 [details]
dev-libs:libstrophe-0.10.0:20200921-235905.log
Comment 3 Toralf Förster gentoo-dev 2020-09-22 16:08:54 UTC
Created attachment 661936 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-09-22 16:08:55 UTC
Created attachment 661939 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-09-22 16:08:57 UTC
Created attachment 661942 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-09-22 16:08:58 UTC
Created attachment 661945 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-09-22 16:08:59 UTC
Created attachment 661948 [details]
temp.tbz2
Comment 8 Dmitry Podgorny 2020-09-25 19:34:27 UTC
This error has been fixed in libstrophe and the fix will be a part of the future minor release.

Link to the commit: https://github.com/strophe/libstrophe/commit/acced31192931cfff480ba66be5e634f906a1beb
Comment 9 Andriy Utkin (RETIRED) gentoo-dev 2020-10-28 06:53:05 UTC
For clarity: I'm waiting for an upstream release with the fix.
Comment 10 Andriy Utkin (RETIRED) gentoo-dev 2020-12-22 11:34:59 UTC
Have explicitly requested the upstream to issue a new release: https://github.com/strophe/libstrophe/issues/171
Comment 11 Andriy Utkin (RETIRED) gentoo-dev 2020-12-29 12:56:13 UTC
New upstream release 0.10.1 has been issued 5 days ago: https://github.com/strophe/libstrophe/releases/tag/0.10.1

Committed the corresponding ebuild as 947f3d307a7ccf44dbff3aab652dd123c71a4013 .

Also, see the proposal to discontinue LibreSSL in Gentoo.
https://archives.gentoo.org/gentoo-dev/message/9a92320c599e63c8c18b2ed29050f22f