Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-10454

Failing to build fabric docker images on 32-bit ARM architecture

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Invalid: Works as Expected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fabric-crypto
    • Labels:
      None

      Description

      Failing to build Fabric Peer docker image on a Raspberry Pi 3 -ARMV7L

      Baseimage used is 0.4.8. Baseimage, baseos, and basejvm are built on the same architecture without any problems.

      The make peer command fails with message:
      build/bin/peer
      CGO_CFLAGS=" " GOBIN=/home/pi/golang/src/github.com/hyperledger/fabric/build/bin go install -tags "experimental" -ldflags "-X github.com/hyperledger/fabric/common/metadata.Version=1.1.1-snapshot-feed00ad6 -X github.com/hyperledger/fabric/common/metadata.BaseVersion=0.4.8 -X github.com/hyperledger/fabric/common/metadata.BaseDockerLabel=org.hyperledger.fabric -X github.com/hyperledger/fabric/common/metadata.DockerNamespace=hyperledger -X github.com/hyperledger/fabric/common/metadata.BaseDockerNamespace=hyperledger -X github.com/hyperledger/fabric/common/metadata.Experimental=true" github.com/hyperledger/fabric/peer

      1. github.com/hyperledger/fabric/vendor/github.com/milagro-crypto/amcl/version3/go/amcl/FP256BN
        vendor/github.com/milagro-crypto/amcl/version3/go/amcl/FP256BN/FP.go:103:16: constant 30564559323915749 overflows int
        Makefile:259: recipe for target 'build/bin/peer' failed
        make: *** [build/bin/peer] Error 2

      Any thoughts?

        Attachments

          Activity

            People

            Assignee:
            SashaPESIC Sasha PESIC
            Reporter:
            SashaPESIC Sasha PESIC
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration