When I run revdep-rebuild it chokes on my EMERGE_DEFAULT_OPTS ozzie src # revdep-rebuild * Configuring search environment for revdep-rebuild ...trimmed... [ 26% ] * broken /usr/lib64/cairo/libcairo-trace.so.0.0.0 (requires libbfd-2.22.so) [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/lib64/cairo/libcairo-trace.so.0.0.0 -> x11-libs/cairo ...trimmed... * All prepared. Starting rebuild emerge --complete-graph=y --oneshot --ask-enter-invalid --keep-going=y --binpkg-respect-use=y --tree --verbose --with-bdeps=y --autounmask=n --buildpkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl sys-power/bbswitch app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod" --usepkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl sys-power/bbswitch app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod" --jobs=5 --load-average=3.5 x11-libs/cairo:0 .......... Usage: emerge [options] emerge: error: Invalid Atom(s) in --buildpkg-exclude parameter: '"sys-kernel/compat-drivers' * revdep-rebuild failed to emerge all packages. ...trimmed.... However, the exact same command run directly works fine: ozzie src # emerge --complete-graph=y --oneshot --ask-enter-invalid --keep-going=y --binpkg-respect-use=y --tree --verbose --with-bdeps=y --autounmask=n --buildpkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl sys-power/bbswitch app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod" --usepkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl sys-power/bbswitch app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod" --jobs=5 --load-average=3.5 x11-libs/cairo:0 These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] x11-libs/cairo-1.10.2-r3 USE="X directfb glib opengl svg xcb (-aqua) -debug -doc (-drm) (-gallium) (-openvg) (-qt4) -static-libs" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-libs/cairo-1.10.2-r3 >>> Installing (1 of 1) x11-libs/cairo-1.10.2-r3 >>> Jobs: 1 of 1 complete Load avg: 2.75, 1.71, 1.41 ...trimmed... [ebuild R ] app-portage/gentoolkit-0.3.0.7 0 kB
Created attachment 356772 [details, diff] Use array for EMERGE_DEFAULT_OPTS Something like this should fix it.
Tested and fixes my issue. Please merge this in, it affects a few thousand of my users.
Pushed to git: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=cd6a0dbd9e44eb2dd8c418d3d4733cb4e71962c2 I will work on a bump within the next few days, but it is available in gentoolkit-9999 now.
Released in gentoolkit-0.3.0.8