Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912091 - app-containers/docker-compose-2.17.2: broken with dev-lang/go-1.21.0
Summary: app-containers/docker-compose-2.17.2: broken with dev-lang/go-1.21.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on: 912201
Blocks: go-1.21-bugs
  Show dependency tree
 
Reported: 2023-08-11 17:41 UTC by Alex Efros
Modified: 2023-08-14 05:26 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 Alex Efros 2023-08-11 17:41:31 UTC
This issue looks similar to https://bugs.gentoo.org/910491.

I've just upgraded to dev-lang/go-1.21.0, did emerge @golang-rebuild, and found `docker compose` broken in same way as in mentioned above issue:

$ docker compose up --build
[+] Building 0.0s (0/0)                                                                             
http: invalid Host header

Recompiling docker-compose using dev-lang/go-1.20.5 fixes the issue.
Comment 1 Alex Efros 2023-08-11 17:51:40 UTC
Upgrading to docker-compose-2.20.3 (just renaming ebuid) also fixes the issue.
Comment 2 William Hubbs gentoo-dev 2023-08-11 18:51:14 UTC
Docker-compose-2.20.3 has been added to the tree.

Thanks,

William
Comment 3 William Hubbs gentoo-dev 2023-08-11 18:53:15 UTC
If you want, you can let me know if this version of docker-compose works
with go 1.20.7 (the latest stable go).
Comment 4 Alex Efros 2023-08-11 20:30:06 UTC
(In reply to William Hubbs from comment #3)
> If you want, you can let me know if this version of docker-compose works
> with go 1.20.7 (the latest stable go).

- docker-compose-2.17.2 built using go-1.20.5 WORKS.
- docker-compose-2.17.2 built using go-1.20.7 FAILS.
- docker-compose-2.17.2 built using go-1.21.0 FAILS.

- docker-compose-2.20.3 built using go-1.20.5 WORKS.
- docker-compose-2.20.3 built using go-1.20.7 WORKS.
- docker-compose-2.20.3 built using go-1.21.0 WORKS.

I think we should stabilize docker-compose-2.20.3 now.