Bug#963301: gstreamer1.0: FTBFS:

2020-07-03 Thread Sebastian Dröge
On Sun, 21 Jun 2020 21:53:15 +0200 Lucas Nussbaum  wrote:
> 
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> [...]


Thanks for reporting. This happens because GNU make was updated to 4.3,
which includes backwards incompatible changes. Updating to that was
probably a bad idea before making sure most things work with the new
version...


The package in experimental has this fixed by getting rid of the
autotools/make-based build system and switching to meson.

GStreamer 1.18.0 should make it in time for bullseye so I'm not going
to bother fixing this separately.



Bug#963301: gstreamer1.0: FTBFS: controller-enumtypes.c:10:1: error: stray ‘\’ in program

2020-06-21 Thread Lucas Nussbaum
Source: gstreamer1.0
Version: 1.16.2-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> /bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../../libs -I../../.. 
> -I../../../libs -I../../.. -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DG_THREADS_MANDATORY 
> -DG_DISABLE_CAST_CHECKS -fno-strict-aliasing -Wall 
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations 
> -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings 
> -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self 
> -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar 
> -Wnested-externs  -g -fvisibility=hidden  -DBUILDING_GST_CONTROLLER -g 
> -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wno-error -c -o 
> libgstcontroller_1.0_la-controller-enumtypes.lo `test -f 
> 'controller-enumtypes.c' || echo './'`controller-enumtypes.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I../../../libs -I../../.. -I../../../libs -I../../.. 
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -fno-strict-aliasing -Wall 
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations 
> -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings 
> -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self 
> -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar 
> -Wnested-externs -g -fvisibility=hidden -DBUILDING_GST_CONTROLLER -g -O2 
> -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wno-error -c controller-enumtypes.c  -fPIC -DPIC -o 
> .libs/libgstcontroller_1.0_la-controller-enumtypes.o
> controller-enumtypes.c:10:1: error: stray ‘\’ in program
>10 | \#include "gstinterpolationcontrolsource.h"
>   | ^
> controller-enumtypes.c:10:2: error: stray ‘#’ in program
>10 | \#include "gstinterpolationcontrolsource.h"
>   |  ^
> controller-enumtypes.c:10:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
> ‘__attribute__’ before string constant
>10 | \#include "gstinterpolationcontrolsource.h"
>   |   ^
> controller-enumtypes.c:11:1: error: stray ‘\’ in program
>11 | \#include "gstlfocontrolsource.h"
>   | ^
> controller-enumtypes.c:11:2: error: stray ‘#’ in program
>11 | \#include "gstlfocontrolsource.h"
>   |  ^
> controller-enumtypes.c: In function ‘gst_lfo_waveform_get_type’:
> controller-enumtypes.c:39:9: error: ‘GST_LFO_WAVEFORM_SINE’ undeclared (first 
> use in this function)
>39 |   { GST_LFO_WAVEFORM_SINE, "GST_LFO_WAVEFORM_SINE", "sine" },
>   | ^
> controller-enumtypes.c:39:9: note: each undeclared identifier is reported 
> only once for each function it appears in
> controller-enumtypes.c:40:9: error: ‘GST_LFO_WAVEFORM_SQUARE’ undeclared 
> (first use in this function)
>40 |   { GST_LFO_WAVEFORM_SQUARE, "GST_LFO_WAVEFORM_SQUARE", "square" 
> },
>   | ^~~
> controller-enumtypes.c:41:9: error: ‘GST_LFO_WAVEFORM_SAW’ undeclared (first 
> use in this function)
>41 |   { GST_LFO_WAVEFORM_SAW, "GST_LFO_WAVEFORM_SAW", "saw" },
>   | ^~~~
> controller-enumtypes.c:42:9: error: ‘GST_LFO_WAVEFORM_REVERSE_SAW’ undeclared 
> (first use in this function)
>42 |   { GST_LFO_WAVEFORM_REVERSE_SAW, "GST_LFO_WAVEFORM_REVERSE_SAW", 
> "reverse-saw" },
>   | ^~~~
> controller-enumtypes.c:43:9: error: ‘GST_LFO_WAVEFORM_TRIANGLE’ undeclared 
> (first use in this function)
>43 |   { GST_LFO_WAVEFORM_TRIANGLE, "GST_LFO_WAVEFORM_TRIANGLE", 
> "triangle" },
>   | ^
> make[6]: *** [Makefile:784: libgstcontroller_1.0_la-controller-enumtypes.lo] 
> Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/gstreamer1.0_1.16.2-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.