I think there's something weird in upstream commit 4995, those "#if XORG < 112" should actually be "#if XORG < 113", and it's this that causes the error. Are you running [testing] by any chance? I plan to update this PKGBUILD for xorg-server-1.13 which is in [testing], and if I'm right about commit 4995, compiling against xorg-server-1.13 will not fail.
Search Criteria
Package Details: tigervnc-git r4793.1e87050d-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/tigervnc-git.git (read-only, click to copy) |
---|---|
Package Base: | tigervnc-git |
Description: | Suite of VNC servers and clients. Based on the VNC 4 branch of TightVNC. |
Upstream URL: | http://www.tigervnc.org |
Licenses: | GPL |
Conflicts: | tigervnc, tightvnc |
Provides: | tigervnc |
Submitter: | Gusar |
Maintainer: | drew33 |
Last Packager: | drew33 |
Votes: | 13 |
Popularity: | 0.000000 |
First Submitted: | 2014-07-29 11:43 (UTC) |
Last Updated: | 2023-11-01 14:55 (UTC) |
Dependencies (28)
- fltk (fltk-gitAUR)
- gnutls (gnutls-gitAUR)
- libdrm (libdrm-gitAUR)
- libgcrypt
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglpAUR, amdgpu-pro-oglp-legacyAUR, libglvnd)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libxdamage
- libxfont2
- libxtst
- pam (pam-selinuxAUR)
- perl (perl-gitAUR)
- pixman (pixman-gitAUR)
- xkeyboard-config (xkeyboard-config-hhkAUR, galliumos-xkeyboard-configAUR, xkeyboard-config-adnwAUR, xkeyboard-config-bbkt-gitAUR, xkeyboard-config-bbktAUR, xkeyboard-config-gitAUR)
- xorg-xauth
- xorg-xinit (xorg-xinit-gitAUR)
- xorg-xkbcomp
- xorg-xsetroot
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- Show 8 more dependencies...
Required by (15)
- asbru-cm (requires tigervnc) (optional)
- asbru-cm-git (requires tigervnc) (optional)
- asbru-cm-loki-git (requires tigervnc) (optional)
- epoptes (requires tigervnc)
- epoptes-client (requires tigervnc)
- gitso (requires tigervnc)
- nx3-all (requires tigervnc) (optional)
- pobvnc (requires tigervnc)
- qconnect (requires tigervnc) (optional)
- raat-server (requires tigervnc)
- virtualbox-ext-vnc-svn (requires tigervnc) (optional)
- vncdesk-git (requires tigervnc)
- xrdp (requires tigervnc) (optional)
- xrdp-devel-git (requires tigervnc)
- xrdp-git (requires tigervnc) (optional)
Sources (5)
Gusar commented on 2012-10-10 09:47 (UTC)
<deleted-account> commented on 2012-10-10 07:05 (UTC)
I am running a fully updated x64 box, and get this error while installing:
make[3]: Entering directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw/vnc'
CXX libvnc_la-xf86vncModule.lo
CXX libvnccommon_la-vncExtInit.lo
vncExtInit.cc: In function 'int ProcVncExtApproveConnect(ClientPtr)':
vncExtInit.cc:1070:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
CXX libvnccommon_la-vncHooks.lo
vncHooks.cc: In function 'Bool vncHooksInit(ScreenPtr, XserverDesktop*)':
vncHooks.cc:309:26: error: invalid conversion from 'Bool (*)(ScreenPtr) {aka int (*)(_Screen*)}' to 'CloseScreenProcPtr {aka int (*)(int, _Screen*)}' [-fpermissive]
vncHooks.cc:319:27: error: invalid conversion from 'void (*)(ScreenPtr, pointer, pointer) {aka void (*)(_Screen*, void*, void*)}' to 'ScreenBlockHandlerProcPtr {aka void (*)(int, void*, void*, void*)}' [-fpermissive]
vncHooks.cc: In function 'Bool vncHooksCloseScreen(ScreenPtr)':
vncHooks.cc:404:41: error: invalid conversion from 'ScreenPtr {aka _Screen*}' to 'int' [-fpermissive]
vncHooks.cc:404:41: error: too few arguments to function
vncHooks.cc: In function 'void vncHooksBlockHandler(ScreenPtr, pointer, pointer)':
vncHooks.cc:589:57: error: invalid conversion from 'ScreenPtr {aka _Screen*}' to 'int' [-fpermissive]
vncHooks.cc:589:57: error: too few arguments to function
vncHooks.cc:594:1: error: invalid conversion from 'void (*)(ScreenPtr, pointer, pointer) {aka void (*)(_Screen*, void*, void*)}' to 'ScreenBlockHandlerProcPtr {aka void (*)(int, void*, void*, void*)}' [-fpermissive]
make[3]: *** [libvnccommon_la-vncHooks.lo] Error 1
make[3]: Leaving directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw/vnc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw/vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: tigervnc-svn cleaned
kang commented on 2012-07-29 17:39 (UTC)
could wait more than 30min for me to reply maybe. disown is fine tho.
dserban commented on 2012-07-29 11:03 (UTC)
Disowned.
Pinned Comments
Gusar commented on 2019-11-23 21:13 (UTC) (edited on 2019-11-23 21:13 (UTC) by Gusar)
@sp1d3rmxn (and others trying to build this): Change _xorgver at the top of the PKGBUILD to 1.20.6 then update the sha256sums, it should compile then. The machine where I have ssh keys for uploading to AUR isn't with me right now, so it'll be a week or two before I can do an update.