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 1350418 - build broken for gcc-go
Summary: build broken for gcc-go
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 25
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2016-06-27 11:51 UTC by Dan Horák
Modified: 2017-06-23 14:05 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-23 14:05:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix (787 bytes, patch)
2016-06-29 13:29 UTC, Jakub Čajka
no flags Details | Diff

Description Dan Horák 2016-06-27 11:51:48 UTC
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

Comment 1 Antonio Murdaca 2016-06-28 20:56:31 UTC
Lokesh, seems like the latest commit in fedora master dist git broke this?

Comment 2 Jakub Čajka 2016-06-29 13:29:07 UTC
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?

Comment 3 Antonio Murdaca 2016-07-01 10:48:35 UTC
patch applied and docker rebuilt

Comment 4 Dan Horák 2016-07-01 15:40:51 UTC
and built on s390x as http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=414295

Comment 5 Jan Kurik 2016-07-26 04:36:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.


Note You need to log in before you can comment on or make changes to this bug.