Bug 1727674
Summary: | builddep failures building grafana in rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Goodwin <mgoodwin> |
Component: | go-rpm-macros | Assignee: | Nicolas Mailhot <nicolas.mailhot> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jcajka, jchaloup, nicolas.mailhot, vbatts, zebob.m |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-10 11:50:48 UTC | Type: | Bug |
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: | 1715534 | ||
Bug Blocks: |
Description
Mark Goodwin
2019-07-08 01:23:00 UTC
This is most probably caused by https://pagure.io/fesco/issue/2120 on going work in Rawhide(tldr; landing breaking changes directly in rawhide). Re-assigning to more appropriate component and dependency. @jcajka As you know perfectly well, this is due to the whole Go dependency pile being cleaned up in a side-tag to fc31, with the corresponding deps not being available outside the side tag https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/YWYKFYTSALNFUED5HMFU4CK65PUANJKM/ (do read the whole thread) Grafana is a leaf package so it can get done when all the stack below is finished (In reply to Nicolas Mailhot from comment #2) > @jcajka > > As you know perfectly well, this is due to the whole Go dependency pile > being cleaned up in a side-tag to fc31, with the corresponding deps not > being available outside the side tag > > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ > message/YWYKFYTSALNFUED5HMFU4CK65PUANJKM/ > > (do read the whole thread) > > Grafana is a leaf package so it can get done when all the stack below is > finished I don't know. There hasn't been any information that you plan to do all the work directly in rawhide(breaking it for the time before all the work is finished, blocking any devel in it). It seems that it didn't reach out to all the package maintainers either, thus this bug report. Thanks for clarification and confirmation that this is caused by your changes. Could you try again? We have merged f31-go, everything should work now. Hi Zebob, I ran a new scratch build - it's now very close to building the root, but no cigar : DEBUG util.py:587: Package go-srpm-macros-3.0.8-3.fc31.noarch is already installed. DEBUG util.py:585: BUILDSTDERR: No matching package to install: 'golang(github.com/go-yaml/yaml)' DEBUG util.py:585: BUILDSTDERR: Not all dependencies satisfied DEBUG util.py:585: BUILDSTDERR: Error: Some packages could not be found. DEBUG util.py:734: Child return code was: 1 DEBUG util.py:323: kill orphans Full logs at https://kojipkgs.fedoraproject.org//work/tasks/6696/36156696/root.log Perhaps go-yaml has changed name or something?? On f29: rpm -q --whatprovides 'golang(github.com/go-yaml/yaml)' golang-gopkg-yaml-devel-v2-2.2.2-27.20190219git51d6538.fc29.noarch But I dont see golang-gopkg-yaml-devel-v2 in rawhide at https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/g/ Regards ah - it's been renamed - $ fedpkg clone golang-gopkg-yaml Cloning into 'golang-gopkg-yaml'... remote: Counting objects: 115, done. remote: Compressing objects: 100% (111/111), done. remote: Total 115 (delta 36), reused 8 (delta 0) Receiving objects: 100% (115/115), 21.17 KiB | 4.23 MiB/s, done. Resolving deltas: 100% (36/36), done. $ cd !$ cd golang-gopkg-yaml $ ls dead.package shack:mgoodwin@~/src/fedora/golang-gopkg-yaml[master]$ cat dead.package Renamed to golang-gopkg-yaml-1 What version does Grafana needs? github.com/go-yaml/yaml a 3 different versions, so you shouldn't use that import path directly. It seems from the go.mod, that it needs the v2, so use gopkg.in/yaml.v2 as the import path. (In reply to Robert-André Mauchin from comment #7) > What version does Grafana needs? github.com/go-yaml/yaml a 3 different > versions, so you shouldn't use that import path directly. It seems from the > go.mod, that it needs the v2, so use gopkg.in/yaml.v2 as the import path. thanks, gopkg.in/yaml.v2 seems to be fine and the build root is successfully built in rawhide now (but then the build phase fails for an unrelated reason involving prometheus/tsdb). I'll work on updating grafana to v6.2.5 to fix that. Regards |