Bug 2033978 - F36FailsToInstall: golang-github-mozillazg-pinyin-devel
Summary: F36FailsToInstall: golang-github-mozillazg-pinyin-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: go-rpm-macros
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nicolas Mailhot
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2021-12-19 11:13 UTC by Miro Hrončok
Modified: 2021-12-20 21:24 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-20 21:24:23 UTC
Type: ---


Attachments (Terms of Use)

Description Miro Hrončok 2021-12-19 11:13:08 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok@redhat.com).

Your package (golang-github-mozillazg-pinyin) Fails To Install in Fedora 36:

can't install golang-github-mozillazg-pinyin-devel:
  - nothing provides golang(os) needed by golang-github-mozillazg-pinyin-devel-0.19.0-1.fc36.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Robin Lee 2021-12-19 11:59:53 UTC
A dependency of 'golang(os)' is generated when built with golang 1.18 but nothing provides it.

Comment 2 Maxwell G 2021-12-19 18:35:04 UTC
(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

Comment 3 Fedora Update System 2021-12-20 21:23:10 UTC
FEDORA-2021-1ac811c678 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ac811c678

Comment 4 Fedora Update System 2021-12-20 21:24:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.