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 1274909 - docker ftbfs in boltdb on s390x
Summary: docker ftbfs in boltdb on s390x
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2015-10-23 19:55 UTC by Marcin Juszkiewicz
Modified: 2017-05-16 17:13 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-16 17:13:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
boltdb/bolt patch adding aarch64 definitions (817 bytes, patch)
2015-10-23 19:57 UTC, Marcin Juszkiewicz
no flags Details | Diff
boltdb/bolt patch moving maxAllocSize to architecture files (1.30 KB, patch)
2015-10-23 19:57 UTC, Marcin Juszkiewicz
no flags Details | Diff
local version of "moving maxAllocSize" patch (1.97 KB, patch)
2015-10-23 19:58 UTC, Marcin Juszkiewicz
no flags Details | Diff

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.


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