If multilib systems where /lib is not the default ABI or a symlink to it, the following lines in baselayout are not correct: kdir /$(get_libdir)/dev-state kdir /$(get_libdir)/udev-state You'll see later in the same ebuild, lines that refer to /lib/udev-state. The general consensus on #mipslinux seems to be that non-library files should be in /lib if they have to live in a /lib* directory. So I think the above lines should be: kdir /lib/dev-state kdir /lib/udev-state This is a regression introduced in 1.12.
the ebuild takes care of setting up /lib* before the dev-state stuff, so that should not be an issue
Consider multilib MIPS with o32 in /lib, n32 in /lib32 and n64 in /lib64 and n32 is the default ABI. kdir /$(get_libdir)/udev-state will create /lib32/udev-state/ later in the ebuild it tries to create a tarball in /lib/udev-state/ which does not exist and breaks. Again, this only applies to a situation where /lib is not the default ABI libdir (or a symlink to it). Which currently is just my experimental multilib MIPS. But the ebuild is still not doing the right thing.
why are these things still in baselayout anyways ? we punted all of udev to the udev package, so it would only make sense to move this stuff to the packages that use it
once Bug 145287 is taken care of, i'll just scrub both dev-state dirs from the baselayout ebuild
The changes were made to stable baselayout (1.12.6*). And the dev state stuff has been removed in 1.12.8*. So this is both fixed and no longer relevant. Closing.