Hi,
here are some additional details on the bug.
I'm also not 100% sure if the patch from above actually fixes the issue.
Looks like it is already applied.
The issue is a missing symbol:
tracefs_set_loglevel@Base 1.2.0
- tracefs_sql@Base 1.3.0
+#MISSING: 1.3.0-1# tracefs_sql@Base 1.3.0
This symbol is declared in include/tracefs.h and defined in
src/tracefs-sqlhist.c.
The race condition results in linking tracefs-sqlhist.o without having
src/tracefs-sqlhist.c compiled.
This can be checked with readelf:
readelf -s src/tracefs-sqlhist.o | grep tracefs_sql
94: 00000000000030fe 375 FUNC GLOBAL DEFAULT 1 tracefs_sql
But on some runs, it is missing. Probably because we overwrite the dep
(src/Makefile):
tracefs-sqlhist.o: sqlhist.tab.h
Another strange thing is that the files that are generated with flex / bison
are checked in, but sometimes this is not detected correctly.
In case this is not detected, the build also fails because bison and flex are
not added as dependencies (hence are not installed by sbuilder).
We should also clarify this with upstream.
Felix
--
Siemens AG, Technology, T CED SES-DE
Otto-Hahn-Ring 6, 81739 München, Germany