Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sys-fs/static-dev-0.1 Cannot install on udev/devfs tmpfs.
Date: Mon, 20 Jul 2015 19:18:02
Message-Id: 55AD495E.3090009@gmail.com
1 Howdy,
2
3 New emerge failure. It seems static-dev does not like udev,devfs or
4 tmpfs for some mount point, not sure which that is tho.
5
6
7 >>> Unpacking source...
8 >>> Source unpacked in /var/tmp/portage/sys-fs/static-dev-0.1/work
9 >>> Compiling source in /var/tmp/portage/sys-fs/static-dev-0.1/work ...
10 >>> Source compiled.
11 >>> Test phase [not enabled]: sys-fs/static-dev-0.1
12
13 >>> Install static-dev-0.1 into
14 /var/tmp/portage/sys-fs/static-dev-0.1/image/ category sys-fs
15 >>> Completed installing static-dev-0.1 into
16 /var/tmp/portage/sys-fs/static-dev-0.1/image/
17
18 ./
19 >>> Done.
20 * checking 0 files for package collisions
21 >>> Merging sys-fs/static-dev-0.1 to /
22
23 * We have detected that you currently use udev or devfs or devtmpfs
24 * and this ebuild cannot install to the same mount-point.
25 * ERROR: sys-fs/static-dev-0.1::gentoo failed (preinst phase):
26 * Cannot install on udev/devfs tmpfs.
27 *
28 * Call stack:
29 * ebuild.sh, line 93: Called pkg_preinst
30 * environment, line 200: Called abort
31 * environment, line 184: Called die
32 * The specific snippet of code:
33 * die "Cannot install on udev/devfs tmpfs."
34 *
35 * If you need support, post the output of `emerge --info
36 '=sys-fs/static-dev-0.1::gentoo'`,
37 * the complete build log and the output of `emerge -pqv
38 '=sys-fs/static-dev-0.1::gentoo'`.
39 * The complete build log is located at
40 '/var/tmp/portage/sys-fs/static-dev-0.1/temp/build.log'.
41 * The ebuild environment file is located at
42 '/var/tmp/portage/sys-fs/static-dev-0.1/temp/environment'.
43 * Working directory: '/var/tmp/portage/._portage_reinstall_.4Kleab/pym'
44 * S: '/var/tmp/portage/sys-fs/static-dev-0.1/work/static-dev-0.1'
45 !!! FAILED preinst: 1
46
47
48 I use eudev if that matters. Here is fstab:
49
50
51 root@fireball / # cat /etc/fstab
52 # /etc/fstab: static file system information.
53 # <fs> <mountpoint> <type> <opts>
54 <dump/pass>
55
56 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
57 LABEL=root / ext4 defaults 0 1
58 LABEL=boot /boot ext2 defaults 1 2
59 LABEL=usr /usr ext4 defaults 0 2
60 LABEL=var /var ext4 defaults 0 2
61 LABEL=swap none swap sw 0 0
62 LABEL=Home2 /home ext4 defaults 0 2
63 tmpfs /var/tmp/portage tmpfs noatime 0 0
64 tmpfs /run tmpfs
65 size=256m,mode=1777 0 0
66
67 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
68 # POSIX shared memory (shm_open, shm_unlink).
69 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
70 # use almost no memory if not populated with files)
71 shm /dev/shm tmpfs
72 nodev,nosuid,noexec 0 0
73 root@fireball / #
74
75 I removed some of the commented lines since they wouldn't change
76 anything. Here is the results of mount:
77
78
79 root@fireball / # mount
80 rootfs on / type rootfs (rw)
81 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
82 sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
83 devtmpfs on /dev type devtmpfs
84 (rw,nosuid,size=10240k,nr_inodes=2055159,mode=755)
85 devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
86 tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
87 tmpfs on /run type tmpfs (rw,size=262144k,mode=755)
88 /dev/sda6 on / type ext4 (rw,relatime,data=ordered)
89 /dev/mapper/OS-usr on /usr type ext4 (rw,relatime,data=ordered)
90 mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
91 debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
92 fusectl on /sys/fs/fuse/connections type fusectl
93 (rw,nosuid,nodev,noexec,relatime)
94 /dev/sda1 on /boot type ext2 (rw)
95 /dev/mapper/OS-var on /var type ext4 (rw)
96 /dev/mapper/Home2-Home2 on /home type ext4 (rw)
97 tmpfs on /var/tmp/portage type tmpfs (rw,noatime)
98 shm on /dev/shm type tmpfs (rw,nodev,nosuid,noexec)
99 binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
100 (rw,nodev,noexec,nosuid)
101 /dev/mapper/backup-backup on /backup type ext2 (rw)
102 root@fireball / #
103
104
105
106 Anyone know what this is about? I don't see anything odd in my fstab so
107 I would assume it is talking about something that is a default. I do
108 have portage's work directory on tmpfs. Is that what it is complaining
109 about? Surely not since it only builds there but intsalls to /.
110
111 Thoughts??
112
113 Dale
114
115 :-) :-)

Replies

Subject Author
Re: [gentoo-user] sys-fs/static-dev-0.1 Cannot install on udev/devfs tmpfs. Alan McKinnon <alan.mckinnon@×××××.com>