$ python makepanda/makepanda.py --use-png --use-jpeg --use-egg --use-zlib --use-freetype --use-bullet --no-openssl --use-direct --use-pview --use-gles2 --use-openal --use-python --use-vorbis --no-egl --target emscripten --outputdir embuilt --optimize 4 --threads 4
Version: 1.11.0
Platform: emscripten-wasm32
Using Python 3.8
Target OS: emscripten
Target arch: wasm32
WARNING: Could not locate thirdparty package artoolkit, excluding from build
WARNING: Could not locate thirdparty package fcollada, excluding from build
WARNING: Could not locate thirdparty package assimp, excluding from build
WARNING: Could not locate thirdparty package ffmpeg, excluding from build
WARNING: Could not locate thirdparty package swscale, excluding from build
WARNING: Could not locate thirdparty package swresample, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package fmodex, excluding from build
WARNING: Could not locate thirdparty package nvidiacg, excluding from build
WARNING: Could not locate thirdparty package ode, excluding from build
WARNING: Could not locate thirdparty package openal, excluding from build
WARNING: Could not locate thirdparty package squish, excluding from build
WARNING: Could not locate thirdparty package tiff, excluding from build
WARNING: Could not locate thirdparty package openexr, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
WARNING: Could not locate thirdparty package opus, excluding from build
WARNING: Could not locate thirdparty package jpeg, excluding from build
WARNING: Could not locate thirdparty package opencv, excluding from build
WARNING: Could not locate pkg-config package gtk+-2.0, excluding from build
Generating dependencies...
WARNING: file depends on Python but is not in an ABI-specific directory: embuilt/bin/deploy-stub.js
[T1] Building C++ object embuilt/tmp/p3pgraph_composite2.o
[T2] Building C++ object embuilt/tmp/p3pgraph_composite3.o
[T3] Building C++ object embuilt/tmp/p3pgraph_composite4.o
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3pgraph_igate.o
In file included from panda/src/pgraph/p3pgraph_composite2.cxx:3:
In file included from panda/src/pgraph/cullBinManager.cxx:16:
panda/src/pgraph/cullResult.h:88:8: warning: private field '_show_transparency' is not used [-Wunused-private-field]
  bool _show_transparency = false;
       ^
1 warning generated.
[T1] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/p3pgraph_ext_composite.o
[T2] Building C++ object embuilt/tmp/p3cull_composite1.o
[T3] Building C++ object embuilt/tmp/p3cull_composite2.o
[T3] Building Interrogate database embuilt/pandac/input/libp3cull.in
[T2] Building C++ object embuilt/tmp/p3dgraph_composite1.o
[T1] Building C++ object embuilt/tmp/p3dgraph_composite2.o
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3cull_igate.o
[T4] Building Interrogate database embuilt/pandac/input/libp3dgraph.in
[T2] Building C++ object embuilt/tmp/p3device_composite1.o
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3dgraph_igate.o
[T1] Building C++ object embuilt/tmp/p3device_composite2.o
[T3] Building Interrogate database embuilt/pandac/input/libp3device.in
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3device_igate.o
[T4] Building C++ object embuilt/tmp/p3display_graphicsStateGuardian.o
[T1] Building C++ object embuilt/tmp/p3display_composite1.o
[T2] Building C++ object embuilt/tmp/p3display_composite2.o
[T3] Building Interrogate database embuilt/pandac/input/libp3display.in
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3display_igate.o
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/p3display_ext_composite.o
[T2] Building C++ object embuilt/tmp/p3chan_composite1.o
[T1] Building C++ object embuilt/tmp/p3chan_composite2.o
[T4] Building Interrogate database embuilt/pandac/input/libp3chan.in
[T2] Building C++ object embuilt/tmp/p3char_composite1.o
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3chan_igate.o
[T1] Building C++ object embuilt/tmp/p3char_composite2.o
[T3] Building Interrogate database embuilt/pandac/input/libp3char.in
[T2] Building C++ object embuilt/tmp/p3pnmtext_composite1.o
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3char_igate.o
[T4] Building Interrogate database embuilt/pandac/input/libp3pnmtext.in
[T1] Building C++ object embuilt/tmp/p3text_composite1.o
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3pnmtext_igate.o
[T2] Building C++ object embuilt/tmp/p3text_composite2.o
[T3] Building Interrogate database embuilt/pandac/input/libp3text.in
[T4] Building C++ object embuilt/tmp/p3movies_composite1.o
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3text_igate.o
[T1] Building Interrogate database embuilt/pandac/input/libp3movies.in
[T4] Building C++ object embuilt/tmp/p3grutil_multitexReducer.o
[T1] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3movies_igate.o
[T2] Building C++ object embuilt/tmp/p3grutil_composite1.o
[T3] Building C++ object embuilt/tmp/p3grutil_composite2.o
[T1] Building Interrogate database embuilt/pandac/input/libp3grutil.in
[T4] Building C++ object embuilt/tmp/p3tform_composite1.o
[T1] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3grutil_igate.o
[T2] Building C++ object embuilt/tmp/p3tform_composite2.o
[T4] Building Interrogate database embuilt/pandac/input/libp3tform.in
[T3] Building C++ object embuilt/tmp/p3collide_composite1.o
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3tform_igate.o
In file included from panda/src/tform/p3tform_composite2.cxx:1:
In file included from panda/src/tform/mouseWatcher.cxx:14:
panda/src/tform/mouseWatcher.h:263:7: warning: private field '_show_regions_draw_order' is not used [-Wunused-private-field]
  int _show_regions_draw_order;
      ^
In file included from panda/src/collide/p3collide_composite1.cxx:2:
panda/src/collide/collisionBox.cxx:509:19: warning: implicit conversion from 'int' to 'PN_stdfloat' (aka 'float') changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
  PN_stdfloat t = INT_MAX;
              ~   ^~~~~~~
/home/david/prog/emsdk/upstream/lib/clang/13.0.0/include/limits.h:46:19: note: expanded from macro 'INT_MAX'
#define INT_MAX   __INT_MAX__
                  ^~~~~~~~~~~
<built-in>:64:21: note: expanded from here
#define __INT_MAX__ 2147483647
                    ^~~~~~~~~~
[T1] Building C++ object embuilt/tmp/p3collide_composite2.o
1 warning generated.
[T2] Building Interrogate database embuilt/pandac/input/libp3collide.in
[T2] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3collide_igate.o
1 warning generated.
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/p3collide_ext_composite.o
[T4] Building C++ object embuilt/tmp/p3parametrics_composite1.o
embuilt/tmp/libp3collide_igate.cxx:9391:46: error: allocating an object of abstract class type 'CollisionHandlerPhysical'
  CollisionHandlerPhysical *local_this = new CollisionHandlerPhysical;
                                             ^
embuilt/include/collisionHandlerPhysical.h:75:16: note: unimplemented pure virtual method 'handle_entries' in 'CollisionHandlerPhysical'
  virtual bool handle_entries()=0;
               ^
embuilt/include/collisionHandlerPhysical.h:76:16: note: unimplemented pure virtual method 'apply_linear_force' in 'CollisionHandlerPhysical'
  virtual void apply_linear_force(ColliderDef &def, const LVector3 &force)=0;
               ^
[T3] Building C++ object embuilt/tmp/p3parametrics_composite2.o
1 error generated.
em++: error: '/home/david/prog/emsdk/upstream/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=13 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration --sysroot=/home/david/prog/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -std=gnu++11 -ftemplate-depth-70 -fPIC -c -Iembuilt/tmp -Iembuilt/include -Ithirdparty/emscripten-libs/python/include -Ithirdparty/emscripten-libs/python/include/python3.8 -DLINK_ALL_STATIC= -Ipanda/src/collide -fvisibility=hidden -fno-exceptions -fno-rtti -fno-strict-aliasing -ffast-math -fno-stack-protector -O3 -DNDEBUG -Wall -Wno-unused-function -Wno-reorder -Wno-unused-variable embuilt/tmp/libp3collide_igate.cxx -o embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3collide_igate.o' failed (1)
The following command returned a non-zero value: em++ -std=gnu++11 -ftemplate-depth-70 -fPIC -c -o embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3collide_igate.o -Iembuilt/tmp -Iembuilt/include -Ithirdparty/emscripten-libs/python/include -Ithirdparty/emscripten-libs/python/include/python3.8 -DLINK_ALL_STATIC= -Ipanda/src/collide -fvisibility=hidden -s WARN_ON_UNDEFINED_SYMBOLS=1 -s NO_FILESYSTEM=1 -fno-exceptions -s DISABLE_EXCEPTION_CATCHING=1 -fno-rtti -fno-strict-aliasing -ffast-math -fno-stack-protector -O3 -DNDEBUG -Wall -Wno-unused-function -Wno-reorder -Wno-unused-variable embuilt/tmp/libp3collide_igate.cxx
Storing dependency cache.
[T2] Waiting for tasks...
Elapsed Time: 17 min 15 sec
Build process aborting.
Build terminated.
david@cavil:~/prog/panda3d$ In file included from panda/src/parametrics/p3parametrics_composite2.cxx:1:
In file included from panda/src/parametrics/config_parametrics.cxx:23:
In file included from panda/src/parametrics/sheetNode.h:18:
In file included from panda/src/parametrics/nurbsSurfaceEvaluator.h:19:
panda/src/parametrics/nurbsSurfaceResult.h:73:7: warning: private field '_num_u_vertices' is not used [-Wunused-private-field]
  int _num_u_vertices;
      ^
1 warning generated.
python makepanda/makepanda.py --use-png --use-jpeg --use-egg --use-zlib --use-freetype --use-bullet --no-openssl --use-direct --use-pview --use-gles2 --use-openal --use-python --use-vorbis --no-egl --target emscripten --outputdir embuilt --optimize 4 --threads 4
Version: 1.11.0
Platform: emscripten-wasm32
Using Python 3.8
Target OS: emscripten
Target arch: wasm32
WARNING: Could not locate thirdparty package artoolkit, excluding from build
WARNING: Could not locate thirdparty package fcollada, excluding from build
WARNING: Could not locate thirdparty package assimp, excluding from build
WARNING: Could not locate thirdparty package ffmpeg, excluding from build
WARNING: Could not locate thirdparty package swscale, excluding from build
WARNING: Could not locate thirdparty package swresample, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package fmodex, excluding from build
WARNING: Could not locate thirdparty package nvidiacg, excluding from build
WARNING: Could not locate thirdparty package ode, excluding from build
WARNING: Could not locate thirdparty package openal, excluding from build
WARNING: Could not locate thirdparty package squish, excluding from build
WARNING: Could not locate thirdparty package tiff, excluding from build
WARNING: Could not locate thirdparty package openexr, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
WARNING: Could not locate thirdparty package opus, excluding from build
WARNING: Could not locate thirdparty package jpeg, excluding from build
WARNING: Could not locate thirdparty package opencv, excluding from build
WARNING: Could not locate pkg-config package gtk+-2.0, excluding from build
Generating dependencies...
WARNING: file depends on Python but is not in an ABI-specific directory: embuilt/bin/deploy-stub.js
[T1] Building C++ object embuilt/tmp/p3collide_composite2.o
[T2] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3collide_igate.o
[T3] Building C++ object embuilt/tmp/p3parametrics_composite1.o
[T4] Building C++ object embuilt/tmp/p3parametrics_composite2.o
In file included from panda/src/parametrics/p3parametrics_composite2.cxx:1:
In file included from panda/src/parametrics/config_parametrics.cxx:23:
In file included from panda/src/parametrics/sheetNode.h:18:
In file included from panda/src/parametrics/nurbsSurfaceEvaluator.h:19:
panda/src/parametrics/nurbsSurfaceResult.h:73:7: warning: private field '_num_u_vertices' is not used [-Wunused-private-field]
  int _num_u_vertices;
      ^
[T3] Building Interrogate database embuilt/pandac/input/libp3parametrics.in
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3parametrics_igate.o
1 warning generated.
[T4] Building C++ object embuilt/tmp/p3pgui_composite1.o
[T2] Building C++ object embuilt/tmp/p3pgui_composite2.o
[T1] Building Interrogate database embuilt/pandac/input/libp3pgui.in
[T1] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3pgui_igate.o
[T2] Building C++ object embuilt/tmp/p3pnmimagetypes_composite1.o
[T3] Building C++ object embuilt/tmp/p3pnmimagetypes_composite2.o
[T4] Building C++ object embuilt/tmp/p3recorder_composite1.o
[T2] Building C++ object embuilt/tmp/p3recorder_composite2.o
[T2] Building Interrogate database embuilt/pandac/input/libp3recorder.in
[T1] Building C++ object embuilt/tmp/tinyxml_composite1.o
[T4] Building C++ object embuilt/tmp/p3dxml_composite1.o
[T3] Building Interrogate database embuilt/pandac/input/libp3dxml.in
[T2] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3recorder_igate.o
[T3] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3dxml_igate.o
[T1] Linking static library embuilt/tmp/libp3tinyxml.a
[T1] Building C++ object embuilt/tmp/panda_panda.o
[T4] Building Interrogate object embuilt/tmp/cpython-38-x86_64-linux-gnu/core_module.o
Referencing Library libp3dtoolbase
Referencing Library libp3dtoolutil
Referencing Library libp3dxml
Referencing Library libp3express
Referencing Library libp3pipeline
Referencing Library libp3pnmtext
Referencing Library libp3prc
Referencing Library libp3pstatclient
Referencing Library libp3putil
Referencing Library libp3downloader
Referencing Library libp3event
Referencing Library libp3gobj
Referencing Library libp3gsgbase
Referencing Library libp3linmath
Referencing Library libp3mathutil
Referencing Library libp3movies
Referencing Library libp3pgraph
Referencing Library libp3pgraphnodes
Referencing Library libp3pnmimage
Referencing Library libp3text
Referencing Library libp3audio
Referencing Library libp3chan
Referencing Library libp3char
Referencing Library libp3collide
Referencing Library libp3dgraph
Referencing Library libp3grutil
Referencing Library libp3parametrics
Referencing Library libp3recorder
Referencing Library libp3tform
Referencing Library libp3device
Referencing Library libp3display
Referencing Library libp3pgui
[T3] Building C++ object embuilt/tmp/p3vision_composite1.o
[T1] Linking dynamic library embuilt/lib/libpanda.o
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T2] Building Interrogate database embuilt/pandac/input/libp3vision.in
[T1] Building C++ object embuilt/tmp/p3skel_composite1.o
[T4] Linking dynamic library embuilt/panda3d/core.so
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T4] Building Interrogate database embuilt/pandac/input/libp3skel.in
[T4] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3skel_igate.o
[T2] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3vision_igate.o
[T1] Building Interrogate object embuilt/tmp/cpython-38-x86_64-linux-gnu/vision_module.o
Referencing Library libp3vision
[T3] Linking dynamic library embuilt/lib/libp3vision.o
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T3] Linking dynamic library embuilt/lib/libpandaskel.o
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T4] Building Interrogate object embuilt/tmp/cpython-38-x86_64-linux-gnu/skel_module.o
Referencing Library libp3skel
[T3] Building C++ object embuilt/tmp/p3distort_composite1.o
[T2] Building Interrogate database embuilt/pandac/input/libp3distort.in
[T1] Linking dynamic library embuilt/panda3d/vision.so
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T1] Building C++ object embuilt/tmp/pandafx_pandafx.o
[T4] Linking dynamic library embuilt/panda3d/skel.so
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T2] Building C++ object embuilt/tmp/cpython-38-x86_64-linux-gnu/libp3distort_igate.o
[T4] Building Interrogate object embuilt/tmp/cpython-38-x86_64-linux-gnu/fx_module.o
Referencing Library libp3distort
[T1] Building C++ object embuilt/tmp/multify_multify.o
[T4] Building C++ object embuilt/tmp/pzip_pzip.o
[T1] Linking executable embuilt/bin/multify.js
[T4] Linking executable embuilt/bin/pzip.js
[T3] Linking dynamic library embuilt/lib/libpandafx.o
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T3] Building C++ object embuilt/tmp/punzip_punzip.o
[T2] Linking dynamic library embuilt/panda3d/fx.so
em++: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
[T3] Linking executable embuilt/bin/punzip.js
[T2] Building Bison object embuilt/tmp/p3egg_parser.o
built/tmp/parser.yxx.c:256:10: fatal error: 'parser.yxx.h' file not found
#include "parser.yxx.h"
         ^~~~~~~~~~~~~~
1 error generated.
em++: error: '/home/david/prog/emsdk/upstream/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=13 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration --sysroot=/home/david/prog/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -std=gnu++11 -ftemplate-depth-70 -fPIC -c -Iembuilt/tmp -Iembuilt/include -DLINK_ALL_STATIC= -Ipanda/src/egg -fvisibility=hidden -fno-exceptions -fno-rtti -fno-strict-aliasing -ffast-math -fno-stack-protector -O3 -DNDEBUG -Wall -Wno-unused-function -Wno-reorder -Wno-unused-variable -DBUILDING_PANDAEGG embuilt/tmp/parser.yxx.cxx -o embuilt/tmp/p3egg_parser.o' failed (1)
The following command returned a non-zero value: em++ -std=gnu++11 -ftemplate-depth-70 -fPIC -c -o embuilt/tmp/p3egg_parser.o -Iembuilt/tmp -Iembuilt/include -DLINK_ALL_STATIC= -s USE_ZLIB=1 -Ipanda/src/egg -fvisibility=hidden -s WARN_ON_UNDEFINED_SYMBOLS=1 -s NO_FILESYSTEM=1 -fno-exceptions -s DISABLE_EXCEPTION_CATCHING=1 -fno-rtti -fno-strict-aliasing -ffast-math -fno-stack-protector -O3 -DNDEBUG -Wall -Wno-unused-function -Wno-reorder -Wno-unused-variable -DBUILDING_PANDAEGG embuilt/tmp/parser.yxx.cxx
Storing dependency cache.
Elapsed Time: 6 min 52 sec
Build process aborting.
Build terminated.

