Package Details: xrgears-git 1.0.1.55.d0bee35-1

Git Clone URL: https://aur.archlinux.org/xrgears-git.git (read-only, click to copy)
Package Base: xrgears-git
Description: An OpenXR example using Vulkan for rendering.
Upstream URL: https://gitlab.freedesktop.org/monado/demos/xrgears
Licenses: MIT
Conflicts: xrgears
Provides: xrgears
Submitter: lubosz
Maintainer: lubosz
Last Packager: lubosz
Votes: 1
Popularity: 0.000000
First Submitted: 2019-09-12 13:10 (UTC)
Last Updated: 2020-11-24 11:31 (UTC)

Latest Comments

dreieck commented on 2024-02-09 09:31 (UTC)

You need to comment out your options or add !lto, otherwise
build fails for me with meson.build:1:0: ERROR: Compiler ccache cc cannot compile programs.:

==> Starting build()...
The Meson build system
Version: 1.3.1
Source dir: /tmp/makepkg/build/xrgears-git/src/xrgears
Build dir: /tmp/makepkg/build/xrgears-git/src/xrgears/build
Build type: native build
Project name: xrgears
Project version: 1.0.1

meson.build:1:0: ERROR: Compiler ccache cc cannot compile programs.

A full log can be found at /tmp/makepkg/build/xrgears-git/src/xrgears/build/meson-logs/meson-log.txt

/tmp/makepkg/build/xrgears-git/src/xrgears/build/meson-logs/meson-log.txt contains:

Sanity check compile stderr:
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
/usr/bin/ld: /tmp/ccteWp4O.o: plugin needed to handle lto object
/usr/bin/ld: /tmp/ccteWp4O.o: plugin needed to handle lto object
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status

Regards!