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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Invalid: Works as Expected
    • None
    • None
    • fabric-crypto
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: