acxz / pkgbuilds

PKGBUILDs for Arch Linux
25 stars 43 forks source link

[openvsp] Building libraries fails #244

Open Riley-the-dog opened 1 year ago

Riley-the-dog commented 1 year ago

Logs from yay -S openvsp (after updating the rest of my system) openvsp.log

Hello, I'm attempting to build OpenVSP, but I'm getting some interesting errors, I can't seem to find where exactly it's going wrong. The end of the log only states that "Manual intervention is required," however I'm not running with --noconfirm and it never prompts anything. I've also tried using system libraries when building them fails here, however it eventually gets to another one that fails.

petronny commented 1 year ago

Seems to be same to the error in https://github.com/arch4edu/cactus/actions/runs/5273929988/jobs/9537891124

[ 32%] Building CXX object src/clstepcore/CMakeFiles/stepcore-static.dir/STEPattributeList.cc.o
In file included from /build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/clstepcore/sdai.h:210,
                 from /build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/clstepcore/STEPattribute.h:21,
                 from /build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/clstepcore/STEPattributeList.cc:14:
/build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/cldai/sdaiEntity_extent.h: In member function ‘SDAI_DAObject__set* SDAI_Entity_extent::instances_() const’:
/build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/cldai/sdaiEntity_extent.h:59:20: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
   59 |             return ( const SDAI_DAObject__set_var )&_instances;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/clstepcore/sdai.h:212:
/build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/cldai/sdaiModel_contents.h: In member function ‘SDAI_DAObject__set* SDAI_Model_contents_instances::contents_() const’:
/build/openvsp/src/buildlibs/STEPCODE-prefix/src/STEPCODE/src/cldai/sdaiModel_contents.h:43:20: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
   43 |             return ( const SDAI_DAObject__set_var ) &_instances;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/openvsp/src/buildlibs/EXPRPARSE-prefix/src/EXPRPARSE/src/exprparse/exprparse.cpp:62:9: error: ‘uint16_t’ does not name a type
   62 |         uint16_t precedance;
      |         ^~~~~~~~
/build/openvsp/src/buildlibs/EXPRPARSE-prefix/src/EXPRPARSE/src/exprparse/exprparse.cpp:34:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   33 | #include <regex>
  +++ |+#include <cstdint>
   34 | #include <sstream>
vasylyamnych commented 2 months ago

similar for me

[ 97%] Completed 'STEPCODE'
[ 97%] Built target STEPCODE
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openvsp-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
openvsp - exit status 4