You are not logged in.

#1 2024-08-18 19:41:01

invertarcher
Member
Registered: 2024-08-18
Posts: 4

[SOLVED] x11spice error?

HI,

Trying to install x11spice from the AUR - https://aur.archlinux.org/packages/x11spice

I get the error below - Any ideas? Or how to get going? @horaciohs @chris_l @qpalz

session.c: In function ‘end_audit’:                  
session.c:281:9: error: ignoring return value of ‘audit_log_user_message’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]                                                                       
  281 |         audit_log_user_message(s->audit_id, s->options.audit_message_type,                                                                                                                                   
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        
  282 |                                "x11spice close", NULL, NULL, NULL, 1);                            
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
session.c: In function ‘session_remote_connected’:                                                        
session.c:518:9: error: ignoring return value of ‘audit_log_user_message’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]                                                                       
  518 |         audit_log_user_message(global_session->audit_id, global_session->options.audit_message_type,                                                                                                         
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                         
  519 |                                "x11spice connect", NULL, NULL, NULL, 1);                          
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
session.c: In function ‘session_remote_disconnected’:                                                     
session.c:535:9: error: ignoring return value of ‘audit_log_user_message’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]                                                                       
  535 |         audit_log_user_message(global_session->audit_id, global_session->options.audit_message_type,                                                                                                         
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                         
  536 |                                "x11spice disconnect", NULL, NULL, NULL, 1);                       
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        
cc1: all warnings being treated as errors            
make[2]: *** [Makefile:556: session.o] Error 1                                                            
make[2]: Leaving directory '/home/michael/.cache/yay/x11spice/src/x11spice-1.1/src'                                                                                                                                  
make[1]: *** [Makefile:687: all-recursive] Error 1                                                                                                                                                                   
make[1]: Leaving directory '/home/michael/.cache/yay/x11spice/src/x11spice-1.1/src'                                                                                                                                  
make: *** [Makefile:370: all-recursive] Error 1                                                           
==> ERROR: A failure occurred in build().            
    Aborting...                                      
 -> error making: x11spice-exit status 4             
 -> Failed to install the following packages. Manual intervention is required:                            
x11spice - exit status 4

Last edited by invertarcher (2024-08-19 17:52:59)

Offline

#2 2024-08-18 20:10:16

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,406
Website

Re: [SOLVED] x11spice error?

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-08-18 22:29:42

seth
Member
Registered: 2012-09-03
Posts: 58,728

Re: [SOLVED] x11spice error?

https://gcc.gnu.org/onlinedocs/gcc/Warn … sed-result
https://gitlab.freedesktop.org/spice/x1 … e=heads#L8

Do not re-fetch the sources to maintain local changes.
AUR package looks unmaintained.

Offline

#4 2024-08-19 17:42:14

invertarcher
Member
Registered: 2024-08-18
Posts: 4

Re: [SOLVED] x11spice error?

Got it, change the Makefile.am to below, and then manually git clone and building the package 'makepkg -o','makepkg -e', installing with pacman got it working! Used this - https://wiki.archlinux.org/title/Arch_User_Repository

However, in the end using TigerVNC and x0vncserver was actually faster then SPICE.

CUSTOM_CFLAGS=-Wall -Wno-deprecated-declarations -Wno-format-security -Wno-unused-result -Werror $(X11SPICE_ONLY_CFLAGS)

Offline

Board footer

Powered by FluxBB