Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] KiCAD: More trouble...
Date: Mon, 11 May 2020 04:58:22
Message-Id: 20200511045809.akryqjgvtygnuuwk@solfire
Hi,

I got around the Python problems...but got new compilation hazards...:


....
cd /var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4_build/common && /usr/bin/x86_64-pc-linux-gnu-g++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES -DKICAD_SCRIPTING_PYTHON3 -DKICAD_SCRIPTING_WXPYTHON -DKICAD_SCRIPTING_WXPYTHON_PHOENIX -DKICAD_SPICE -DKICAD_USE_OCE -DUSE_WX_OVERLAY -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/include -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/. -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/./dialogs -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/./widgets -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/./dialog_about -I/usr/include/cairo -I/usr/include/pixman-1 -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/../3d-viewer -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/../pcbnew -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4_build -I/usr/include/python3.7m -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/scripting -I/usr/lib64/oce-0.18/../../include/oce -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/bitmaps_png/include -I/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/polygon/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.0-gtk3 -isystem /usr/include/wx-3.0-gtk3   -DNDEBUG -DNDEBUG -Wall -O2 -pipe -march=native -Wsuggest-override -Werror=vla -pthread -Wshadow -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -std=gnu++11 -o CMakeFiles/common.dir/prependpath.cpp.o -c /var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/prependpath.cpp
/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/lib_tree_model.cpp: In member function ‘void LIB_TREE_NODE::AssignIntrinsicRanks(bool)’:
/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/lib_tree_model.cpp:78:14: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?
   78 |         std::sort( sort_buf.begin(), sort_buf.end(),
      |              ^~~~
      |              sqrt
/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/lib_tree_model.cpp: In member function ‘void LIB_TREE_NODE::SortNodes()’:
/var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4/common/lib_tree_model.cpp:90:10: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?
   90 |     std::sort( Children.begin(), Children.end(),
      |          ^~~~
      |          sqrt
[ 43%] Building CXX object common/CMakeFiles/common.dir/printout.cpp.o
cd /var/tmp/portage/sci-electronics/kicad-5.1.4/work/kicad-5.1.4_build/common && /usr/bin/x86_64-pc-linux-gnu-g++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTIN
...

Since the compilation process had run for a while, the logfiles are
longish. If wanted I will post them here...but if someone else already
won this battle and knows how to fix it I don't want to pollute the
gentoo mailinglist with logfiles...


Is there a fix known for this?

Cheers!
Meino

Replies

Subject Author
Re: [gentoo-user] KiCAD: More trouble... Dale <rdalek1967@×××××.com>
Re: [gentoo-user] KiCAD: More trouble... tastytea <tastytea+gentoo@××××××××.de>