Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144786 - baselayout creates dev-state and udev-state in wrong place
Summary: baselayout creates dev-state and udev-state in wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 145287
Blocks:
  Show dependency tree
 
Reported: 2006-08-22 13:49 UTC by Joel Martin (RETIRED)
Modified: 2006-12-21 06:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Martin (RETIRED) gentoo-dev 2006-08-22 13:49:52 UTC
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.
Comment 1 SpanKY gentoo-dev 2006-08-22 20:06:30 UTC
the ebuild takes care of setting up /lib* before the dev-state stuff, so that should not be an issue
Comment 2 Joel Martin (RETIRED) gentoo-dev 2006-08-23 05:19:54 UTC
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.
Comment 3 SpanKY gentoo-dev 2006-08-27 10:17:57 UTC
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
Comment 4 SpanKY gentoo-dev 2006-08-27 13:59:39 UTC
once Bug 145287 is taken care of, i'll just scrub both dev-state dirs from the baselayout ebuild
Comment 5 Joel Martin (RETIRED) gentoo-dev 2006-12-21 06:41:04 UTC
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.