Package Details: pack-cli 0.33.2-1

Git Clone URL: https://aur.archlinux.org/pack-cli.git (read-only, click to copy)
Package Base: pack-cli
Description: CLI for building apps using Cloud Native Buildpacks
Upstream URL: https://buildpacks.io/
Keywords: buildpacks cncf docker
Licenses: Apache
Submitter: ttpcodes
Maintainer: ttpcodes (cncf-buildpacks)
Last Packager: cncf-buildpacks
Votes: 3
Popularity: 0.001809
First Submitted: 2019-02-15 18:33 (UTC)
Last Updated: 2024-02-21 12:16 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

sterg commented on 2024-03-16 22:14 (UTC)

@voor I was running into the same issue. It appears the fix was to quote the LDFLAGS that makepkg provides https://github.com/buildpacks/pack/pull/2100. Hopefully the maintainers accept that patch

voor commented on 2024-02-09 11:32 (UTC)

I'm getting compilation errors with this package:

==> Starting build()...
mkdir out/tests || (exit 0)
=====> Building...
go build -ldflags "-s -w -X 'github.com/buildpacks/pack.Version=v0.33.1+git-dc2c97f' -extldflags -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto" -trimpath -o ./out/pack -a ./cmd/pack
go: downloading github.com/docker/docker v24.0.7+incompatible
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/buildpacks/imgutil v0.0.0-20240118145509-e94a1b7de8a9
go: downloading golang.org/x/crypto v0.18.0
go: downloading golang.org/x/term v0.16.0
go: downloading github.com/heroku/color v0.0.6
go: downloading github.com/apex/log v1.9.0
go: downloading github.com/BurntSushi/toml v1.3.2
go: downloading github.com/buildpacks/lifecycle v0.18.4
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/docker/cli v24.0.7+incompatible
go: downloading github.com/google/go-containerregistry v0.18.0
go: downloading github.com/opencontainers/image-spec v1.1.0-rc5
go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
go: downloading golang.org/x/text v0.14.0
go: downloading golang.org/x/sys v0.16.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading golang.org/x/sync v0.6.0
go: downloading github.com/go-git/go-git/v5 v5.11.0
go: downloading golang.org/x/mod v0.14.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/gdamore/tcell/v2 v2.7.0
go: downloading github.com/rivo/tview v0.0.0-20220307222120-9994674d60a8
go: downloading github.com/mitchellh/ioprogress v0.0.0-20180201004757-6a23b12fa88e
go: downloading github.com/containerd/containerd v1.7.7
go: downloading github.com/opencontainers/selinux v1.11.0
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/docker/go-connections v0.5.0
go: downloading github.com/docker/go-units v0.5.0
go: downloading github.com/docker/distribution v2.8.3+incompatible
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/containerd/stargz-snapshotter/estargz v0.14.3
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/moby/term v0.5.0
go: downloading github.com/morikuni/aec v1.0.0
go: downloading github.com/klauspost/compress v1.17.1
go: downloading github.com/moby/patternmatcher v0.6.0
go: downloading github.com/moby/sys/sequential v0.5.0
go: downloading github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371
go: downloading github.com/emirpasic/gods v1.18.1
go: downloading github.com/sergi/go-diff v1.2.0
go: downloading dario.cat/mergo v1.0.0
go: downloading github.com/go-git/go-billy/v5 v5.5.0
go: downloading github.com/gdamore/encoding v1.0.0
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/mattn/go-runewidth v0.0.15
go: downloading github.com/opencontainers/runc v1.1.9
go: downloading github.com/rivo/uniseg v0.4.3
go: downloading github.com/vbatts/tar-split v0.11.5
go: downloading github.com/distribution/reference v0.5.0
go: downloading github.com/containerd/log v0.1.0
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/cyphar/filepath-securejoin v0.2.4
go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376
go: downloading github.com/pjbgf/sha1cd v0.3.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/docker/docker-credential-helpers v0.8.0
go: downloading github.com/cloudflare/circl v1.3.7
go: downloading golang.org/x/net v0.20.0
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/skeema/knownhosts v1.2.1
go: downloading github.com/kevinburke/ssh_config v1.2.0
go: downloading github.com/xanzy/ssh-agent v0.3.3
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/moby/buildkit v0.11.6
go: downloading github.com/google/uuid v1.4.0
go: downloading github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589
go: downloading github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20231003182221-725682229e60
go: downloading github.com/docker/go-metrics v0.0.1
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.44.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading google.golang.org/protobuf v1.31.0
go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.12
go: downloading github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
go: downloading github.com/Azure/go-autorest/autorest v0.11.29
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.23
go: downloading github.com/aws/aws-sdk-go-v2 v1.21.2
go: downloading github.com/aws/aws-sdk-go-v2/config v1.19.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ecr v1.20.2
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.18.2
go: downloading github.com/aws/smithy-go v1.15.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/Azure/go-autorest/logger v0.2.1
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/golang-jwt/jwt/v4 v4.5.0
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.13.43
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.15.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.23.2
go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.6
go: downloading github.com/dimchansky/utfbom v1.1.1
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/containerd/typeurl v1.0.2
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37
# github.com/buildpacks/pack/cmd/pack
flag provided but not defined: -flto
usage: link [options] main.o
  -B note
        add an ELF NT_GNU_BUILD_ID note when using ELF; use "gobuildid" to generate it from the Go build ID
  -E entry
        set entry symbol name
  -H type
        set header type
  -I linker
        use linker as ELF dynamic linker
  -L directory
        add specified directory to library path
  -R quantum
        set address rounding quantum (default -1)
  -T int
        set the start address of text symbols (default -1)
  -V    print version and exit
  -X definition
        add string value definition of the form importpath.name=value
  -a    no-op (deprecated)
  -asan
        enable ASan interface
  -aslr
        enable ASLR for buildmode=c-shared on windows (default true)
  -benchmark string
        set to 'mem' or 'cpu' to enable phase benchmarking
  -benchmarkprofile base
        emit phase profiles to base_phase.{cpu,mem}prof
  -buildid id
        record id as Go toolchain build id
  -buildmode mode
        set build mode
  -c    dump call graph
  -capturehostobjs string
        capture host object files loaded during internal linking to specified dir
  -compressdwarf
        compress DWARF if possible (default true)
  -cpuprofile file
        write cpu profile to file
  -d    disable dynamic executable
  -debugnosplit
        dump nosplit call graph
  -debugtextsize int
        debug text section max size
  -debugtramp int
        debug trampolines
  -dumpdep
        dump symbol dependency graph
  -extar string
        archive program for buildmode=c-archive
  -extld linker
        use linker when linking in external mode
  -extldflags flags
        pass flags to external linker
  -f    ignore version mismatch
  -g    disable go package data checks
  -h    halt on error
  -importcfg file
        read import configuration from file
  -installsuffix suffix
        set package directory suffix
  -k symbol
        set field tracking symbol
  -libgcc string
        compiler support lib for internal linking; use "none" to disable
  -linkmode mode
        set link mode
  -linkshared
        link against installed Go shared libraries
  -memprofile file
        write memory profile to file
  -memprofilerate rate
        set runtime.MemProfileRate to rate
  -msan
        enable MSan interface
  -n    no-op (deprecated)
  -o file
        write output to file
  -pluginpath string
        full path name for plugin
  -pruneweakmap
        prune weak mapinit refs (default true)
  -r path
        set the ELF dynamic linker search path to dir1:dir2:...
  -race
        enable race detector
  -s    disable symbol table
  -strictdups int
        sanity check duplicate symbol contents during object file reading (1=warn 2=err).
  -tmpdir directory
        use directory for temporary files
  -v    print link trace
  -w    disable DWARF generation
make: *** [Makefile:61: build] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pack-cli-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pack-cli - exit status 4