ust ftbfs in eoan

Bug #1843766 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ust (Ubuntu)
Fix Released
High
Unassigned

Bug Description

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/lttng -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DUST_COMPONENT=libringbuffer -Wall -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ring_buffer_backend.c -fPIC -DPIC -o .libs/libringbuffer_la-ring_buffer_backend.o
In file included from ../include/usterr-signal-safe.h:29,
                 from frontend_types.h:38,
                 from backend_internal.h:31,
                 from backend.h:32,
                 from ring_buffer_frontend.c:73:
../include/lttng/ust-tid.h:38:21: error: static declaration of ‘gettid’ follows non-static declaration
   38 | static inline pid_t gettid(void)
      | ^~~~~~
In file included from /usr/include/unistd.h:1170,
                 from ring_buffer_frontend.c:59:
/usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
   34 | extern __pid_t gettid (void) __THROW;
      | ^~~~~~
In file included from ../include/usterr-signal-safe.h:29,
                 from frontend_types.h:38,
                 from backend_internal.h:31,
                 from backend.h:32,
                 from ring_buffer_backend.c:29:
../include/lttng/ust-tid.h:38:21: error: static declaration of ‘gettid’ follows non-static declaration
   38 | static inline pid_t gettid(void)
      | ^~~~~~
In file included from /usr/include/unistd.h:1170,
                 from ring_buffer_backend.c:23:
/usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
   34 | extern __pid_t gettid (void) __THROW;
      | ^~~~~~
make[3]: *** [Makefile:490: libringbuffer_la-ring_buffer_frontend.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:483: libringbuffer_la-ring_buffer_backend.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libringbuffer'
make[2]: *** [Makefile:580: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:456: all] Error 2

Matthias Klose (doko)
Changed in ust (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-ee-incoming
Revision history for this message
Chris Halse Rogers (raof) wrote :

Fixed in 2.10.5-1.

Changed in ust (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.