Package: src:nanovg
Version: 0.0~git20230826.f93799c+dfsg1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nanovg, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem makefile --builddirectory build
   dh_auto_clean -O--buildsystem=makefile -O--builddirectory=build
   dh_autoreconf_clean -O--buildsystem=makefile -O--builddirectory=build
   dh_clean -O--buildsystem=makefile -O--builddirectory=build
 debian/rules binary
dh binary --buildsystem makefile --builddirectory build
   dh_update_autotools_config -O--buildsystem=makefile -O--builddirectory=build
   dh_autoreconf -O--buildsystem=makefile -O--builddirectory=build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
premake4 gmake
Building configurations...
Running action 'gmake'...
Generating build/Makefile...
Generating build/nanovg.make...
Generating build/example_gl2.make...
Generating build/example_gl3.make...
Generating build/example_gl2_msaa.make...
Generating build/example_gl3_msaa.make...
Generating build/example_fbo.make...
Generating build/example_gles2.make...
Generating build/example_gles3.make...
Done.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- verbose=1
        cd build && make -j2 INSTALL="install --strip-program=true" verbose=1
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
==== Building nanovg (debug) ====
Creating obj/Debug/nanovg
mkdir -p obj/Debug/nanovg
nanovg.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -D_CRT_SECURE_NO_WARNINGS -DDEBUG 
-I../src  -g -Wall -o "obj/Debug/nanovg/nanovg.o" -c "../src/nanovg.c"
Linking nanovg
ar -rcs ./libnanovg.a obj/Debug/nanovg/nanovg.o 
==== Building example_gl2 (debug) ====
==== Building example_gl3 (debug) ====
Creating obj/Debug/example_gl3
Creating obj/Debug/example_gl2
mkdir -p obj/Debug/example_gl2
mkdir -p obj/Debug/example_gl3
example_gl2.c
example_gl3.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gl2/example_gl2.o" -c 
"../example/example_gl2.c"
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gl3/example_gl3.o" -c 
"../example/example_gl3.c"
demo.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gl2/demo.o" -c "../example/demo.c"
demo.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gl3/demo.o" -c "../example/demo.c"
../example/demo.c: In function ‘drawParagraph’:
../example/demo.c:874:21: warning: unused variable ‘boxText’ 
[-Wunused-variable]
  874 |         const char* boxText = "Testing\nsome multiline\ntext.";
      |                     ^~~~~~~
../example/demo.c: In function ‘drawParagraph’:
../example/demo.c:874:21: warning: unused variable ‘boxText’ 
[-Wunused-variable]
  874 |         const char* boxText = "Testing\nsome multiline\ntext.";
      |                     ^~~~~~~
perf.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gl2/perf.o" -c "../example/perf.c"
perf.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gl3/perf.o" -c "../example/perf.c"
Linking example_gl2
cc -o ./example_gl2 obj/Debug/example_gl2/example_gl2.o 
obj/Debug/example_gl2/demo.o obj/Debug/example_gl2/perf.o  -Wl,-z,relro 
`pkg-config --libs glfw3` -L.   -lnanovg -lGL -lGLU -lm -lGLEW
Linking example_gl3
cc -o ./example_gl3 obj/Debug/example_gl3/example_gl3.o 
obj/Debug/example_gl3/demo.o obj/Debug/example_gl3/perf.o  -Wl,-z,relro 
`pkg-config --libs glfw3` -L.   -lnanovg -lGL -lGLU -lm -lGLEW
==== Building example_gl2_msaa (debug) ====
==== Building example_gl3_msaa (debug) ====
Creating obj/Debug/example_gl2_msaa
mkdir -p obj/Debug/example_gl2_msaa
example_gl2.c
Creating obj/Debug/example_gl3_msaa
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DDEMO_MSAA -DNANOVG_GLEW -DDEBUG 
-I../src -I../example  -g -Wall -o "obj/Debug/example_gl2_msaa/example_gl2.o" 
-c "../example/example_gl2.c"
mkdir -p obj/Debug/example_gl3_msaa
example_gl3.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DDEMO_MSAA -DNANOVG_GLEW -DDEBUG 
-I../src -I../example  -g -Wall -o "obj/Debug/example_gl3_msaa/example_gl3.o" 
-c "../example/example_gl3.c"
demo.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DDEMO_MSAA -DNANOVG_GLEW -DDEBUG 
-I../src -I../example  -g -Wall -o "obj/Debug/example_gl2_msaa/demo.o" -c 
"../example/demo.c"
demo.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DDEMO_MSAA -DNANOVG_GLEW -DDEBUG 
-I../src -I../example  -g -Wall -o "obj/Debug/example_gl3_msaa/demo.o" -c 
"../example/demo.c"
../example/demo.c: In function ‘drawParagraph’:
../example/demo.c:874:21: warning: unused variable ‘boxText’ 
[-Wunused-variable]
  874 |         const char* boxText = "Testing\nsome multiline\ntext.";
      |                     ^~~~~~~
../example/demo.c: In function ‘drawParagraph’:
../example/demo.c:874:21: warning: unused variable ‘boxText’ 
[-Wunused-variable]
  874 |         const char* boxText = "Testing\nsome multiline\ntext.";
      |                     ^~~~~~~
perf.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DDEMO_MSAA -DNANOVG_GLEW -DDEBUG 
-I../src -I../example  -g -Wall -o "obj/Debug/example_gl2_msaa/perf.o" -c 
"../example/perf.c"
perf.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DDEMO_MSAA -DNANOVG_GLEW -DDEBUG 
-I../src -I../example  -g -Wall -o "obj/Debug/example_gl3_msaa/perf.o" -c 
"../example/perf.c"
Linking example_gl2_msaa
cc -o ./example_gl2_msaa obj/Debug/example_gl2_msaa/example_gl2.o 
obj/Debug/example_gl2_msaa/demo.o obj/Debug/example_gl2_msaa/perf.o  
-Wl,-z,relro `pkg-config --libs glfw3` -L.   -lnanovg -lGL -lGLU -lm -lGLEW
Linking example_gl3_msaa
cc -o ./example_gl3_msaa obj/Debug/example_gl3_msaa/example_gl3.o 
obj/Debug/example_gl3_msaa/demo.o obj/Debug/example_gl3_msaa/perf.o  
-Wl,-z,relro `pkg-config --libs glfw3` -L.   -lnanovg -lGL -lGLU -lm -lGLEW
==== Building example_fbo (debug) ====
Creating obj/Debug/example_fbo
mkdir -p obj/Debug/example_fbo
==== Building example_gles2 (debug) ====
example_fbo.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_fbo/example_fbo.o" -c 
"../example/example_fbo.c"
Creating obj/Debug/example_gles2
mkdir -p obj/Debug/example_gles2
example_gles2.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_gles2/example_gles2.o" -c 
"../example/example_gles2.c"
In file included from ../example/example_gles2.c:22:
/usr/include/GLFW/glfw3.h:155:11: fatal error: GLES2/gl2.h: No such file or 
directory
  155 |  #include <GLES2/gl2.h>
      |           ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [example_gles2.make:220: obj/Debug/example_gles2/example_gles2.o] 
Error 1
make[2]: *** [Makefile:41: example_gles2] Error 2
make[2]: *** Waiting for unfinished jobs....
perf.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNANOVG_GLEW -DDEBUG -I../src 
-I../example  -g -Wall -o "obj/Debug/example_fbo/perf.o" -c "../example/perf.c"
Linking example_fbo
cc -o ./example_fbo obj/Debug/example_fbo/example_fbo.o 
obj/Debug/example_fbo/perf.o  -Wl,-z,relro `pkg-config --libs glfw3` -L.   
-lnanovg -lGL -lGLU -lm -lGLEW
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 INSTALL="install 
--strip-program=true" verbose=1 returned exit code 2
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to