Bug 1315903 - Fedora - docker do not build for ppc64 so change ExclusiveArch as bypass
Fedora - docker do not build for ppc64 so change ExclusiveArch as bypass
Status: POST
Product: Fedora
Classification: Fedora
Component: docker (Show other bugs)
27
ppc64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks: PPCTracker 1465171 1465174 F-ExcludeArch-ppc64le/PPC64LETracker 1182617 1465176
  Show dependency treegraph
 
Reported: 2016-03-08 19:14 EST by Michel Normand
Modified: 2018-03-14 12:01 EDT (History)
18 users (show)

See Also:
Fixed In Version: 1:1.10.2-12.gitddbb15a
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
IBM Linux Technology Center 138806 None None None 2016-03-10 05:09 EST

  None (edit)
Description Michel Normand 2016-03-08 19:14:57 EST
docker do not build for ppc64 as reported by scratch build extract (1)

Because this build failure of ppc64 is blocking the build of ppc64le
on secondary koji, I am requesting with this bug to remove ppc64
as target archi in docker.spec as a bypass at least for fc24 or later.

My proposed spec change is to
=== replace:
ExclusiveArch: %{go_arches}
=== by:
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le s390x %{mips}
===

This is based on go_arches macro from (2)

(1) http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3192877
===
+++ go build -o bundles/1.10.2/dynbinary/dockerinit-1.10.2 -a -tags 'autogen netgo static_build sqlite_omit_load_extension selinux seccomp daemon journald' -installsuffix netgo -ldflags '
		-w
		
		-extldflags "-static" 	' ./dockerinit
_build/src/github.com/docker/docker/daemon/execdriver/native/exec.go:17:2: no buildable Go source files in /builddir/build/BUILD/docker-0f5ac89062e1f80bd87e7db9a94859adf7a188a7/vendor/src/github.com/opencontainers/runc/libcontainer/nsenter
_build/src/github.com/docker/docker/daemon/execdriver/native/seccomp_default.go:9:2: no buildable Go source files in /builddir/build/BUILD/docker-0f5ac89062e1f80bd87e7db9a94859adf7a188a7/vendor/src/github.com/seccomp/libseccomp-golang
error: Bad exit status from /var/tmp/rpm-tmp.b18XcW (%build)
===

(2) http://pkgs.fedoraproject.org/cgit/rpms/go-srpm-macros.git/commit/?id=1d07f0352ebde464347c6dc92532a9d1156c34f3
===
%golang_arches   %{ix86} x86_64 %{arm} aarch64 %{power64}
%gccgo_arches    s390x %{mips}
%go_arches       %{golang_arches} %{gccgo_arches}
===
Comment 1 Jakub Čajka 2016-03-09 03:32:04 EST
Did you(or somebody) investigated why it fails?
Is there upstream report?
Comment 2 Michel Normand 2016-03-09 03:50:59 EST
(In reply to Jakub Čajka from comment #1)
> Did you(or somebody) investigated why it fails?
> Is there upstream report?

No I did not investigated myself the details of the failure
but the work done by IBM for RH 7.3 feature https://bugzilla.redhat.com/show_bug.cgi?id=1182617 was only on ppc64le, not ppc64.
Comment 4 Michel Normand 2016-03-10 06:18:00 EST
Hello Lokesh, 
Would it be possible to make quickly the change in spec file ?
This is a blocker to build ppc64le on secondary architecture.
Comment 5 Lokesh Mandvekar 2016-03-10 08:26:43 EST
(In reply to Michel Normand from comment #0)

> My proposed spec change is to
> === replace:
> ExclusiveArch: %{go_arches}
> === by:
> ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le s390x %{mips}
> ===
> 

I'll add this change for now, let's keep this bug open though.
Comment 6 Lokesh Mandvekar 2016-03-10 08:54:12 EST
building here: http://koji.fedoraproject.org/koji/taskinfo?taskID=13297206
Comment 7 Lokesh Mandvekar 2016-03-10 10:28:55 EST
See: http://pkgs.fedoraproject.org/cgit/rpms/docker.git/commit/?h=f24&id=a40eb0a54eb54a4082efb4f0fc25e62c0490580e

Pushed for rawhide and f24 branches.
Comment 8 Mike McCune 2016-03-28 18:57:02 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Comment 9 Fedora Admin XMLRPC Client 2016-06-08 10:09:01 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 10 Jan Kurik 2016-07-26 00:14:57 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Comment 11 Till Maas 2017-06-26 16:25:25 EDT
(In reply to Jan Kurik from comment #10)
> This bug appears to have been reported against 'rawhide' during the Fedora
> 25 development cycle.
> Changing version to '25'.

I reset the version to Rawhide. Since it block the PPCtracker it is supposed to stay open until docker builds on ppc64 afaiu.
Comment 12 Jan Kurik 2017-08-15 03:07:10 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

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