dgud / wings

Wings3D is an advanced sub-division 3D modeller.
http://www.wings3d.com
Other
575 stars 90 forks source link

tools/release fails with bad match. #535

Closed stolk closed 1 year ago

stolk commented 1 year ago

$make unix fails for me with this error:

escript tools/release
Reading: "./ebin/..app"
error:{badmatch,{error,enoent}} in [{release__escript__1684__83275__361764__2,
                                     get_vsn,2,
                                     [{file,"tools/release"},{line,400}]},
                                    {release__escript__1684__83275__361764__2,
                                     release,0,
                                     [{file,"tools/release"},{line,38}]},
                                    {release__escript__1684__83275__361764__2,
                                     main,1,
                                     [{file,"tools/release"},{line,25}]},
                                    {escript,run,2,
                                     [{file,"escript.erl"},{line,750}]},
                                    {escript,start,1,
                                     [{file,"escript.erl"},{line,277}]},
                                    {init,start_em,1,[]},
                                    {init,do_boot,3,[]}]

OS: Ubuntu 23.04

Erlang: 1:25.2.3+dfsg-1

The erlang packages that I have installed:

$ dpkg --list|  grep erlang
ii  erlang-base                                  1:25.2.3+dfsg-1                          amd64        Erlang/OTP virtual machine and base applications
ii  erlang-cl                                    1.2.4-1                                  amd64        Erlang OpenCL bindings
ii  erlang-crypto                                1:25.2.3+dfsg-1                          amd64        Erlang/OTP cryptographic modules
ii  erlang-dev                                   1:25.2.3+dfsg-1                          amd64        Erlang/OTP development libraries and headers
ii  erlang-esdl                                  1.3.1-4.1                                amd64        Erlang bindings to the Simple Direct Media Library
ii  erlang-syntax-tools                          1:25.2.3+dfsg-1                          amd64        Erlang/OTP modules for handling abstract Erlang syntax trees
ii  erlang-wx                                    1:25.2.3+dfsg-1                          amd64        Erlang/OTP bindings to wxWidgets
ii  erlang-xmerl                                 1:25.2.3+dfsg-1                          amd64        Erlang/OTP XML tools
stolk commented 1 year ago

Full build log follows:

$ make unix
make TYPE=opt common
make[1]: Entering directory '/home/bram/src/wings'
make --directory=c_src opt
make[2]: Entering directory '/home/bram/src/wings/c_src'
install -d ../priv
clang -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-switch -g -O3 -fPIC  -I"/usr/lib/erlang/usr/include" -I../_deps/eigen -I../_deps/libigl/include  -o../priv/libigl.so libigl.cpp -shared -lstdc++
install -d ../priv
clang -g -O3 -fPIC -I"/usr/lib/erlang/usr/include"  -o ../priv/wings_pick_nif.so wings_pick_nif.c -shared
clang -g -O3 -fPIC -c -otess/dict.o tess/dict.c
clang -g -O3 -fPIC -c -otess/geom.o tess/geom.c
clang -g -O3 -fPIC -c -otess/memalloc.o tess/memalloc.c
clang -g -O3 -fPIC -c -otess/mesh.o tess/mesh.c
clang -g -O3 -fPIC -c -otess/normal.o tess/normal.c
clang -g -O3 -fPIC -c -otess/priorityq.o tess/priorityq.c
clang -g -O3 -fPIC -c -otess/render.o tess/render.c
clang -g -O3 -fPIC -c -otess/sweep.o tess/sweep.c
clang -g -O3 -fPIC -c -otess/tess.o tess/tess.c
clang -g -O3 -fPIC -c -otess/tessmono.o tess/tessmono.c
install -d ../priv
clang -g -O3 -fPIC -I"/usr/lib/erlang/usr/include"  -o../priv/wings_tess.so wings_tess.c tess/dict.o tess/geom.o tess/memalloc.o tess/mesh.o tess/normal.o tess/priorityq.o tess/render.o tess/sweep.o tess/tess.o tess/tessmono.o -shared
make[2]: Leaving directory '/home/bram/src/wings/c_src'
make --directory=intl_tools opt
make[2]: Entering directory '/home/bram/src/wings/intl_tools'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/intl_tools'
erlc  -Werror +debug_info +debug_info -o. tools.erl
escript gen_char_hrl
make[3]: Leaving directory '/home/bram/src/wings/intl_tools'
make[2]: Leaving directory '/home/bram/src/wings/intl_tools'
make --directory=e3d opt
make[2]: Entering directory '/home/bram/src/wings/e3d'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/e3d'
erlc -Werror +debug_info -o../ebin e3d_image.erl
erlc -Werror +debug_info -o../ebin e3d_mesh.erl
erlc -Werror +debug_info -o../ebin e3d_file.erl
erlc -Werror +debug_info -o../ebin e3d_obj.erl
erlc -Werror +debug_info -o../ebin e3d_tds.erl
erlc -Werror +debug_info -o../ebin e3d_transform.erl
erlc -Werror +debug_info -o../ebin e3d_mat.erl
erlc -Werror +debug_info -o../ebin e3d_util.erl
erlc -Werror +debug_info -o../ebin e3d_vec.erl
erlc -Werror +debug_info -o../ebin e3d_q.erl
erlc -Werror +debug_info -o../ebin e3d_bv.erl
erlc -Werror +debug_info -o../ebin e3d_bvh.erl
erlc -Werror +debug_info -o../ebin e3d_kd3.erl
erlc -Werror +debug_info -o../ebin e3d__tri_quad.erl
erlc -Werror +debug_info -o../ebin e3d__meshclean.erl
erlc -Werror +debug_info -o../ebin e3d__bmp.erl
erlc -Werror +debug_info -o../ebin e3d__dds.erl
erlc -Werror +debug_info -o../ebin e3d__tga.erl
erlc -Werror +debug_info -o../ebin e3d__png.erl
erlc -Werror +debug_info -o../ebin e3d__tif.erl
erlc -Werror +debug_info -o../ebin e3d_bzw.erl
make[3]: Leaving directory '/home/bram/src/wings/e3d'
make[2]: Leaving directory '/home/bram/src/wings/e3d'
make --directory=src opt
make[2]: Entering directory '/home/bram/src/wings/src'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/src'
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_lang.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin libigl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin user_default.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_align.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_body.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_bool.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_camera.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_cl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_cc.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_collapse.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_color.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_console.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_deform.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_develop.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_dialog.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_dissolve.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_dl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_drag.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_draw.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_draw_setup.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_edge.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_edge_cmd.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_edge_loop.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_export.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_extrude_edge.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_extrude_face.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_face.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_face_cmd.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_facemat.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_file.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_ff_ndo.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_ff_wings.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_frame.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_geom_win.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_gl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_glfont.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_glu_tess.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_help.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_hotkey.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_info.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_image.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_image_viewer.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_import.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_io.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_io_wx.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_job.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_light.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_magnet.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_material.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_menu.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_menu_util.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_move.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_msg.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_obj.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_outliner.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_palette.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_pb.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_pick.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_pick_nif.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_plugin.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_pref.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_pref_dlg.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_proxy.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_render.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_rotate.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_s.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_sel.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_sel_conv.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_sel_cmd.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_scale.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_shaders.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_shapes.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_start.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_status.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_subdiv.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_sup.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_theme.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_toolbar.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_tesselation.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_text.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_tweak.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_tweak_win.erl
erlc '-Dwings_branch="master"' -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_u.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_undo.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_util.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_va.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_vbo.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_vec.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_vertex.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_vertex_cmd.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_view.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_view_win.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_we.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_we_build.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_we_util.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wings_wm.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin wpa.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin ww_color_ctrl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin ww_color_slider.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin jsone.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin jsone_decode.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9.62.g03a3"' -pa ../intl_tools -o../ebin jsone_encode.erl
make[3]: Leaving directory '/home/bram/src/wings/src'
make[2]: Leaving directory '/home/bram/src/wings/src'
make --directory=plugins_src opt
make[2]: Entering directory '/home/bram/src/wings/plugins_src'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/plugins_src'
erlc -Werror  +debug_info -pa ../intl_tools -I ../.. -o../plugins/default wp9_dialogs.erl
(cd import_export; make)
make[4]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make TYPE=opt common
make[5]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_3ds.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_ai.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_bzw.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_collada.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export collada_import.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_gltf.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_hlines.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_jscad.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_kerky.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_lwo.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_obj.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_ply.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_pov.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_ps.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_rwx.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_stl.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_svg_path.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_wrl.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_x.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export x_import.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export wpc_yafaray.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export x3d_import.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/import_export x3d_import__sgi.erl
make[5]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
(cd primitives; make)
make[4]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make TYPE=opt common
make[5]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_bbox.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_cylinder.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_geodome.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_image.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_knot.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_ncube.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_plane.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_spiral.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_torus.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_tt.erl
erlc -Werror -I ../../..  -pa ../../intl_tools +debug_info -o../../plugins/primitives wpc_thread.erl
make[5]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
(cd commands; make)
make[4]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make TYPE=opt common
make[5]: Entering directory '/home/bram/src/wings/plugins_src/commands'
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_absolute_move.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_absolute_scale.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_align_to_axis.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_ambocc.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_arc_intersect.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_bend.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_circularise.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_inset.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_connect_tool.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_constraints.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_cylindrilize.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_corner.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_deselect_previous.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_doosabin.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_explode.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_flow_connect.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_greebles.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_grid_snap.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_intersect_edge.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_intersect_vertex.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_isometric_view.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_magnet_mask.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_move_planar.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_numeric_camera.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_plane_cut.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_region.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_rotate_unconstrained.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_sculpt.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_sel_win.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_shear.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_shift.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_sweep_extrude.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_turnedge.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_untriangulate.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_views_win.erl
erlc -pa ../../intl_tools -Werror -I ../../..  +debug_info -o../../plugins/commands wpc_weld.erl
make[5]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
(cd autouv; make)
make[4]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
make TYPE=opt common
make[5]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_mapping.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_matrix.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_placement.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_segment.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_seg_ui.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_texture.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv auv_util.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv wpc_snap_win.erl
erlc -Werror -pa ../../intl_tools -I ../../..  +debug_info -o../../plugins/autouv wpc_autouv.erl
(cd shaders; make)
make[6]: Entering directory '/home/bram/src/wings/plugins_src/autouv/shaders'
install -d ../../../plugins/autouv
install standard.vs ../../../plugins/autouv/standard.vs
install -d ../../../plugins/autouv
install wpc_wood.auv ../../../plugins/autouv/wpc_wood.auv
install -d ../../../plugins/autouv
install wood.fs ../../../plugins/autouv/wood.fs
install -d ../../../plugins/autouv
install wpc_filter.auv ../../../plugins/autouv/wpc_filter.auv
install -d ../../../plugins/autouv
install image_filter.fs ../../../plugins/autouv/image_filter.fs
install -d ../../../plugins/autouv
install wpc_edgefilter.auv ../../../plugins/autouv/wpc_edgefilter.auv
install -d ../../../plugins/autouv
install edge_filter.fs ../../../plugins/autouv/edge_filter.fs
install -d ../../../plugins/autouv
install wpc_brick.auv ../../../plugins/autouv/wpc_brick.auv
install -d ../../../plugins/autouv
install brick.fs ../../../plugins/autouv/brick.fs
install -d ../../../plugins/autouv
install wpc_hexagon.auv ../../../plugins/autouv/wpc_hexagon.auv
install -d ../../../plugins/autouv
install hexagon.fs ../../../plugins/autouv/hexagon.fs
install -d ../../../plugins/autouv
install wpc_tile.auv ../../../plugins/autouv/wpc_tile.auv
install -d ../../../plugins/autouv
install tile.fs ../../../plugins/autouv/tile.fs
install -d ../../../plugins/autouv
install wpc_stripes.auv ../../../plugins/autouv/wpc_stripes.auv
install -d ../../../plugins/autouv
install stripes.fs ../../../plugins/autouv/stripes.fs
install -d ../../../plugins/autouv
install wpc_voronoi.auv ../../../plugins/autouv/wpc_voronoi.auv
install -d ../../../plugins/autouv
install voronoi.fs ../../../plugins/autouv/voronoi.fs
install -d ../../../plugins/autouv
install wpc_marble.auv ../../../plugins/autouv/wpc_marble.auv
install -d ../../../plugins/autouv
install marble.fs ../../../plugins/autouv/marble.fs
install -d ../../../plugins/autouv
install wpc_noise_ext.auv ../../../plugins/autouv/wpc_noise_ext.auv
install -d ../../../plugins/autouv
install noise_ext.fs ../../../plugins/autouv/noise_ext.fs
install -d ../../../plugins/autouv
install wpc_lava.auv ../../../plugins/autouv/wpc_lava.auv
install -d ../../../plugins/autouv
install lava.fs ../../../plugins/autouv/lava.fs
install -d ../../../plugins/autouv
install wpc_caustics.auv ../../../plugins/autouv/wpc_caustics.auv
install -d ../../../plugins/autouv
install caustics.fs ../../../plugins/autouv/caustics.fs
install -d ../../../plugins/autouv
install wpc_camouflage.auv ../../../plugins/autouv/wpc_camouflage.auv
install -d ../../../plugins/autouv
install camouflage.fs ../../../plugins/autouv/camouflage.fs
install -d ../../../plugins/autouv
install wpc_image_mixer.auv ../../../plugins/autouv/wpc_image_mixer.auv
install -d ../../../plugins/autouv
install image_mixer.fs ../../../plugins/autouv/image_mixer.fs
install -d ../../../plugins/autouv
install wpc_triplanar.auv ../../../plugins/autouv/wpc_triplanar.auv
install -d ../../../plugins/autouv
install triplanar.vs ../../../plugins/autouv/triplanar.vs
install -d ../../../plugins/autouv
install triplanar.fs ../../../plugins/autouv/triplanar.fs
install -d ../../../plugins/autouv
install wpc_triplanar3.auv ../../../plugins/autouv/wpc_triplanar3.auv
install -d ../../../plugins/autouv
install triplanar3.fs ../../../plugins/autouv/triplanar3.fs
install -d ../../../plugins/autouv
install README-shaders.txt ../../../plugins/autouv/README-shaders.txt
make[6]: Leaving directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[5]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src'
make[2]: Leaving directory '/home/bram/src/wings/plugins_src'
make --directory=icons opt
make[2]: Entering directory '/home/bram/src/wings/icons'
erlc -I ../.. -Werror +debug_info -o. collect_bmp.erl
erl -pa ../../wings/ebin -noinput -run collect_bmp start . ./classic ../ebin/wings_icon_classic.bundle -s erlang halt
erl -pa ../../wings/ebin -noinput -run collect_bmp start . ./bluecube ../ebin/wings_icon_bluecube.bundle -s erlang halt
erl -pa ../../wings/ebin -noinput -run collect_bmp start . ./purpletube ../ebin/wings_icon_purpletube.bundle -s erlang halt
make[2]: Leaving directory '/home/bram/src/wings/icons'
make[1]: Leaving directory '/home/bram/src/wings'
make --directory=intl_tools 
make[1]: Entering directory '/home/bram/src/wings/intl_tools'
make TYPE=opt common
make[2]: Entering directory '/home/bram/src/wings/intl_tools'
make[2]: Nothing to be done for 'common'.
make[2]: Leaving directory '/home/bram/src/wings/intl_tools'
make[1]: Leaving directory '/home/bram/src/wings/intl_tools'
make --directory=e3d 
make[1]: Entering directory '/home/bram/src/wings/e3d'
make TYPE=opt common
make[2]: Entering directory '/home/bram/src/wings/e3d'
make[2]: Nothing to be done for 'common'.
make[2]: Leaving directory '/home/bram/src/wings/e3d'
make[1]: Leaving directory '/home/bram/src/wings/e3d'
make --directory=src 
make[1]: Entering directory '/home/bram/src/wings/src'
make TYPE=opt common
make[2]: Entering directory '/home/bram/src/wings/src'
make[2]: Nothing to be done for 'common'.
make[2]: Leaving directory '/home/bram/src/wings/src'
make[1]: Leaving directory '/home/bram/src/wings/src'
make --directory=plugins_src 
make[1]: Entering directory '/home/bram/src/wings/plugins_src'
make TYPE=opt common
make[2]: Entering directory '/home/bram/src/wings/plugins_src'
(cd import_export; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make[4]: Nothing to be done for 'common'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
(cd primitives; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make[4]: Nothing to be done for 'common'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
(cd commands; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make[4]: Nothing to be done for 'common'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
(cd autouv; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
(cd shaders; make)
make[5]: Entering directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make[2]: Leaving directory '/home/bram/src/wings/plugins_src'
make[1]: Leaving directory '/home/bram/src/wings/plugins_src'
(cd src; make lang)
make[1]: Entering directory '/home/bram/src/wings/src'
erl -pa ../intl_tools -noinput -run tools generate_template ../ebin -run erlang halt
Writing: /home/bram/src/wings/src/wings_en.lang
erl -pa ../intl_tools -noinput -run tools diff_lang_files ../ebin
Processing: wings_es-ES.lang wings_jp.lang wings_de.lang wings_ko.lang wings_zh-tw.lang wings_fr.lang wings_zh-cn.lang wings_tr.lang wings_ru.lang wings_pt.lang wings_pl.lang wings_it.lang wings_sv.lang wings_cs.lang wings_fi.lang 
make[1]: Leaving directory '/home/bram/src/wings/src'
(cd plugins_src; make lang)
make[1]: Entering directory '/home/bram/src/wings/plugins_src'
(cd import_export; make lang)
make[2]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make[3]: Nothing to be done for 'common'.
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
erl -pa ../../intl_tools -noinput -run tools generate_template_files ../../plugins/import_export
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/collada_import_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_3ds_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_ai_en.lang
Nothing translatable in /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_bzw.beam
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_collada_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_gltf_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_hlines_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_jscad_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_kerky_en.lang
Nothing translatable in /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_lwo.beam
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_obj_en.lang
Nothing translatable in /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_ply.beam
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_pov_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_ps_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_rwx_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_stl_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_svg_path_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_wrl_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_x_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/wpc_yafaray_en.lang
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/x3d_import_en.lang
Nothing translatable in /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/x3d_import__sgi.beam
Wrote /home/bram/src/wings/plugins_src/import_export/../../plugins/import_export/x_import_en.lang
cp *.lang ../../plugins/import_export
erl -pa ../../intl_tools -noinput -run tools diff_lang_files ../../plugins/import_export
Processing: wpc_x_tr.lang wpc_x_fr.lang wpc_x_es-ES.lang wpc_x_jp.lang wpc_x_ko.lang wpc_wrl_jp.lang wpc_wrl_ko.lang wpc_wrl_fr.lang wpc_wrl_es-ES.lang wpc_rwx_es-ES.lang wpc_rwx_jp.lang wpc_rwx_ko.lang wpc_rwx_fr.lang wpc_rwx_pl.lang wpc_rwx_tr.lang wpc_ps_de.lang wpc_ps_es-ES.lang wpc_ps_fr.lang wpc_ps_jp.lang wpc_ps_ko.lang wpc_pov_es-ES.lang wpc_pov_fr.lang wpc_pov_ko.lang wpc_obj_es-ES.lang wpc_obj_fr.lang wpc_obj_jp.lang wpc_obj_ko.lang wpc_obj_pl.lang wpc_rwx_de.lang wpc_obj_pt.lang wpc_rwx_pt.lang wpc_obj_de.lang wpc_wrl_pl.lang wpc_x_de.lang wpc_wrl_de.lang wpc_obj_tr.lang wpc_wrl_tr.lang wpc_wrl_pt.lang wpc_hlines_de.lang wpc_hlines_jp.lang wpc_hlines_fr.lang wpc_hlines_es-ES.lang wpc_svg_path_es-ES.lang wpc_svg_path_de.lang wpc_kerky_de.lang wpc_hlines_ko.lang wpc_svg_path_ko.lang wpc_hlines_pt.lang wpc_hlines_pl.lang wpc_collada_de.lang wpc_svg_path_jp.lang wpc_hlines_tr.lang wpc_kerky_es-ES.lang wpc_collada_es-ES.lang wpc_collada_ko.lang wpc_ai_es-ES.lang wpc_ai_fr.lang wpc_ai_de.lang wpc_ai_jp.lang wpc_ai_ko.lang wpc_ai_tr.lang wpc_ai_pt.lang wpc_collada_jp.lang wpc_3ds_de.lang wpc_ai_pl.lang wpc_3ds_es-ES.lang wpc_3ds_fr.lang wpc_3ds_jp.lang wpc_3ds_ko.lang wpc_3ds_pt.lang wpc_3ds_tr.lang wpc_3ds_pl.lang wpc_pov_de.lang wpc_yafaray_es-ES.lang wpc_yafaray_de.lang 
make[2]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
(cd primitives; make lang)
make[2]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make[3]: Nothing to be done for 'common'.
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
erl -pa ../../intl_tools -noinput -run tools generate_template_files ../../plugins/primitives
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_bbox_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_cylinder_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_geodome_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_image_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_knot_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_ncube_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_plane_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_spiral_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_thread_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_torus_en.lang
Wrote /home/bram/src/wings/plugins_src/primitives/../../plugins/primitives/wpc_tt_en.lang
cp *.lang ../../plugins/primitives
erl -pa ../../intl_tools -noinput -run tools diff_lang_files ../../plugins/primitives
Processing: wpc_torus_de.lang wpc_torus_es-ES.lang wpc_torus_jp.lang wpc_spiral_fr.lang wpc_spiral_es-ES.lang wpc_spiral_ko.lang wpc_spiral_jp.lang wpc_spiral_tr.lang wpc_spiral_pl.lang wpc_spiral_zh-tw.lang wpc_plane_es-ES.lang wpc_tt_fr.lang wpc_tt_es-ES.lang wpc_torus_zh-tw.lang wpc_tt_zh-tw.lang wpc_tt_ko.lang wpc_torus_fr.lang wpc_torus_pl.lang wpc_torus_ko.lang wpc_torus_tr.lang wpc_tt_jp.lang wpc_plane_jp.lang wpc_tt_tr.lang wpc_tt_pl.lang wpc_ncube_de.lang wpc_ncube_es-ES.lang wpc_ncube_jp.lang wpc_ncube_fr.lang wpc_knot_es-ES.lang wpc_ncube_ko.lang wpc_plane_it.lang wpc_plane_ko.lang wpc_ncube_zh-tw.lang wpc_knot_jp.lang wpc_ncube_tr.lang wpc_knot_fr.lang wpc_plane_pl.lang wpc_knot_ko.lang wpc_plane_tr.lang wpc_plane_zh-tw.lang wpc_plane_pt.lang wpc_knot_tr.lang wpc_knot_zh-tw.lang wpc_image_es-ES.lang wpc_knot_pl.lang wpc_image_jp.lang wpc_geodome_de.lang wpc_geodome_es-ES.lang wpc_geodome_fr.lang wpc_geodome_jp.lang wpc_geodome_ko.lang wpc_geodome_tr.lang wpc_cylinder_de.lang wpc_geodome_zh-tw.lang wpc_cylinder_es-ES.lang wpc_cylinder_jp.lang wpc_bbox_es-ES.lang wpc_image_fr.lang wpc_image_ko.lang wpc_bbox_fr.lang wpc_image_pl.lang wpc_bbox_jp.lang wpc_bbox_ko.lang wpc_bbox_zh-tw.lang wpc_image_zh-tw.lang wpc_image_tr.lang wpc_knot_de.lang wpc_bbox_de.lang wpc_image_de.lang wpc_spiral_de.lang wpc_plane_de.lang wpc_plane_fr.lang wpc_tt_de.lang wpc_image_pt.lang 
make[2]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
(cd commands; make lang)
make[2]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make[3]: Nothing to be done for 'common'.
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
erl -pa ../../intl_tools -noinput -run tools generate_template_files ../../plugins/commands
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_absolute_move_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_absolute_scale_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_align_to_axis_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_ambocc_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_arc_intersect_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_bend_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_circularise_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_connect_tool_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_constraints_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_corner_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_cylindrilize_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_deselect_previous_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_doosabin_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_explode_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_flow_connect_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_greebles_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_grid_snap_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_inset_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_intersect_edge_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_intersect_vertex_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_isometric_view_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_magnet_mask_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_move_planar_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_numeric_camera_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_plane_cut_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_region_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_rotate_unconstrained_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_sculpt_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_sel_win_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_shear_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_shift_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_sweep_extrude_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_turnedge_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_untriangulate_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_views_win_en.lang
Wrote /home/bram/src/wings/plugins_src/commands/../../plugins/commands/wpc_weld_en.lang
cp *.lang ../../plugins/commands
erl -pa ../../intl_tools -noinput -run tools diff_lang_files ../../plugins/commands
Processing: wpc_views_win_es-ES.lang wpc_untriangulate_es-ES.lang wpc_untriangulate_fr.lang wpc_untriangulate_jp.lang wpc_untriangulate_ko.lang wpc_untriangulate_pl.lang wpc_untriangulate_tr.lang wpc_untriangulate_zh-tw.lang wpc_turnedge_es-ES.lang wpc_turnedge_jp.lang wpc_turnedge_fr.lang wpc_turnedge_ko.lang wpc_weld_ko.lang wpc_weld_fr.lang wpc_weld_jp.lang wpc_weld_zh-tw.lang wpc_weld_es-ES.lang wpc_views_win_de.lang wpc_weld_pl.lang wpc_weld_tr.lang wpc_turnedge_zh-tw.lang wpc_sweep_extrude_fr.lang wpc_sweep_extrude_jp.lang wpc_sweep_extrude_es-ES.lang wpc_sweep_extrude_ko.lang wpc_turnedge_pl.lang wpc_sweep_extrude_zh-tw.lang wpc_shift_es-ES.lang wpc_shift_jp.lang wpc_shift_fr.lang wpc_shift_ko.lang wpc_shift_zh-tw.lang wpc_shift_pl.lang wpc_shift_pt.lang wpc_shear_es-ES.lang wpc_shift_tr.lang wpc_sweep_extrude_tr.lang wpc_shear_fr.lang wpc_shear_jp.lang wpc_shear_ko.lang wpc_shear_zh-tw.lang wpc_shear_tr.lang wpc_sculpt_jp.lang wpc_sel_win_es-ES.lang wpc_rotate_unconstrained_de.lang wpc_sculpt_es-ES.lang wpc_rotate_unconstrained_es-ES.lang wpc_rotate_unconstrained_jp.lang wpc_rotate_unconstrained_zh-tw.lang wpc_rotate_unconstrained_ko.lang wpc_region_es-ES.lang wpc_region_de.lang wpc_sculpt_ko.lang wpc_region_jp.lang wpc_region_fr.lang wpc_sculpt_zh-tw.lang wpc_region_ko.lang wpc_region_pl.lang wpc_region_tr.lang wpc_region_zh-tw.lang wpc_plane_cut_jp.lang wpc_plane_cut_es-ES.lang wpc_plane_cut_ko.lang wpc_plane_cut_zh-tw.lang wpc_numeric_camera_es-ES.lang wpc_numeric_camera_fr.lang wpc_numeric_camera_jp.lang wpc_numeric_camera_ko.lang wpc_numeric_camera_zh-tw.lang wpc_move_planar_de.lang wpc_turnedge_tr.lang wpc_untriangulate_de.lang wpc_plane_cut_de.lang wpc_shear_de.lang wpc_weld_pt.lang wpc_turnedge_pt.lang wpc_shift_de.lang wpc_weld_de.lang wpc_region_pt.lang wpc_turnedge_de.lang wpc_untriangulate_pt.lang wpc_sculpt_de.lang wpc_move_planar_es-ES.lang wpc_move_planar_jp.lang wpc_move_planar_fr.lang wpc_sel_win_de.lang wpc_sweep_extrude_de.lang wpc_move_planar_ko.lang wpc_numeric_camera_de.lang wpc_move_planar_zh-tw.lang wpc_magnet_mask_de.lang wpc_magnet_mask_es-ES.lang wpc_magnet_mask_ko.lang wpc_magnet_mask_jp.lang wpc_magnet_mask_zh-tw.lang wpc_intersect_vertex_es-ES.lang wpc_intersect_vertex_de.lang wpc_intersect_vertex_ko.lang wpc_intersect_vertex_fr.lang wpc_intersect_vertex_jp.lang wpc_magnet_mask_fr.lang wpc_intersect_vertex_pt.lang wpc_intersect_vertex_zh-tw.lang wpc_intersect_vertex_pl.lang wpc_intersect_vertex_tr.lang wpc_intersect_edge_es-ES.lang wpc_intersect_edge_de.lang wpc_intersect_edge_fr.lang wpc_intersect_edge_jp.lang wpc_intersect_edge_ko.lang wpc_intersect_edge_pl.lang wpc_intersect_edge_pt.lang wpc_intersect_edge_zh-tw.lang wpc_intersect_edge_tr.lang wpc_inset_es-ES.lang wpc_inset_de.lang wpc_inset_fr.lang wpc_inset_jp.lang wpc_inset_zh-tw.lang wpc_inset_ko.lang wpc_grid_snap_es-ES.lang wpc_grid_snap_de.lang wpc_grid_snap_ko.lang wpc_grid_snap_jp.lang wpc_grid_snap_zh-tw.lang wpc_flow_connect_de.lang wpc_flow_connect_es-ES.lang wpc_flow_connect_jp.lang wpc_flow_connect_ko.lang wpc_flow_connect_zh-tw.lang wpc_explode_de.lang wpc_explode_es-ES.lang wpc_explode_jp.lang wpc_explode_ko.lang wpc_explode_zh-tw.lang wpc_deselect_previous_de.lang wpc_doosabin_es-ES.lang wpc_deselect_previous_es-ES.lang wpc_doosabin_de.lang wpc_doosabin_jp.lang wpc_doosabin_ko.lang wpc_deselect_previous_jp.lang wpc_deselect_previous_ko.lang wpc_doosabin_tr.lang wpc_doosabin_pl.lang wpc_deselect_previous_zh-tw.lang wpc_doosabin_fr.lang wpc_cylindrilize_de.lang wpc_cylindrilize_es-ES.lang wpc_doosabin_zh-tw.lang wpc_cylindrilize_fr.lang wpc_cylindrilize_ko.lang wpc_cylindrilize_tr.lang wpc_cylindrilize_jp.lang wpc_corner_jp.lang wpc_corner_ko.lang wpc_corner_es-ES.lang wpc_cylindrilize_zh-tw.lang wpc_connect_tool_es-ES.lang wpc_corner_zh-tw.lang wpc_corner_de.lang wpc_connect_tool_fr.lang wpc_connect_tool_pt.lang wpc_connect_tool_ko.lang wpc_connect_tool_pl.lang wpc_constraints_es-ES.lang wpc_connect_tool_jp.lang wpc_connect_tool_zh-tw.lang wpc_connect_tool_de.lang wpc_connect_tool_tr.lang wpc_constraints_ko.lang wpc_constraints_de.lang wpc_constraints_zh-tw.lang wpc_constraints_jp.lang wpc_constraints_fr.lang wpc_bend_de.lang wpc_circularise_ko.lang wpc_constraints_tr.lang wpc_circularise_es-ES.lang wpc_bend_es-ES.lang wpc_circularise_jp.lang wpc_circularise_zh-tw.lang wpc_circularise_de.lang wpc_circularise_fr.lang wpc_bend_fr.lang wpc_bend_jp.lang wpc_bend_ko.lang wpc_bend_pl.lang wpc_bend_pt.lang wpc_arc_intersect_de.lang wpc_bend_tr.lang wpc_bend_zh-tw.lang wpc_arc_intersect_fr.lang wpc_arc_intersect_ko.lang wpc_arc_intersect_es-ES.lang wpc_ambocc_de.lang wpc_arc_intersect_zh-tw.lang wpc_circularise_tr.lang wpc_ambocc_es-ES.lang wpc_ambocc_jp.lang wpc_ambocc_zh-tw.lang wpc_ambocc_ko.lang wpc_arc_intersect_jp.lang wpc_absolute_scale_de.lang wpc_absolute_scale_fr.lang wpc_absolute_scale_es-ES.lang wpc_absolute_scale_jp.lang wpc_absolute_scale_ko.lang wpc_absolute_scale_tr.lang wpc_absolute_scale_zh-tw.lang wpc_absolute_scale_pt.lang wpc_absolute_move_es-ES.lang wpc_absolute_move_jp.lang wpc_absolute_scale_pl.lang wpc_absolute_move_de.lang wpc_absolute_move_pt.lang wpc_absolute_move_pl.lang wpc_absolute_move_ko.lang wpc_absolute_move_fr.lang wpc_absolute_move_zh-tw.lang wpc_absolute_move_tr.lang 
make[2]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
(cd autouv; make lang)
make[2]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
make TYPE=opt common
make[3]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
(cd shaders; make)
make[4]: Entering directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
erl -pa ../../intl_tools -noinput -run tools generate_template ../../plugins/autouv -run erlang halt
Writing: /home/bram/src/wings/plugins_src/autouv/autouv_en.lang
cp *.lang ../../plugins/autouv
erl -pa ../../intl_tools -noinput -run tools diff_lang_files ../../plugins/autouv
Processing: autouv_fr.lang autouv_jp.lang autouv_ko.lang autouv_pt.lang autouv_de.lang autouv_zh-tw.lang autouv_tr.lang autouv_pl.lang autouv_es-ES.lang 
make[2]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make TYPE=opt common
make[2]: Entering directory '/home/bram/src/wings/plugins_src'
(cd import_export; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/import_export'
make[4]: Nothing to be done for 'common'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/import_export'
(cd primitives; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/primitives'
make[4]: Nothing to be done for 'common'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/primitives'
(cd commands; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/commands'
make[4]: Nothing to be done for 'common'.
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/commands'
(cd autouv; make)
make[3]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
make TYPE=opt common
make[4]: Entering directory '/home/bram/src/wings/plugins_src/autouv'
(cd shaders; make)
make[5]: Entering directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/bram/src/wings/plugins_src/autouv/shaders'
make[4]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make[3]: Leaving directory '/home/bram/src/wings/plugins_src/autouv'
make[2]: Leaving directory '/home/bram/src/wings/plugins_src'
erl -pa ../intl_tools -noinput -run tools generate_template_files ../plugins/default
Wrote /home/bram/src/wings/plugins_src/../plugins/default/wp9_dialogs_en.lang
cp *.lang ../plugins/default
erl -pa ../intl_tools -noinput -run tools diff_lang_files ../plugins/default
Processing: wp9_dialogs_es-ES.lang wp9_dialogs_fr.lang wp9_dialogs_pl.lang wp9_dialogs_tr.lang wp9_dialogs_jp.lang wp9_dialogs_de.lang 
make[1]: Leaving directory '/home/bram/src/wings/plugins_src'
escript tools/verify_language_files .
escript tools/release
Reading: "./ebin/..app"
error:{badmatch,{error,enoent}} in [{release__escript__1684__83275__361764__2,
                                     get_vsn,2,
                                     [{file,"tools/release"},{line,400}]},
                                    {release__escript__1684__83275__361764__2,
                                     release,0,
                                     [{file,"tools/release"},{line,38}]},
                                    {release__escript__1684__83275__361764__2,
                                     main,1,
                                     [{file,"tools/release"},{line,25}]},
                                    {escript,run,2,
                                     [{file,"escript.erl"},{line,750}]},
                                    {escript,start,1,
                                     [{file,"escript.erl"},{line,277}]},
                                    {init,start_em,1,[]},
                                    {init,do_boot,3,[]}]
dgud commented 1 year ago

Hmm of course works for me (on git master branch 03a33327) Are you fetching from git? Or using the released src tarball or something else.

stolk commented 1 year ago

Hmm of course works for me (on git master branch 03a3332) Are you fetching from git? Or using the released src tarball or something else.

This was with HEAD of master.

dgud commented 1 year ago

Hmm, setup my wsl to be ubuntu-23 but it still works (at least further) I have made another error in the tools/release script. Will fix that but your problem seems to be that the "vsn.mk" file doesn't exist (or can't be read), and that is the first thing done when I run make.

Do you have a none default make, so that our current Makefile don't work as we expect? If it don't exist, you can generate the vsn.mk with cd src/wings; ./WINGS-VERSION-GEN

Another thing the Ubuntu erlang-cl package is broken and can't be used with erlang-25, it needs to be recompiled for that release, the makefile automaticly download and builds the opencl lib if you have the opencl headers installed.

stolk commented 1 year ago

I do have vsn.mk file, with this contents:

# Automatically generated by ./WINGS-VERSION-GEN - DO NOT EDIT.
WINGS_VSN = 2.2.9.62.g03a3
WINGS_BRANCH = master
stolk commented 1 year ago

I see that my generated app is in ./ebin/wings.app

And line 400 of tools/release tries to refer to that, but fails miserable, and mangles it as./ebin/..app instead.

I don't speak erlang, but the construction of that name seems strange to me. Why does it try to use directory names only, and nowhere is the term 'wings' mentioned?

            DirPath = filename:dirname(VsnFile),
            DirName = filename:basename(DirPath),
            Appfile = filename:join([filename:dirname(VsnFile), ebin, DirName ++ ".app"]),

I would expect the appfile to be constructed differently? As appfile = dir + "/ebin/" + "wings" + ".app" in pseudo code.

Instead, there are too many dirs, and no 'wings' in that code?

stolk commented 1 year ago

NOTE: I was able run the ebin/wings.app with Ubuntu's erl, by the way, so I could verify that the other bug I reported (ilegible text) also occurs on git master. So the build succeeds. It just fails to package it up.

dgud commented 1 year ago

Crash course in starting wings from erlang directly, so you don't have to install it:

alias wings="erl -pa <PATH_TO_WINGS>/ebin -run wings_start start_halt" or

erl -pa <PATH_TO_WINGS>./ebin
> wings:start().     %% remember the dot 

(where -pa means add directory to the beginning of the code search path)

I have pushed a commit which fixes the error that happened for me in the install script.

If you want to try to figure out what is happening:

tools/release is just a script which should be run directly from the wings top directory, normally from the top Makefile, but you can run it directly from the shell.

Debug printouts can be done with: io:format("~p: variable is ~p \n", [?LINE, Variable]), Where macros start with ? and variables with uppercase letters.

I'll be gone over the weekend, but I'll take another look at what should be happening there either tonight or next week.

dgud commented 1 year ago

Adding

diff --git a/tools/release b/tools/release
index 109e56f663..333bc52c1a 100755
--- a/tools/release
+++ b/tools/release
@@ -364,6 +364,7 @@ fix_app_version(App0, Lib) ->
        App ->
            VsnVar = string:to_upper(App) ++ "_VSN",
            Vsn = get_vsn(filename:join(AppDir, "vsn.mk"), VsnVar),
+            io:format("~p: App0: ~p AppDir: ~p VsnVar: ~p Vsn: ~p ~n", [?LINE, App0, AppDir, VsnVar, Vsn]),
            ok = file:set_cwd(Lib),
            case file:rename(App, App++"-"++Vsn) of
                ok -> ok;
@@ -387,6 +388,7 @@ strip(File) ->
     end.

 get_vsn(VsnFile, VsnVar) ->
+    io:format("~p: File is ~p~n", [?LINE, VsnFile]),
     case file:read_file(VsnFile) of
         {ok,Bin} ->
             Re = "^" ++ VsnVar ++ "\\s*=\\s*(\\S+)\\s*$",

Gives

dgud@Dan:~/src/wings$ tools/release
391: File is "vsn.mk"

COPY cl from "/home/dgud/src/wings/_deps/cl"
391: File is "/home/dgud/src/wings/_deps/cl/vsn.mk"
Reading: "/home/dgud/src/wings/_deps/cl/ebin/cl.app"
367: App0: cl AppDir: "/home/dgud/src/wings/_deps/cl" VsnVar: "CL_VSN" Vsn: "1.2.4"

COPY kernel from "/usr/lib/erlang/lib/kernel-8.5.3"

COPY stdlib from "/usr/lib/erlang/lib/stdlib-4.2"

COPY wings from "/home/dgud/src/wings"
391: File is "/home/dgud/src/wings/vsn.mk"
367: App0: wings AppDir: "/home/dgud/src/wings" VsnVar: "WINGS_VSN" Vsn: "2.2.9.75.g4de6dc.dirty"

COPY wx from "/usr/lib/erlang/lib/wx-2.2.1"
stolk commented 1 year ago

My filename does not have a path:

391: File is "vsn.mk"
Reading: "./ebin/..app"

I run $ make unix from top level dir.

dgud commented 1 year ago

Can you uninstall the erlang-cl package you have installed, it doesn't work anyway :-) I did sudo apt remove erlang-cl

And re-run make from the top. Because I think that is what is causing the problem here.

stolk commented 1 year ago

That seems to have made it worse, somehow?

escript tools/release

COPY cl from "/home/bram/src/wings/_deps/cl"
401: File is "/home/bram/src/wings/_deps/cl/vsn.mk"
Reading: "/home/bram/src/wings/_deps/cl/ebin/cl.app"

Why does it now think the application is called cl?

stolk commented 1 year ago

Thanks for your help.

I'm sorry for this, but it turned out rebar3 was not installed.

After installing that, still issues, but when I put back erlang-cl on my system, the release script gets further:

escript tools/verify_language_files .
escript tools/release

COPY wings from "/home/bram/src/wings"
367: App0: wings AppDir: "/home/bram/src/wings" VsnVar: "WINGS_VSN" Vsn: "2.2.9.62.g03a3.dirty" 

(Although it seems to take a long time, it is still running.)

dgud commented 1 year ago

Applications in erlang are kind of libraries in other languages :-) They can be more than just a functional lib. So cl (the OpenCL) binding is an app, as is stdlib, wings and many other.

dgud commented 1 year ago

You will need the OpenCL headers and libs to be able to compile _deps/cl but that is optional so should be ok if that fails when compiling the c-files, I guess rebar3 is needed for that cl.

I did: sudo apt install ocl-icd-opencl-dev opencl-headers rebar3 to get it to build, it failed in runtime anyway, OpenCL is not working in (windows) wsl, it works on laptop with ubuntu-20, but can't upgrade that.