Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1184257
Summary: | missing debug info | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||||
Component: | etcd | Assignee: | Luke Cypret <lacypret> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 22 | CC: | eparis, golang-updates, jan.kratochvil, jchaloup, lacypret, lemenkov, lsm5, ville.skytta, walters | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | etcd-2.0.9-1.fc22 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-04-27 12:25:43 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: | 1184221, 1189928 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Jan Kratochvil
2015-01-20 21:14:43 UTC
Hi Jan, building the master branch with your patch (and looking into the draft [1]), I am getting failed builds on armv7hl. Is this expected or is it another golang vs. debuginfo issue? The remaining architectures are fine. Builds: http://koji.fedoraproject.org/koji/taskinfo?taskID=8721908 http://koji.fedoraproject.org/koji/taskinfo?taskID=8721862 [1] http://fedoraproject.org/wiki/PackagingDrafts/Go#Debuginfo extracting debug info from /builddir/build/BUILDROOT/etcd-2.0.0-0.3.rc1.fc22.arm/usr/bin/etcd Failed to write file: invalid section alignment (In reply to Jan Chaloupka from comment #1) > I am getting failed builds on armv7hl. Is this expected or is it another > golang vs. debuginfo issue? The remaining architectures are fine. I did not test arm, thanks for the bugreport. I will update the Bug possibly in a week, just the DWARF from golang is not much sufficient for Go debugging anyway. Created attachment 989477 [details] Updated etcd.spec patch Please retry the build, elfutils-0.161-4.fc22.x86_64 should be now in the buildroots. Surprisingly my tried scratch build made only x86_64+i686, no arm: https://koji.fedoraproject.org/koji/taskinfo?taskID=8868955 Debug info is now there, but the -debuginfo package lacks sources. Is this known/intentional? I'm clueless wrt go. Sources are missing because debugedit in rpm-build needs an update: Bug 1184221 In fact it is correct to keep this Bug open (or one could file a different Bug) as all the Go packages will need a rebuild after the debugedit Bug gets fixed. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 Hi Jan, what is status of debug info issue in comment #5? Any progress? Thanks Jan etcd-debuginfo-2.0.9-1.fc23.x86_64.rpm is still broken, pinged the rpm Bug. It works for me with: rpm-4.12.0.1-9.fc22.x86_64 golang-1.4.2-2.fc22.x86_64 $ gdb etcd GNU gdb (GDB) Fedora 7.9-10.fc22 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from etcd...Reading symbols from /usr/lib/debug/usr/bin/etcd.debug...done. done. (gdb) l 14 15 // Package main is a simple wrapper of the real etcd entrypoint package 16 // (located at github.com/coreos/etcd/etcdmain) to ensure that etcd is still 17 // "go getable"; e.g. `go get github.com/coreos/etcd` works as expected and 18 // builds a binary in $GOBIN/etcd 19 // 20 // This package should NOT be extended or modified in any way; to modify the 21 // etcd binary, work in the `github.com/coreos/etcd/etcdmain` package. 22 // 23 (gdb) start Temporary breakpoint 1 at 0x415d66: file /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go, line 28. Starting program: /usr/bin/etcd Missing separate debuginfos, use: debuginfo-install glibc-2.21-5.fc22.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff458e700 (LWP 31725)] Temporary breakpoint 1, main.main () at /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go:28 28 func main() { Missing separate debuginfos, use: debuginfo-install libgcc-5.1.1-1.fc22.x86_64 (gdb) l 23 24 package main 25 26 import "github.com/coreos/etcd/etcdmain" 27 28 func main() { 29 etcdmain.Main() 30 } (gdb) info source Current source file is /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go Located in /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go Contains 30 lines. Source language is go. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) Thanks Jan. rpm for f21 and f22 is in stable repository, f20 is about to. I have built etcd-2.0.9 in f20-f22. They are waiting for testing. Confirming as fixed in Rawhide: etcd-2.0.10-1.fc23.x86_64 etcd-debuginfo-2.0.10-1.fc23.x86_64 Confirming as fixed also for: etcd-2.0.9-1.fc22.x86_64 etcd-debuginfo-2.0.9-1.fc22.x86_64 |