I'm new to CoreOS SDK. Tried to follow CoreOS developer SDK guide, but got 
stuck at the command:

user@ubuntu ~/trunk/src/scripts $ emerge-amd64-usr --emptytree -p -v --tree 
coreos-base/coreos-dev

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!


[ebuild  N     ] coreos-base/coreos-dev-0.1.0-r76::coreos to 
/build/amd64-usr/ USE="-vm-testing" 0 KiB
[nomerge       ]  coreos-base/coreos-0.0.1-r274::coreos to 
/build/amd64-usr/ USE="selinux" ETCD_PROTOCOLS="1 2"
[nomerge       ]   sec-policy/selinux-virt-2.20141203-r13::coreos to 
/build/amd64-usr/
[nomerge       ]    sec-policy/selinux-base-policy-2.20141203-r13::coreos 
to /build/amd64-usr/ USE="unconfined"
[ebuild  N     ]     sec-policy/selinux-unconfined-2.20141203-r13::coreos 
to /build/amd64-usr/ 957 KiB
[ebuild  N     ]  coreos-base/coreos-0.0.1-r274::coreos to 
/build/amd64-usr/ USE="selinux" ETCD_PROTOCOLS="1 2" 0 KiB
[ebuild  N     ]   sec-policy/selinux-virt-2.20141203-r13::coreos to 
/build/amd64-usr/ 0 KiB
[ebuild  N     ]    sec-policy/selinux-base-policy-2.20141203-r13::coreos 
to /build/amd64-usr/ USE="unconfined" 0 KiB
[ebuild  N     ]   sys-apps/usbutils-008-r1::portage-stable to 
/build/amd64-usr/ USE="-python" PYTHON_TARGETS="python2_7" 281 KiB
[ebuild  N     ]    virtual/libusb-1-r2:1::portage-stable to 
/build/amd64-usr/ USE="udev" 0 KiB
[ebuild  N     ]     dev-libs/libusb-1.0.19:1::portage-stable to 
/build/amd64-usr/ USE="udev -debug -doc -examples -static-libs {-test}" 510 
KiB
[ebuild  N     ]   coreos-base/update_engine-0.3.2::coreos to 
/build/amd64-usr/ USE="cros-debug symlink-usr -cros_host -delta_generator 
-profiling" 0 KiB
[ebuild  N     ]    dev-libs/dbus-glib-0.102::coreos to /build/amd64-usr/ 
USE="-debug -doc -static-libs {-test}" 766 KiB
[nomerge       ] sec-policy/selinux-unconfined-2.20141203-r13::coreos to 
/build/amd64-usr/
[nomerge       ]  sec-policy/selinux-base-policy-2.20141203-r13::coreos to 
/build/amd64-usr/ USE="unconfined"
[ebuild  N     ]   sec-policy/selinux-base-2.20141203-r13::coreos to 
/build/amd64-usr/ USE="open_perms peer_perms ubac unconfined -doc" 0 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[ebuild  N     ]  coreos-base/coreos-init-0.0.1-r135::coreos to 
/build/amd64-usr/ USE="symlink-usr -profiling {-test}" 0 KiB
[ebuild  N     ]   sys-block/parted-3.2::portage-stable to 
/build/amd64-usr/ USE="debug device-mapper readline -nls -selinux 
-static-libs" 1617 KiB
[ebuild  N     ]   app-emulation/docker-1.11.2-r5::coreos to 
/build/amd64-usr/ USE="btrfs device-mapper journald overlay selinux 
(-apparmor) -aufs -contrib -experimental -profiling -seccomp -vim-syntax 
-zsh-completion" GO_VERSION="go1_6" 0 KiB
[ebuild  N     ]    sys-kernel/coreos-kernel-4.7.3-r3:0/4.7.3-r3::coreos to 
/build/amd64-usr/ 0 KiB
[ebuild  N    ~]     sys-kernel/dracut-044::portage-stable to 
/build/amd64-usr/ USE="systemd -debug -selinux" 274 KiB
[ebuild  N     ]  sys-auth/realmd-0.16.2::coreos to /build/amd64-usr/ 
USE="systemd" 451 KiB
[ebuild  N     ]  sys-auth/sssd-1.13.1-r2::coreos to /build/amd64-usr/ 
USE="locator ssh -acl -augeas -autofs -manpages -netlink -nfsv4 -nls 
-python -samba -selinux -sudo {-test}" PYTHON_TARGETS="python2_7 -python3_3 
-python3_4" 4412 KiB
[ebuild  N     ]  sys-apps/lshw-02.16b-r2::portage-stable to 
/build/amd64-usr/ USE="-gtk -sqlite -static" 1803 KiB
[ebuild  N     ]  net-misc/dhcpcd-6.10.1::portage-stable to 
/build/amd64-usr/ USE="embedded ipv6 udev" 176 KiB
[ebuild  N     ]  sys-apps/pciutils-3.3.1::portage-stable to 
/build/amd64-usr/ USE="kmod udev zlib -dns -static-libs" 385 KiB
[ebuild  N     ]  sys-fs/multipath-tools-0.5.0-r2::coreos to 
/build/amd64-usr/ USE="systemd" 180 KiB
[ebuild  N     ]  sys-block/open-iscsi-2.0.873-r2::coreos to 
/build/amd64-usr/ USE="-debug -slp" 652 KiB
[nomerge       ] sys-apps/lshw-02.16b-r2::portage-stable to 
/build/amd64-usr/ USE="-gtk -sqlite -static"
[ebuild  N    ~]  sys-apps/hwids-20150717-r1::portage-stable to 
/build/amd64-usr/ USE="net pci udev usb" 1705 KiB
[ebuild  N     ]   virtual/udev-208-r2::portage-stable to /build/amd64-usr/ 
USE="-gudev -introspection -static-libs" 0 KiB
[nomerge       ] net-misc/dhcpcd-6.10.1::portage-stable to 
/build/amd64-usr/ USE="embedded ipv6 udev"
[nomerge       ]  virtual/udev-208-r2::portage-stable to /build/amd64-usr/ 
USE="-gudev -introspection -static-libs"
[nomerge       ]   sys-apps/systemd-231-r5:0/2::coreos to /build/amd64-usr/ 
USE="audit cryptsetup curl gcrypt http importd kmod lzma nat pam policykit 
seccomp selinux symlink-usr (sysv-utils) (vanilla) -acl (-apparmor) 
-elfutils -gnuefi -idn (-kdbus) -lz4 -man -profiling -qrcode (-ssl) {-test} 
-xkb"
[ebuild  N     ]    sys-fs/cryptsetup-1.6.5::portage-stable to 
/build/amd64-usr/ USE="gcrypt udev -kernel -nettle -nls -openssl -pwquality 
-python -reencrypt (-static) (-static-libs) -urandom" 
PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" 
PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 1111 KiB
[ebuild  N     ]    sys-auth/polkit-0.113-r3::coreos to /build/amd64-usr/ 
USE="introspection pam systemd -examples -gtk -jit -kde -nls -selinux 
{-test}" 1415 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[ebuild  N     ]  app-misc/ca-certificates-3.19.1::coreos to 
/build/amd64-usr/ 6791 KiB
[ebuild  N     ]  sys-process/procps-3.3.9-r2::portage-stable to 
/build/amd64-usr/ USE="ncurses systemd unicode -nls -selinux -static-libs 
{-test}" 548 KiB
[ebuild  N     ]  sys-apps/dbus-1.8.16-r2::coreos to /build/amd64-usr/ 
USE="selinux (systemd) -X -debug -doc -static-libs {-test}" 1823 KiB
[nomerge       ] sys-fs/multipath-tools-0.5.0-r2::coreos to 
/build/amd64-usr/ USE="systemd"
[ebuild  N     ]  sys-fs/lvm2-2.02.116-r4::portage-stable to 
/build/amd64-usr/ USE="systemd thin udev (-clvm) (-cman) 
-device-mapper-only -lvm1 -lvm2create_initrd -readline -selinux (-static) 
(-static-libs)" 1503 KiB
[ebuild   R    ]   sys-apps/baselayout-3.1.4::coreos to /build/amd64-usr/ 
USE="symlink-usr -cros_host -profiling" 0 KiB
[ebuild  N     ]   virtual/libudev-208:0/1::portage-stable to 
/build/amd64-usr/ USE="(-static-libs)" 0 KiB
[ebuild  N     ]    sys-apps/systemd-231-r5:0/2::coreos to 
/build/amd64-usr/ USE="audit cryptsetup curl gcrypt http importd kmod lzma 
nat pam policykit seccomp selinux symlink-usr (sysv-utils) (vanilla) -acl 
(-apparmor) -elfutils -gnuefi -idn (-kdbus) -lz4 -man -profiling -qrcode 
(-ssl) {-test} -xkb" 0 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[ebuild  N     ]  app-crypt/go-tspi-0.1-r4::coreos to /build/amd64-usr/ 
GO_VERSION="go1_7" 0 KiB
[ebuild  N     ]   app-crypt/trousers-0.3.13-r2::coreos to 
/build/amd64-usr/ USE="-doc -libressl -selinux" 1340 KiB
[nomerge       ] coreos-base/coreos-init-0.0.1-r135::coreos to 
/build/amd64-usr/ USE="symlink-usr -profiling {-test}"
[ebuild  N     ]  sys-apps/gptfdisk-1.0.1::portage-stable to 
/build/amd64-usr/ USE="ncurses -static" 191 KiB
[nomerge       ] sys-auth/sssd-1.13.1-r2::coreos to /build/amd64-usr/ 
USE="locator ssh -acl -augeas -autofs -manpages -netlink -nfsv4 -nls 
-python -samba -selinux -sudo {-test}" PYTHON_TARGETS="python2_7 -python3_3 
-python3_4"
[ebuild  N     ]  sys-libs/ldb-1.1.26-r1:0/1.1.26::coreos to 
/build/amd64-usr/ USE="-doc" PYTHON_TARGETS="python2_7" 1234 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[ebuild  N     ]  net-fs/nfs-utils-1.3.2-r8::coreos to /build/amd64-usr/ 
USE="ipv6 libmount nfsidmap nfsv4 uuid -caps -kerberos -nfsdcld -nfsv41 
-selinux -tcpd" 772 KiB
[nomerge       ] sys-auth/sssd-1.13.1-r2::coreos to /build/amd64-usr/ 
USE="locator ssh -acl -augeas -autofs -manpages -netlink -nfsv4 -nls 
-python -samba -selinux -sudo {-test}" PYTHON_TARGETS="python2_7 -python3_3 
-python3_4"
[nomerge       ]  sys-apps/dbus-1.8.16-r2::coreos to /build/amd64-usr/ 
USE="selinux (systemd) -X -debug -doc -static-libs {-test}"
[ebuild  N     ]   app-text/docbook-xml-dtd-4.4-r2:4.4::portage-stable to 
/build/amd64-usr/ 94 KiB
[nomerge       ] sys-auth/realmd-0.16.2::coreos to /build/amd64-usr/ 
USE="systemd"
[nomerge       ]  sys-auth/polkit-0.113-r3::coreos to /build/amd64-usr/ 
USE="introspection pam systemd -examples -gtk -jit -kde -nls -selinux 
{-test}"
[ebuild  N     ]   dev-libs/gobject-introspection-1.40.0-r1::portage-stable 
to /build/amd64-usr/ USE="-cairo -doctool {-test}" 
PYTHON_TARGETS="python2_7" 1257 KiB
[ebuild  N     ]    x11-misc/shared-mime-info-1.4::portage-stable to 
/build/amd64-usr/ USE="{-test}" 526 KiB
[ebuild  N     ]    dev-util/desktop-file-utils-0.22::portage-stable to 
/build/amd64-usr/ USE="-emacs" 128 KiB
[nomerge       ] sys-auth/sssd-1.13.1-r2::coreos to /build/amd64-usr/ 
USE="locator ssh -acl -augeas -autofs -manpages -netlink -nfsv4 -nls 
-python -samba -selinux -sudo {-test}" PYTHON_TARGETS="python2_7 -python3_3 
-python3_4"
[ebuild  N     ]  sys-libs/tdb-1.3.8::portage-stable to /build/amd64-usr/ 
USE="-python" PYTHON_TARGETS="python2_7" 483 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[ebuild  N     ]  sys-fs/btrfs-progs-4.4.1::portage-stable to 
/build/amd64-usr/ USE="convert -static -static-libs" 1146 KiB
[ebuild  N     ]   app-text/asciidoc-8.6.9-r2::portage-stable to 
/build/amd64-usr/ USE="-examples -graphviz -highlight {-test}" 
PYTHON_SINGLE_TARGET="python2_7 (-pypy)" PYTHON_TARGETS="python2_7 (-pypy)" 
886 KiB
[ebuild  N     ]  sys-fs/mdadm-3.3.1-r2::portage-stable to 
/build/amd64-usr/ USE="-static" 524 KiB
[ebuild  N     ]  sys-fs/xfsprogs-3.2.1::coreos to /build/amd64-usr/ 
USE="readline -libedit -nls -static -static-libs" 1442 KiB
[ebuild  N     ]  sys-apps/seismograph-2.1.1-r1::coreos to 
/build/amd64-usr/ USE="-profiling" 0 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[nomerge       ]  app-emulation/docker-1.11.2-r5::coreos to 
/build/amd64-usr/ USE="btrfs device-mapper journald overlay selinux 
(-apparmor) -aufs -contrib -experimental -profiling -seccomp -vim-syntax 
-zsh-completion" GO_VERSION="go1_6"
[nomerge       ]   sys-fs/btrfs-progs-4.4.1::portage-stable to 
/build/amd64-usr/ USE="convert -static -static-libs"
[ebuild  N     ]    app-text/xmlto-0.0.26::portage-stable to 
/build/amd64-usr/ USE="-latex" 118 KiB
[ebuild  N     ]     app-text/docbook-xml-dtd-4.2-r2:4.2::portage-stable to 
/build/amd64-usr/ 77 KiB
[nomerge       ] app-crypt/trousers-0.3.13-r2::coreos to /build/amd64-usr/ 
USE="-doc -libressl -selinux"
[ebuild  N     ]  dev-libs/glib-2.44.1:2::portage-stable to 
/build/amd64-usr/ USE="xattr -dbus -debug (-fam) -mime -selinux 
-static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 8852 KiB
[ebuild  N     ]   app-text/docbook-xml-dtd-4.1.2-r6:4.1.2::portage-stable 
to /build/amd64-usr/ 74 KiB
[nomerge       ] sys-kernel/dracut-044::portage-stable to /build/amd64-usr/ 
USE="systemd -debug -selinux"
[nomerge       ]  app-text/asciidoc-8.6.9-r2::portage-stable to 
/build/amd64-usr/ USE="-examples -graphviz -highlight {-test}" 
PYTHON_SINGLE_TARGET="python2_7 (-pypy)" PYTHON_TARGETS="python2_7 (-pypy)"
[ebuild  N     ]   app-text/docbook-xml-dtd-4.5-r1:4.5::portage-stable to 
/build/amd64-usr/ 97 KiB
[ebuild  N     ]   
 app-text/docbook-xsl-stylesheets-1.78.0-r1::portage-stable to 
/build/amd64-usr/ USE="-ruby" 4894 KiB
[ebuild  N     ]     app-text/build-docbook-catalog-1.19.1::portage-stable 
to /build/amd64-usr/ 5 KiB
[nomerge       ] coreos-base/coreos-0.0.1-r274::coreos to /build/amd64-usr/ 
USE="selinux" ETCD_PROTOCOLS="1 2"
[nomerge       ]  sys-kernel/coreos-kernel-4.7.3-r3:0/4.7.3-r3::coreos to 
/build/amd64-usr/
[nomerge       ]   sys-fs/btrfs-progs-4.4.1::portage-stable to 
/build/amd64-usr/ USE="convert -static -static-libs"
[ebuild  N     ]    sys-fs/e2fsprogs-1.42.13-r1::coreos to 
/build/amd64-usr/ USE="-nls -static-libs" 6360 KiB
[ebuild  N    ~]     sys-apps/util-linux-2.27.1::portage-stable to 
/build/amd64-usr/ USE="cramfs ncurses pam suid systemd udev unicode -caps 
-fdformat -nls (-python) -selinux -slang -static-libs {-test} -tty-helpers" 
PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" 
PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 3872 KiB

Total: 58 packages (57 new, 1 reinstall), Size of downloads: 61713 KiB

 * Error: circular dependencies:

(sys-apps/util-linux-2.27.1:0/0::portage-stable, ebuild scheduled for merge 
to '/build/amd64-usr/') depends on
 (sys-apps/systemd-231-r5:0/2::coreos, ebuild scheduled for merge to 
'/build/amd64-usr/') (buildtime)
  (sys-apps/util-linux-2.27.1:0/0::portage-stable, ebuild scheduled for 
merge to '/build/amd64-usr/') (buildtime_slot_op)

It might be possible to break this cycle
by applying the following change:
- sys-apps/util-linux-2.27.1 (Change USE: -systemd)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better 
option.


I tried to add package sys-auth/munge:

~/trunk/src/scripts $ ./update_ebuilds sys-auth/munge

This performed well. But emerge failed:


~/trunk/src/scripts $ emerge-amd64-usr sys-auth/munge
....

Error: circular dependencies:

(sys-apps/util-linux-2.27.1:0/0::portage-stable, ebuild scheduled for merge 
to '/build/amd64-usr/') depends on
 (sys-apps/systemd-231-r5:0/2::coreos, ebuild scheduled for merge to 
'/build/amd64-usr/') (buildtime)
  (sys-apps/util-linux-2.27.1:0/0::portage-stable, ebuild scheduled for 
merge to '/build/amd64-usr/') (buildtime_slot_op)


I work with branch build-1185, but with the latest branch result was the 
same.
Any help appreciated.

Reply via email to