[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VM Error compiling Gambas for the first time on Manjaro


Hi Benoit,

as per the object, these are the commands given:

$ sudo pacman -Syu --needed --noconfirm alure autoconf automake bzip2 zstd coreutils curl dbus gcc gdk-pixbuf2 git glew glib2 gmime3 gsl gst-plugins-base gstreamer gtk2 gtk3 imlib2 intltool libffi libgl libgnome-keyring mariadb-libs librsvg libsm libxcursor libxml2 libxslt libxtst mariadb make mesa ncurses pcre

$ sudo pacman -Syu --needed --noconfirm pkg-config poppler poppler-glib postgresql postgresql-libs qt5-svg qt5-x11extras sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf sdl_mixer sdl_ttf smpeg sqlite unixodbc v4l-utils xdg-utils zlib gettext qt5-webengine webkit2gtk qt6-svg qt6-webengine mongo-c-driver

$ git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel
$ cd gambasdevel
$ ./reconf-all && ./configure -C
$ make && LANG="C" sudo make install


$ neofetch

OS: Manjaro Linux x86_64
██████████████████ ████████ Host: KVM/QEMU (Standard PC (Q35 + ICH9, 2009) p
████████            ████████   Kernel: 6.11.10-2-MANJARO
████████  ████████  ████████   Uptime: 48 mins
████████  ████████  ████████   Packages: 1114 (pacman)
████████  ████████  ████████   Shell: bash 5.2.37
████████  ████████  ████████   Resolution: 1280x800
████████  ████████  ████████   DE: Xfce 4.18
████████  ████████  ████████   WM: Xfwm4
████████  ████████  ████████   WM Theme: Matcha-sea
████████  ████████  ████████   Theme: Matcha-sea [GTK2], Adwaita [GTK3]
████████  ████████  ████████   Icons: Papirus-Maia [GTK2], Adwaita [GTK3]
                               Terminal: xfce4-terminal
                               Terminal Font: Monospace 12
                               CPU: AMD Ryzen 7 3800XT (2) @ 3.892GHz
                               GPU: 00:01.0 Red Hat, Inc. Virtio 1.0 GPU
                               Memory: 647MiB / 3915MiB

$ env
SHELL=/bin/bash
SESSION_MANAGER=local/vuott-kvm:@/tmp/.ICE-unix/861,unix/vuott-kvm:/tmp/.ICE-unix/861
WINDOWID=67108867
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_MENU_PREFIX=xfce-
LC_ADDRESS=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
SSH_AUTH_SOCK=/tmp/ssh-XXXXXX8OxcWF/agent.922
XDG_CONFIG_HOME=/home/vuott/.config
DESKTOP_SESSION=xfce
LC_MONETARY=it_IT.UTF-8
SSH_AGENT_PID=923
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/vuott
LOGNAME=vuott
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_TYPE=x11
PANEL_GDK_CORE_DEVICE_EVENTS=0
XAUTHORITY=/home/vuott/.Xauthority
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/vuott
MOTD_SHOWN=pam
GDM_LANG=it_IT.utf8
HOME=/home/vuott
LC_PAPER=it_IT.UTF-8
LANG=it_IT.utf8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=XFCE
VTE_VERSION=7802
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CACHE_HOME=/home/vuott/.cache
XDG_SESSION_CLASS=user
TERM=xterm-256color
LC_IDENTIFICATION=it_IT.UTF-8
USER=vuott
DISPLAY=:0.0
SHLVL=1
LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
XDG_VTNR=7
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
LC_TIME=it_IT.UTF-8
GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module
XDG_DATA_DIRS=/home/vuott/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
PATH=/home/vuott/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
GDMSESSION=xfce
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/vuott
LC_NUMERIC=it_IT.UTF-8
_=/usr/bin/env

This is the terminal's response (last lines):

Making all in src
  CC       gb_desktop_x11_la-main.lo
  CC       gb_desktop_x11_la-x11.lo
  CC       gb_desktop_x11_la-gb_list.lo
  CC       gb_desktop_x11_la-c_x11.lo
  CC       gb_desktop_x11_la-c_x11systray.lo
  CC       systray/gb_desktop_x11_la-systray.lo
  CC       systray/gb_desktop_x11_la-icons.lo
  CC       systray/gb_desktop_x11_la-xembed.lo
  CC       systray/gb_desktop_x11_la-embed.lo
  CC       systray/gb_desktop_x11_la-settings.lo
  CC       systray/gb_desktop_x11_la-xutils.lo
  CC       systray/gb_desktop_x11_la-tray.lo
  CC       systray/gb_desktop_x11_la-wmh.lo
  CC       systray/gb_desktop_x11_la-debug.lo
  CC       systray/gb_desktop_x11_la-kde_tray.lo
  CCLD     gb.desktop.x11.la
Making all in gb.desktop.gnome.keyring
Making all in src
  CC       gb_desktop_gnome_keyring_la-main.lo
  CC       gb_desktop_gnome_keyring_la-keyring.lo
keyring.c: In function 'get_password':
keyring.c:50:9: warning: 'gnome_keyring_attribute_list_append_string' is deprecated: Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] 50 | gnome_keyring_attribute_list_append_string(attributes, "name", name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from keyring.c:30:
/usr/include/gnome-keyring-1/gnome-keyring.h:145:28: note: declared here
145 | void gnome_keyring_attribute_list_append_string (GnomeKeyringAttributeList *attributes, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyring.c:51:9: warning: 'gnome_keyring_attribute_list_append_string' is deprecated: Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] 51 | gnome_keyring_attribute_list_append_string(attributes, "magic", GB.Application.Name());
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:145:28: note: declared here
145 | void gnome_keyring_attribute_list_append_string (GnomeKeyringAttributeList *attributes, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyring.c:53:9: warning: 'gnome_keyring_find_items_sync' is deprecated: Use 'secret_service_search_sync' instead [-Wdeprecated-declarations] 53 | result = gnome_keyring_find_items_sync(GNOME_KEYRING_ITEM_GENERIC_SECRET, attributes, &found_list);
      |         ^~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:321:20: note: declared here
321 | GnomeKeyringResult gnome_keyring_find_items_sync (GnomeKeyringItemType type,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:54:9: warning: 'gnome_keyring_attribute_list_free' is deprecated: Use 'g_hash_table_unref' instead [-Wdeprecated-declarations]
   54 |         gnome_keyring_attribute_list_free(attributes);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:155:28: note: declared here
155 | void gnome_keyring_attribute_list_free (GnomeKeyringAttributeList *attributes);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:61:17: warning: 'gnome_keyring_result_to_message' is deprecated [-Wdeprecated-declarations] 61 | GB.Error("Unable to retrieve password: &1", gnome_keyring_result_to_message(result));
      |                 ^~
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
166 | const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:72:9: warning: 'gnome_keyring_found_list_free' is deprecated [-Wdeprecated-declarations]
   72 |         gnome_keyring_found_list_free(found_list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:174:6: note: declared here
  174 | void gnome_keyring_found_list_free          (GList *found_list);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c: In function 'set_password':
keyring.c:87:9: warning: 'gnome_keyring_attribute_list_append_string' is deprecated: Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] 87 | gnome_keyring_attribute_list_append_string(attributes, "name", name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:145:28: note: declared here
145 | void gnome_keyring_attribute_list_append_string (GnomeKeyringAttributeList *attributes, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyring.c:88:9: warning: 'gnome_keyring_attribute_list_append_string' is deprecated: Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] 88 | gnome_keyring_attribute_list_append_string(attributes, "magic", GB.Application.Name());
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:145:28: note: declared here
145 | void gnome_keyring_attribute_list_append_string (GnomeKeyringAttributeList *attributes, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyring.c:92:17: warning: 'gnome_keyring_item_create_sync' is deprecated: Use 'secret_item_create_sync' instead [-Wdeprecated-declarations]
   92 |                 result = gnome_keyring_item_create_sync(NULL,
      |                 ^~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:340:20: note: declared here
340 | GnomeKeyringResult gnome_keyring_item_create_sync (const char *keyring,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:100:17: warning: 'gnome_keyring_attribute_list_free' is deprecated: Use 'g_hash_table_unref' instead [-Wdeprecated-declarations]
  100 |                 gnome_keyring_attribute_list_free(attributes);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:155:28: note: declared here
155 | void gnome_keyring_attribute_list_free (GnomeKeyringAttributeList *attributes);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:105:17: warning: 'gnome_keyring_result_to_message' is deprecated [-Wdeprecated-declarations] 105 | GB.Error("Unable to store password: &1", gnome_keyring_result_to_message(result));
      |                 ^~
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
166 | const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:110:17: warning: 'gnome_keyring_find_items_sync' is deprecated: Use 'secret_service_search_sync' instead [-Wdeprecated-declarations] 110 | result = gnome_keyring_find_items_sync(GNOME_KEYRING_ITEM_GENERIC_SECRET, attributes, &found_list);
      |                 ^~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:321:20: note: declared here
321 | GnomeKeyringResult gnome_keyring_find_items_sync (GnomeKeyringItemType type,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:111:17: warning: 'gnome_keyring_attribute_list_free' is deprecated: Use 'g_hash_table_unref' instead [-Wdeprecated-declarations]
  111 |                 gnome_keyring_attribute_list_free(attributes);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:155:28: note: declared here
155 | void gnome_keyring_attribute_list_free (GnomeKeyringAttributeList *attributes);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:119:33: warning: 'gnome_keyring_item_delete_sync' is deprecated: Use 'secret_item_delete_sync' instead [-Wdeprecated-declarations] 119 | gnome_keyring_item_delete_sync(NULL, ((GnomeKeyringFound *)(i->data))->item_id);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:354:20: note: declared here
354 | GnomeKeyringResult gnome_keyring_item_delete_sync (const char *keyring,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:121:25: warning: 'gnome_keyring_found_list_free' is deprecated [-Wdeprecated-declarations]
  121 |                         gnome_keyring_found_list_free(found_list);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gnome-keyring-1/gnome-keyring.h:174:6: note: declared here
  174 | void gnome_keyring_found_list_free          (GList *found_list);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyring.c:125:17: warning: 'gnome_keyring_result_to_message' is deprecated [-Wdeprecated-declarations] 125 | GB.Error("Unable to remove password: &1", gnome_keyring_result_to_message(result));
      |                 ^~
/usr/include/gnome-keyring-1/gnome-keyring.h:166:28: note: declared here
166 | const gchar* gnome_keyring_result_to_message (GnomeKeyringResult res);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CCLD     gb.desktop.gnome.keyring.la
Making all in gb.pdf
Making all in src
  CXX      gb_pdf_la-main.lo
  CXX      gb_pdf_la-CPdfDocument.lo
CPdfDocument.cpp: In function 'void PDFPAGE_select(void*, void*)':
CPdfDocument.cpp:1040:80: error: cannot convert 'bool' to 'bool (*)(void*)'
1040 | >page->createGfx(dev,72.0,72.0,0,false,true,-1, -1, -1, -1, false, NULL, NULL);
      |                                                             ^~~~~
      |                                                             |
      |                                                             bool

In file included from /usr/include/poppler/PDFDoc.h:63,
                 from CPdfDocument.h:29,
                 from CPdfDocument.cpp:26:
/usr/include/poppler/Page.h:224:158: note: initializing argument 11 of 'Gfx* Page::createGfx(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool (*)(void*), void*, XRef*)' 224 | rop, int sliceX, int sliceY, int sliceW, int sliceH, bool (*abortCheckCbk)(void *data), void *abortCheckCbkData, XRef *xrefA = nullptr); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

make[4]: *** [Makefile:530: gb_pdf_la-CPdfDocument.lo] Error 1
make[3]: *** [Makefile:456: all-recursive] Error 1
make[2]: *** [Makefile:388: all] Error 2
make[1]: *** [Makefile:464: all-recursive] Error 1
make: *** [Makefile:405: all] Error 2

At your disposal for further information

Good night
Gianluigi

Follow-Ups:
Re: VM Error compiling Gambas for the first time on ManjaroGianluigi <gradobag@xxxxxxxxxxx>