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 1326664 - check fails with gcc-go on s390x
Summary: check fails with gcc-go on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-pmezard-go-difflib
Version: 24
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Chaloupka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2016-04-13 10:21 UTC by Dan Horák
Modified: 2016-04-17 23:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-17 23:42:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Horák 2016-04-13 10:21:50 UTC
build fails in s390 koji because

...
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xFqRhv
+ umask 022
+ cd /builddir/build/BUILD
+ cd go-difflib-f78a839676152fd9f4863704f5d516195c18fc14
+ export GOPATH=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.3.gitf78a839.fc24.s390x//usr/share/gocode:/usr/share/gocode
+ GOPATH=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.3.gitf78a839.fc24.s390x//usr/share/gocode:/usr/share/gocode
+ go test -compiler gccgo -gccgoflags '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=z9-109 -mtune=z10 '
can't load package: package .: no buildable Go source files in /builddir/build/BUILD/go-difflib-f78a839676152fd9f4863704f5d516195c18fc14
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.xFqRhv (%check)
    Macro % has illegal name (%define)
    Macro % has illegal name (%define)
    Bad exit status from /var/tmp/rpm-tmp.xFqRhv (%check)
error: Macro % has illegal name (%define)
Child return code was: 1
...


for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2183303

Version-Release number of selected component (if applicable):
golang-github-pmezard-go-difflib-0-0.3.gitf78a839.fc24

Comment 1 Fedora Update System 2016-04-13 11:56:24 UTC
go-compilers-1-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a6002c633e

Comment 2 Dan Horák 2016-04-13 11:57:21 UTC
It was a bug in the gcc-go version of gotest macro.

Comment 3 Fedora Update System 2016-04-13 21:23:30 UTC
go-compilers-1-7.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a6002c633e

Comment 4 Fedora Update System 2016-04-17 23:42:21 UTC
go-compilers-1-7.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, 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.