-
-
Notifications
You must be signed in to change notification settings - Fork 715
Linking problem undef reference 'xcb_prefetch_maximum_request_length' #1628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Alright, was finally able to track down the issue. The issue is the |
If BUILD_SHARED_LIBS is set to ON, xpp will build as a shared library which we don't want. Ref polybar/polybar#1628
Thanks. I created a submit request to syseks home with a patch that contains your fix. |
Awesome, I hope this gets into the official repos :) |
If BUILD_SHARED_LIBS is set to ON, xpp will build as a shared library which we don't want. Ref polybar/polybar#1628
This fixes the link failure when configured with -DBUILD_SHARED_LIBS=ON as reported in polybar#1628. xpp will now always build a static lib Ref polybar/xpp#15
This fixes the link failure when configured with -DBUILD_SHARED_LIBS=ON as reported in polybar#1628. xpp will now always build a static lib Ref polybar/xpp#15
This fixes the link failure when configured with -DBUILD_SHARED_LIBS=ON as reported in #1628. xpp will now always build a static lib Ref polybar/xpp#15
This fixes the link failure when configured with -DBUILD_SHARED_LIBS=ON as reported in #1628. xpp will now always build a static lib Ref polybar/xpp#15
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (#1576), see #1462 * Workspace removal not always detected (#1579), see #1491, #248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (#1591), see #975 * `internal/fs`: Incorrect sizes on some machines (#1612, #1699), see #743 * `internal/network`: Buffer overflow with ipv6 addresses (#1514) * renderer: Show proper error when imagemagick is used to set the background (#1608), see #1582, #1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (#1571) * Build failure on clang8 (#1675), #1674 * Allow negative offset values for `tray-offset-*` (#1669), see #1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (#1647, polybar/xpp#15), see #1628 * controller: Crash when reloading via `SIGUSR1` too fast (#1678), #428
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (#1576), see #1462 * Workspace removal not always detected (#1579), see #1491, #248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (#1591), see #975 * `internal/fs`: Incorrect sizes on some machines (#1612, #1699), see #743 * `internal/network`: Buffer overflow with ipv6 addresses (#1514) * renderer: Show proper error when imagemagick is used to set the background (#1608), see #1582, #1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (#1571) * Build failure on clang8 (#1675), #1674 * Allow negative offset values for `tray-offset-*` (#1669), see #1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (#1647, polybar/xpp#15), see #1628 * controller: Crash when reloading via `SIGUSR1` too fast (#1678), #428
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
Uh oh!
There was an error while loading. Please reload this page.
It seems when I compile polybar with
CMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now"
The build aborts with:
Build Process
Using 3.3.0 tarball.
We have a general cmake macro which expands to:
After that:
but we don't get to that.
Build Log
Complete build log can be found here
Environment:
openSUSE Tumbleweed OBS
Additional context
I'm in the process to update syseks spec file so polybar can become part of the official distribution. All building happens in the OpenBuildSystem.
I tried to explain the steps taken above independent of the OBS.
The modified spec file can be seen here
sysek's spec file calls,
mkdir build; cd build; cmake ..
which builds find fine.To get polybar into official devel repositories and then into the distro we should use the macros. My guess is that
CMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now
create trouble. Maybe something isn't defined in the CMakeList.txt, like-lxcb
might be missing.The diff between his package and my attempt to clean it up can be seen here
The text was updated successfully, but these errors were encountered: