golang-github-trafficstars-metrics failed to build from source in Fedora rawhide/f37 https://koji.fedoraproject.org/koji/taskinfo?taskID=89797953 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Please fix golang-github-trafficstars-metrics at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, golang-github-trafficstars-metrics will be orphaned. Before branching of Fedora 38, golang-github-trafficstars-metrics will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1901538 [details] build.log
Created attachment 1901539 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1901540 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
This builds fine in rawhide (https://koji.fedoraproject.org/koji/taskinfo?taskID=93099518) but on f37 it fails on aarch64 with: + go-rpm-integration check -i github.com/trafficstars/metrics -b /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/bin -s /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build -V 0-0.5.20210705git0250d8a.fc37 -C 0250d8a27518636f3c7ac48ec726b84fefd7c4e8 -p /builddir/build/BUILDROOT/golang-github-trafficstars-metrics-0-0.5.20210705git0250d8a.fc37.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/src PATH: /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/trafficstars/metrics/version.commit=0250d8a27518636f3c7ac48ec726b84fefd7c4e8 -X github.com/trafficstars/metrics/version=0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/trafficstars/metrics github.com/trafficstars/metrics --- FAIL: TestGaugeInt64GC (0.19s) timing_test.go:373: Error Trace: /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/src/github.com/trafficstars/metrics/timing_test.go:373 /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/src/github.com/trafficstars/metrics/gauge_int64_test.go:12 Error: Should be zero, but was 1 Test: TestGaugeInt64GC Messages: 6: 6144 [6: 6144] @ 0xaaaabc1fd520 0xaaaabc1fde74 0xaaaabc1fe4f8 0xaaaabc1febc0 0xaaaabc200854 0xaaaabc200c98 0xaaaabc2011b8 0xaaaabc2271e4 # 0xaaaabc1fd51f runtime.allocm+0xaf /usr/lib/golang/src/runtime/proc.go:1751 # 0xaaaabc1fde73 runtime.newm+0x43 /usr/lib/golang/src/runtime/proc.go:2101 # 0xaaaabc1fe4f7 runtime.startm+0xd7 /usr/lib/golang/src/runtime/proc.go:2317 # 0xaaaabc1febbf runtime.wakep+0x9f /usr/lib/golang/src/runtime/proc.go:2422 # 0xaaaabc200853 runtime.resetspinning+0x73 /usr/lib/golang/src/runtime/proc.go:3102 # 0xaaaabc200c97 runtime.schedule+0xc7 /usr/lib/golang/src/runtime/proc.go:3212 # 0xaaaabc2011b7 runtime.park_m+0x137 /usr/lib/golang/src/runtime/proc.go:3355 # 0xaaaabc2271e3 runtime.mcall+0x53 /usr/lib/golang/src/runtime/asm_arm64.s:192 --- FAIL: TestTimingFlowGC (0.44s) timing_test.go:373: Error Trace: /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/src/github.com/trafficstars/metrics/timing_test.go:373 /builddir/build/BUILD/metrics-0250d8a27518636f3c7ac48ec726b84fefd7c4e8/_build/src/github.com/trafficstars/metrics/timing_test.go:405 Error: Should be zero, but was 1 Test: TestTimingFlowGC Messages: 9: 9216 [9: 9216] @ 0xaaaabc1fd520 0xaaaabc1fde74 0xaaaabc1fe4f8 0xaaaabc1febc0 0xaaaabc200854 0xaaaabc200c98 0xaaaabc2011b8 0xaaaabc2271e4 # 0xaaaabc1fd51f runtime.allocm+0xaf /usr/lib/golang/src/runtime/proc.go:1751 # 0xaaaabc1fde73 runtime.newm+0x43 /usr/lib/golang/src/runtime/proc.go:2101 # 0xaaaabc1fe4f7 runtime.startm+0xd7 /usr/lib/golang/src/runtime/proc.go:2317 # 0xaaaabc1febbf runtime.wakep+0x9f /usr/lib/golang/src/runtime/proc.go:2422 # 0xaaaabc200853 runtime.resetspinning+0x73 /usr/lib/golang/src/runtime/proc.go:3102 # 0xaaaabc200c97 runtime.schedule+0xc7 /usr/lib/golang/src/runtime/proc.go:3212 # 0xaaaabc2011b7 runtime.park_m+0x137 /usr/lib/golang/src/runtime/proc.go:3355 # 0xaaaabc2271e3 runtime.mcall+0x53 /usr/lib/golang/src/runtime/asm_arm64.s:192 FAIL
This message is a reminder that Fedora Linux 37 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '37'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 37 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 37 entered end-of-life (EOL) status on None. Fedora Linux 37 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.