[MacPorts] #70700: sympol fails to build: error: too few arguments to function 'long int checkindex_gmp(lrs_dic*, lrs_dat*, long int, long int)'

MacPorts noreply at macports.org
Mon Sep 9 13:38:26 UTC 2024


#70700: sympol fails to build: error: too few arguments to function 'long int
checkindex_gmp(lrs_dic*, lrs_dat*, long int, long int)'
--------------------------+----------------------------
 Reporter:  barracuda156  |      Owner:  catap
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  sympol, lrslib
--------------------------+----------------------------
 {{{
 [ 52%] Building CXX object
 sympol/CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/build/sympol
 && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DBLISS_USE_GMP -DGMP
 -DGMPRATIONAL -DLRS_QUIET -DMA -Dsympol_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/build
 -I/opt/local/include -I/opt/local/include/eigen3
 -I/opt/local/libexec/boost/1.76/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/build/sympol
 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG
 -I/opt/local/libexec/boost/1.76/include -I/opt/local/include
 -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -arch ppc -mmacosx-version-min=10.6
 -fPIC   -Wall -Woverloaded-virtual -MD -MT
 sympol/CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o -MF
 CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o.d -o
 CMakeFiles/sympol.dir/symmetrycomputationadm.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/symmetrycomputationadm.cpp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:28:11:
 warning: "MA" redefined
    28 |   #define MA
       |           ^~
 <command-line>: note: this is the location of the previous definition
 In file included from
 /opt/local/libexec/boost/1.76/include/boost/functional/hash/hash.hpp:6,
                  from
 /opt/local/libexec/boost/1.76/include/boost/dynamic_bitset/dynamic_bitset.hpp:53,
                  from
 /opt/local/libexec/boost/1.76/include/boost/dynamic_bitset.hpp:15,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/common.h:26,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/configuration.h:27,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:23:
 /opt/local/libexec/boost/1.76/include/boost/container_hash/hash.hpp:131:33:
 warning: 'template<class _Arg, class _Result> struct std::unary_function'
 is deprecated [-Wdeprecated-declarations]
   131 |         struct hash_base : std::unary_function<T, std::size_t> {};
       |                                 ^~~~~~~~~~~~~~
 In file included from /opt/local/include/gcc14/c++/string:49,
                  from
 /opt/local/libexec/boost/1.76/include/boost/dynamic_bitset/dynamic_bitset.hpp:23:
 /opt/local/include/gcc14/c++/bits/stl_function.h:117:12: note: declared
 here
   117 |     struct unary_function
       |            ^~~~~~~~~~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:
 In member function 'virtual bool
 sympol::RayComputationLRS::determineRedundancies(sympol::Polyhedron&,
 std::list<sympol::FaceWithData>&) const':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:247:36:
 error: too few arguments to function 'long int checkindex_gmp(lrs_dic*,
 lrs_dat*, long int, long int)'
   247 |         redineq[ineq] = checkindex (P, Q, index);
       |                                    ^
 In file included from /opt/local/include/lrslib/lrslib.h:170,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:30:
 /opt/local/include/lrslib/lrslib.h:478:6: note: declared here
   478 | long checkindex (lrs_dic * P, lrs_dat * Q, long index, long
 phase); /* index=0 non-red.,1 red., 2 input linearity NOTE: row is
 returned all zero if redundant!!  */
       |      ^~~~~~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:
 In member function 'virtual bool
 sympol::RayComputationLRS::getLinearities(const sympol::Polyhedron&,
 std::list<boost::shared_ptr<sympol::QArray> >&) const':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_sympol/sympol/work/SymPol-0.1.9/sympol/raycomputationlrs.cpp:312:36:
 warning: comparison of integer expressions of different signedness:
 'unsigned int' and 'long int' [-Wsign-compare]
   312 |         for (unsigned int i = 0; i < Q->nredundcol; ++i) {
       |                                  ~~^~~~~~~~~~~~~~~
 make[2]: *** [sympol/CMakeFiles/sympol.dir/raycomputationlrs.cpp.o] Error
 1
 make[2]: *** Waiting for unfinished jobs....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70700>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list