[Bug 980067] New: devel:languages:go/golang-packaging: Bug
http://bugzilla.opensuse.org/show_bug.cgi?id=980067 Bug ID: 980067 Summary: devel:languages:go/golang-packaging: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: graham@andtech.eu Reporter: xiedimai@163.com QA Contact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- There is a bug in golang-packaging. My system is openSUSE 42.1 x86_64. $ uname -a Linux opensuse 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 2016 (0a392b2) x86_64 x86_64 x86_64 GNU/Linux I have installed golang-packaging from this repository. $ rpm -aq golang-packaging golang-packaging-14.9.0-32.1.noarch List the files in golang-packaging: $ rpm -aql golang-packaging /etc/rpm/macros.go /usr/lib/rpm/golang /usr/lib/rpm/golang-macros.rb /usr/lib/rpm/golang.prov /usr/lib/rpm/golang.req /usr/lib/rpm/golang/cli.rb /usr/lib/rpm/golang/filelists.rb /usr/lib/rpm/golang/opts.rb /usr/lib/rpm/golang/rpmsysinfo.rb /usr/share/doc/packages/golang-packaging /usr/share/doc/packages/golang-packaging/COPYING /usr/share/doc/packages/golang-packaging/ChangeLog /usr/share/doc/packages/golang-packaging/README.md Filter word "go_arch" in file /etc/rpm/macros.go: $ cat /etc/rpm/macros.go | grep go_arch %go_arch 386 %go_sitearch %{_libdir}/go/pkg/linux_%{go_arch} %go_contribdir %{_libdir}/go/contrib/pkg/linux_%{go_arch} %go_tooldir %{_datadir}/go/pkg/tool/linux_%{go_arch} You can find out that the go_arch is 386. It should be amd64 on x86_64 system. There is the build log for package golang-packaging on x86_64 system in https://build.opensuse.org/package/live_build_log/devel:languages:go/golang-.... You can see these lines in it: [ 85s] ++ ruby ./golang-macros.rb --arch [ 85s] + GOARCH=amd64 [ 85s] + sed -i s/GOARCH/amd64/ macros.go [ 85s] + exit 0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980067
http://bugzilla.opensuse.org/show_bug.cgi?id=980067#c1
Martin Pluskal
http://bugzilla.opensuse.org/show_bug.cgi?id=980067
http://bugzilla.opensuse.org/show_bug.cgi?id=980067#c2
--- Comment #2 from di xie
participants (1)
-
bugzilla_noreply@novell.com