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.
Seems the latest commit [1] breaks build for platforms where gcc-go is used. Build on s390x fails with
...
DEBUG util.py:495: Executing command: ['/usr/bin/dnf', 'builddep', '--installroot', '/var/lib/mock/SHADOWBUILD-f25-build-596088-384580/root/', '/var/lib/mock/SHADOWBUILD-f25-build-596088-384580/root//builddir/build/SRPMS/docker-1.11.2-10.git4ddbd3d.fc25.src.rpm', '--setopt=tsflags=nocontexts'] with env {'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'LC_MESSAGES': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:417: Last metadata expiration check performed 0:02:07 ago on Mon Jun 27 11:34:29 2016.
DEBUG util.py:417: No matching package to install: 'compiler(go-compiler) >= 1.6.2'
DEBUG util.py:417: Not all dependencies satisfied
DEBUG util.py:417: Error: Some packages could not be found.
DEBUG util.py:542: Child return code was: 1
DEBUG util.py:176: kill orphans
DEBUG util.py:563: child environment: None
...
for full details please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2270142
[1] http://pkgs.fedoraproject.org/cgit/rpms/docker.git/commit/?id=44df61bb8c941f73145c63e883a83af44e7aaa78
Version-Release number of selected component (if applicable):
docker-1.11.2-10.git4ddbd3d.fc25
Created attachment 1173907[details]
Fix
IMHO compiler(go-compiler) >= 1.6.2 should be unversioned, it seems to me that BR line should be in this way "%{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang >= 1.6.2}"
Current unconditional versioning works on architectures using golang compiler just thanks to version bumps added to workaround ways dnf treats unversioned dependencies.
In attachment is patch fixing this bug.
Just side question is go version requirement needed?