Bug#1008722: Possible bugfix

2022-04-11 Thread Moessbauer, Felix
Hi Sudip,

> -Original Message-
> From: Sudip Mukherjee 
> Sent: Sunday, April 10, 2022 9:10 PM
> 
> Hi Felix,
> 
> On Wed, Apr 6, 2022 at 1:27 PM Moessbauer, Felix
>  wrote:
> >
> > Hi Sudip,
> >
> > Unfortunately I found more races in the build.
> 
> I am thinking  of disabling parallel jobs while building. That should fix the
> problem for now. Your thoughts ?

That's probably the best strategy, until these issues are fixed upstream.
We locally already use DEB_BUILD_PROFILES="parallel=1" to mitigate it.

While we are at it: Please also add the missing build deps "flex" and "bison".

Regards,
Felix

> 
> 
> --
> Regards
> Sudip


Bug#1008722: Possible bugfix

2022-04-10 Thread Sudip Mukherjee
Hi Felix,

On Wed, Apr 6, 2022 at 1:27 PM Moessbauer, Felix
 wrote:
>
> Hi Sudip,
>
> Unfortunately I found more races in the build.

I am thinking  of disabling parallel jobs while building. That should
fix the problem for now. Your thoughts ?


-- 
Regards
Sudip



Bug#1008722: Possible bugfix

2022-04-06 Thread Moessbauer, Felix
Hi Sudip,

Unfortunately I found more races in the build.
There has to be something more general to be wrong with these Makefiles:
2022-04-06 12:14:27 - ERROR - --- debian/libtracefs1.symbols 
(libtracefs1_1.3.0-1_amd64)
2022-04-06 12:14:27 - ERROR - +++ dpkg-gensymbolsyDWb5y 2022-04-06 
12:14:15.730437201 +
2022-04-06 12:14:27 - ERROR - @@ -114,7 +114,7 @@
2022-04-06 12:14:27 - ERROR - tracefs_printf@Base 1.1.1
2022-04-06 12:14:27 - ERROR - tracefs_put_tracing_file@Base 
0.0~git20201211.ca6a929
2022-04-06 12:14:27 - ERROR - tracefs_set_loglevel@Base 1.2.0
2022-04-06 12:14:27 - ERROR - - tracefs_sql@Base 1.3.0
2022-04-06 12:14:27 - ERROR - +#MISSING: 1.3.0-1# tracefs_sql@Base 1.3.0
2022-04-06 12:14:27 - ERROR - tracefs_synth_add_compare_field@Base 1.3.0
2022-04-06 12:14:27 - ERROR - tracefs_synth_add_end_field@Base 1.3.0
2022-04-06 12:14:27 - ERROR - tracefs_synth_add_match_field@Base 1.3.0

2022-04-06 12:14:27 - ERROR - dh_makeshlibs: error: failing due to earlier 
errors

Also found similar issues for libtraceevent.
To keep things maintainable, I'll add a dedicated bug report.

Best regards,
Felix
--
Siemens AG, Technology, T CED SES-DE
Otto-Hahn-Ring 6, 81739 München, Germany





Bug#1008722: Possible bugfix

2022-04-03 Thread Sudip Mukherjee
On Thu, Mar 31, 2022 at 5:48 PM Moessbauer, Felix
 wrote:
>
> Hi,
>
> I debugged this further and found that the problem is a partially-written 
> tracefs-sqlhist.o file.
> With the patch in [1] I can no longer reproduce the bug.

Thanks for the patch Felix.
Will upload today with this patch added.

>
> Still, I don't fully understand why it is required to explicitly mention the 
> dependency to tracefs-sqlhist.c.

I have informed Steve (upstream) about this. Hopefully he will have
some explanation.


-- 
Regards
Sudip



Bug#1008722: Possible bugfix

2022-03-31 Thread Moessbauer, Felix
Hi,

I debugged this further and found that the problem is a partially-written 
tracefs-sqlhist.o file.
With the patch in [1] I can no longer reproduce the bug.

Still, I don't fully understand why it is required to explicitly mention the 
dependency to tracefs-sqlhist.c.

[1] 
https://salsa.debian.org/fmoessbauer/libtracefs/-/commit/1312d11f371bda6ff88bac518a5347a8cf8a9105

Felix
--
Siemens AG, Technology, T CED SES-DE
Otto-Hahn-Ring 6, 81739 München, Germany