Buildbot failure in Wildebeest Builder on whole buildset

2020-11-27 Thread buildbot
The Buildbot has detected a failed build on builder whole buildset while building elfutils. Full details are available at: https://builder.wildebeest.org/buildbot/#builders/4/builds/640 Buildbot URL: https://builder.wildebeest.org/buildbot/ Worker for this Build: debian-i386 Build Reason:

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-27 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 --- Comment #5 from Frank Ch. Eigler --- Yeah, I suppose there is that race possibility. One way to fix it is to use something like file locks, such as a flock(2) on a designated file such as $CACHE/cache_clean_interval_s. During

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-27 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 --- Comment #4 from Mark Wielaard --- Full patch: https://sourceware.org/pipermail/elfutils-devel/2020q4/003198.html Question is if this can ever cause a race with the creation of a new cache file. Can there be multiple clients trying to

[PATCH] debuginfod: Try to remove empty cache dirs.

2020-11-27 Thread Mark Wielaard
When unlinking a max_unused_age file also try to rmdir the parent directory in case it is now empty. Signed-off-by: Mark Wielaard --- debuginfod/ChangeLog | 5 + debuginfod/debuginfod-client.c | 16 2 files changed, 17 insertions(+), 4 deletions(-) diff --git

Re: Remove remaining nested functions from libdwfl

2020-11-27 Thread Mark Wielaard
On Thu, 2020-11-26 at 15:10 +0100, Timm Bäder via Elfutils-devel wrote: > Here are the three patches to remove the three remaining nested > functions from libdwfl/dwfl_segment_report_module.c. Thanks those look good. Pushed. I did add ChangeLog entries and made sure all lines were < 80 chars.

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-27 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 --- Comment #3 from Frank Ch. Eigler --- Yeah, a speculative rmdir is probably just fine. Martin, there is no difference between a pure client cache, and a debuginfod server's own federation cache. They are both exactly the same thing. --

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-27 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2020-11-27 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz --- Comment #1