Your message dated Thu, 21 Jan 2021 10:49:57 +0100
with message-id <20210121094957.ga6...@bogon.m.sigxcpu.org>
and subject line Re: Bug#957406: kmscube: ftbfs with GCC-10
has caused the Debian Bug report #957406,
regarding kmscube: ftbfs with GCC-10
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
957406: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957406
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:kmscube
Version: 0.0.0~git20170617-2
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/kmscube_0.0.0~git20170617-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
dh clean
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
configure.ac:32: installing 'build-aux/compile'
configure.ac:30: installing 'build-aux/install-sh'
configure.ac:30: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
   dh_auto_configure
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DRM... yes
checking for GBM... yes
checking for EGL... yes
checking for GLES2... yes
checking for GST... yes
configure: Building cube-video support
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
   dh_auto_build
        make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-common.o `test -f 'common.c' || echo 
'./'`common.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-cube-smooth.o `test -f 'cube-smooth.c' || 
echo './'`cube-smooth.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-cube-tex.o `test -f 'cube-tex.c' || echo 
'./'`cube-tex.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-drm-atomic.o `test -f 'drm-atomic.c' || 
echo './'`drm-atomic.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-drm-common.o `test -f 'drm-common.c' || 
echo './'`drm-common.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-drm-legacy.o `test -f 'drm-legacy.c' || 
echo './'`drm-legacy.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-esTransform.o `test -f 'esTransform.c' || 
echo './'`esTransform.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-frame-512x512-NV12.o `test -f 
'frame-512x512-NV12.c' || echo './'`frame-512x512-NV12.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-frame-512x512-RGBA.o `test -f 
'frame-512x512-RGBA.c' || echo './'`frame-512x512-RGBA.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-kmscube.o `test -f 'kmscube.c' || echo 
'./'`kmscube.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-cube-video.o `test -f 'cube-video.c' || 
echo './'`cube-video.c
gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
-DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
-DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I.   
-Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
-I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
-I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o kmscube-gst-decoder.o `test -f 'gst-decoder.c' || 
echo './'`gst-decoder.c
gcc -O0 -g -Wall -Wextra -std=c99 -I/usr/include/libdrm    -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o kmscube kmscube-common.o 
kmscube-cube-smooth.o kmscube-cube-tex.o kmscube-drm-atomic.o 
kmscube-drm-common.o kmscube-drm-legacy.o kmscube-esTransform.o 
kmscube-frame-512x512-NV12.o kmscube-frame-512x512-RGBA.o kmscube-kmscube.o 
kmscube-cube-video.o kmscube-gst-decoder.o -ldrm -lgbm -lEGL -lGLESv2 -lm 
-lgstapp-1.0 -lgstallocators-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 
-lgobject-2.0 -lglib-2.0 
/usr/bin/ld: kmscube-cube-tex.o:./cube-tex.c:48: multiple definition of `gl'; 
kmscube-cube-smooth.o:./cube-smooth.c:40: first defined here
/usr/bin/ld: kmscube-cube-video.o:./cube-video.c:54: multiple definition of 
`gl'; kmscube-cube-smooth.o:./cube-smooth.c:40: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:434: kmscube] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Version: kmscube/0.0.0~git20210103-1

Hi,
On Fri, Apr 17, 2020 at 11:03:44AM +0000, Matthias Klose wrote:
> Package: src:kmscube
> Version: 0.0.0~git20170617-2
> Severity: normal
> Tags: sid bullseye
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-10>
 
> Please keep this issue open in the bug tracker for the package it
> was filed for.  If a fix in another package is required, please
> file a bug for the other package (or clone), and add a block in this
> package. Please keep the issue open until the package can be built in
> a follow-up test rebuild.
> 
> The package fails to build in a test rebuild on at least amd64 with
> gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
> severity of this report will be raised before the bullseye release,
> so nothing has to be done for the buster release.
> 
> The full build log can be found at:
> http://people.debian.org/~doko/logs/gcc10-20200225/kmscube_0.0.0~git20170617-2_unstable_gcc10.log
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
> 
>   apt-get -t=experimental install g++ 
> 
> Common build failures are new warnings resulting in build failures with
> -Werror turned on, or new/dropped symbols in Debian symbols files.
> For other C/C++ related build failures see the porting guide at
> http://gcc.gnu.org/gcc-10/porting_to.html
> 
> [...]
> dh clean
>    dh_clean
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
> configure.ac:32: installing 'build-aux/compile'
> configure.ac:30: installing 'build-aux/install-sh'
> configure.ac:30: installing 'build-aux/missing'
> Makefile.am: installing 'build-aux/depcomp'
>    dh_auto_configure
>       ./configure --build=x86_64-linux-gnu --prefix=/usr 
> --includedir=\${prefix}/include --mandir=\${prefix}/share/man 
> --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
> --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
> --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
> --disable-dependency-tracking
> configure: WARNING: unrecognized options: --disable-maintainer-mode
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... none
> checking whether make supports nested variables... (cached) yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for DRM... yes
> checking for GBM... yes
> checking for EGL... yes
> checking for GLES2... yes
> checking for GST... yes
> configure: Building cube-video support
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing depfiles commands
> configure: WARNING: unrecognized options: --disable-maintainer-mode
>    dh_auto_build
>       make -j4
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-common.o `test -f 'common.c' || echo 
> './'`common.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-cube-smooth.o `test -f 'cube-smooth.c' 
> || echo './'`cube-smooth.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-cube-tex.o `test -f 'cube-tex.c' || 
> echo './'`cube-tex.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-drm-atomic.o `test -f 'drm-atomic.c' || 
> echo './'`drm-atomic.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-drm-common.o `test -f 'drm-common.c' || 
> echo './'`drm-common.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-drm-legacy.o `test -f 'drm-legacy.c' || 
> echo './'`drm-legacy.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-esTransform.o `test -f 'esTransform.c' 
> || echo './'`esTransform.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-frame-512x512-NV12.o `test -f 
> 'frame-512x512-NV12.c' || echo './'`frame-512x512-NV12.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-frame-512x512-RGBA.o `test -f 
> 'frame-512x512-RGBA.c' || echo './'`frame-512x512-RGBA.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-kmscube.o `test -f 'kmscube.c' || echo 
> './'`kmscube.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-cube-video.o `test -f 'cube-video.c' || 
> echo './'`cube-video.c
> gcc -DPACKAGE_NAME=\"kmscube\" -DPACKAGE_TARNAME=\"kmscube\" 
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"kmscube\ 0.0.1\" 
> -DPACKAGE_BUGREPORT=\"https://cgit.freedesktop.org/mesa/kmscube/\"; 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"kmscube\" -DVERSION=\"0.0.1\" -DHAVE_GST=1 -I. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -Wall -Wextra -std=c99 
> -I/usr/include/libdrm    -pthread -I/usr/include/gstreamer-1.0 
> -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o kmscube-gst-decoder.o `test -f 'gst-decoder.c' 
> || echo './'`gst-decoder.c
> gcc -O0 -g -Wall -Wextra -std=c99 -I/usr/include/libdrm    -pthread 
> -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 
> -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o kmscube kmscube-common.o 
> kmscube-cube-smooth.o kmscube-cube-tex.o kmscube-drm-atomic.o 
> kmscube-drm-common.o kmscube-drm-legacy.o kmscube-esTransform.o 
> kmscube-frame-512x512-NV12.o kmscube-frame-512x512-RGBA.o kmscube-kmscube.o 
> kmscube-cube-video.o kmscube-gst-decoder.o -ldrm -lgbm -lEGL -lGLESv2 -lm 
> -lgstapp-1.0 -lgstallocators-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 
> -lgobject-2.0 -lglib-2.0 
> /usr/bin/ld: kmscube-cube-tex.o:./cube-tex.c:48: multiple definition of `gl'; 
> kmscube-cube-smooth.o:./cube-smooth.c:40: first defined here
> /usr/bin/ld: kmscube-cube-video.o:./cube-video.c:54: multiple definition of 
> `gl'; kmscube-cube-smooth.o:./cube-smooth.c:40: first defined here
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:434: kmscube] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j4 returned exit code 2
> make: *** [debian/rules:6: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Fixed with the last upload.
Cheers,
 -- Guido

--- End Message ---

Reply via email to