Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894060 - www-servers/caddy-2.6.2 - go build ./cmd/caddy failed
Summary: www-servers/caddy-2.6.2 - go build ./cmd/caddy failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on: 895238
Blocks:
  Show dependency tree
 
Reported: 2023-02-12 16:46 UTC by Toralf Förster
Modified: 2023-02-21 00:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2023-02-12 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,61.51 KB, text/plain)
2023-02-12 16:46 UTC, Toralf Förster
Details
environment (environment,73.60 KB, text/plain)
2023-02-12 16:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.27 KB, application/x-bzip)
2023-02-12 16:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.15 KB, application/x-bzip)
2023-02-12 16:46 UTC, Toralf Förster
Details
www-servers:caddy-2.6.2:20230212-120843.log.bz2 (www-servers:caddy-2.6.2:20230212-120843.log.bz2,94.10 KB, application/x-bzip)
2023-02-12 16:46 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-02-12 16:46:01 UTC
too long lines were shrinked:

/usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b583/_pkg_.a -trimpath "$WORK/b583=>" -p github.com/yuin/goldmark/extension -lang=go1.18 -complete -installsuffix shared -buildid uVhDYyuATyr-7NyNyPb5/uVhDYyuATyr-7NyNyPb5 -goversion go1.20 -shared -nolocalimports -importcfg $WORK/b583/importcfg -pac
/usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b553/_pkg_.a # internal
cp $WORK/b553/_pkg_.a /var/tmp/portage/www-servers/caddy-2.6.2/temp/go-build/ba/ba9e57e8a0cbfc24fefe055a14f1c4cae0f62bbe886c2b9ed1e0bc9fade2f2e4-d # internal
/usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b583/_pkg_.a # internal
cp $WORK/b583/_pkg_.a /var/tmp/portage/www-servers/caddy-2.6.2/temp/go-build/09/09d1f59d84e2e0a04eae7128ff17879942b8edf43144fa465334d88ef08d5a06-d # internal
 * ERROR: www-servers/caddy-2.6.2::gentoo failed (compile phase):
 *   go build ./cmd/caddy failed
 * 
 * Call stack:

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.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 a48367edee82bdec11c7bc39cd0b181ec7fc0f95
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 12 11:47:00 2023 +0000

    2023-02-12 11:46:59 UTC

emerge -qpvO www-servers/caddy
[ebuild  N    ] www-servers/caddy-2.6.2  USE="filecaps"
Comment 1 Toralf Förster gentoo-dev 2023-02-12 16:46:01 UTC
Created attachment 850472 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-12 16:46:03 UTC
Created attachment 850474 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-12 16:46:04 UTC
Created attachment 850476 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-12 16:46:05 UTC
Created attachment 850478 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-12 16:46:06 UTC
Created attachment 850480 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-12 16:46:07 UTC
The file size of ./files/temp.tar.bz2 is too big (73M) for an upload. For about 8 weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_gnome-j4-20230211-230027/var/tmp/tb/issues/20230212-120934-www-servers_caddy-2.6.2/files/temp.tar.bz2 is valid.
Comment 7 Toralf Förster gentoo-dev 2023-02-12 16:46:08 UTC
Created attachment 850482 [details]
www-servers:caddy-2.6.2:20230212-120843.log.bz2
Comment 8 Rahil Bhimjiani 2023-02-18 10:28:54 UTC
That's because of this error.Need to update caddy to 2.6.4 to fix compiling on go>=v1.20 

cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration
Comment 9 Larry the Git Cow gentoo-dev 2023-02-21 00:28:38 UTC
The bug has been closed via the following commit(s):

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

commit 9c396b05f9ea4431fecea8bc264cc0663689bdaa
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2023-02-21 00:27:56 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2023-02-21 00:28:38 +0000

    www-servers/caddy: add 2.6.4
    
    Closes: https://bugs.gentoo.org/895238
    Closes: https://bugs.gentoo.org/894060
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 www-servers/caddy/Manifest           |  2 ++
 www-servers/caddy/caddy-2.6.4.ebuild | 45 ++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)