Bug 260451 - sysutils/go-btfs: panic: qtls.ClientHelloInfo doesn't match
Summary: sysutils/go-btfs: panic: qtls.ClientHelloInfo doesn't match
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-15 21:30 UTC by Richard Allen
Modified: 2022-07-01 09:52 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mikael)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Allen 2021-12-15 21:30:06 UTC
Both the port and package for go-btfs gives me the following error when I try to run it.
-------------------------
panic: qtls.ClientHelloInfo doesn't match

goroutine 1 [running]:
github.com/marten-seemann/qtls-go1-15.init.0()
	github.com/marten-seemann/qtls-go1-15/unsafe.go:20 +0x1e5
-------------------------

If I go back and replace lang/go(1.17.5) with the older version of lang/go(1.16.7) and do a clean build and run the port the error is gone and the program runs fine.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-02-07 07:47:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b963dce8d98e7054f433ccd34e9216261e4a4281

commit b963dce8d98e7054f433ccd34e9216261e4a4281
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-02-07 07:45:52 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-02-07 07:45:52 +0000

    sysutils/go-btfs: mark as broken

    It requires go 1.15.

    PR:             260451
    Reported by:    Richard Allen

 sysutils/go-btfs/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2022-02-07 07:47:57 UTC
Sorry for the late reply.

go-btfs requires go 1.15
Even go-btfs2 (https://github.com/bittorrent/go-btfs) needs this old version.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2022-07-01 09:52:55 UTC
Removing this expired port.