Docker build failure

359 views
Skip to first unread message

sankar.c...@gmail.com

unread,
Jul 28, 2014, 7:26:15 AM7/28/14
to docke...@googlegroups.com
Hi

I am trying to build docker on openSUSE Tumbleweed and getting the following error. Any help ?

Setting up dnsmasq-base (2.68-1) ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f dnsmasq dnsmasq' returned error code 1. Exiting.
Setting up libconfig-file-perl (1.50-2) ...
Setting up dpkg-sig (0.13.1+nmu1) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1) ...
Setting up git (1:1.9.1-1) ...
Setting up libcap-dev:amd64 (1:2.24-0ubuntu2) ...
Setting up libpython2.7-stdlib:amd64 (2.7.6-8) ...
Setting up libpython-stdlib:amd64 (2.7.5-5ubuntu3) ...
Setting up libsqlite3-dev:amd64 (3.8.2-1ubuntu2) ...
Setting up python2.7 (2.7.6-8) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up mercurial-common (2.8.2-1ubuntu1) ...
Setting up mercurial (2.8.2-1ubuntu1) ...

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
Setting up pandoc-data (1.12.2.1-1build2) ...
Setting up pandoc (1.12.2.1-1build2) ...
Setting up s3cmd (1.1.0~beta3-2) ...
Setting up libapparmor-dev:amd64 (2.8.95~2430-0ubuntu5) ...
Setting up reprepro (4.13.1-1build1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up liblxc1 (1.0.5-0ubuntu0.1) ...
Setting up python3-lxc (1.0.5-0ubuntu0.1) ...
Setting up lxc (1.0.5-0ubuntu0.1) ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f LXC dnsmasq lxc-dnsmasq' returned error code 1. Exiting.
dpkg: error processing package lxc (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Setting up ruby (1:1.9.3.4) ...
Setting up ruby1.9.1 (1.9.3.484-2ubuntu1) ...
Setting up libruby1.9.1 (1.9.3.484-2ubuntu1) ...
Setting up ruby1.9.1-dev (1.9.3.484-2ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ca-certificates (20130906ubuntu2) ...
Updating certificates in /etc/ssl/certs... 164 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
Errors were encountered while processing:
 lxc
E: Sub-process /usr/bin/dpkg returned an error code (1)
2014/07/28 16:51:09 The command [/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq apt-utils aufs-tools automake btrfs-tools build-essential curl dpkg-sig git iptables libapparmor-dev libcap-dev libsqlite3-dev lxc=1.0* mercurial pandoc reprepro ruby1.9.1 ruby1.9.1-dev s3cmd=1.1.0* --no-install-recommends] returned a non-zero code: 100
make: *** [build] Error 1

Jérôme Petazzoni

unread,
Jul 30, 2014, 7:48:38 PM7/30/14
to sankar.c...@gmail.com, docker-dev
Could this be related to the following issue?



--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Sankar P

unread,
Jul 31, 2014, 1:06:30 PM7/31/14
to Jérôme Petazzoni, docker-dev
I am trying to build current master head. From the github issue page,
I see that the fix has been merged 8 days ago. So probably a different
issue ? Or the fix does not address all the cases ?
--
Sankar P
http://psankar.blogspot.com

Jiri Jetmar

unread,
Sep 16, 2014, 7:23:19 AM9/16/14
to docke...@googlegroups.com, jerome.p...@docker.com
Same issue here.. 

docker build -t "docker:master" .  

on latest docker sources..
Reply all
Reply to author
Forward
0 new messages