[Pkg-erlang-devel] Bug#984413: wings3d: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:18:38 GMT 2021
Package: src:wings3d
Version: 2.2.5-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release]
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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/wings3d_2.2.5-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_tesselation.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_text.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_tweak.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_tweak_win.erl
erlc '-Dwings_branch=""' -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_u.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_undo.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_util.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_va.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_vbo.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_vec.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_vertex.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_vertex_cmd.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_view.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_we.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_we_build.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_we_util.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wings_wm.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin wpa.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin ww_color_ctrl.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin ww_color_slider.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin jsone.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin jsone_decode.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.5"' -pa ../intl_tools -o../ebin jsone_encode.erl
sed -e 's;%WINGS_MODS%;user_default, wings, wings_align, wings_body, wings_bool, wings_camera, wings_cl, wings_cc, wings_collapse, wings_color, wings_console, wings_deform, wings_develop, wings_dialog, wings_dissolve, wings_dl, wings_drag, wings_draw, wings_draw_setup, wings_edge, wings_edge_cmd, wings_edge_loop, wings_export, wings_extrude_edge, wings_extrude_face, wings_face, wings_face_cmd, wings_facemat, wings_file, wings_ff_ndo, wings_ff_wings, wings_frame, wings_geom_win, wings_gl, wings_glfont, wings_help, wings_hotkey, wings_info, wings_image, wings_image_viewer, wings_import, wings_io, wings_io_wx, wings_job, wings_light, wings_magnet, wings_material, wings_menu, wings_menu_util, wings_move, wings_msg, wings_obj, wings_outliner, wings_palette, wings_pb, wings_pick, wings_pick_nif, wings_plugin, wings_pref, wings_pref_dlg, wings_proxy, wings_render, wings_rotate, wings_s, wings_sel, wings_sel_conv, wings_sel_cmd, wings_scale, wings_shaders, wings_shapes, wings_start, wings_status, wings_subdiv, wings_sup, wings_theme, wings_toolbar, wings_tesselation, wings_text, wings_tweak, wings_tweak_win, wings_u, wings_undo, wings_util, wings_va, wings_vbo, wings_vec, wings_vertex, wings_vertex_cmd, wings_view, wings_we, wings_we_build, wings_we_util, wings_wm, wpa, ww_color_ctrl, ww_color_slider, jsone, jsone_decode, jsone_encode,wings_lang;' wings.app.src > ../ebin/wings.app.tmp
sed -e 's;%VSN%;2.2.5;' ../ebin/wings.app.tmp > ../ebin/wings.app
rm ../ebin/wings.app.tmp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
(cd e3d; /usr/bin/make TYPE=opt common)
make[3]: Entering directory '/<<PKGBUILDDIR>>/e3d'
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_image.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_mesh.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_file.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_obj.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_tds.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_transform.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_mat.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_util.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_vec.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_q.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_bv.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_bvh.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_kd3.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__tri_quad.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__meshclean.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__bmp.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__dds.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__tga.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__png.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d__tif.erl
erlc -pa /<<PKGBUILDDIR>>/wings-2.2.5/ebin -Werror +debug_info -o../ebin e3d_bzw.erl
make[3]: Leaving directory '/<<PKGBUILDDIR>>/e3d'
(cd c_src; /usr/bin/make TYPE=opt)
make[3]: Entering directory '/<<PKGBUILDDIR>>/c_src'
install -d ../priv
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -O3 -I"/usr/lib/erlang/usr/include" -o ../priv/wings_pick_nif.so wings_pick_nif.c -shared -fpic -L/usr/local/lib -lGLU -lGL
wings_pick_nif.c:88:12: error: argument 4 of type ‘float[16]’ with mismatched bound [-Werror=array-parameter=]
88 | float m[16], int ccw, int cull, int one_hit, ErlNifEnv *env)
| ~~~~~~^~~~~
wings_pick_nif.c:30:33: note: previously declared as ‘float *’
30 | float* m, int, int, int,
| ~~~~~~~^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:89: ../priv/wings_pick_nif.so] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/c_src'
make[2]: *** [Makefile:28: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:39: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-erlang-devel
mailing list