bugGNU Octave - Bugs: bug #63817, [octave forge] (geometry) Build...


bug #63817: [octave forge] (geometry) Build unsuccessful - Octave 7.3.0 windows 11 - 64 bit

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:  Duplicate Assigned to:  None
Originator Name:  Gadi Lahav Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 7.3.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sun 19 Feb 2023 03:47:32 PM UTC, comment #2: 

And this is a duplicate of bug #60884 anyway.

@OP: thanks for reporting, but please first search bug reports before submitting. Just scroll up the bug tracker page (the top lines are otherwise usually "hidden"), pull down "bugs", click search there. just enter search keyword "geometry" and you'll find the previous bug report soon enough.

Closing as duplicate.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 18 Feb 2023 10:18:08 PM UTC, comment #1: 

You should have geometry package installed with the octave package. You just need to load it ("pkg load geometry").


Dmitri A. Sergatskov <dasergatskov>
Sat 18 Feb 2023 09:39:48 PM UTC, original submission:  


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
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
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



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-02-19 mmuetzel SummaryBuild unsuccessful for geometry package - Octave 7.3.0 windows 11 - 64 bit [octave forge] (geometry) Build unsuccessful - Octave 7.3.0 windows 11 - 64 bit
        Dependencies- Depends on bugs #60884
    2023-02-19 philipnienhuis StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code