Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911119 - <app-containers/docker-24.0.5 not compatibile with >=dev-lang/go-1.20.6
Summary: <app-containers/docker-24.0.5 not compatibile with >=dev-lang/go-1.20.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: William Hubbs
URL: https://github.com/moby/moby/issues/4...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-24 08:18 UTC by Kamil Kamiński
Modified: 2023-07-24 19:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Kamiński 2023-07-24 08:18:36 UTC
There was a minor change in host header handling in go 1.20.6 that block docker cli from working when trying for example to attach to running container:

http: invalid Host header

Reproducible: Always

Steps to Reproduce:
1. Update dev-lang/go to 1.20.6 or newer
2. Rebuild docker/docker-cli with it
3. Try to run `docker compose exec` into any running container
Actual Results:  
http: invalid Host header

Expected Results:  
Command run inside the container

Docker is already patched in next version.

Since dev-lang/go-1.20.6 is not stable yet, I'd propose to mask this version or make it not compatible with docker.

A simple downgrade (+rebuild of docker) fixes the "invalid host header" issue.
Comment 1 Kamil Kamiński 2023-07-24 08:19:55 UTC
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.4.5-gentoo x86_64)
=================================================================
System uname: Linux-6.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.37
KiB Mem:    24257564 total,   5821124 free
KiB Swap:    4147196 total,   4147196 free
Timestamp of repository gentoo: Mon, 24 Jul 2023 06:30:01 +0000
Head commit of repository gentoo: 4572075395f82d95930d4162686f62a256c70888
sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta4_p1::gentoo
dev-lang/rust-bin:         1.71.0::gentoo
dev-util/cmake:            3.27.0::gentoo
dev-util/meson:            1.2.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.7::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r6::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* no-source-code"
AR="llvm-ar"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=native -O3 -pipe -flto=thin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXX="clang++"
CXXFLAGS="-march=native -O3 -pipe -flto=thin"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j9"
NM="llvm-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="llvm-ranlib"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 aptx audit bluetooth branding bzip2 cairo cdda cdr clang cli colord connection-sharing conntrack crypt cups dbus dns-over-tls dnssec dri dts dvd dvdr eds encode evo exif fido2 flac fortran fprint gdbm gif gles2 gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk gui harfbuzz heif http2 iconv icu idn introspection ipv6 jit jpeg kerberos keyring lcms libkms libnotify libtirpc llvm lto mad mng modemmanager mp3 mp4 mpeg multilib nautilus ncurses networkmanager nftables nls nptl ogg opengl openmp p2p pam pango pcre pdf pkcs11 plymouth png policykit postscript ppds pulseaudio qt5 readline screencast sdl seccomp security-key smartcard sound spell ssl startup-notification svg sysprof system-llvm systemd test-rust tiff tpm tracker truetype udev udisks unicode upnp-av upower usb vaapi vala vorbis vulkan wayland wext wifi wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zink zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="directory ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965 iris i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 William Hubbs gentoo-dev 2023-07-24 16:05:27 UTC
Docker 24.0.5 is not out yet, but I have applied patches to 24.0.4 that
should fix this issue.
Make sure you are running docker-24.0.4-r2 and docker-cli-24.0.4-r1 and
report back on whether this is still an issue.

Thanks,

William
Comment 3 William Hubbs gentoo-dev 2023-07-24 18:23:40 UTC
They just now released 24.0.5, so I'll take a look at bumping it.
Comment 4 Larry the Git Cow gentoo-dev 2023-07-24 19:40:17 UTC
The bug has been closed via the following commit(s):

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

commit 0c701b2a6ae76d6eff0c205cd7973d516260cd6e
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-07-24 19:40:08 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-07-24 19:40:08 +0000

    app-containers/docker-cli: add 24.0.5
    
    Closes: https://bugs.gentoo.org/911119
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-containers/docker-cli/Manifest                 |  2 +
 app-containers/docker-cli/docker-cli-24.0.5.ebuild | 74 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

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

commit c69f2aff7cea29a8d8b8814c2d0d880096617447
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-07-24 19:40:07 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-07-24 19:40:07 +0000

    app-containers/docker: add 24.0.5
    
    Closes: https://bugs.gentoo.org/911119
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-containers/docker/Manifest             |   1 +
 app-containers/docker/docker-24.0.5.ebuild | 330 +++++++++++++++++++++++++++++
 2 files changed, 331 insertions(+)