Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gg infer errors: unknown option: -plugin #68

Open
RonaldGalea opened this issue May 13, 2023 · 1 comment
Open

gg infer errors: unknown option: -plugin #68

RonaldGalea opened this issue May 13, 2023 · 1 comment

Comments

@RonaldGalea
Copy link

I am trying to compile Inkscape and OpenCV but am running into errors with gg infer. In both cases the error seems to be the same:

For OpenCV

[ 33%] Linking CXX shared library ../../lib/libopencv_core.so
terminate called after throwing an instance of 'std::runtime_error'
  what():  unknown option: -plugin
/app/gg/src/models/wrappers/ld: line 2: 275384 Aborted                 (core dumped) model-ld "$@"
collect2: error: ld returned 134 exit status
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:1690: lib/libopencv_core.so.4.7.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:2146: modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

and Inkscape:

[ 24%] Linking CXX shared library ../../../../../lib/lib2geom.so
terminate called after throwing an instance of 'std::runtime_error'
  what():  unknown option: -plugin
/app/gg/src/models/wrappers/ld: line 2: 293765 Aborted                 (core dumped) model-ld "$@"
collect2: error: ld returned 134 exit status
make[2]: *** [src/3rdparty/2geom/src/2geom/CMakeFiles/2geom.dir/build.make:805: lib/lib2geom.so.1.2.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:3237: src/3rdparty/2geom/src/2geom/CMakeFiles/2geom.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:163: all] Error 2

I am running gg infer make -j$(nproc).

Relevant system details:

  • Ubuntu 20.04.6 LTS
  • gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
  • g++ (Ubuntu 7.5.0-6ubuntu2) 7.5.0
  • Inkscape version 1.2.2, OpenCV version 4.7.0

I could provide complete details to reproduce in a containerized environment, if necessary. Thank you!

@bernhardmgruber
Copy link

I have exactly the same problem compiling LLVM on Ubuntu 23.10 with g++-13 (I patched gg to use g++-13).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants