Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22016 - [namcap] Cannot process the udev package
Attached to Project:
Arch Linux
Opened by Dan McGee (toofishes) - Tuesday, 07 December 2010, 23:14 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Wednesday, 23 February 2011, 23:16 GMT
Opened by Dan McGee (toofishes) - Tuesday, 07 December 2010, 23:14 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Wednesday, 23 February 2011, 23:16 GMT
|
DetailsDon't know why I didn't know this before, saving for posterity:
$ namcap /var/cache/pacman/pkg/udev-164-2-x86_64.pkg.tar.xz Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/site-packages/namcap.py", line 237, in <module> process_realpackage(package, active_modules) File "/usr/lib/python2.7/site-packages/namcap.py", line 118, in process_realpackage pkgtar.extract(j, sandbox_directory) File "/usr/lib/python2.7/tarfile.py", line 2083, in extract self._extract_member(tarinfo, os.path.join(path, tarinfo.name)) File "/usr/lib/python2.7/tarfile.py", line 2165, in _extract_member self.makedev(tarinfo, targetpath) File "/usr/lib/python2.7/tarfile.py", line 2232, in makedev os.makedev(tarinfo.devmajor, tarinfo.devminor)) OSError: [Errno 1] Operation not permitted |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Wednesday, 23 February 2011, 23:16 GMT
Reason for closing: Fixed
Additional comments about closing: The problem was worked around and fakeroot is no longer needed.
Wednesday, 23 February 2011, 23:16 GMT
Reason for closing: Fixed
Additional comments about closing: The problem was worked around and fakeroot is no longer needed.
Looks like a problem with the udev tarball.
crw------- root/root 108,0 2010-12-08 06:55 lib/udev/devices/ppp
crw-rw-rw- root/root 10,229 2010-12-08 06:55 lib/udev/devices/fuse
crw-rw-rw- root/root 1,11 2010-12-08 06:55 lib/udev/devices/kmsg
crw-rw---- root/root 1,5 2010-12-08 06:55 lib/udev/devices/zero
crw-rw-rw- root/root 1,3 2010-12-08 06:55 lib/udev/devices/null
crw------- root/root 5,1 2010-12-08 06:55 lib/udev/devices/console
crw-rw-rw- root/root 10,200 2010-12-08 06:55 lib/udev/devices/net/tun
namcap should probably ask to be rerun as root instead of "crashing".
And no, running as root is a terrible idea, that is not a fix, thus the reason I filed this report for future reference.
% fakeroot namcap /var/cache/pacman/pkg/udev-165-1-x86_64.pkg.tar.xz
udev W: Dependency included but already satisfied ('glibc')
udev W: Dependency included and not needed ('coreutils')
udev W: Dependency included and not needed ('util-linux')
udev W: Dependency included and not needed ('module-init-tools')
udev W: Dependency included and not needed ('pciutils')
udev E: File (lib/udev/devices/loop0) has root/disk permissions
udev W: File (lib/udev/devices/null) has the world writable bit set.
udev W: File (lib/udev/devices/fuse) has the world writable bit set.
udev W: File (lib/udev/devices/zero) does not have the world readable bit set.
udev W: File (lib/udev/devices/kmsg) has the world writable bit set.
udev W: File (lib/udev/devices/ppp) does not have the world readable bit set.
udev W: File (lib/udev/devices/console) does not have the world readable bit set.
udev W: File (lib/udev/devices/loop0) does not have the world readable bit set.
udev W: File (lib/udev/devices/net/tun) has the world writable bit set.
udev E: Symlink (lib/udev/devices/fd) points to non-existing /proc/self/fd
udev E: Symlink (lib/udev/devices/stdin) points to non-existing /proc/self/fd/0
udev E: Symlink (lib/udev/devices/stderr) points to non-existing /proc/self/fd/2
udev E: Symlink (lib/udev/devices/stdout) points to non-existing /proc/self/fd/1
udev E: Symlink (lib/udev/devices/core) points to non-existing /proc/kcore