Compiling issues - randr

Hej Jaagr.
I updated my distribution from xubuntu 16.10 (linuxium) to Ubuntu 17.04 (linuxium). Everything works good except compiling polybar. Feels like i've tried everything and that is related to xrandr, i've installed all dependencies of course, but something is wrong. I tried both the compiling instructions on 'main page', wiki and build.sh , same errors. also tried with clang with same results.
polybar is great. look at this log:
┌ bud@levano [~/reps/polybar]
└─ sudo ./build.sh
** Fetching submodules
** Setting build options
** Include support for "internal/i3" (requires i3) ------------------- [Y/n]: y
** Include support for "internal/volume" (requires alsalib) ---------- [Y/n]: y
** Include support for "internal/network" (requires wireless_tools) -- [Y/n]: y
** Include support for "internal/mpd" (requires libmpdclient) -------- [Y/n]: y
** Include support for "internal/github" (requires libcurl) ---------- [Y/n]: y
** Build "polybar-msg" used to send ipc messages --------------------- [Y/n]: y
** Using compiler: clang++/clang
** Executing cmake command
-- The C compiler identification is Clang 3.9.1
-- The CXX compiler identification is Clang 3.9.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type specified; using RelWithDebInfo
-- Using supported compiler Clang-3.9.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Checking for module 'cairo-fc'
--   Found cairo-fc, version 1.14.8
-- Checking for module 'alsa'
--   Found alsa, version 1.1.3
-- Checking for module 'libcurl'
--   Found libcurl, version 7.51.0
-- Checking for module 'libmpdclient'
--   Found libmpdclient, version 2.9
-- Found Libiw: /usr/lib/x86_64-linux-gnu/libiw.so
-- Checking for module 'xcb-xkb'
--   Found xcb-xkb, version 1.11.1
-- Checking for module 'xcb-randr'
--   Found xcb-randr, version 1.11.1
--  Build:
--    Type: RelWithDebInfo
--    CC: /usr/bin/clang  -O2 -g -DNDEBUG
--    CXX: /usr/bin/clang++  -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors -O2 -g -DNDEBUG
--    LD: /usr/bin/ld
--  Targets:
--    polybar-msg
--    testsuite
--  Module supprt:
--    alsa
--    curl
--    i3
--    mpd
--    network
--  X extensions:
--    xcb-randr
--    xcb-randr (monitor support)
--    xcb-render
--    xcb-damage
--    xcb-sync
--    xcb-composite
--    xcb-xkb
--    xcb-xrm
-- Font not found: fixed:pixelsize=10
-- Font not found: unifont:fontformat=truetype
-- Font not found: siji:pixelsize=10
-- Checking for module 'xcb-proto'
--   Found xcb-proto, version 1.12
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7")
-- XCB[XCB]: Found component XCB
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so
-- XCB[ICCCM]: Found component ICCCM
-- Found XCB_ICCCM: /usr/lib/x86_64-linux-gnu/libxcb-icccm.so
-- XCB[EWMH]: Found component EWMH
-- Found XCB_EWMH: /usr/lib/x86_64-linux-gnu/libxcb-ewmh.so
-- XCB[UTIL]: Found component UTIL
-- Found XCB_UTIL: /usr/lib/x86_64-linux-gnu/libxcb-util.so
-- XCB[IMAGE]: Found component IMAGE
-- Found XCB_IMAGE: /usr/lib/x86_64-linux-gnu/libxcb-image.so
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so
-- Searching for xcbgen with python2
-- Found xcbgen in /usr/lib/python2.7/dist-packages
-- XCB[RANDR]: Found component RANDR
-- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so
-- XCB[XKB]: Found component XKB
-- Found XCB_XKB: /usr/lib/x86_64-linux-gnu/libxcb-xkb.so
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so;/usr/lib/x86_64-linux-gnu/libxcb-xkb.so
-- xpp: including xcb proto randr.xml
-- xpp: including xcb proto xkb.xml
-- xpp: including xcb proto xproto.xml
-- Checking for module 'jsoncpp>=1.7.7'
--   Found jsoncpp, version 1.8.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bud/reps/polybar/build
** Building project
Scanning dependencies of target xpp
[  1%] Linking CXX static library libxpp.a
list: size, ['red', 'green', 'blue']
list: size, ['red', 'green', 'blue']
[  1%] Built target xpp
Scanning dependencies of target i3ipc++
[  2%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc.cpp.o
[  3%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc-util.cpp.o
[  4%] Linking CXX static library libi3ipc++.a
[  4%] Built target i3ipc++
Scanning dependencies of target polybar
[  5%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/alsa/control.cpp.o
[  7%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/alsa/mixer.cpp.o
[  8%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/mpd.cpp.o
[  9%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/net.cpp.o
[ 10%] Building CXX object bin/CMakeFiles/polybar.dir/cairo/utils.cpp.o
[ 11%] Building CXX object bin/CMakeFiles/polybar.dir/components/bar.cpp.o
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:42: error: use
of undeclared identifier 'xcb_randr_get_monitors_reply'; did you mean
'xcb_randr_get_providers_reply'?
SIGNATURE(xcb_randr_get_monitors_reply),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_providers_reply
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:36: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:3390:1: note: 'xcb_randr_get_providers_reply' declared
here
xcb_randr_get_providers_reply (xcb_connection_t                  *c  /< */,
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:42: error: use
of undeclared identifier 'xcb_randr_get_monitors_reply'; did you mean
'xcb_randr_get_providers_reply'?
SIGNATURE(xcb_randr_get_monitors_reply),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_providers_reply
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:43: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:3390:1: note: 'xcb_randr_get_providers_reply' declared
here
xcb_randr_get_providers_reply (xcb_connection_t                  *c  /< */,
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:43: error: use
of undeclared identifier 'xcb_randr_get_monitors_reply'; did you mean
'xcb_randr_get_providers_reply'?
SIGNATURE(xcb_randr_get_monitors_reply),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_providers_reply
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:36: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:3390:1: note: 'xcb_randr_get_providers_reply' declared
here
xcb_randr_get_providers_reply (xcb_connection_t                  *c  /< */,
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:43: error: use
of undeclared identifier 'xcb_randr_get_monitors_reply'; did you mean
'xcb_randr_get_providers_reply'?
SIGNATURE(xcb_randr_get_monitors_reply),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_providers_reply
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:43: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:3390:1: note: 'xcb_randr_get_providers_reply' declared
here
xcb_randr_get_providers_reply (xcb_connection_t                  *c  /< */,
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3044:24: error: use
of undeclared identifier 'xcb_randr_get_monitors_reply_t'; did you mean
'xcb_randr_get_providers_reply'?
xcb_randr_get_monitors_reply_t,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_providers_reply
/usr/include/xcb/randr.h:3390:1: note: 'xcb_randr_get_providers_reply' declared
here
xcb_randr_get_providers_reply (xcb_connection_t                  *c  /< */,
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3046:47: error: use
of undeclared identifier 'xcb_randr_monitor_info_t'; did you mean
'xcb_randr_mode_info_end'?
xcb_randr_monitor_info_t,
^~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_mode_info_end
/usr/include/xcb/randr.h:2022:1: note: 'xcb_randr_mode_info_end' declared here
xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:57: error: use
of undeclared identifier 'xcb_randr_monitor_info_next'; did you mean
'xcb_randr_mode_info_next'?
...SIGNATURE(xcb_randr_monitor_info_next),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_mode_info_next
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:36: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2010:1: note: 'xcb_randr_mode_info_next' declared here
xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:57: error: use
of undeclared identifier 'xcb_randr_monitor_info_next'; did you mean
'xcb_randr_mode_info_next'?
...SIGNATURE(xcb_randr_monitor_info_next),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_mode_info_next
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:43: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2010:1: note: 'xcb_randr_mode_info_next' declared here
xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:57: error: use
of undeclared identifier 'xcb_randr_monitor_info_sizeof'; did you mean
'xcb_randr_get_crtc_info_sizeof'?
...SIGNATURE(xcb_randr_monitor_info_sizeof),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_crtc_info_sizeof
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:36: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2638:1: note: 'xcb_randr_get_crtc_info_sizeof' declared
here
xcb_randr_get_crtc_info_sizeof (const void  *_buffer  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:57: error: use
of undeclared identifier 'xcb_randr_monitor_info_sizeof'; did you mean
'xcb_randr_get_crtc_info_sizeof'?
...SIGNATURE(xcb_randr_monitor_info_sizeof),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_crtc_info_sizeof
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:43: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2638:1: note: 'xcb_randr_get_crtc_info_sizeof' declared
here
xcb_randr_get_crtc_info_sizeof (const void  *_buffer  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:57: error: use
of undeclared identifier 'xcb_randr_get_monitors_monitors_iterator'
SIGNATURE(xcb_randr_get_mo...
^
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:98: error:
expected a type
...SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
^
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3050:23: error:
expected a type
>
^
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3054:33: error: use
of undeclared identifier 'xcb_randr_get_monitors_reply_t'; did you mean
'xcb_randr_get_providers_reply'?
xcb_randr_get_monitors_reply_t,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_providers_reply
/usr/include/xcb/randr.h:3390:1: note: 'xcb_randr_get_providers_reply' declared
here
xcb_randr_get_providers_reply (xcb_connection_t                  *c  /< */,
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3056:56: error: use
of undeclared identifier 'xcb_randr_monitor_info_t'; did you mean
'xcb_randr_mode_info_end'?
xcb_randr_monitor_info_t,
^~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_mode_info_end
/usr/include/xcb/randr.h:2022:1: note: 'xcb_randr_mode_info_end' declared here
xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:66: error: use
of undeclared identifier 'xcb_randr_monitor_info_next'; did you mean
'xcb_randr_mode_info_next'?
...SIGNATURE(xcb_randr_monitor_info_next),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_mode_info_next
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:36: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2010:1: note: 'xcb_randr_mode_info_next' declared here
xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:66: error: use
of undeclared identifier 'xcb_randr_monitor_info_next'; did you mean
'xcb_randr_mode_info_next'?
...SIGNATURE(xcb_randr_monitor_info_next),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_mode_info_next
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:43: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2010:1: note: 'xcb_randr_mode_info_next' declared here
xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:66: error: use
of undeclared identifier 'xcb_randr_monitor_info_sizeof'; did you mean
'xcb_randr_get_crtc_info_sizeof'?
...SIGNATURE(xcb_randr_monitor_info_sizeof),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_crtc_info_sizeof
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:36: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2638:1: note: 'xcb_randr_get_crtc_info_sizeof' declared
here
xcb_randr_get_crtc_info_sizeof (const void  *_buffer  /< */);
^
In file included from /home/bud/reps/polybar/src/components/bar.cpp:4:
In file included from /home/bud/reps/polybar/include/components/config.hpp:13:
In file included from /home/bud/reps/polybar/include/x11/xresources.hpp:14:
In file included from /home/bud/reps/polybar/include/x11/connection.hpp:10:
In file included from /home/bud/reps/polybar/include/components/screen.hpp:7:
In file included from /home/bud/reps/polybar/include/x11/extensions/randr.hpp:10:
/home/bud/reps/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:66: error: use
of undeclared identifier 'xcb_randr_monitor_info_sizeof'; did you mean
'xcb_randr_get_crtc_info_sizeof'?
...SIGNATURE(xcb_randr_monitor_info_sizeof),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcb_randr_get_crtc_info_sizeof
/home/bud/reps/polybar/lib/xpp/include/xpp/generic/signature.hpp:5:43: note:
expanded from macro 'SIGNATURE'
xpp::generic::signature<decltype(NAME), NAME>
^
/usr/include/xcb/randr.h:2638:1: note: 'xcb_randr_get_crtc_info_sizeof' declared
here
xcb_randr_get_crtc_info_sizeof (const void  *_buffer  /< */);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
bin/CMakeFiles/polybar.dir/build.make:182: recipe for target 'bin/CMakeFiles/polybar.dir/components/bar.cpp.o' failed
make[2]: *** [bin/CMakeFiles/polybar.dir/components/bar.cpp.o] Error 1
CMakeFiles/Makefile2:515: recipe for target 'bin/CMakeFiles/polybar.dir/all' failed
make[1]: *** [bin/CMakeFiles/polybar.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
** Failed to build project

Try to disable xrandr monitor support:
$ cd build
$ cmake -DWITH_XRANDR_MONITORS=0 ..
$ make

Hey,
I'm new to Linux. Got tempted by the look of i3 riced with polybar :)
I'm getting the same error as budRich, or something similar to it. -DWITH_XRANDR_MONITORS=0 made no difference as far as I can tell. I've also tried -DENABLE_XRANDR_MONITORS=0, with no luck.
I'm running Ubuntu 17.04 on a Dell Latitude E7240.
I've tried running the build.sh script as well, even adding the two flags mentioned above, but I get the same error.
Below is the error message I got (having set only -DWITH_XRANDR_MONITORS=0 for the cmake.
Any advice? Or would you need more information?
Thanks!
gorm@lat:~/Downloads/polybar/build$ sudo make
[  1%] Built target xpp
[  5%] Built target jsoncpp_lib_static
[  8%] Built target i3ipc++
[  9%] Building CXX object bin/CMakeFiles/polybar.dir/components/bar.cpp.o
In file included from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:9:0,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic.hpp:7,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from /home/gorm/Downloads/polybar/include/x11/types.hpp:3,
                 from /home/gorm/Downloads/polybar/include/components/bar.hpp:12,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:3:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:42: error: ‘xcb_randr_get_monitors_reply’ was not declared in this scope
                                SIGNATURE(xcb_randr_get_monitors_reply),
                                          ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:42: error: ‘xcb_randr_get_monitors_reply’ was not declared in this scope
                                SIGNATURE(xcb_randr_get_monitors_reply),
                                          ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:42: error: ‘xcb_randr_get_monitors_reply’ was not declared in this scope
                                SIGNATURE(xcb_randr_get_monitors_reply),
                                          ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:32: note: in expansion of macro ‘SIGNATURE’
                                SIGNATURE(xcb_randr_get_monitors_reply),
                                ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3026:32: note: in expansion of macro ‘SIGNATURE’
                                SIGNATURE(xcb_randr_get_monitors_reply),
                                ^~~~~~~~~
In file included from /home/gorm/Downloads/polybar/include/x11/extensions/randr.hpp:10:0,
                 from /home/gorm/Downloads/polybar/include/components/screen.hpp:7,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:7:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3027:46: error: template argument 4 is invalid
                                CookieFunction>
                                              ^
In file included from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:9:0,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic.hpp:7,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from /home/gorm/Downloads/polybar/include/x11/types.hpp:3,
                 from /home/gorm/Downloads/polybar/include/components/bar.hpp:12,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:3:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:43: error: ‘xcb_randr_get_monitors_reply’ was not declared in this scope
                                 SIGNATURE(xcb_randr_get_monitors_reply),
                                           ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:43: error: ‘xcb_randr_get_monitors_reply’ was not declared in this scope
                                 SIGNATURE(xcb_randr_get_monitors_reply),
                                           ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:43: error: ‘xcb_randr_get_monitors_reply’ was not declared in this scope
                                 SIGNATURE(xcb_randr_get_monitors_reply),
                                           ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:33: note: in expansion of macro ‘SIGNATURE’
                                 SIGNATURE(xcb_randr_get_monitors_reply),
                                 ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3033:33: note: in expansion of macro ‘SIGNATURE’
                                 SIGNATURE(xcb_randr_get_monitors_reply),
                                 ^~~~~~~~~
In file included from /home/gorm/Downloads/polybar/include/x11/extensions/randr.hpp:10:0,
                 from /home/gorm/Downloads/polybar/include/components/screen.hpp:7,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:7:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3034:47: error: template argument 4 is invalid
                                 CookieFunction>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3044:24: error: ‘xcb_randr_get_monitors_reply_t’ was not declared in this scope
                        xcb_randr_get_monitors_reply_t,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3046:47: error: ‘xcb_randr_monitor_info_t’ was not declared in this scope
                                               xcb_randr_monitor_info_t,
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:9:0,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic.hpp:7,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from /home/gorm/Downloads/polybar/include/x11/types.hpp:3,
                 from /home/gorm/Downloads/polybar/include/components/bar.hpp:12,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:3:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:57: error: ‘xcb_randr_monitor_info_next’ was not declared in this scope
                                               SIGNATURE(xcb_randr_monitor_info_next),
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:57: error: ‘xcb_randr_monitor_info_next’ was not declared in this scope
                                               SIGNATURE(xcb_randr_monitor_info_next),
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:57: error: ‘xcb_randr_monitor_info_next’ was not declared in this scope
                                               SIGNATURE(xcb_randr_monitor_info_next),
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:47: note: in expansion of macro ‘SIGNATURE’
                                               SIGNATURE(xcb_randr_monitor_info_next),
                                               ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3047:47: note: in expansion of macro ‘SIGNATURE’
                                               SIGNATURE(xcb_randr_monitor_info_next),
                                               ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:57: error: ‘xcb_randr_monitor_info_sizeof’ was not declared in this scope
                                               SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:57: error: ‘xcb_randr_monitor_info_sizeof’ was not declared in this scope
                                               SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:57: error: ‘xcb_randr_monitor_info_sizeof’ was not declared in this scope
                                               SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:47: note: in expansion of macro ‘SIGNATURE’
                                               SIGNATURE(xcb_randr_monitor_info_sizeof),
                                               ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3048:47: note: in expansion of macro ‘SIGNATURE’
                                               SIGNATURE(xcb_randr_monitor_info_sizeof),
                                               ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:57: error: ‘xcb_randr_get_monitors_monitors_iterator’ was not declared in this scope
                                               SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:57: error: ‘xcb_randr_get_monitors_monitors_iterator’ was not declared in this scope
                                               SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:57: error: ‘xcb_randr_get_monitors_monitors_iterator’ was not declared in this scope
                                               SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                         ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:47: note: in expansion of macro ‘SIGNATURE’
                                               SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                               ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:47: note: in expansion of macro ‘SIGNATURE’
                                               SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                               ^~~~~~~~~
In file included from /home/gorm/Downloads/polybar/include/x11/extensions/randr.hpp:10:0,
                 from /home/gorm/Downloads/polybar/include/components/screen.hpp:7,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:7:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:98: error: template argument 2 is invalid
                                               SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                                                ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:98: error: template argument 3 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:98: error: template argument 4 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3049:98: error: template argument 5 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3050:23: error: template argument 2 is invalid
                       >
                       ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3050:23: error: template argument 3 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp: In constructor ‘xpp::randr::reply::detail::get_monitors<Connection, Check, CookieFunction>::get_monitors(C&&, Parameter&& ...)’:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3039:9: error: ‘typedef int xpp::randr::reply::detail::get_monitors<Connection, Check, CookieFunction>::base’ is not a non-static data member of ‘xpp::randr::reply::detail::get_monitors<Connection, Check, CookieFunction>’
       : base(std::forward<C>(c), std::forward<Parameter>(parameter) ...)
         ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp: In member function ‘int xpp::randr::reply::detail::get_monitors<Connection, Check, CookieFunction>::monitors()’:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3054:33: error: ‘xcb_randr_get_monitors_reply_t’ was not declared in this scope
                                 xcb_randr_get_monitors_reply_t,
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3056:56: error: ‘xcb_randr_monitor_info_t’ was not declared in this scope
                                                        xcb_randr_monitor_info_t,
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:9:0,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic.hpp:7,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from /home/gorm/Downloads/polybar/include/x11/types.hpp:3,
                 from /home/gorm/Downloads/polybar/include/components/bar.hpp:12,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:3:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:66: error: ‘xcb_randr_monitor_info_next’ was not declared in this scope
                                                        SIGNATURE(xcb_randr_monitor_info_next),
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:66: error: the value of ‘xcb_randr_monitor_info_next’ is not usable in a constant expression
                                                        SIGNATURE(xcb_randr_monitor_info_next),
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:66: note: ‘xcb_randr_monitor_info_next’ was not declared ‘constexpr’
                                                        SIGNATURE(xcb_randr_monitor_info_next),
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:56: note: in expansion of macro ‘SIGNATURE’
                                                        SIGNATURE(xcb_randr_monitor_info_next),
                                                        ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: note: invalid template non-type parameter
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3057:56: note: in expansion of macro ‘SIGNATURE’
                                                        SIGNATURE(xcb_randr_monitor_info_next),
                                                        ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:66: error: ‘xcb_randr_monitor_info_sizeof’ was not declared in this scope
                                                        SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:66: error: the value of ‘xcb_randr_monitor_info_sizeof’ is not usable in a constant expression
                                                        SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:66: note: ‘xcb_randr_monitor_info_sizeof’ was not declared ‘constexpr’
                                                        SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:56: note: in expansion of macro ‘SIGNATURE’
                                                        SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                        ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: note: invalid template non-type parameter
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3058:56: note: in expansion of macro ‘SIGNATURE’
                                                        SIGNATURE(xcb_randr_monitor_info_sizeof),
                                                        ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:66: error: ‘xcb_randr_get_monitors_monitors_iterator’ was not declared in this scope
                                                        SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:66: error: the value of ‘xcb_randr_get_monitors_monitors_iterator’ is not usable in a constant expression
                                                        SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:66: note: ‘xcb_randr_get_monitors_monitors_iterator’ was not declared ‘constexpr’
                                                        SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                                  ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:56: note: in expansion of macro ‘SIGNATURE’
                                                        SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                        ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: note: invalid template non-type parameter
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:56: note: in expansion of macro ‘SIGNATURE’
                                                        SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                        ^~~~~~~~~
In file included from /home/gorm/Downloads/polybar/include/x11/extensions/randr.hpp:10:0,
                 from /home/gorm/Downloads/polybar/include/components/screen.hpp:7,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:7:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:107: error: template argument 2 is invalid
                                                    SIGNATURE(xcb_randr_get_monitors_monitors_iterator)>
                                                                                ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:107: error: template argument 3 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:107: error: template argument 4 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3059:107: error: template argument 5 is invalid
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3060:32: error: template argument 2 is invalid
                                >(this->m_c, this->get());
                                ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3060:32: error: template argument 3 is invalid
In file included from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:9:0,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic.hpp:7,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from /home/gorm/Downloads/polybar/include/x11/types.hpp:3,
                 from /home/gorm/Downloads/polybar/include/components/bar.hpp:12,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:3:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp: At global scope:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3070:15: error: ‘xcb_randr_get_monitors’ was not declared in this scope
     SIGNATURE(xcb_randr_get_monitors)>;
               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3070:15: error: ‘xcb_randr_get_monitors’ was not declared in this scope
     SIGNATURE(xcb_randr_get_monitors)>;
               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3070:15: error: ‘xcb_randr_get_monitors’ was not declared in this scope
     SIGNATURE(xcb_randr_get_monitors)>;
               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3070:5: note: in expansion of macro ‘SIGNATURE’
     SIGNATURE(xcb_randr_get_monitors)>;
     ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3070:5: note: in expansion of macro ‘SIGNATURE’
     SIGNATURE(xcb_randr_get_monitors)>;
     ^~~~~~~~~
In file included from /home/gorm/Downloads/polybar/include/x11/extensions/randr.hpp:10:0,
                 from /home/gorm/Downloads/polybar/include/components/screen.hpp:7,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:7:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3070:38: error: template argument 3 is invalid
     SIGNATURE(xcb_randr_get_monitors)>;
                                      ^
In file included from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:9:0,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic.hpp:7,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/x.hpp:9,
                 from /home/gorm/Downloads/polybar/lib/xpp/include/xpp/event.hpp:9,
                 from /home/gorm/Downloads/polybar/include/x11/types.hpp:3,
                 from /home/gorm/Downloads/polybar/include/components/bar.hpp:12,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:3:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3077:15: error: ‘xcb_randr_get_monitors_unchecked’ was not declared in this scope
     SIGNATURE(xcb_randr_get_monitors_unchecked)>;
               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3077:15: error: ‘xcb_randr_get_monitors_unchecked’ was not declared in this scope
     SIGNATURE(xcb_randr_get_monitors_unchecked)>;
               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:36: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                    ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3077:15: error: ‘xcb_randr_get_monitors_unchecked’ was not declared in this scope
     SIGNATURE(xcb_randr_get_monitors_unchecked)>;
               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:43: note: in definition of macro ‘SIGNATURE’
   xpp::generic::signature<decltype(NAME), NAME>
                                           ^~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 1 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3077:5: note: in expansion of macro ‘SIGNATURE’
     SIGNATURE(xcb_randr_get_monitors_unchecked)>;
     ^~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/../generic/signature.hpp:5:47: error: template argument 2 is invalid
   xpp::generic::signature<decltype(NAME), NAME>
                                               ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3077:5: note: in expansion of macro ‘SIGNATURE’
     SIGNATURE(xcb_randr_get_monitors_unchecked)>;
     ^~~~~~~~~
In file included from /home/gorm/Downloads/polybar/include/x11/extensions/randr.hpp:10:0,
                 from /home/gorm/Downloads/polybar/include/components/screen.hpp:7,
                 from /home/gorm/Downloads/polybar/src/components/bar.cpp:7:
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3077:48: error: template argument 3 is invalid
     SIGNATURE(xcb_randr_get_monitors_unchecked)>;
                                                ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3084:17: error: ‘get_monitors’ in namespace ‘xpp::randr::reply::checked’ does not name a template type
 reply::checked::get_monitors<Connection>
                 ^~~~~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:3092:19: error: ‘get_monitors’ in namespace ‘xpp::randr::reply::unchecked’ does not name a template type
 reply::unchecked::get_monitors<Connection>
                   ^~~~~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:4646:24: error: ‘get_monitors’ in namespace ‘xpp::randr::reply::checked’ does not name a template type
     -> reply::checked::get_monitors<Connection>
                        ^~~~~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:4646:36: error: expected initializer before ‘<’ token
     -> reply::checked::get_monitors<Connection>
                                    ^
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:4656:26: error: ‘get_monitors’ in namespace ‘xpp::randr::reply::unchecked’ does not name a template type
     -> reply::unchecked::get_monitors<Connection>
                          ^~~~~~~~~~~~
/home/gorm/Downloads/polybar/lib/xpp/include/xpp/proto/randr.hpp:4656:38: error: expected initializer before ‘<’ token
     -> reply::unchecked::get_monitors<Connection>
                                      ^
bin/CMakeFiles/polybar.dir/build.make:182: recipe for target 'bin/CMakeFiles/polybar.dir/components/bar.cpp.o' failed
make[2]: *** [bin/CMakeFiles/polybar.dir/components/bar.cpp.o] Error 1
CMakeFiles/Makefile2:798: recipe for target 'bin/CMakeFiles/polybar.dir/all' failed
make[1]: *** [bin/CMakeFiles/polybar.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
gorm@lat:~/Downloads/polybar/build$

Can confirm this is still a issue with various tries to disable xrandr support, all flags I tried didn't make a difference on Ubuntu 17.04.

I too have the same problem on Ubuntu 17.04.

The cmake flag -DWITH_XRANDR_MONITORS:BOOL=OFF should fix this. Make sure to remove the old build folder before trying again.

Just tried this. Got what looks like the same exact error. I did remove the old build folder first.

Ok I'll setup a virtual Ubuntu machine and see if I can find the issue.

I'm having the exact same issue, also the -DWITH_XRANDR_MONITORS:BOOL=OFF flag didn't work. I may be able to help if you need some info to help debugging this.

Seeing the same issue on Xubuntu 17.04, even with -DWITH_XRANDR_MONITORS:BOOL=OFF added to build.sh.

Ubuntu 17.04 too, -DWITH_XRANDR_MONITORS:BOOL=OFF doesn't change the outcome

Can confirm this is an issue on Ubuntu 17.10 too.
Receiving same errors, also with the -DWITH_XRANDR_MONITORS:BOOL=OFF flag.

Could you paste the output of pkg-config --print-provides xcb-randr

Here is mine @jaagr
xcb-randr = 1.11.1

I get the same output as Pautomagi.

xcb-randr>=1.12 is required for the monitor feature to work. The build should check this, but apparently it doesn't work properly.
One way to fix it should be to replace https://github.com/jaagr/polybar/blob/master/include/settings.hpp.cmake#L34-L38 with #define WITH_XRANDR_MONITORS 0

I tried installing xcb-randr 1.12 following these instructions: http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
and pkg-config --print-provides does now show 1.12.
I reverted the changes to build.sh and ran it again (this is with 3.0.5 checked out) and the build still failed; I've attached the output from that. Not that I'm overly familiar with this stuff, but it does look like it might be related as the errors mention undefined reference to 'xcb_randr_get_monitors', undefined reference to 'xcb_randr_monitor_info_sizeof', etc.:
polybar.txt
I also tried the edit you mentioned @jaagr, but the build still failed for me; I've attached that log as well. Seems to be related to xcb_send_request_with_fds:
polybar-with-xrandr-monitors-0.txt

I managed to compile and get it running on Ubuntu 17.04. This is perhaps hacky, but it worked for me.
Install xcb-randr 1.12 following the instructions on LFS as mentioned in the comment above. I did not build it with python3 and hence did not apply the patch on that page.
Now this installs to /usr/local/lib/. There probably is a way to make it install to /usr/lib/ (edit the makefile/pass an argument maybe? I don't know). However, I just moved everything libxcb from /usr/local/lib/ to /usr/lib/.
Build the project and Polybar should now compile and install without any errors.

Tried your solution @schaden-freude but no luck. Still getting the same errors.
CMakeFiles/polybar.dir/x11/extensions/randr.cpp.o: In function `xcb_randr_get_monitors_cookie_t xpp::generic::reply<xpp::randr::reply::detail::get_monitors<polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, xpp::generic::checked_tag, xpp::generic::signature<xcb_randr_get_monitors_cookie_t (xcb_connection_t*, unsigned int, unsigned char), xcb_randr_get_monitors> >, polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, xpp::generic::checked_tag, xpp::generic::signature<xcb_randr_get_monitors_reply_t* (xcb_connection_t*, xcb_randr_get_monitors_cookie_t, xcb_generic_error_t**), xcb_randr_get_monitors_reply>, xpp::generic::signature<xcb_randr_get_monitors_cookie_t (xcb_connection_t*, unsigned int, unsigned char), xcb_randr_get_monitors> >::cookie<polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, unsigned int&, bool>(polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>&&, unsigned int&, bool&&)':
/home/ulrik/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:99: undefined reference to `xcb_randr_get_monitors'
CMakeFiles/polybar.dir/x11/extensions/randr.cpp.o: In function `xpp::generic::iterator<polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, xcb_randr_monitor_info_t, xpp::generic::signature<void (xcb_randr_monitor_info_iterator_t*), xcb_randr_monitor_info_next>, xpp::generic::signature<int (void const*), xcb_randr_monitor_info_sizeof>, xpp::generic::signature<xcb_randr_monitor_info_iterator_t (xcb_randr_get_monitors_reply_t const*), xcb_randr_get_monitors_monitors_iterator> >::operator++()':
/home/ulrik/polybar/lib/xpp/include/xpp/proto/../generic/reply_iterator.hpp:137: undefined reference to `xcb_randr_monitor_info_sizeof'
/home/ulrik/polybar/lib/xpp/include/xpp/proto/../generic/reply_iterator.hpp:138: undefined reference to `xcb_randr_monitor_info_next'
CMakeFiles/polybar.dir/x11/extensions/randr.cpp.o: In function `xpp::generic::reply<xpp::randr::reply::detail::get_monitors<polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, xpp::generic::checked_tag, xpp::generic::signature<xcb_randr_get_monitors_cookie_t (xcb_connection_t*, unsigned int, unsigned char), xcb_randr_get_monitors> >, polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, xpp::generic::checked_tag, xpp::generic::signature<xcb_randr_get_monitors_reply_t* (xcb_connection_t*, xcb_randr_get_monitors_cookie_t, xcb_generic_error_t**), xcb_randr_get_monitors_reply>, xpp::generic::signature<xcb_randr_get_monitors_cookie_t (xcb_connection_t*, unsigned int, unsigned char), xcb_randr_get_monitors> >::get(xpp::generic::checked_tag)':
/home/ulrik/polybar/lib/xpp/include/xpp/proto/../generic/request.hpp:112: undefined reference to `xcb_randr_get_monitors_reply'
CMakeFiles/polybar.dir/x11/extensions/randr.cpp.o: In function `xpp::generic::iterator<polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>, xcb_randr_monitor_info_t, xpp::generic::signature<void (xcb_randr_monitor_info_iterator_t*), xcb_randr_monitor_info_next>, xpp::generic::signature<int (void const*), xcb_randr_monitor_info_sizeof>, xpp::generic::signature<xcb_randr_monitor_info_iterator_t (xcb_randr_get_monitors_reply_t const*), xcb_randr_get_monitors_monitors_iterator> >::iterator<polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>&>(polybar::v3_0_5_17_g2e8cc7f::detail::connection_base<polybar::v3_0_5_17_g2e8cc7f::connection&, xpp::randr::extension, xpp::xkb::extension>&, std::shared_ptr<xcb_randr_get_monitors_reply_t> const&)':
/home/ulrik/polybar/lib/xpp/include/xpp/proto/../generic/reply_iterator.hpp:112: undefined reference to `xcb_randr_get_monitors_monitors_iterator'
/usr/local/lib/libxcb-shm.so.0: undefined reference to `xcb_send_request_with_fds'
collect2: error: ld returned 1 exit status
bin/CMakeFiles/polybar.dir/build.make:2029: recipe for target 'bin/polybar' failed
make[2]: *** [bin/polybar] Error 1
CMakeFiles/Makefile2:835: recipe for target 'bin/CMakeFiles/polybar.dir/all' failed
make[1]: *** [bin/CMakeFiles/polybar.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

@Pautomagi Umm... did you move the compiled xcb-randr form /usr/local/lib/ to /usr/lib/?
/usr/local/lib/libxcb-shm.so.0: undefined reference to 'xcb_send_request_with_fds'
From that line it doesn't look like you did.

I added symlinks in /usr/lib/ to the libxcb files in /usr/local/lib - still won't build.
WITH_XRANDR_MONITORS_disabled-usr-lib-links.txt

I have tried installing all dependencies and suggested solutions above on Ubuntu 17.04, unfortunately Error 2 insists.

yep same error here - same as the other ubuntu 17.04 and xcb-randr = 1.11.1.
guess we will have to wait for an upgraded version of either xcb or polybar.

I got it working with @schaden-freude's solution 👍

installed the xcb-randr and moved everything, it still failed on me at 95%
/generic/request.hpp:99: undefined reference to `xcb_randr_get_monitors'
/generic/reply_iterator.hpp:137: undefined reference to `xcb_randr_monitor_info_sizeof'
/generic/reply_iterator.hpp:138: undefined reference to `xcb_randr_monitor_info_next'
 /generic/reply_iterator.hpp:112: undefined reference to `xcb_randr_get_monitors_monitors_iterator'
/generic/request.hpp:112: undefined refecollect2: error: ld returned 1 exit status rence to
`xcb_randr_get_monitors_reply'

bin/CMakeFiles/polybar.dir/build.make:2029: recipe for target 'bin/polybar' failed
make[2]: *** [bin/polybar] Error 1
CMakeFiles/Makefile2:798: recipe for target 'bin/CMakeFiles/polybar.dir/all' failed
make[1]: *** [bin/CMakeFiles/polybar.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
** Failed to build project

any insights?

Hi, sorry to wake up this thread, but I have just stumbled upon it. In #644 there was someone that had the same problem and I was able to track it down to a version mismatch of xcb-proto and xrandr and I think this is the same issue here.
The main solution in this thread seems to be to upgrade xrandr to 1.12, the fix that I proposed was downgrading xcb-proto to 1.11 which should work just as well (instructions here).


Add XML support

Is your feature request related to a problem? Please describe.
XML is missing from the language selection.
Describe the solution you'd like
Support the coloring of XML code.
Describe alternatives you've considered
Additional context

Hi @katonaaron
Please use the HTML/XML modehttps://carbon.now.sh/?l=htmlmixed


Redo templates to fit within dataverse.org

remove headers
potentially adjust size

Closed.  Covered in #29


locale not set by domain

Hi,
I use multiple domains which each their own language. But I still have to add the prefix after the domain for the right locale. If I do not it uses the default locale or if the default is not set in the cms it uses en_US because that's the first locale in the row. For example:
www.mydomain.be -> sets the default locale (or en_US)
www.mydomain.be/nl_BE -> sets the nl_BE locale
www.mydomain.nl -> sets the default locale (or en_US)
www.mydomain.nl/nl_NL -> sets the nl_NL locale
www.mydomain.com -> sets the default locale (or en_US)
www.mydomain.nl/en_US -> sets the en_US locale
I suppose that if I use multiple domains and just one locale per domain (set as default for that domain as well) I don't have to add the prefix, or am I wrong?
SilverStripe: 4.1.2
Fluent: tried dev-master & tag 4.1.3
have added SS_FLUENT_FORCE_DOMAIN=true to .env
have set disable_default_prefix to true
tried with the domains include www and exclude www
Looks like issue #419, maybe this is not fixed yet?

Fluent should automatically detect the default locale for a domain and use it, provided no other means of determining the current locale are available first. This sounds like a bug to me, thanks for reporting.

Fixed with #452


workflows: Collect sysdump immediately after test failures

A new -collect-sysdump-on-failure option was recently introduced in the cilium connectivity test command by Jibi to collect a sysdump every time a connectivity test case fails, immediately after the failure. That ensures we get the state as it was at the time of the failure and not as it is only at the end of the full workflows.
This flag was tested on the cilium/cilium AKS workflows and this commit now extends it to all workflows in cilium/cilium-cli.

Shouldn't we remove the sysdump captured in the post-test step then?
https://github.com/cilium/cilium-cli/blob/a4c8c5ea0759c19310ad488555fa454fa0a115a5/.github/workflows/eks.yaml#L172

OK, I see https://github.com/cilium/cilium/pull/22537, I'll be making comments there to understand how this works.

OK, I see https://github.com/cilium/cilium/pull/22537, so I suppose we should not remove but instead rename the sysdump and make sure both sysdumps are collected by the arfitacts upload (using a wildcard).


Feature request: per-interface DNS resolver settings

I am able to set per-interface DNS resolver settings with nmcli. The same cannot be achieved with nmstatectl. Am I doing something wrong or is this feature missing?
# nmcli c show enp1s0 | grep ipv4.dns:
ipv4.dns:                               <IP_ADDRESS>,<IP_ADDRESS>
# nmstatectl show enp1s0
dns-resolver: {}
route-rules: {}
# nmstatectl show
hostname:
  running: ...
  config: ...
dns-resolver:
  running:
    server:
    - <IP_ADDRESS>
    - <IP_ADDRESS>

I would expect the nmstatectl output to show the same information that was set with nmcli.

@mjsaarin Nmstate is not a wrapper of NetworkManager and intended to be backend neutral. Interface level DNS is NetworkManager specific terminology. Nmstate is following what linux OS on DNS which is global DNS.
Could you provide more information on your use case which require this NM interface-level DNS setting?

My bad. I assumed (wrongly it seems) that I could do everything with nmstate. The reason I was hoping to be able to set interface specific DNS settings was also perhaps a misunderstanding of an issue. On one host systemd-resolve ignores DNS settings unless I specificly set them to an interface with resolvectl. I was hoping to make this workaround persistet with nmstate just because I find YAML syntax defining the whole configuration more pleasant than nmcli options. This request can be closed.


Reorder or auto-sort for Python file headers

When I use this plugin for format Python code. The header/import sequence is sorted automatically.
However, this may cause error. I do not want to reorder or sort the import list automatically.
I want to konw how to config. This is an example:
from __future__ import print_function
from __future__ import division

# system
import rospy
import math
import random
import sys
import os
import PIL
import copy
import cv2
import actionlib
import matplotlib.pyplot as plt
import matplotlib
import skimage.io
import time
import logging
import threading
from skimage.transform import resize
import message_filters
import numpy as np
from cv_bridge import CvBridge, CvBridgeError
from sensor_msgs.msg import PointCloud2, Image

## tensorflow
import tensorflow as tf
config = tf.ConfigProto()
# config.gpu_options.per_process_gpu_memory_fraction=0.8
config.gpu_options.allow_growth = True
sess = tf.Session(config=config)

from tensorflow.python.keras.models import load_model
from tensorflow.python.keras.backend import set_session

Thanks

It depends on which python formatter you use. You should consult their documentation.
Refer to the debugging section in the readme if you are in the dark about this.

It depends on which python formatter you use. You should consult their documentation.
Refer to the debugging section in the readme if you are in the dark about this.


tcpstream.c: Close fd after an error

Otherwise, for me, it is getting into infinite loop with following continuous prints:
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24
03:53:33 ERR : error to accept new connections. errno = 24

The change seems to solve the problem but I don't think it is a correct fix.


Generate a csv with all locations

Specs:

name: locaties.gpkg
format: GeoPackage
storage: on GDrive folder SWO Rivierkreeften -> Data
availability: open to everyone with the link
it will contain at least the following fields: locatieID, gemeente, provincie, postcode, x, y

This file can be edited and updated during the project, e.g. by adding new locations.
@fjasteen will create this file and maintain it as far as I understood.
She will do some GIS operations (intersections,  ...) to get the needed information as defined in specs above.

@damianooldoni
Done,

headers as asked, coordinates (x, y) but 'isGereserveerd' is 'isGereserv' due to limitation on number of characters in GIS
saved as Localiteiten.csv in shared Data-folder


Add instagram.com to domain list for proof verification

Instagram verifications only work when you include "www."
https://github.com/blockstack/blockstack-browser/issues/994

It looks like something is redirecting my proof that doesn't have "www." to the url with "www." which then doesn't get proxy fetched. Another thing to look at would be normalizing the urls we fetch so that we add www. when the user doesn't include it.

Fixed - we've normalized urls so that they are checked with www.


helm image tag

Why do we bump the tag in the default value file before the release ?
Today it's already 0.3.0 but no image exits so if you follow the instruction in the README you get a deployment that is not working.
I would prefer to bump that version only once it's release and add a step in the release todo list. What do you think ?
/cc @markmandel

Curious - which README are you looking at? The Helm Install states to:

Download the latest agones-install zip from the releases archive.

(Although it definitely could be clearer about actually unzipping it! :blush: )
My opinion is: if the master branch is expected to be able to install the previous release from, then we can never develop new things against it, as users are relying on it - and we are stuck. By incrementing the base version in Helm in master, we push users to where they should be getting the supported install versions from - either the release archives, or if they want to clone the repo, then checkout a release branch.
If there is confusion on this, we should update our documentation to be clearer.

ok I see , I think what confuses me is the cd install/helm/ it should instead state curl then unzip then cd


Feature Request

Is it possible that when using the "Show Text" node, the text is exported to an Excel/spreadsheet file?  I'm currently using the mode in combination with another custom mode that accepts input into ChatGPT as a question and then outputs the answer to the "Show Text" node as well as to the Ksampler to generate an image.  It would be cool to be able to save the text output as prompts later.  Also, on a side note, even when I set the dimensions of the "Show Text" box, it always reverts back to 400x80.  Is there a way to lock in the dimensions to 400x400?

I don't think I would want to do something specific with Excel (I don't have it), but I could have a generic "WriteText" node that you could use to append text to a CSV file which Excel supports.
I've fixed the issue with the Show Text node resizing

Yes, a general text output file option would be a great feature and thank you for fixing the box dimension issue. I appreciate your hard work.

I've added Load Text & Save Text nodes
You can control the allowed directories from custom_nodes/ComfyUI-Custom-Scripts/user/text_file_dirs.json
e.g. to allow files in C:/Test to be read/written

I followed your example and created a folder at c:/Test, but nothing is being exported?  I have the selector set to test. The nodes are connected where my chatgpt node is outputting a string, I connected to show text to this and connecting the string to the save text node. Also, would you be able to show me the format for setting the save folder in this path c:/users/documents/hold?  Ty

{
	"input": "$input/**/*.txt",
	"output": "$output/**/*.txt",
	"temp": "$temp/**/*.txt",
	"hold": "C:/Users/documents/hold/**/*.txt"
}

Worked perfectly. Ty


Error: Bypassing

remove all drivers with driver store explorer and only use the ones bundled with the exploit


Router Question/Problem

Hi!,
I'm testing your router5 package and ran into a problem where when i git back/forth on the browser it doesn't load the templates from "pushState", I'm using 2 of your plugins 'router5-history'; and 'router5-listeners';
I've prepared some sample code to illustrate my app.
main File
Repo
Thanks

The start callback is only called on start, it is not a callback invoked on every route change.
router.addListener((toState, fromState) => { /*... */ });

There are different types of listeners you can register: http://router5.github.io/docs/listeners.html

Hey,
Thanks for writing back, somehow i missed that one, I uploaded the solution onto an example repo, perhabs you would like to include it onto your examples ? --> Repo
Thanks!

I'll add a link, can you change the name of your repo to router5-example? Thanks.

Sure :) there you go —> https://github.com/DavidStrada/router5-example

On May 5, 2016, at 8:07 AM, Thomas Roch<EMAIL_ADDRESS>wrote:
I'll add a link, can you change the name of your repo to router5-example? Thanks.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub https://github.com/router5/router5/issues/59#issuecomment-217163968

yay!, I’ll add a more detail Readme later today.

On May 5, 2016, at 9:29 AM, Thomas Roch<EMAIL_ADDRESS>wrote:
Featured :) http://router5.github.io/docs/ecosystem.html http://router5.github.io/docs/ecosystem.html
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub https://github.com/router5/router5/issues/59#issuecomment-217186391


SSL cert failure

Please tick all applicable boxes.

[x] I am using Python 3.5.3 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (release-260419)
[ ] The latest review version

What type of issue are you creating?

[x] Bug
[ ] Feature request
[ ] Question

Description of issue
I was having issues with the bot failing to stay connected to discord and decided to reinstall musicbot (deleting everything except config, reinstalling python). Now it is saying that it is "unable to get local issuer certificate". I don't see how anything could have changed to make that happen other than an issue on discord's side but there's no other bug report for this...
Steps to reproduce

Attempt to run MusicbBot on Windows

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
musicbot.log

Open discord in Internet Explorer and accept/trust the new certificates.

Ah, that worked. Thanks!

@AleanaA I think I am having the same problem; if possible please could you elaborate a little on "Open discord in Internet Explorer and accept/trust the new certificates.".
I've opened the site, viewed the certificates in the certification path, but they all seem valid to me, padlock symbol displays as usual, no prompt to accept/trust certificates.

You marked mine as a dupe, but I cannot trust the certs in IE, I am on a mac.

And I don't see how to trust them in safari, I've tried and it just shows as secure.

https://crt.sh/?id=2835394
Install the certificate manually from the link above, if you can't find the download link, refer to the following image.
https://beans-took-my-kids.reeee.ee/38qB2n.png
Your issue was marked as duplicate because this error has been brought up several times.
@thestrangehosterr


Various parts of the UI break if there is a "/" in a DC name

We set up Uchiwa, and one of our DCs was named dal05 / dal09, and the url becomes: /#/client/dal05%20/%20dal09/<node>. I assume this extra / in the url is causing some issues on the frontend.

Thanks @mattrobenolt for reporting this issue, I'll try to have a fix released within the next release.

After some investigation, it looks like replacing encodeURI with encodeURIComponent in the go method, in order to escape characters like /, would require a good amount of work.
For now, I'll decrease the priority of this issue and you should avoid using the characters : / ; and ? in a datacenter or client name. I'll update the documentation to reflect this limitation. I'll gladly accept a PR for this issue, otherwise I'll work on it once the other issues with greater priority are completed.


Tuple length support

Force tuples to be length enforced unlike lists. This allows one to define a set length for an iterative argument.

Rolled into another branch. Closing


Fix out of bound error after list length is reached.

State breaks after list length is reached.

This is expected. We actually have a challenge at the end of the page for this. (first challenge at the end of page)


Bump version to 2.1.0

I think we'll want to recreate the 2.1.0 tag, so since it doesn't currently contain these version bumps.
So next time, let's create the release/tag after merging the version bump.

I think we'll want to recreate the 2.1.0 tag, so since it doesn't currently contain these version bumps.
So next time, let's create the release/tag after merging the version bump.

@mthadley Ah thanks for the heads up, I’ll definitely recreate it!


feature: use explicit handlers :props for partials rendering

close https://github.com/thoughtbot/props_template/issues/27

@kortirso Thanks for this!


Disable spellcheck?

I wouldn't say I'm strongly in favor of this, but I'm not sure how much value it adds or whether it's worth the time to chase completeness in adding new terminology, yet it's rather distracting.

I've barely seen it in the last week or two, are there places where it's popping up more than others?

Been popping up on my Markdown updates: https://github.com/artsy/auctions/pull/642

Sounds like a good argument for https://github.com/orta/danger-plugin-spellcheck/issues/10 with:
{
 "ignored_files": ["/*.md"]
}

Which could just suppress all the md files in that repo specifically.

Or even that that repo is an edge case full-stop and should be ignored like the analytics repos: https://github.com/artsy/artsy-danger/blob/master/peril.settings.json#L4

I'll probably keep it in the repos list for now. There's some code in there, although no services.


Added verbose option

I added an option to control the "verbosity". For this, I added the parameter "verbose" in the init method of the init.py file and to the train function in the trainers.py file. In addition, I passed this argument to the "self._trainer.train()" call in the init file and added a condition to make the prints in the trainer.py file.

I signed it!

I updated it!

I signed it!

Well, I signed the CLA and I checked that I signed it with the same e-mail address which I used to perform the commits, what's wrong?

Perhaps check to see if that email address is your Github primary email?

Thanks for replying. Yes, that's what I checked, my GitHub account main address is the one I registered in the CLA website!

What am I doing wrong? how can I correct it?

Oh I've found that I don't have properly written my email in the .gitconfig file, instead, I have a random string (email=ehsjidkrofirj). Could it be the problem? If so, how can I solve it? Do I have to start from zero committing the files with my config file fixed, pushing and re-sending a push-request? Sorry it's my first contribution.

El 13 dic 2015, a las 17:00, Yuan (Terry) Tang<EMAIL_ADDRESS>escribió:
Perhaps check to see if that email address is your Github primary email?
—
Reply to this email directly or view it on GitHub.

Follow this link to set up and check your configs, e.g. email, username https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
Then probably a new PR or add new commit and squash them together. (ref: https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/)

Thank you, I'm going to try with a new PR.


Build UI - Eval Form Step 2 - Evaluation Criteria Binary Scale

What/Why
This task adds the ability to add binary scale options to the form.
Figma/Mockup

Acceptance Criteria

[x] When the user select Binary scale, the option is set on the criteria
[x] Labels are required, and initially empty

empty label fails validation

Disregard the following if this work does not include any UI changes

[x] WAVE screenshot
[ ] Automated a11y tests (axe-rspec specs)
[x] Keyboard accessibility (tab navigation, form interactions)
[x] Responsiveness at desktop and mobile

Out of Scope
Tooltips #168


Android Basics: Get data from the Internet

name: Android Basics Unit 4 issue
about: Typo and missing suspend keyword in code.
title: 'Android Basics Unit 4 issue:'

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-getting-data-internet#7
In which task and step of the codelab can this issue be found?
8. Parse the JSON response with Moshi
Update MarsApiService and OverviewViewModel
step 5. Now that you have the MoshiConverterFactory in place...
Describe the problem
In provided code:
interface MarsApiService {
@GET("photo")
fun getPhotos(): List
}
There is a typo in word "photo", the endpoint name is "photos" and the function hasn't got a "suspend" keyword.
In Solution Code task you provide this code:
interface MarsApiService {
/**
* Returns a [List] of [MarsPhoto] and this method can be called from a Coroutine.
* The @GET annotation indicates that the "photos" endpoint will be requested with the GET
* HTTP method
*/
@GET("photos")
suspend fun getPhotos() : List
}
In this code the endpoint name is "photos" and function has suspend keyword so its correct.
Steps to reproduce?

Go to...
Click on...
See error...
That's it :)

@FilipPalusinski
Thank you for reaching out to us. The issue is fixed and published.


SQLitePCLRaw.provider.e_sqlite3.uwp10 update the dependency

sqlite3 had released the 3.30 version, but the latest NuGet package of 1.1.14 still include the 3.28.0

Note that SQLitePCLRaw 1.1.14 has been superseded by version 2.0.
I will be updating the e_sqlite3 builds for 2.0 somewhat regularly, but version 1.1.x will get updates only if necessary.


Python 3.7 support

Proposed changes:

updated tensorflow dependencies
marked python 3.7 as supported
added to travis build
fixes #1709

Can only be merged after tensorflow 1.13 is released (currently depends on release candidate)
Status (please check what you already did):

[x] made PR ready for code review
[x] updated the documentation
[x] updated the changelog

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Tom Bocklisch seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@Ghostvv are there any more changes needed (and more importantly, does it work 😅 )?

By "it" what do you mean? I didn't try your branch, and I didn't install py37 yet. tf 1.13 works on py36

ah my bad - I thought you ran it on 3.7 for some reason. never mind

I wanted to, but decided not to waste time on potential issues for now

@tmbo is it ready for review?

No not really, tests are not passing

do you need it because of the tf update?

not really, I was just going through my PR requests and saw a tick ready for review up there

I'll assign this to you @Ghostvv to check if the tensorflow models still train / load / run

nlu is training with py3.7

These changes already made it into master through the backpart for the 0.15.0 release. No need to merge this anymore.


API as Python library.

First off, thanks for Blockade: it's really useful and handy.
With this "issue" I wanted to express the need for a clean and pythonic API that would allow the use of Blockade as library inside other Python scripts.
Right now it's not impossible, but it can get a bit ugly because it's all thought for command line usage.
For instance, in moses I did this to work around the command line option parser (if you think there's a better way, let me know..).

It'd be really awesome to use this tool to control inter-container networking during integration tests, and that'd be a lot easier with a public api.

With the imminent 0.3.0 release, blockade does now have a REST API but still I admit it's not very friendly to use as a python API. For our own use, we call blockade from non-python integration tests, so a python API isn't as valuable. I'll still keep this issue on the table as a future enhancement however.


Prepared statement SELECT tablename FROM SVV_EXTERNAL_TABLES with setFetchSize gives ERROR: portal "c_6-16720547611010" does not exist if number of rows exceeds fetch size

Driver version
<IP_ADDRESS>
Redshift version
PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.44903
Client Operating System
UBI8
JAVA/JVM version
openjdk version "17.0.5" 2022-10-18
Problem description

Expected behaviour:
You should be able to use PreparedStatements with a fetchSize less than the number of rows in the svv_external_tables.

Actual behaviour:
If the svv_external_tables number of rows exceeds the fetch size then the portal does not exist issue happens like in: https://github.com/aws/amazon-redshift-jdbc-driver/issues/9

Error message/stack trace:
Exception in thread "main" java.lang.RuntimeException: Failed to read row: ERROR: portal "c_6-16720547611010" does not exist

Any other details that can be helpful:
enableFetchRingBuffer=false
fetchSize needs to be less than than the number of rows in the svv_external_tables
Statement still works fine.
Same thing happens when querying SELECT tablename FROM pg_tables

Reproduction code
`
String query = "SELECT tablename FROM SVV_EXTERNAL_TABLES"; // where svv_external_tables has more than 500 rows
PreparedStatement statement = c.prepareStatement(query);
statement.setFetchSize(500);
try (ResultSet resultSet = statement.executeQuery()) {
while (resultSet.next()) {
System.out.println(resultSet.getString(1));
}
}
`

Thanks for submitting this issue, we will look into it and get back to you.


Offer Development Builds, where Assets are Base64 encoded

It was suggested by @syrusakbary that we base64 encode some of our wasm assets for a better developer experience.
Where we agreed it is the less complicated devex, I countered it is not something we should do by default:

Base64'ing large assets (like our wasm files), will add The wasm file size, plus an additional 33% of the wasm file size, to our bundle size.

Including the assets in the bundle will slow down our time to first paint, as it will still be downloading our bundle

It will not allow our app to progressively enhance over time and introduce features as we need them.

Thus we decided this should not be the default build, but instead be some sort of development build, meant for hitting the ground running, but not for production.

closed by #122 and #119


handle zero-length root directory size error

Fixes #103

@mraerino can you try this branch?

Looks like it now throws the error: https://github.com/diskfs/go-diskfs/pull/105/checks?check_run_id=2254715926#step:7:27
I changed https://github.com/diskfs/go-diskfs/pull/105 to only check for the panic and made it point to your branch, so feel free to merge it in as a test for the fix.

So this is good, it eliminates the panic in favour of an error, which is what we want. The issue with why it errors is distinct.
I will merge this in, and we can continue the conversation on #105