Bug 2033978
Summary: | F36FailsToInstall: golang-github-mozillazg-pinyin-devel | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | go-rpm-macros | Assignee: | Nicolas Mailhot <nicolas.mailhot> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | asm, deepinde-sig, go-sig, jcajka, maxwell, nicolas.mailhot, quantum.analyst, robinlee.sysu, tommi.t.rantala, zebob.m |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-12-20 21:24:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1992487 |
Description
Miro Hrončok
2021-12-19 11:13:08 UTC
A dependency of 'golang(os)' is generated when built with golang 1.18 but nothing provides it. (In reply to Robin Lee from comment #1) > A dependency of 'golang(os)' is generated when built with golang 1.18 but > nothing provides it. Yes, the `%__go_requires` macro [1,2] seems to be broken. On Rawhide: ``` $ go version go version go1.18beta1 linux/amd64 $ GO111MODULE=off GOPATH=$(pwd)/build/BUILDROOT/golang-github-mozillazg-pinyin-0.19.0-2.fc36.x86_64/usr/share/gocode/ golist --imported --package-path github.com/mozillazg/go-pinyin --skip-self --template 'golang({{.}})\n' golang(github.com/mattn/go-isatty) golang(os) ``` On F35: ``` $ go version go version go1.16.11 linux/amd64 GO111MODULE=off GOPATH=$(pwd)/build/BUILDROOT/golang-github-mozillazg-pinyin-0.19.0-3.fc35.x86_64/usr/share/gocode/ golist --imported --package-path github.com/mozillazg/go-pinyin --skip-self --template 'golang({{.}})\n' golang(github.com/mattn/go-isatty) ``` [1]: https://pagure.io/go-rpm-macros/blob/master/f/rpm/fileattrs/go.attr#_6 [2]: https://pagure.io/go-rpm-macros/blob/master/f/bin/go-rpm-integration#_423 FEDORA-2021-1ac811c678 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ac811c678 FEDORA-2021-1ac811c678 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |