octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63817] Build unsuccessful for geometry packag


From: anonymous
Subject: [Octave-bug-tracker] [bug #63817] Build unsuccessful for geometry package - Octave 7.3.0 windows 11 - 64 bit
Date: Sat, 18 Feb 2023 16:39:50 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63817>

                 Summary: Build unsuccessful for geometry package - Octave
7.3.0 windows 11 - 64 bit
                 Project: GNU Octave
               Submitter: None
               Submitted: Sat 18 Feb 2023 09:39:48 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Gadi Lahav
        Originator Email: gadi.lhv@gmail.com
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 18 Feb 2023 09:39:48 PM UTC By: Anonymous
Hello

I am unable to install the geometry package on Octave 7.3.0

While running the install script, I am receiving the following:


clipper.cpp: In function 'void ClipperLib::InitEdge(ClipperLib::TEdge*,
ClipperLib::TEdge*, ClipperLib::TEdge*, const ClipperLib::IntPoint&)':
clipper.cpp:750:14: warning: 'void* memset(void*, int, size_t)' clearing an
object of non-trivial type 'struct ClipperLib::TEdge'; use assignment o
r value-initialization instead [-Wclass-memaccess]
  750 |   std::memset(e, 0, sizeof(TEdge));
      |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
clipper.cpp:95:8: note: 'struct ClipperLib::TEdge' declared here
   95 | struct TEdge {
      |        ^~~~~
In file included from c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\set:60,
                 from martinez.h:19,
                 from martinez.cpp:9:
c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\bits\stl_tree.h:
In instantiation of 'static const _
Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Const_Link_type) [
with _Key = Martinez::SweepEvent*; _Val = Martinez::SweepEvent*; _KeyOfValue =
std::_Identity<Martinez::SweepEvent*>; _Compare = Martinez::SegmentC
omp; _Alloc = std::allocator<Martinez::SweepEvent*>; std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tr
ee_node<Martinez::SweepEvent*>*]':
c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\bits\stl_tree.h:2069:47:
  required from 'std::pair<
std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_ty
pe&) [with _Key = Martinez::SweepEvent*; _Val = Martinez::SweepEvent*;
_KeyOfValue = std::_Identity<Martinez::SweepEvent*>; _Compare = Martinez::Se
gmentComp; _Alloc = std::allocator<Martinez::SweepEvent*>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::key_type = Martinez::SweepEven
t*]'
c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\bits\stl_tree.h:2122:4:
  required from 'std::pair<s
td::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue,
_Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = Martinez::SweepE
vent* const&; _Key = Martinez::SweepEvent*; _Val = Martinez::SweepEvent*;
_KeyOfValue = std::_Identity<Martinez::SweepEvent*>; _Compare = Martinez:
:SegmentComp; _Alloc = std::allocator<Martinez::SweepEvent*>]'
c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\bits\stl_set.h:512:25:
  required from 'std::pair<ty
pename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename
__gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterato
r, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with
_Key = Martinez::SweepEvent*; _Compare = Martinez::SegmentComp; _Alloc =
 std::allocator<Martinez::SweepEvent*>; typename std::_Rb_tree<_Key, _Key,
std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc
ator>::rebind<_Key>::other>::const_iterator =
std::_Rb_tree<Martinez::SweepEvent*, Martinez::SweepEvent*,
std::_Identity<Martinez::SweepEvent*>, Ma
rtinez::SegmentComp, std::allocator<Martinez::SweepEvent*> >::const_iterator;
typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other =
 std::allocator<Martinez::SweepEvent*>; typename
__gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key> =
__gnu_cxx::__alloc_traits<std::allocator<Mar
tinez::SweepEvent*>, Martinez::SweepEvent*>::rebind<Martinez::SweepEvent*>;
typename _Allocator::value_type = Martinez::SweepEvent*; std::set<_Key,
 _Compare, _Alloc>::value_type = Martinez::SweepEvent*]'
martinez.cpp:137:27:   required from here
c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\bits\stl_tree.h:770:15:
error: static assertion fail
ed: comparison object must be invocable as const
  770 |               is_invocable_v<const _Compare&, const _Key&, const
_Key&>,
      |              
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\program files\gnu
octave\octave-7.3.0\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\include\c++\bits\stl_tree.h:770:15:
note: 'std::is_invocable_v<c
onst Martinez::SegmentComp&, Martinez::SweepEvent* const&,
Martinez::SweepEvent* const&>' evaluates to false
make: *** [Makefile:15: martinez.o] Error 1
make: Entering directory
'/c/Users/Gadi_Lahav/AppData/Local/Temp/oct-DKQYED/geometry-4.0.0/src'
C:/PROGRA~1/GNUOCT~1/OCTAVE~1.0/mingw64/bin/mkoctfile-7.3.0.exe -Wall -mex -g
clipper.cpp mexclipper.cpp
C:/PROGRA~1/GNUOCT~1/OCTAVE~1.0/mingw64/bin/mkoctfile-7.3.0.exe -c
connector.cpp -o connector.o
C:/PROGRA~1/GNUOCT~1/OCTAVE~1.0/mingw64/bin/mkoctfile-7.3.0.exe -c
martinez.cpp -o martinez.o
make: Leaving directory
'/c/Users/Gadi_Lahav/AppData/Local/Temp/oct-DKQYED/geometry-4.0.0/src'

error: pkg: error running 'make' for the geometry package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 612 column 9








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63817>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]