pobthebuilder / resolve-flatpak

Flatpak packaging for Blackmagicdesign DaVinci Resolve
MIT License
129 stars 21 forks source link

Command /app/bin/resolve not found #2

Closed reesericci closed 1 year ago

reesericci commented 1 year ago

I'm hitting an error when setting this up:

all --force-clean build-dir com.blackmagic.Resolve.yaml
Downloading sources
Initializing build dir
Committing stage init to cache
Starting build of com.blackmagic.Resolve
========================================================================
Building module glu in /var/home/reesericci/Downloads/dvr/flatpak/.flatpak-builder/build/glu-1
========================================================================
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-unknown-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GL... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether g++ supports -fvisibility=hidden... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glu.pc
config.status: executing depfiles commands
config.status: executing libtool commands
  CC       src/libtess/dict.lo
  CC       src/libtess/geom.lo
  CC       src/libtess/memalloc.lo
  CC       src/libtess/normal.lo
  CC       src/libtess/mesh.lo
  CC       src/libtess/priorityq.lo
  CC       src/libtess/render.lo
  CC       src/libtess/sweep.lo
  CC       src/libtess/tess.lo
  CC       src/libtess/tessmono.lo
  CXX      src/libnurbs/interface/bezierEval.lo
  CXX      src/libnurbs/interface/bezierPatch.lo
  CXX      src/libnurbs/interface/bezierPatchMesh.lo
  CXX      src/libnurbs/interface/glcurveval.lo
src/libtess/tess.c:415:46: warning: argument 2 of type ‘GLdouble[3]’ {aka ‘double[3]’} with mismatched bound [-Warray-parameter=]
  415 | gluTessVertex( GLUtesselator *tess, GLdouble coords[3], void *data )
      |                                     ~~~~~~~~~^~~~~~~~~
In file included from src/libtess/tess.h:38,
                 from src/libtess/tess.c:40:
./include/GL/glu.h:341:69: note: previously declared as ‘GLdouble *’ {aka ‘double *’}
  341 | GLAPI void GLAPIENTRY gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data);
      |                                                           ~~~~~~~~~~^~~~~~~~
  CXX      src/libnurbs/interface/glinterface.lo
  CXX      src/libnurbs/interface/glrenderer.lo
  CXX      src/libnurbs/interface/glsurfeval.lo
  CXX      src/libnurbs/interface/incurveeval.lo
  CXX      src/libnurbs/interface/insurfeval.lo
  CXX      src/libnurbs/internals/arc.lo
  CXX      src/libnurbs/internals/arcsorter.lo
  CXX      src/libnurbs/internals/arctess.lo
  CXX      src/libnurbs/internals/backend.lo
  CXX      src/libnurbs/internals/basiccrveval.lo
  CXX      src/libnurbs/internals/basicsurfeval.lo
src/libnurbs/internals/arc.cc: In member function ‘int Arc::check()’:
src/libnurbs/internals/arc.cc:239:5: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare]
  239 |     if( this == 0 ) return 1;
      |     ^~
  CXX      src/libnurbs/internals/bin.lo
  CXX      src/libnurbs/internals/bufpool.lo
  CXX      src/libnurbs/internals/cachingeval.lo
  CXX      src/libnurbs/internals/ccw.lo
src/libnurbs/interface/insurfeval.cc: In member function ‘void OpenGLSurfaceEvaluator::inEvalUStrip(int, REAL, REAL*, int, REAL, REAL*)’:
src/libnurbs/interface/insurfeval.cc:1169:8: warning: variable ‘leftMostV’ set but not used [-Wunused-but-set-variable]
 1169 |   REAL leftMostV[2];
      |        ^~~~~~~~~
src/libnurbs/interface/insurfeval.cc: In member function ‘void OpenGLSurfaceEvaluator::inEvalVStrip(int, REAL, REAL*, int, REAL, REAL*)’:
src/libnurbs/interface/insurfeval.cc:1358:8: warning: variable ‘botMostV’ set but not used [-Wunused-but-set-variable]
 1358 |   REAL botMostV[2];
      |        ^~~~~~~~
  CXX      src/libnurbs/internals/coveandtiler.lo
  CXX      src/libnurbs/internals/curve.lo
  CXX      src/libnurbs/internals/curvelist.lo
  CXX      src/libnurbs/internals/curvesub.lo
  CXX      src/libnurbs/internals/dataTransform.lo
  CXX      src/libnurbs/internals/displaylist.lo
  CXX      src/libnurbs/internals/flist.lo
  CXX      src/libnurbs/internals/flistsorter.lo
  CXX      src/libnurbs/internals/hull.lo
  CXX      src/libnurbs/internals/intersect.lo
  CXX      src/libnurbs/internals/knotvector.lo
  CXX      src/libnurbs/internals/mapdesc.lo
  CXX      src/libnurbs/internals/mapdescv.lo
  CXX      src/libnurbs/internals/maplist.lo
  CXX      src/libnurbs/internals/mesher.lo
  CXX      src/libnurbs/internals/monoTriangulationBackend.lo
  CXX      src/libnurbs/internals/monotonizer.lo
  CXX      src/libnurbs/internals/mycode.lo
  CXX      src/libnurbs/internals/nurbsinterfac.lo
  CXX      src/libnurbs/internals/nurbstess.lo
  CXX      src/libnurbs/internals/patch.lo
  CXX      src/libnurbs/internals/patchlist.lo
src/libnurbs/internals/nurbsinterfac.cc: In constructor ‘NurbsTessellator::NurbsTessellator(BasicCurveEvaluator&, BasicSurfaceEvaluator&)’:
src/libnurbs/internals/nurbsinterfac.cc:67:20: warning: member ‘NurbsTessellator::backend’ is used uninitialized [-Wuninitialized]
   67 |         : maplist( backend ),
      |                    ^~~~~~~
  CXX      src/libnurbs/internals/quilt.lo
  CXX      src/libnurbs/internals/reader.lo
  CXX      src/libnurbs/internals/renderhints.lo
  CXX      src/libnurbs/internals/slicer.lo
  CXX      src/libnurbs/internals/sorter.lo
src/libnurbs/internals/quilt.cc: In member function ‘void Quilt::deleteMe(Pool&)’:
src/libnurbs/internals/quilt.cc:65:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   65 |         if( q->breakpoints) delete[] q->breakpoints;  q->breakpoints = 0;
      |         ^~
src/libnurbs/internals/quilt.cc:65:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   65 |         if( q->breakpoints) delete[] q->breakpoints;  q->breakpoints = 0;
      |                                                       ^
  CXX      src/libnurbs/internals/splitarcs.lo
  CXX      src/libnurbs/internals/subdivider.lo
  CXX      src/libnurbs/internals/tobezier.lo
  CXX      src/libnurbs/internals/trimline.lo
  CXX      src/libnurbs/internals/trimregion.lo
  CXX      src/libnurbs/internals/trimvertpool.lo
src/libnurbs/internals/subdivider.cc: In member function ‘void Subdivider::freejarcs(Bin&)’:
src/libnurbs/internals/subdivider.cc:852:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  852 |         if( jarc->pwlArc ) jarc->pwlArc->deleteMe( pwlarcpool ); jarc->pwlArc = 0;
      |         ^~
src/libnurbs/internals/subdivider.cc:852:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  852 |         if( jarc->pwlArc ) jarc->pwlArc->deleteMe( pwlarcpool ); jarc->pwlArc = 0;
      |                                                                  ^~~~
src/libnurbs/internals/subdivider.cc:853:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  853 |         if( jarc->bezierArc) jarc->bezierArc->deleteMe( bezierarcpool ); jarc->bezierArc = 0;
      |         ^~
src/libnurbs/internals/subdivider.cc:853:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  853 |         if( jarc->bezierArc) jarc->bezierArc->deleteMe( bezierarcpool ); jarc->bezierArc = 0;
      |                                                                          ^~~~
  CXX      src/libnurbs/internals/uarray.lo
  CXX      src/libnurbs/internals/varray.lo
  CXX      src/libnurbs/nurbtess/directedLine.lo
  CXX      src/libnurbs/nurbtess/gridWrap.lo
  CXX      src/libnurbs/nurbtess/monoChain.lo
  CXX      src/libnurbs/nurbtess/monoPolyPart.lo
src/libnurbs/internals/varray.cc: In member function ‘void Varray::update(Arc_ptr, long int*, REAL)’:
src/libnurbs/internals/varray.cc:76:19: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   76 |     register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]);
      |                   ^~
src/libnurbs/internals/varray.cc:77:19: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   77 |     register long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]);
      |                   ^~
  CXX      src/libnurbs/nurbtess/partitionX.lo
  CXX      src/libnurbs/nurbtess/monoTriangulation.lo
  CXX      src/libnurbs/nurbtess/partitionY.lo
src/libnurbs/nurbtess/directedLine.cc: In function ‘directedLine* readAllPolygons(char*)’:
src/libnurbs/nurbtess/directedLine.cc:797:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  797 |   int result;
      |       ^~~~~~
  CXX      src/libnurbs/nurbtess/polyDBG.lo
  CXX      src/libnurbs/nurbtess/polyUtil.lo
  CXX      src/libnurbs/nurbtess/primitiveStream.lo
  CXX      src/libnurbs/nurbtess/quicksort.lo
  CXX      src/libnurbs/nurbtess/rectBlock.lo
  CXX      src/libnurbs/nurbtess/sampleComp.lo
  CXX      src/libnurbs/nurbtess/sampleCompBot.lo
  CXX      src/libnurbs/nurbtess/sampleCompRight.lo
  CXX      src/libnurbs/nurbtess/sampleCompTop.lo
  CXX      src/libnurbs/nurbtess/sampleMonoPoly.lo
  CXX      src/libnurbs/nurbtess/sampledLine.lo
  CXX      src/libnurbs/nurbtess/searchTree.lo
  CC       src/libutil/error.lo
  CC       src/libutil/glue.lo
  CC       src/libutil/mipmap.lo
src/libnurbs/nurbtess/sampleCompTop.cc: In function ‘void sampleCompTop(Real*, vertexArray*, Int, vertexArray*, Int, gridBoundaryChain*, gridBoundaryChain*, Int, Int, Int, Int, Int, primStream*)’:
src/libnurbs/nurbtess/sampleCompTop.cc:514:13: warning: variable ‘tempTop’ set but not used [-Wunused-but-set-variable]
  514 |       Real* tempTop;
      |             ^~~~~~~
src/libnurbs/nurbtess/sampleCompTop.cc:515:11: warning: variable ‘tempLeftStart’ set but not used [-Wunused-but-set-variable]
  515 |       Int tempLeftStart;
      |           ^~~~~~~~~~~~~
  CC       src/libutil/project.lo
  CC       src/libutil/quad.lo
  CC       src/libutil/registry.lo
src/libutil/project.c:235:30: warning: argument 4 of type ‘const GLdouble[16]’ {aka ‘const double[16]’} with mismatched bound [-Warray-parameter=]
  235 |               const GLdouble modelMatrix[16],
      |               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from src/libutil/project.c:34:
./include/GL/glu.h:325:97: note: previously declared as ‘const GLdouble *’ {aka ‘const double *’}
  325 | GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ);
      |                                                                                 ~~~~~~~~~~~~~~~~^~~~~
src/libutil/project.c:236:30: warning: argument 5 of type ‘const GLdouble[16]’ {aka ‘const double[16]’} with mismatched bound [-Warray-parameter=]
  236 |               const GLdouble projMatrix[16],
      |               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./include/GL/glu.h:325:120: note: previously declared as ‘const GLdouble *’ {aka ‘const double *’}
  325 | GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ);
      |                                                                                                        ~~~~~~~~~~~~~~~~^~~~
src/libutil/project.c:237:27: warning: argument 6 of type ‘const GLint[4]’ {aka ‘const int[4]’} with mismatched bound [-Warray-parameter=]
  237 |               const GLint viewport[4],
      |               ~~~~~~~~~~~~^~~~~~~~~~~
./include/GL/glu.h:325:139: note: previously declared as ‘const GLint *’ {aka ‘const int *’}
  325 | GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ);
      |                                                                                                                              ~~~~~~~~~~~~~^~~~
src/libutil/project.c:270:32: warning: argument 4 of type ‘const GLdouble[16]’ {aka ‘const double[16]’} with mismatched bound [-Warray-parameter=]
  270 |                 const GLdouble modelMatrix[16],
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
./include/GL/glu.h:342:99: note: previously declared as ‘const GLdouble *’ {aka ‘const double *’}
  342 | GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ);
      |                                                                                   ~~~~~~~~~~~~~~~~^~~~~
src/libutil/project.c:271:32: warning: argument 5 of type ‘const GLdouble[16]’ {aka ‘const double[16]’} with mismatched bound [-Warray-parameter=]
  271 |                 const GLdouble projMatrix[16],
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./include/GL/glu.h:342:122: note: previously declared as ‘const GLdouble *’ {aka ‘const double *’}
  342 | GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ);
      |                                                                                                          ~~~~~~~~~~~~~~~~^~~~
src/libutil/project.c:272:29: warning: argument 6 of type ‘const GLint[4]’ {aka ‘const int[4]’} with mismatched bound [-Warray-parameter=]
  272 |                 const GLint viewport[4],
      |                 ~~~~~~~~~~~~^~~~~~~~~~~
./include/GL/glu.h:342:141: note: previously declared as ‘const GLint *’ {aka ‘const int *’}
  342 | GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ);
      |                                                                                                                                ~~~~~~~~~~~~~^~~~
src/libutil/project.c:309:30: warning: argument 5 of type ‘const GLdouble[16]’ {aka ‘const double[16]’} with mismatched bound [-Warray-parameter=]
  309 |               const GLdouble modelMatrix[16],
      |               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
./include/GL/glu.h:343:116: note: previously declared as ‘const GLdouble *’ {aka ‘const double *’}
  343 | GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW);
      |                                                                                                    ~~~~~~~~~~~~~~~~^~~~~
src/libutil/project.c:310:30: warning: argument 6 of type ‘const GLdouble[16]’ {aka ‘const double[16]’} with mismatched bound [-Warray-parameter=]
  310 |               const GLdouble projMatrix[16],
      |               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./include/GL/glu.h:343:139: note: previously declared as ‘const GLdouble *’ {aka ‘const double *’}
  343 | GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW);
      |                                                                                                                           ~~~~~~~~~~~~~~~~^~~~
src/libutil/project.c:311:27: warning: argument 7 of type ‘const GLint[4]’ {aka ‘const int[4]’} with mismatched bound [-Warray-parameter=]
  311 |               const GLint viewport[4],
      |               ~~~~~~~~~~~~^~~~~~~~~~~
./include/GL/glu.h:343:158: note: previously declared as ‘const GLint *’ {aka ‘const int *’}
  343 | GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW);
      |                                                                                                                                                 ~~~~~~~~~~~~~^~~~
src/libutil/project.c:349:25: warning: argument 5 of type ‘GLint[4]’ {aka ‘int[4]’} with mismatched bound [-Warray-parameter=]
  349 |                   GLint viewport[4])
      |                   ~~~~~~^~~~~~~~~~~
./include/GL/glu.h:324:99: note: previously declared as ‘GLint *’ {aka ‘int *’}
  324 | GLAPI void GLAPIENTRY gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport);
      |                                                                                            ~~~~~~~^~~~~~~~
src/libutil/project.c: In function ‘gluPerspective’:
src/libutil/project.c:78:5: warning: ‘__gluMakeIdentityd’ accessing 128 bytes in a region of size 32 [-Wstringop-overflow=]
   78 |     __gluMakeIdentityd(&m[0][0]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libutil/project.c:78:5: note: referencing argument 1 of type ‘GLdouble[16]’ {aka ‘double[16]’}
src/libutil/project.c:40:13: note: in a call to function ‘__gluMakeIdentityd’
   40 | static void __gluMakeIdentityd(GLdouble m[16])
      |             ^~~~~~~~~~~~~~~~~~
src/libutil/project.c: In function ‘gluLookAt’:
src/libutil/project.c:132:5: warning: ‘__gluMakeIdentityf’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
  132 |     __gluMakeIdentityf(&m[0][0]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libutil/project.c:132:5: note: referencing argument 1 of type ‘GLfloat[16]’ {aka ‘float[16]’}
src/libutil/project.c:48:13: note: in a call to function ‘__gluMakeIdentityf’
   48 | static void __gluMakeIdentityf(GLfloat m[16])
      |             ^~~~~~~~~~~~~~~~~~
  CXXLD    libGLU.la
make[1]: Entering directory '/run/build/glu'
 /usr/bin/mkdir -p '/app/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libGLU.la '/app/lib'
libtool: install: /usr/bin/install -c .libs/libGLU.so.1.3.1 /app/lib/libGLU.so.1.3.1
libtool: install: (cd /app/lib && { ln -s -f libGLU.so.1.3.1 libGLU.so.1 || { rm -f libGLU.so.1 && ln -s libGLU.so.1.3.1 libGLU.so.1; }; })
libtool: install: (cd /app/lib && { ln -s -f libGLU.so.1.3.1 libGLU.so || { rm -f libGLU.so && ln -s libGLU.so.1.3.1 libGLU.so; }; })
libtool: install: /usr/bin/install -c .libs/libGLU.lai /app/lib/libGLU.la
libtool: finish: PATH="/app/bin:/usr/bin:/sbin" ldconfig -n /app/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /app/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/app/include/GL'
 /usr/bin/install -c -m 644 ./include/GL/glu.h '/app/include/GL'
 /usr/bin/mkdir -p '/app/lib/pkgconfig'
 /usr/bin/install -c -m 644 glu.pc '/app/lib/pkgconfig'
make[1]: Leaving directory '/run/build/glu'
compressing debuginfo in: /var/home/reesericci/Downloads/dvr/flatpak/.flatpak-builder/rofiles/rofiles-EKrA46/files/lib/libGLU.so.1.3.1
processing: /var/home/reesericci/Downloads/dvr/flatpak/.flatpak-builder/rofiles/rofiles-EKrA46/files/lib/libGLU.so.1.3.1
[29] .debug_aranges compressed -> .zdebug_aranges (5296 => 1344 25.38%)
[30] .debug_info compressed -> .zdebug_info (1044216 => 488218 46.75%)
[31] .debug_abbrev compressed -> .zdebug_abbrev (111466 => 23280 20.89%)
[32] .debug_line compressed -> .zdebug_line (324204 => 138312 42.66%)
[33] .debug_str compressed -> .zdebug_str (79441 => 22457 28.27%)
[34] .debug_line_str compressed -> .zdebug_line_str (4722 => 1250 26.47%)
[35] .debug_loclists compressed -> .zdebug_loclists (470351 => 188021 39.97%)
[36] .debug_rnglists compressed -> .zdebug_rnglists (47568 => 24427 51.35%)
[39] Updating section string table
stripping /var/home/reesericci/Downloads/dvr/flatpak/.flatpak-builder/rofiles/rofiles-EKrA46/files/lib/libGLU.so.1.3.1 to /var/home/reesericci/Downloads/dvr/flatpak/.flatpak-builder/rofiles/rofiles-EKrA46/files/lib/debug/lib/libGLU.so.1.3.1.debug
Committing stage build-glu to cache
========================================================================
Building module resolve in /var/home/reesericci/Downloads/dvr/flatpak/.flatpak-builder/build/resolve-1
========================================================================
Archive:  /var/home/reesericci/Downloads/dvr/flatpak/DaVinci_Resolve_18.1.4_Linux.zip
  inflating: DaVinci_Resolve_18.1.4_Linux.run  
  inflating: Linux_Installation_Instructions.pdf  
Running: ./DaVinci_Resolve_18.1.2_Linux.run --appimage-extract 2>&1
find squashfs-root -exec chmod a+r {} \;
find squashfs-root -type d -exec chmod a+x {} \;

# Create directories
mkdir -p /app/easyDCP /app/scripts /app/.license /app/share /app/Fairlight /app/share/applications /app/share/icons/hicolor/128x128/apps /app/share/icons/hicolor/256x256/apps
chmod 755 /app/easyDCP /app/scripts /app/.license /app/share /app/Fairlight /app/share/applications /app/share/icons/hicolor/128x128/apps /app/share/icons/hicolor/256x256/apps

# Copy objects
cp -rp squashfs-root/bin /app/
cp -rp squashfs-root/Control /app/
cp -rp squashfs-root/Certificates /app/
cp -rp squashfs-root/DaVinci\ Control\ Panels\ Setup /app/
cp -rp squashfs-root/Developer /app/
cp -rp squashfs-root/docs /app/
cp -rp squashfs-root/Fairlight\ Studio\ Utility /app/
cp -rp squashfs-root/Fusion /app/
cp -rp squashfs-root/graphics /app/
cp -rp squashfs-root/libs /app/
cp -rp squashfs-root/LUT /app/
cp -rp squashfs-root/Onboarding /app/
cp -rp squashfs-root/plugins /app/
cp -rp squashfs-root/Technical\ Documentation /app/
cp -rp squashfs-root/UI_Resource /app/
cp -rp squashfs-root/scripts/script.checkfirmware /app/scripts/
cp -rp squashfs-root/scripts/script.getlogs.v4 /app/scripts/
cp -rp squashfs-root/scripts/script.start /app/scripts/
cp -rp squashfs-root/share/default-config.dat /app/share/
cp -rp squashfs-root/share/default_cm_config.bin /app/share/
cp -rp squashfs-root/share/log-conf.xml /app/share/
if [[ -e squashfs-root/share/remote-monitoring-log-conf.xml ]]; then
    cp -rp squashfs-root/share/remote-monitoring-log-conf.xml /app/share/
fi

mkdir -p /app/var/BlackmagicDesign/DaVinci\ Resolve
chmod 755 /app/var/BlackmagicDesign/DaVinci\ Resolve

if [[ -e squashfs-root/BlackmagicRAWPlayer ]]; then
    echo "Adding BlackmagicRAWPlayer"

    cp -rp squashfs-root/BlackmagicRAWPlayer /app
    cp com.blackmagic.Resolve.RAWPlayer.desktop /app/share/applications/com.blackmagic.Resolve.RAWPlayer.desktop
    cp squashfs-root/graphics/blackmagicraw-player_256x256_apps.png /app/share/icons/hicolor/256x256/apps/com.blackmagic.Resolve.RAWPlayer.png
fi
if [[ -e squashfs-root/BlackmagicRAWSpeedTest ]]; then
    echo "Adding BlackmagicRAWSpeedTest"

    cp -rp squashfs-root/BlackmagicRAWSpeedTest /app
    cp com.blackmagic.Resolve.RAWSpeedTest.desktop /app/share/applications/com.blackmagic.Resolve.RAWSpeedTest.desktop
    cp squashfs-root/graphics/blackmagicraw-speedtest_256x256_apps.png /app/share/icons/hicolor/256x256/apps/com.blackmagic.Resolve.RAWSpeedTest.png
fi

# Create udev rules
#mkdir -p /app/lib/udev/rules.d
#chmod 755 /app/lib/udev/rules.d
#cat > /app/lib/udev/rules.d/75-davincipanel.rules <<EOF
#SUBSYSTEM=="usb", ATTRS{idVendor}=="1edb", MODE="0666"
#EOF
#cat > /app/lib/udev/rules.d/75-davincikb.rules <<EOF
#SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="\$attr{bInterfaceNumber}"
# Editor Keyboard
#SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0b", ENV{.LOCAL_ifNum}=="04", MODE="0666"
# Speed Editor Keyboard
#SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0e", ENV{.LOCAL_ifNum}=="02", MODE="0666"
#EOF
#cat > /app/lib/udev/rules.d/75-sdx.rules <<EOF
#SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"
#EOF

cp -rp com.blackmagic.Resolve.desktop /app/share/applications/com.blackmagic.Resolve.desktop
cp -rp squashfs-root/graphics/DV_Resolve.png /app/share/icons/hicolor/128x128/apps/com.blackmagic.Resolve.png

# if [[ -e "/app/DaVinci Resolve Panels Setup/DaVinci Resolve Panels Setup" ]]; then
#     cp com.blackmagic.Resolve.PanelSetup.desktop /app/share/applications/com.blackmagic.Resolve.PanelSetup.desktop
#     cp -rp squashfs-root/graphics/DV_Panels.png /app/share/icons/hicolor/128x128/apps/com.blackmagic.Resolve.PanelSetup.png
# fi
if [[ -e "/app/DaVinci Control Panels Setup/DaVinci Control Panels Setup" ]]; then
    cp com.blackmagic.Resolve.PanelSetup.desktop /app/share/applications/com.blackmagic.Resolve.PanelSetup.desktop
    cp -rp squashfs-root/graphics/DV_Panels.png /app/share/icons/hicolor/128x128/apps/com.blackmagic.Resolve.PanelSetup.png
fi
if [[ -e "/app/bin/DaVinci Remote Monitoring" ]]; then
    cp com.blackmagic.Resolve.RemoteMonitoring.desktop /app/share/applications/com.blackmagic.Resolve.RemoteMonitoring.desktop
    cp -rp squashfs-root/graphics/Remote_Monitoring.png /app/share/icons/hicolor/128x128/apps/com.blackmagic.Resolve.RemoteMonitoring.png
fi

/bin/sh: line 1: ./DaVinci_Resolve_18.1.2_Linux.run: No such file or directory
find: ‘squashfs-root’: No such file or directory
find: ‘squashfs-root’: No such file or directory
cp: cannot stat 'squashfs-root/bin': No such file or directory
cp: cannot stat 'squashfs-root/Control': No such file or directory
cp: cannot stat 'squashfs-root/Certificates': No such file or directory
cp: cannot stat 'squashfs-root/DaVinci Control Panels Setup': No such file or directory
cp: cannot stat 'squashfs-root/Developer': No such file or directory
cp: cannot stat 'squashfs-root/docs': No such file or directory
cp: cannot stat 'squashfs-root/Fairlight Studio Utility': No such file or directory
cp: cannot stat 'squashfs-root/Fusion': No such file or directory
cp: cannot stat 'squashfs-root/graphics': No such file or directory
cp: cannot stat 'squashfs-root/libs': No such file or directory
cp: cannot stat 'squashfs-root/LUT': No such file or directory
cp: cannot stat 'squashfs-root/Onboarding': No such file or directory
cp: cannot stat 'squashfs-root/plugins': No such file or directory
cp: cannot stat 'squashfs-root/Technical Documentation': No such file or directory
cp: cannot stat 'squashfs-root/UI_Resource': No such file or directory
cp: cannot stat 'squashfs-root/scripts/script.checkfirmware': No such file or directory
cp: cannot stat 'squashfs-root/scripts/script.getlogs.v4': No such file or directory
cp: cannot stat 'squashfs-root/scripts/script.start': No such file or directory
cp: cannot stat 'squashfs-root/share/default-config.dat': No such file or directory
cp: cannot stat 'squashfs-root/share/default_cm_config.bin': No such file or directory
cp: cannot stat 'squashfs-root/share/log-conf.xml': No such file or directory
cp: cannot stat 'squashfs-root/graphics/DV_Resolve.png': No such file or directory
Committing stage build-resolve to cache
Cleaning up
Removing files/lib/pkgconfig/glu.pc
Removing files/lib/pkgconfig
Removing files/lib/libGLU.la
Removing files/include/GL/glu.h
Removing files/include/GL
Removing files/include
Committing stage cleanup to cache
Finishing app
Error: Command '/app/bin/resolve' not found
pobthebuilder commented 1 year ago

Issue is actually here: /bin/sh: line 1: ./DaVinci_Resolve_18.1.2_Linux.run: No such file or directory

Looking at the archive extraction. looks like you're trying to update the script to Resolve 18.1.4:

Archive:  /var/home/reesericci/Downloads/dvr/flatpak/DaVinci_Resolve_18.1.4_Linux.zip
  inflating: DaVinci_Resolve_18.1.4_Linux.run  

So you'd need to also update the appimage extract command. I'll take a look at updating when I action some other feedback, soon.

pobthebuilder commented 1 year ago

The latest commit 1f38d07 handles this better, and automatically downloads the latest version of resolve with some tweakable options. Give it a spin.