=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/gearsystem", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gearsystem-3.4.1nb9 g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o main.o ../desktop-shared/main.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o emu.o ../desktop-shared/emu.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o gui.o ../desktop-shared/gui.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o gui_debug.o ../desktop-shared/gui_debug.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o application.o ../desktop-shared/application.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o config.o ../desktop-shared/config.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o renderer.o ../desktop-shared/renderer.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_impl_sdl.o ../desktop-shared/imgui/imgui_impl_sdl.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_impl_opengl2.o ../desktop-shared/imgui/imgui_impl_opengl2.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui.o ../desktop-shared/imgui/imgui.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_demo.o ../desktop-shared/imgui/imgui_demo.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_draw.o ../desktop-shared/imgui/imgui_draw.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o imgui_widgets.o ../desktop-shared/imgui/imgui_widgets.cpp g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG -std=gnu++11 `sdl2-config --cflags` `pkg-config --cflags glew` -c -o ImGuiFileBrowser.o ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp: In member function 'bool imgui_addons::ImGuiFileBrowser::renderFileListRegion()': ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:333:37: error: no matching function for call to 'max(float, double)' 333 | int num_cols = (int)std::max(1.0f, std::ceil(static_cast(filtered_dirs.size() + filtered_files.size()) / col_items_limit)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/string:51, from ../desktop-shared/FileBrowser/ImGuiFileBrowser.h:4, from ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:1: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:257:5: note: candidate: 'template const _Tp& std::max(const _Tp&, const _Tp&)' 257 | max(const _Tp& __a, const _Tp& __b) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:257:5: note: template argument deduction/substitution failed: ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:333:37: note: deduced conflicting types for parameter 'const _Tp' ('float' and 'double') 333 | int num_cols = (int)std::max(1.0f, std::ceil(static_cast(filtered_dirs.size() + filtered_files.size()) / col_items_limit)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:303:5: note: candidate: 'template const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' 303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:303:5: note: candidate expects 3 arguments, 2 provided In file included from /opt/tools/gcc14/include/c++/14.3.0/algorithm:61, from ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:14: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5706:5: note: candidate: 'template _Tp std::max(initializer_list<_Tp>)' 5706 | max(initializer_list<_Tp> __l) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5706:5: note: candidate expects 1 argument, 2 provided /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5716:5: note: candidate: 'template _Tp std::max(initializer_list<_Tp>, _Compare)' 5716 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5716:5: note: template argument deduction/substitution failed: ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:333:37: note: mismatched types 'std::initializer_list<_Tp>' and 'float' 333 | int num_cols = (int)std::max(1.0f, std::ceil(static_cast(filtered_dirs.size() + filtered_files.size()) / col_items_limit)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:340:37: error: no matching function for call to 'max(float, double)' 340 | num_cols = (int)std::max(1.0f, std::ceil(static_cast(filtered_dirs.size() + filtered_files.size()) / col_items_limit)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:257:5: note: candidate: 'template const _Tp& std::max(const _Tp&, const _Tp&)' 257 | max(const _Tp& __a, const _Tp& __b) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:257:5: note: template argument deduction/substitution failed: ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:340:37: note: deduced conflicting types for parameter 'const _Tp' ('float' and 'double') 340 | num_cols = (int)std::max(1.0f, std::ceil(static_cast(filtered_dirs.size() + filtered_files.size()) / col_items_limit)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:303:5: note: candidate: 'template const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' 303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:303:5: note: candidate expects 3 arguments, 2 provided /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5706:5: note: candidate: 'template _Tp std::max(initializer_list<_Tp>)' 5706 | max(initializer_list<_Tp> __l) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5706:5: note: candidate expects 1 argument, 2 provided /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5716:5: note: candidate: 'template _Tp std::max(initializer_list<_Tp>, _Compare)' 5716 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5716:5: note: template argument deduction/substitution failed: ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:340:37: note: mismatched types 'std::initializer_list<_Tp>' and 'float' 340 | num_cols = (int)std::max(1.0f, std::ceil(static_cast(filtered_dirs.size() + filtered_files.size()) / col_items_limit)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp: In member function 'bool imgui_addons::ImGuiFileBrowser::readDIR(std::string)': ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:830:25: error: 'struct dirent' has no member named 'd_type' 830 | if(ent->d_type == DT_DIR) | ^~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:830:35: error: 'DT_DIR' was not declared in this scope 830 | if(ent->d_type == DT_DIR) | ^~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:832:30: error: 'struct dirent' has no member named 'd_type' 832 | else if(ent->d_type == DT_REG && dialog_mode != DialogMode::SELECT) | ^~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:832:40: error: 'DT_REG' was not declared in this scope 832 | else if(ent->d_type == DT_REG && dialog_mode != DialogMode::SELECT) | ^~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:836:30: error: 'struct dirent' has no member named 'd_type' 836 | else if(ent->d_type == DT_LNK) | ^~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:836:40: error: 'DT_LNK' was not declared in this scope 836 | else if(ent->d_type == DT_LNK) | ^~~~~~ gmake: *** [../desktop-shared/Makefile.common:84: ImGuiFileBrowser.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/gearsystem *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/gearsystem