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

Release 0.7.0 fails to build with wayfire 0.7.3 #126

Closed
magthe opened this issue May 15, 2022 · 11 comments
Closed

Release 0.7.0 fails to build with wayfire 0.7.3 #126

magthe opened this issue May 15, 2022 · 11 comments

Comments

@magthe
Copy link

magthe commented May 15, 2022

Failing on Arch with:

[27/37] Compiling C++ object src/libmag.so.p/mag.cpp.o
FAILED: src/libmag.so.p/mag.cpp.o
c++ -Isrc/libmag.so.p -Isrc -I../wayfire-plugins-extra-0.7.0/src -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -O0 -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -Wno-unused-parameter -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ src/libmag.so.p/mag.cpp.o -MF src/libmag.so.p/mag.cpp.o.d -o src/libmag.so.p/mag.cpp.o -c ../wayfire-plugins-extra-0.7.0/src/mag.cpp
../wayfire-plugins-extra-0.7.0/src/mag.cpp: In lambda function:
../wayfire-plugins-extra-0.7.0/src/mag.cpp:178:14: error: ‘wlr_output_export_dmabuf’ was not declared in this scope; did you mean ‘wlr_output_event_damage’?
  178 |         if (!wlr_output_export_dmabuf(output->handle, &dmabuf_attribs))
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
      |              wlr_output_event_damage
[32/37] Compiling C++ object src/libworkspace-names.so.p/workspace-names.cpp.o
@magthe
Copy link
Author

magthe commented May 15, 2022

All the other plugins seem to build fine though.

@marcusbritanicus
Copy link
Contributor

@magthe i think git should compile.

@magthe
Copy link
Author

magthe commented May 16, 2022

Nice, then I have something to try out.

@marcusbritanicus
Copy link
Contributor

@magthe I believe I was wrong. git probably will not compile with 0.7.3
However, the good news is you can simply copy mag.cpp from git into 0.7.x and you'll be able to compile. If you succeed, please let me know. I will open a MR with the change.

@magthe
Copy link
Author

magthe commented May 22, 2022

@marcusbritanicus that builds beautifully!

@marcusbritanicus
Copy link
Contributor

@magthe Could you also please test the magnifier plugin for me?

@koyo-nic
Copy link

koyo-nic commented May 25, 2022

@magthe Could you also please test the magnifier plugin for me?

Hi @marcusbritanicus. Unrelated I have arrived here after trying to upgrade from v0.7.0-1 to v0.7.0-2 available in AUR/paru. I was getting similar error message. As far as the issue is concerned I have tested the magnifier and it works.
I am using garuda linux.
meson build
ninja build
test

@marcusbritanicus
Copy link
Contributor

@koyo-nic What is your wayfire version? If your wayfire version is v0.7.3, then v0.7.0-2 will not compile. You'll have to either use Wayfire v0.7.2 or wait for w-p-e release or compile from git, pulling in #127

@koyo-nic
Copy link

koyo-nic commented May 27, 2022

@marcusbritanicus That's alright. Thanks for the directions. Using Wayfire version v0.7.3. How about compiling from source to see?

@dr460nf1r3
Copy link

Fixed the AUR PKGBUILD in chaotic-aur/interfere@db6d0f6. Now the maintainer just needs to patch that PKGBUILD :) thanks @marcusbritanicus for fixing it!

@soreau
Copy link
Member

soreau commented Aug 15, 2022

This seems to be fixed, closing.

@soreau soreau closed this as completed Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants