Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501128 - app-admin/python-updater scans kernel sources, making it very slow
Summary: app-admin/python-updater scans kernel sources, making it very slow
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2014-02-12 22:43 UTC by Joakim Tjernlund
Modified: 2014-02-14 11:06 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 Joakim Tjernlund 2014-02-12 22:43:34 UTC
python-updater runs scanelf and stracing scanelf shows:

....
fstatat64(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/hisax_if.h", {st_mode=S_IFREG|0644, st_size=1429, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/hisax_if.h", O_RDONLY|O_CLOEXEC) = 3
mmap2(NULL, 1429, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7705000
munmap(0xf7705000, 1429)                = 0
close(3)                                = 0
fstatat64(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/ipacx.h", {st_mode=S_IFREG|0644, st_size=6601, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/ipacx.h", O_RDONLY|O_CLOEXEC) = 3
mmap2(NULL, 6601, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7704000
munmap(0xf7704000, 6601)                = 0
close(3)                                = 0
fstatat64(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/telespci.c", {st_mode=S_IFREG|0644, st_size=9158, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/telespci.c", O_RDONLY|O_CLOEXEC) = 3
mmap2(NULL, 9158, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7703000
munmap(0xf7703000, 9158)                = 0
close(3)                                = 0
fstatat64(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/s0box.c", {st_mode=S_IFREG|0644, st_size=7131, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/s0box.c", O_RDONLY|O_CLOEXEC) = 3
mmap2(NULL, 7131, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7704000
munmap(0xf7704000, 7131)                = 0
close(3)                                = 0
fstatat64(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/hfc_2bs0.h", {st_mode=S_IFREG|0644, st_size=1425, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/hfc_2bs0.h", O_RDONLY|O_CLOEXEC) = 3
mmap2(NULL, 1425, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7705000
munmap(0xf7705000, 1425)                = 0
close(3)                                = 0
fstatat64(AT_FDCWD, "/usr/src/linux-3.4.74/drivers/isdn/hisax/bkm_a4t.c", {st_mode=S_IFREG|0644, st_size=9141, ...}, AT_SYMLINK_NOFOLLOW) = 0

....
Comment 1 Mike Gilbert gentoo-dev 2014-02-13 15:38:26 UTC
Do you have a better solution for finding the ELF binaries?
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2014-02-13 16:52:45 UTC
python-updater is pretty obsolete anyway...
It was replaced with better approach with USE-flags dependencies precisely because of this kind of errors.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-13 16:59:22 UTC
What Maxim said. If you can provide a good patch that fixes this without introducing new issues or stuff like that, we'd be happy to merge it. Otherwise, this is rather WONTFIX since there's no point putting real effort into that mostly-obsolete tool.
Comment 4 Joakim Tjernlund 2014-02-14 10:06:44 UTC
Didn't know that it was obsolete an no I don't have a fix either.

Not too long ago I updateted pyton from 3.2 to 3.3 and poterage suggested to run
python-updater and it fixed a few pkgs which suggests that teh new use flag scheme
may need some improvemenets.

Anyhow, you can close the ticket. I am not going to fix something that is
on its way out.
Comment 5 Maxim Koltsov (RETIRED) gentoo-dev 2014-02-14 11:06:45 UTC
It just means that those packages were not ported to new python eclasses. Such packages are disappearing from the tree right now.
Closing as suggested by mgorny and approved by reporter.