Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858197 - dev-lang/go: Internal compiler error when building app-admin/gopass-1.14.1 (internal/.../registry.go: internal compiler error: assertion failed)
Summary: dev-lang/go: Internal compiler error when building app-admin/gopass-1.14.1 (i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
: 863011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-07-15 14:15 UTC by Toralf Förster
Modified: 2022-08-04 02:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.64 KB, text/plain)
2022-07-15 14:15 UTC, Toralf Förster
Details
app-admin:gopass-1.14.1:20220714-224451.log.bz2 (app-admin:gopass-1.14.1:20220714-224451.log.bz2,47.76 KB, application/x-bzip)
2022-07-15 14:15 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,90.22 KB, application/x-bzip)
2022-07-15 14:15 UTC, Toralf Förster
Details
environment.bz2 (environment.bz2,27.77 KB, application/x-bzip)
2022-07-15 14:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.40 KB, application/x-bzip)
2022-07-15 14:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.17 KB, application/x-bzip)
2022-07-15 14:22 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 2022-07-15 14:15:47 UTC
packagefile time=$WORK/b021/_pkg_.a
EOF
/usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b090/_pkg_.a -trimpath "/var/tmp/portage/app-admin/gopass-1.14.1/work/gopass-1.14.1/internal/backend=>github.com/gopasspw/gopass/internal/backend;$WORK/b090=>" -p github.com/gopasspw/gopass/internal/backend -lang=go1.18 -complete -installsuffix shared -buildid LH-OyyJNyqaWdS6QY2u1/LH-OyyJNyqaWdS6QY2u1 -goversion go1.18.4 -shared -nolocalimports -importcfg $WORK/b090/importcfg -pack ./internal/backend/context.go ./internal/backend/crypto.go ./internal/backend/doc.go ./internal/backend/rcs.go ./internal/backend/registry.go ./internal/backend/storage.go
# github.com/gopasspw/gopass/internal/backend
internal/backend/registry.go:85:45: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220710-060005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit d117ae5ba6253c112fd159408681ea21ede2a26c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 14 21:46:31 2022 +0000

    2022-07-14 21:46:30 UTC

emerge -qpvO app-admin/gopass
[ebuild  N    ] app-admin/gopass-1.14.1
Comment 1 Toralf Förster gentoo-dev 2022-07-15 14:15:48 UTC
Created attachment 791477 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-15 14:15:49 UTC
Created attachment 791480 [details]
app-admin:gopass-1.14.1:20220714-224451.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-07-15 14:15:51 UTC
Created attachment 791483 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-07-15 14:15:52 UTC
Created attachment 791486 [details]
environment.bz2
Comment 5 Toralf Förster gentoo-dev 2022-07-15 14:15:53 UTC
Created attachment 791489 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-15 14:15:54 UTC
The file size of ./files/temp.tar.bz2 is too big (42M) for an upload. For about 8 weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_no_multilib-j4-20220710-060005/var/tmp/tb/issues/20220715-004522-app-admin_gopass-1.14.1/files/temp.tar.bz2 is valid.
Comment 7 Toralf Förster gentoo-dev 2022-07-15 14:22:49 UTC
Created attachment 791513 [details]
logs.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-15 14:44:51 UTC
unccing toolchain@ as this one is a Go ICE:
```
/usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b090/_pkg_.a -trimpath "/var/tmp/portage/app-admin/gopass-1.14.1/work/gopass-1.14.1/internal/backend=>github.com/gopasspw/gopass/internal/backend;$WORK/b090=>" -p github.com/gopasspw/gopass/internal/backend -lang=go1.18 -complete -installsuffix shared -buildid LH-OyyJNyqaWdS6QY2u1/LH-OyyJNyqaWdS6QY2u1 -goversion go1.18.4 -shared -nolocalimports -importcfg $WORK/b090/importcfg -pack ./internal/backend/context.go ./internal/backend/crypto.go ./internal/backend/doc.go ./internal/backend/rcs.go ./internal/backend/registry.go ./internal/backend/storage.go
# github.com/gopasspw/gopass/internal/backend
internal/backend/registry.go:85:45: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
```
Comment 9 William Hubbs gentoo-dev 2022-08-01 23:15:27 UTC
This is fixed in go 1.18.5.

Thanks,

William
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-04 02:14:41 UTC
*** Bug 863011 has been marked as a duplicate of this bug. ***