Thread (11 messages) 11 messages, 4 authors, 2021-02-06

[Buildroot] [autobuild.buildroot.net] Your daily results for 2021-02-04

flat view

From: Peter Seiderer <hidden>
Date: 2021-02-05 22:43:04

On Fri, 5 Feb 2021 22:34:53 +0100, "Yann E. MORIN" [off-list ref] wrote:
Peter, All,

On 2021-02-05 19:35 +0100, Peter Korsgaard spake thusly:
quoted
quoted
quoted
quoted
quoted
quoted
"Heiko" == Heiko Thiery [off-list ref] writes:
 >> mipsel    |        netopeer2-1.1.53        | http://autobuild.buildroot.net/results/da0e36543cf68e4e9bbe819945a884193f33819a
[--SNIP--]
quoted
 > So I see here 3 possible solutions:
 > 1. do the PRE_INSTALL_HOOK to remove the files every time (disclaimed by Yann).
 > 2. remove this files by hand (no long term solution).
 > 3. disable the installation of the yang modules .. but then we have a
 > non functional installation available and we leave the installation of
 > the yang modules to the user.

Ideally the package should be fixed to create those files in
$DESTDIR/dev/shm rather than mess around with the host /dev/shm.

But as /dev/shm is not persistent, how does this work at runtime? What
do those files do exactly?
They are shared memory.

From shm_overview(7):

    On Linux, shared memory objects are created in a (tmpfs(5)) virtual
    filesystem, normally mounted under /dev/shm. [...]

There is in fact nothing wrong in creating such shm objects during the
build.

What is wrong, is leaving them lingering about...
What happens with two independent buildroot builds both doing netopeer2 install
at the same time? Compete/interfere on the same files in /dev/shm/sh_*? Think
the only proper solution is to avoid the shm files or create them inside the
buildroot working directory (and cleanup afterwards)...

Regards,
Peter
Regards,
Yann E. MORIN.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help