Skip to content

Instantly share code, notes, and snippets.

@bprashanth
Created January 12, 2016 00:59
Show Gist options
  • Save bprashanth/f3115ae30adfcc485d27 to your computer and use it in GitHub Desktop.
Save bprashanth/f3115ae30adfcc485d27 to your computer and use it in GitHub Desktop.
16:57:52-beeps~/goproj/src/k8s.io/contrib/service-loadbalancer] (master)$ make
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o service_loadbalancer ./service_loadbalancer.go ./loadbalancer_log.go
docker build -t contrib-haproxy:0.0 build
Sending build context to Docker daemon 9.216 kB
Step 1 : FROM alpine:3.2
---> 8a648f689ddb
Step 2 : RUN apk -U add alpine-sdk
---> Using cache
---> 5c5a490ddf56
Step 3 : RUN mkdir -p /var/cache/distfiles && adduser -D packager && addgroup packager abuild && chgrp abuild /var/cache/distfiles && chmod g+w /var/cache/distfiles && echo "packager ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
---> Using cache
---> 4462bb478ce0
Step 4 : USER packager
---> Using cache
---> 73b9f95a5a97
Step 5 : WORKDIR /work
---> Using cache
---> 8f6b22d911fb
Step 6 : RUN abuild-keygen -a -i
---> Using cache
---> 4b7dffdd13b4
Step 7 : ADD src /work
---> Using cache
---> cd09aa68f8fa
Step 8 : RUN sudo chown -R packager /work
---> Using cache
---> 6423fc76b61f
Step 9 : RUN abuild -c -r -P /work
---> Running in c0ee045a6344
>>> haproxy: Checking sanity of /work/APKBUILD...
>>> WARNING: haproxy: No maintainer
>>> haproxy: Analyzing dependencies...
WARNING: Ignoring /work/x86_64/APKINDEX.tar.gz: No such file or directory
(1/19) Installing pcre-doc (8.37-r1)
(2/19) Installing libpcre16 (8.37-r1)
(3/19) Installing libpcre32 (8.37-r1)
(4/19) Installing pcre-tools (8.37-r1)
(5/19) Installing libpcrecpp (8.37-r1)
(6/19) Installing pcre-dev (8.37-r1)
(7/19) Installing zlib-doc (1.2.8-r1)
(8/19) Installing zlib-dev (1.2.8-r1)
(9/19) Installing openssl-doc (1.0.2d-r0)
ERROR: openssl-doc-1.0.2d-r0: package mentioned in index not found (try 'apk update')
(10/19) Installing openssl-dev (1.0.2d-r0)
ERROR: openssl-dev-1.0.2d-r0: package mentioned in index not found (try 'apk update')
(11/19) Installing linux-headers (3.18.5-r0)
(12/19) Installing ncurses-libs (5.9-r3)
(13/19) Installing readline (6.3.008-r0)
(14/19) Installing linenoise (1.0-r0)
(15/19) Installing lua5.3-libs (5.3.0-r2)
(16/19) Installing lua5.3 (5.3.0-r2)
(17/19) Installing lua5.3-doc (5.3.0-r2)
(18/19) Installing lua5.3-dev (5.3.0-r2)
(19/19) Installing .makedepends-haproxy (0)
Executing busybox-1.23.2-r0.trigger
2 errors; 167 MiB in 85 packages
>>> ERROR: haproxy: all failed
>>> haproxy: Uninstalling dependencies...
The command '/bin/sh -c abuild -c -r -P /work' returned a non-zero code: 1
make: *** [haproxy] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment