I'm using a build farm to create tbz2 packages that I unpack on anothers systems. On the build system, VIDEO_CARDS is set to "nvidia nouveau". The tbz2 package for media-gfx/imagemagick is then built with VIDEO_CARDS="nvidia". On the local network, on another system, VIDEO_CARDS is set to "sis". On this system I'm trying to install xfce4-meta from tbz2 prebuilt packages. Here is the result : > > # emerge -avk xfce4-meta > > [...] cut off 34 binaries packages > > [binary N ] xfce-base/xfce4-meta-4.8 USE="session svg -minimal" > [ebuild N ] x11-drivers/nvidia-drivers-260.19.36 USE="acpi gtk -custom-cflags (-multilib)" 0 kB > [ebuild N ] media-video/nvidia-settings-260.19.29 0 kB > [binary N ] media-gfx/imagemagick-6.6.5.6 USE="X bzip2 corefonts cxx jpeg lcms openmp perl png svg tiff truetype xml zlib -autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lqr -openexr -q32 -q8 -raw -static-libs -wmf" VIDEO_CARDS="nvidia" You can notice that emerge wants to install imagemagick from the binary package with VIDEO_CARDS="nvidia". It should wants to build the package itself. I'm using stable portage 2.1.9.42. Thanks. PS: on a system with FEATURES="buildpkg" is there a way to define a set of packages which tell to emerge to never build binary packages for this set ? Reproducible: Always
You can use the --bingpkg-respect-use option for this (or --newuse which is less specific). If you want this as the default behavior, set EMERGE_DEFAULT_OPTS="--bingpkg-respect-use" in /etc/make.conf.
Ok, it works with it. Another new option that I didn't know. I thought that it was the default that the -k option involved that binary packages would be merged only if their configuration was the same as the system. Sorry for disturbing.