Package Details: wlc-git 0.0.7.r22.g12ee978-2

Git Clone URL: https://aur.archlinux.org/wlc-git.git (read-only)
Package Base: wlc-git
Description: wayland compositor library
Upstream URL: https://github.com/Cloudef/wlc
Keywords: wayland
Licenses: MIT
Conflicts: wlc
Provides: wlc
Submitter: Earnest
Maintainer: Earnest
Last Packager: Earnest
Votes: 40
Popularity: 0.000004
First Submitted: 2015-08-10 13:37
Last Updated: 2017-01-22 19:32

Latest Comments

1 2 Next › Last »

Earnest commented on 2018-05-04 15:14

That's because clang does not support -fvar-tracking-assignments but it is what makepkg.conf uses by default in its DEBUG_CFLAGS.

There's nothing I can do, or should do about it. Use gcc instead or define the DEBUG_CFLAGS to use a different value.

budkin commented on 2018-05-04 01:41

won't build with

==> Starting build()... -- The C compiler identification is Clang 6.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- broken CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler

"/usr/bin/clang"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/budkin/.cache/yay/wlc-git/src/wlc/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_fb146/fast"
/usr/bin/make -f CMakeFiles/cmTC_fb146.dir/build.make CMakeFiles/cmTC_fb146.dir/build
make[1]: Entering directory '/home/budkin/.cache/yay/wlc-git/src/wlc/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fb146.dir/testCCompiler.c.o
/usr/bin/clang   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -g -fvar-tracking-assignments    -o CMakeFiles/cmTC_fb146.dir/testCCompiler.c.o   -c /home/budkin/.cache/yay/wlc-git/src/wlc/CMakeFiles/CMakeTmp/testCCompiler.c
clang-6.0: error: unknown argument: '-fvar-tracking-assignments'
clang-6.0: error: unknown argument: '-fvar-tracking-assignments'
make[1]: *** [CMakeFiles/cmTC_fb146.dir/build.make:66: CMakeFiles/cmTC_fb146.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory '/home/budkin/.cache/yay/wlc-git/src/wlc/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_fb146/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (PROJECT)

-- Configuring incomplete, errors occurred! See also "/home/budkin/.cache/yay/wlc-git/src/wlc/CMakeFiles/CMakeOutput.log". See also "/home/budkin/.cache/yay/wlc-git/src/wlc/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting... Error making: wlc-git

Earnest commented on 2018-03-10 09:06

I could but since it goes against Arch Linux's general policy on providing static libraries, I'd like to have some rational for why it should be included if you don't mind.

EndlessEden commented on 2018-03-09 23:09

can you please add static libs, to this package. or a seperate package for static libs?

Example PKGBUILD: https://gist.github.com/EndlessEden/6abee9d1549043c74d14463c5077a664 Split-Packages provide Static Libraries from the same source. With the static libs as a optional depend, and the static package having specific dependencies on wlc-git it was built with.

moscar commented on 2016-10-27 05:11

The build is currently failing if you don't have wayland-protocols installed systemwide:

==> Making package: wlc-git 0.0.7.r4.gb0188b1-1 (Thu Oct 27 07:08:37 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning wlc git repo...
Cloning into bare repository '/home/moscar/cower_pkgs/wlc-git/wlc'...
remote: Counting objects: 7289, done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 7289 (delta 13), reused 0 (delta 0), pack-reused 7254
Receiving objects: 100% (7289/7289), 1.54 MiB | 2.66 MiB/s, done.
Resolving deltas: 100% (5199/5199), done.
-> Cloning chck git repo...
Cloning into bare repository '/home/moscar/cower_pkgs/wlc-git/chck'...
remote: Counting objects: 1821, done.
remote: Total 1821 (delta 0), reused 0 (delta 0), pack-reused 1821
Receiving objects: 100% (1821/1821), 398.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1166/1166), done.
-> Cloning wayland-protocols git repo...
Cloning into bare repository '/home/moscar/cower_pkgs/wlc-git/wayland-protocols'...
remote: Counting objects: 597, done.
remote: Compressing objects: 100% (356/356), done.
remote: Total 597 (delta 386), reused 387 (delta 229)
Receiving objects: 100% (597/597), 137.43 KiB | 0 bytes/s, done.
Resolving deltas: 100% (386/386), done.
==> Validating source files with sha1sums...
wlc ... Skipped
chck ... Skipped
wayland-protocols ... Skipped
==> Extracting sources...
-> Creating working copy of wlc git repo...
Cloning into 'wlc'...
done.
-> Creating working copy of chck git repo...
Cloning into 'chck'...
done.
-> Creating working copy of wayland-protocols git repo...
Cloning into 'wayland-protocols'...
done.
==> Starting prepare()...
Submodule 'lib/chck' (git://github.com/Cloudef/chck.git) registered for path 'lib/chck'
Submodule 'protos/wayland-protocols' (git://anongit.freedesktop.org/wayland/wayland-protocols) registered for path 'protos/wayland-protocols'
Cloning into '/home/moscar/cower_pkgs/wlc-git/src/wlc/lib/chck'...
done.
Cloning into '/home/moscar/cower_pkgs/wlc-git/src/wlc/protos/wayland-protocols'...
done.
Submodule path 'lib/chck': checked out 'ab3d82e3dab626682844f5000c2a5f9eecf5e827'
Submodule path 'protos/wayland-protocols': checked out 'a1d574fabec2ac289eb6bd49275e8e5266e47020'
==> Starting pkgver()...
==> Starting build()...
-- The C compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Could NOT find chck (missing: CHCK_LIBRARIES CHCK_INCLUDE_DIRS)
Adding chck as subdirectory
-- Performing Test has_fstack_protector_strong
-- Performing Test has_fstack_protector_strong - Success
-- Performing Test ok
-- Performing Test ok - Success
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find valgrind (missing: VALGRIND_INCLUDE_DIRS)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found MATH: /usr/lib64/libm.so
-- Found WAYLAND_CLIENT: /usr/lib64/libwayland-client.so
-- Found WAYLAND_SERVER: /usr/lib64/libwayland-server.so
-- Found WAYLAND_EGL: /usr/lib64/libwayland-egl.so
-- Found WAYLAND: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-egl.so
-- Found PIXMAN: /usr/lib64/libpixman-1.so
-- Found XKBCOMMON: /usr/lib64/libxkbcommon.so
-- Found UDEV: /usr/include
-- Found LIBINPUT: /usr/include
Package wayland-protocols was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-protocols.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wayland-protocols' found
CMake Error at /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find WaylandProtocols (missing: WLPROTO_PATH WLPROTO_PATH)
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
CMake/FindWaylandProtocols.cmake:38 (find_package_handle_standard_args)
CMakeLists.txt:42 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/moscar/cower_pkgs/wlc-git/src/wlc/CMakeFiles/CMakeOutput.log".
See also "/home/moscar/cower_pkgs/wlc-git/src/wlc/CMakeFiles/CMakeError.log".

Earnest commented on 2016-02-18 20:59

Odd, https://cgit.freedesktop.org/wayland/wayland-protocols/ doesn't offer an https link but does appear to work.

Fair enough, I'll do so.

StephenBrown2 commented on 2016-02-18 20:54

Could you adjust the wayland-protocols source URL to be:

git+https://anongit.freedesktop.org/git/wayland/wayland-protocols.git

To both match the other source protocols, and allow those of us behind silly firewalls to pull all the resources for wlc. :-)

mwoodruff commented on 2016-02-16 14:43

Right you are, I was using an old PKGBUILD. Thanks!

Earnest commented on 2016-02-16 14:39

Although it builds without issues on my end.

Make sure you have a version of the PKGBUILD containing -DSOURCE_WLPROTO=ON
which allows it to use the recommended submodule clone instead.

I'll bump the version anyway.

mwoodruff commented on 2016-02-16 14:23

wlc wouldn't build without wayland-protocols installed. Builds fine once wayland-protocols is installed.

(Edit: version 879, if that helps.)