Bug 1274909

Summary: docker ftbfs in boltdb on s390x
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: dockerAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: adimania, admiller, dwalsh, ichavero, jcajka, jchaloup, lsm5, miminar, pbrobinson, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-16 17:13:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    
Attachments:
Description Flags
boltdb/bolt patch adding aarch64 definitions
none
boltdb/bolt patch moving maxAllocSize to architecture files
none
local version of "moving maxAllocSize" patch none

Description Marcin Juszkiewicz 2015-10-23 19:55:39 UTC
Description of problem:

Docker fails to build on aarch64. Took a look and code snapshot used lacks some aarch64 patches.

Upstream revision 503413c0153839f5f316579d99c4bf1f09fa023f (from boltdb/bolt) adds aarch64 definitions. But they need 349dacfd44d5dbe9119075391751c0bcb62fff75 (same repo) revision (with several other to get them in line probably - I hand edited this one to get further with build).

Then it fails:

# github.com/docker/docker/api/server
_build/src/github.com/docker/docker/api/server/credentials_linux.go:71:17: error: reference to undefined identifier 'syscall.GetsockoptUcred'
  return syscall.GetsockoptUcred(fd, syscall.SOL_SOCKET, syscall.SO_PEERCRED)
                 ^
_build/src/github.com/docker/docker/api/server/credentials_linux.go:71:2: error: not enough arguments to return
  return syscall.GetsockoptUcred(fd, syscall.SOL_SOCKET, syscall.SO_PEERCRED)
  ^


Version-Release number of selected component (if applicable):

docker-1.9.0-9.gitc743657.fc24.src.rpm

How reproducible:

always

Steps to Reproduce:
1. do build on aarch64 (arm-koji)

Actual results:

fails

Expected results:

builds
Additional info:

Comment 1 Marcin Juszkiewicz 2015-10-23 19:57:08 UTC
Created attachment 1085926 [details]
boltdb/bolt patch adding aarch64 definitions

Comment 2 Marcin Juszkiewicz 2015-10-23 19:57:52 UTC
Created attachment 1085927 [details]
boltdb/bolt patch moving maxAllocSize to architecture files

Comment 3 Marcin Juszkiewicz 2015-10-23 19:58:40 UTC
Created attachment 1085928 [details]
local version of "moving maxAllocSize" patch

Comment 4 Daniel Walsh 2015-10-24 10:06:07 UTC
Are these patches getting merged upstream?

Comment 5 Marcin Juszkiewicz 2015-10-24 18:51:38 UTC
Daniel: those patches are taken from upstream repo of boltdb/bolt.

Comment 6 Daniel Walsh 2015-10-26 14:22:52 UTC
I am looking for those to get merged into docker.

Comment 7 Jakub Čajka 2015-11-25 08:58:54 UTC
Still affects Fedora23 branch on s390x and aarch64. Seems fixed in rawhide.

Comment 8 Daniel Walsh 2015-12-01 21:50:18 UTC
We are building docker-1.10-devel in rawhide.

Comment 9 Daniel Walsh 2016-02-22 19:26:46 UTC
Fixed in docker-1.10.

Comment 10 Jan Kurik 2016-02-24 13:52:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 11 Fedora Admin XMLRPC Client 2016-06-08 14:10:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.