Skip to content
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

waylandpp: 0.2.5 -> 0.2.6 #70811

Closed
wants to merge 1 commit into from

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Oct 9, 2019

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/waylandpp/versions.

meta.description for waylandpp is: '"Wayland C++ binding"'.

meta.homepage for waylandpp is: '"https://github.com/NilsBrause/waylandpp/"

Release on GitHub

Compare changes on GitHub

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
kodi-wayland
kodiPlainWayland
waylandpp

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/bnkpc9rgn4l79s0k1gska6an99qf1v41-waylandpp-0.2.6 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A waylandpp https://github.com/r-ryantm/nixpkgs/archive/c21eecf5b198a3c20cf47bc3295821b9a161eaf1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/bnkpc9rgn4l79s0k1gska6an99qf1v41-waylandpp-0.2.6
ls -la /nix/store/bnkpc9rgn4l79s0k1gska6an99qf1v41-waylandpp-0.2.6/bin

cc @minijackson for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/waylandpp/versions
@minijackson
Copy link
Member

minijackson commented Oct 10, 2019

So, kodiPlainWayland doesn't build for me:

Error log
In file included from /nix/store/bnkpc9rgn4l79s0k1gska6an99qf1v41-waylandpp-0.2.6/include/wayland-client.hpp:38,
                 from /build/source/xbmc/windowing/wayland/Connection.h:13,
                 from /build/source/xbmc/windowing/wayland/ShellSurfaceXdgShell.h:11,
                 from /build/source/xbmc/windowing/wayland/ShellSurfaceXdgShell.cpp:9:
/nix/store/bnkpc9rgn4l79s0k1gska6an99qf1v41-waylandpp-0.2.6/include/wayland-util.hpp: In instantiation of 'wayland::array_t::operator std::vector<T>() const [with T = wayland::xdg_toplevel_state]':
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/std_function.h:297:37:   required from 'static void std::_Function_handler<void(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Functor = KODI::WINDOWING::WAYLAND::CShellSurfaceXdgShell::CShellSurfaceXdgShell(KODI::WINDOWING::WAYLAND::IShellSurfaceHandler&, wayland::display_t&, const wayland::xdg_wm_base_t&, const wayland::surface_t&, const string&, const string&)::<lambda(int32_t, int32_t, std::vector<wayland::xdg_toplevel_state>)>; _ArgTypes = {int, int, wayland::array_t}]'
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/std_function.h:675:19:   required from 'std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = KODI::WINDOWING::WAYLAND::CShellSurfaceXdgShell::CShellSurfaceXdgShell(KODI::WINDOWING::WAYLAND::IShellSurfaceHandler&, wayland::display_t&, const wayland::xdg_wm_base_t&, const wayland::surface_t&, const string&, const string&)::<lambda(int32_t, int32_t, std::vector<wayland::xdg_toplevel_state>)>; <template-parameter-2-2> = void; <template-parameter-2-3> = void; _Res = void; _ArgTypes = {int, int, wayland::array_t}]'
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/std_function.h:524:4:   required from 'std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = KODI::WINDOWING::WAYLAND::CShellSurfaceXdgShell::CShellSurfaceXdgShell(KODI::WINDOWING::WAYLAND::IShellSurfaceHandler&, wayland::display_t&, const wayland::xdg_wm_base_t&, const wayland::surface_t&, const string&, const string&)::<lambda(int32_t, int32_t, std::vector<wayland::xdg_toplevel_state>)>; _Res = void; _ArgTypes = {int, int, wayland::array_t}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<void(int, int, wayland::array_t)>&]'
/build/source/xbmc/windowing/wayland/ShellSurfaceXdgShell.cpp:78:3:   required from here
/nix/store/bnkpc9rgn4l79s0k1gska6an99qf1v41-waylandpp-0.2.6/include/wayland-util.hpp:472:7: error: invalid static_cast from type 'wayland::xdg_toplevel_state*' to type 'const char*'
       wl_array_for_each_cpp(p, &a)
       ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/build.make:193: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/ShellSurfaceXdgShell.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10294: build/windowing/wayland/CMakeFiles/windowing_WAYLAND.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I'm on x86_64-linux and built it using nix-review so I don't know how the bot managed to build it (or maybe he didn't and I misunderstood its message). I'll look into it in more details later, and maybe contact Kodi upstream. (Or wayland++, since it seems like a breaking change in a minor release)

@alyssais alyssais closed this Mar 14, 2020
@r-ryantm r-ryantm deleted the auto-update/waylandpp branch March 14, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants