I am in the process of moving from mplayer2 -> mpv on my HTPCs. I have: -synced the tree -updated world -installed mpv as follows: [ebuild R ] media-video/mpv-0.3.10 USE="X alsa cdio dvd enca encode iconv jpeg lcms libass lirc lua mpg123 opengl postproc quvi shm vaapi xscreensaver xv -bluray -bs2b -doc-pdf -dvb -dvdnav -jack -joystick -ladspa (-libcaca) -libguess -luajit -openal -oss -portaudio -pulseaudio -pvr -radio -samba -sdl (-selinux) -v4l -vcd -vdpau -vf-dlopen -wayland -xinerama" 0 kB Now, right after this if I do an emerge world again, I get this: # emerge -pvuDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-lua/luasocket-3.0_rc1-r3 USE="-debug" ABI_X86="(64) (-32) (-x32)" 321 kB [ebuild N ] dev-lua/luaexpat-1.3.0-r1 ABI_X86="(64) (-32) (-x32)" 29 kB [ebuild N ] dev-lua/LuaBitOp-1.0.2 23 kB [ebuild N ] dev-lua/lpeg-0.12 USE="-debug -doc" 66 kB [ebuild N ] dev-lua/luajson-1.3.2 USE="{-test}" 42 kB [ebuild NS ] media-libs/libquvi-scripts-0.9.20131130:0 [0.4.21-r1:0.4] USE="-offensive" 315 kB [ebuild N ] net-libs/libproxy-0.4.11-r2 USE="python -gnome -kde -mono -networkmanager -perl -spidermonkey {-test} -webkit" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7" 92 kB [ebuild NS ] media-libs/libquvi-0.9.4:0/8 [0.4.1-r1:0.4] USE="nls -examples -static-libs" 365 kB [ebuild rR ] media-video/mpv-0.3.10 USE="X alsa cdio dvd enca encode iconv jpeg lcms libass lirc lua mpg123 opengl postproc quvi shm vaapi xscreensaver xv -bluray -bs2b -doc-pdf -dvb -dvdnav -jack -joystick -ladspa (-libcaca) -libguess -luajit -openal -oss -portaudio -pulseaudio -pvr -radio -samba -sdl (-selinux) -v4l -vcd -vdpau -vf-dlopen -wayland -xinerama" 0 kB Total: 9 packages (6 new, 2 in new slots, 1 reinstall), Size of downloads: 1,250 kB This has happened on all three HTPCs I've updated. Reproducible: Always Steps to Reproduce: 1. Use machine that hasn't had mpv installed 2. Update world `emerge -uDN world` 3. Enable `lua` USE-flag for mpv in /etc/portage/package.use 4. Install mpv-0.3.10 4. Run another update world `emerge -uDN world` and install missing packages Actual Results: A few extra packages are installed and mpv is built once again Expected Results: Shouldn't everything have been installed the first time so mpv wouldn't have to be built twice?
That's because installing mpv triggers an upgrade of libquvi: media-libs/libquvi-0.9.4:0/8 [0.4.1-r1:0.4] which triggers a re-install of mpv. Looks sound to me. What is the bug here?
Shouldn't this happen the first time mpv is installed? The output I posted is from running `emerge -pvuDN world` immediately after mpv was installed. Isn't portage supposed to trigger these updates the first time around? I didn't think running `emerge -uDN world` after any new package is installed is required.
In the first emerge call you didn't ask -uD but in the second you did.
Ah, OK. That does make sense. This is the first time I've actually seen this happen, but these machines have a very small set of packages installed. It can be closed.