mrv2: Linux build fails

When trying to do a clean build (./runme.sh clean) building fails.

[160/312] Performing download step (git clone) for 'Freetype'
Cloning into 'Freetype'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 7754 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Cloning into 'Freetype'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 8081 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Cloning into 'Freetype'...
-- Had to git clone more than once: 3 times.

or dozens of

./fltk14/fltk_wrap.cpp:176860:13: error: invalid use of incomplete type ‘class Fl_PostScript_Graphics_Driver’

All dependencies are installed and updated.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 33 (18 by maintainers)

Most upvoted comments

Thanks for your patience

No… Thanks to YOUR patience!

Ok. After asking chatgpt and poking around, it seems the problem we are facing is a new “feature” of gcc/g++ 12. I can try one more thing.

Attach these files:

BUILD-Linux-amd64/Release/pyFLTK-prefix/src/pyFLTK/fltk14/fltk_wrap.cpp
BUILD-Linux-amd64/Release/pyFLTK-prefix/src/pyFLTK/fltk14/fltk_wrap.h
BUILD-Linux-amd64/Release/pyFLTK-prefix/src/pyFLTK/swig/fltk.i

I’ll try to compile them with my older compiler and see if they compile without errors.

Oh da**! I know what happened. I forgot to merge my “beta” branch into the “main” branch. Try:

git pull
./runme.sh   

and I swear it will work this time around!