rebuild-detector: Hook bug?
With the release 4.1.0 I have a message when hook is running:
(3/5) Checking which packages need to be rebuilt
stat: cannot stat '/proc/95805/mounts': No such file or directory
foreign android-studio
extra brltty
...
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
yeah
Bingo
I have to update this package, then rebuild-detector is doing it’s job…
I think I know what’s going on:
vdeplug4-git
is flagged because it was built against an olderpython
version, so this package has some files in/usr/lib/python3x
(wherex
is not8
).The hook only uses packages passed on stdin for
ldd
detection (because it is slow), but checks for python/ruby/perl/haskell are performed differently, they are fast, and so they don’t read stuff from stdin.In other words, it’s not the intention to make
checkrebuild
use stdin to filter out all unrelated packages, it’s only used to speed things up where it makes sense.But I think we could be a little more verbose for non-ldd packages with
-v
flag, to at least tell a very generic reason why you get this output, to help you understand where to start investigations - I’ll think what I can do about it 👍Cool I installed emacs and confirm that I can repro, thanks 😃