Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903746 - www-servers/apache-2.4.56 - tls_core.c: error: rustls_client_hello has no member named sni_name
Summary: www-servers/apache-2.4.56 - tls_core.c: error: rustls_client_hello has no mem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-03 16:34 UTC by Toralf Förster
Modified: 2023-05-15 05:53 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.87 KB, text/plain)
2023-04-03 16:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.07 KB, text/plain)
2023-04-03 16:34 UTC, Toralf Förster
Details
environment (environment,152.49 KB, text/plain)
2023-04-03 16:34 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,708 bytes, application/x-bzip)
2023-04-03 16:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.48 KB, application/x-bzip)
2023-04-03 16:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.80 KB, application/x-bzip)
2023-04-03 16:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,50.86 KB, application/x-bzip)
2023-04-03 16:34 UTC, Toralf Förster
Details
www-servers:apache-2.4.56:20230403-134723.log.bz2 (www-servers:apache-2.4.56:20230403-134723.log.bz2,12.35 KB, application/x-bzip)
2023-04-03 16:34 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 2023-04-03 16:34:42 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/os/unix -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/include -I/usr/include/apr-1 -I/var/t
/bin/sh /var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/libtool --mode=compile x86_64-pc-linux-gnu-gcc    -O2 -pipe -march=native -fno-diagnostics-color    -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/os/unix -I/var/tmp/portag
/bin/sh /var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/libtool --mode=compile x86_64-pc-linux-gnu-gcc    -O2 -pipe -march=native -fno-diagnostics-color    -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/os/unix -I/var/tmp/portag
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/os/unix -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/include -I/usr/include/apr-1 -I/var/t
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/os/unix -I/var/tmp/portage/www-servers/apache-2.4.56/work/httpd-2.4.56/include -I/usr/include/apr-1 -I/var/t
tls_core.c: In function 'extract_client_hello_values':
tls_core.c:510:14: error: 'rustls_client_hello' has no member named 'sni_name'
  510 |     if (hello->sni_name.len > 0) {
      |              ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20230401-223003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 15627c7dc0704485a40d760d299179ff60e820ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 3 11:02:02 2023 +0000

    2023-04-03 11:02:02 UTC

emerge -qpvO www-servers/apache
[ebuild  N    ] www-servers/apache-2.4.56  USE="gdbm (split-usr) ssl suexec-caps -debug -doc -ldap (-selinux) -static -suexec -suexec-syslog -systemd -threads" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic (-lua) -macro -md -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_hcheck -proxy_html -proxy_http -proxy_http2 -proxy_scgi -proxy_uwsgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -session -session_cookie -session_crypto -session_dbd -slotmem_shm -socache_memcache -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4"
Comment 1 Toralf Förster gentoo-dev 2023-04-03 16:34:43 UTC
Created attachment 859476 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-03 16:34:44 UTC
Created attachment 859477 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-03 16:34:46 UTC
Created attachment 859478 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-03 16:34:46 UTC
Created attachment 859479 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-03 16:34:47 UTC
Created attachment 859480 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-03 16:34:48 UTC
Created attachment 859481 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-03 16:34:49 UTC
Created attachment 859482 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-04-03 16:34:50 UTC
Created attachment 859483 [details]
www-servers:apache-2.4.56:20230403-134723.log.bz2
Comment 9 Leonid Kopylov 2023-04-15 13:37:47 UTC
same with www-servers/apache-2.4.57
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-17 09:47:21 UTC
I think it's automagically using rustls when installed. We should disable it for now until the fix for bug 885099 is merged.
Comment 11 Larry the Git Cow gentoo-dev 2023-05-15 05:53:44 UTC
The bug has been closed via the following commit(s):

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

commit b4a4e1c5ea363b43e05b0d3ccd35473120bf3b12
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-11 01:04:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-15 05:53:10 +0000

    apache-2.eclass: add rustls support
    
    Bug: https://bugs.gentoo.org/885099
    Closes: https://bugs.gentoo.org/903746
    Closes: https://github.com/gentoo/gentoo/pull/28634
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/apache-2.eclass                      | 1 +
 profiles/arch/amd64/package.use.mask        | 4 ++++
 profiles/arch/amd64/package.use.stable.mask | 4 ++++
 profiles/arch/base/package.use.mask         | 4 ++++
 profiles/features/wd40/package.use.mask     | 1 +
 www-servers/apache/apache-2.4.54-r8.ebuild  | 2 +-
 www-servers/apache/apache-2.4.55-r1.ebuild  | 2 +-
 www-servers/apache/apache-2.4.56.ebuild     | 2 +-
 www-servers/apache/apache-2.4.57.ebuild     | 2 +-
 9 files changed, 18 insertions(+), 4 deletions(-)