You are not logged in.

#1 2019-09-27 19:52:22

bernadoanon
Member
Registered: 2019-05-19
Posts: 8

[SOLVED] xfce4-screenshooter not working

uname -a
Linux t60 5.3.1-arch1-1.0-ARCH #1 SMP PREEMPT Sun Sep 22 21:50:29 CEST 2019 i686 GNU/Linux
xfce4-screenshooter --help
xfce4-screenshooter: symbol lookup error: /usr/lib/libsoup-2.4.so.1: undefined symbol: g_file_info_get_modification_date_time

Last edited by bernadoanon (2019-09-29 18:00:27)

Offline

#2 2019-09-28 08:19:56

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: [SOLVED] xfce4-screenshooter not working

Works fine on the pentium4/stable and i686/stable, I cannot reproduce this.
I have xfce4-screenshooter 1.9.6-1.1, what's your version?

Offline

#3 2019-09-28 16:50:50

bernadoanon
Member
Registered: 2019-05-19
Posts: 8

Re: [SOLVED] xfce4-screenshooter not working

pacman -Si xfce4-screenshooter 
Repositório          : extra
Nome                 : xfce4-screenshooter
Versão               : 1.9.6-1.1
Descrição            : Plugin that makes screenshots for the Xfce panel
Arquitetura          : i686
URL                  : https://goodies.xfce.org/projects/applications/xfce4-screenshooter
Licenças             : GPL2
Grupos               : xfce4-goodies
Provê                : Nenhum
Depende de           : xfce4-panel  libsoup  hicolor-icon-theme
Depend. opcionais    : Nenhum
Conflita com         : xfce4-screenshooter-plugin
Substitui            : xfce4-screenshooter-plugin
Tamanho do download  : 119,79 KiB
Tamanho instalado    : 1203,00 KiB
Empacotador          : Andreas Baumann <mail@andreasbaumann.cc>
Data da compilação   : seg 16 set 2019 18:23:03 -03
Validado por         : Soma MD5  Soma SHA-256  Assinatura

Offline

#4 2019-09-29 09:28:44

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: [SOLVED] xfce4-screenshooter not working

I have libsoup 2.68.1-1.1, that's where there reference to the symbol g_file_info_get_modification_date_time is referenced.
This function is new in GLib 2.62 (package glib2-2.62.0-1.1).

I cannot reproduce this on by Archlinux32/i686/stable test machine.

Can you please post also the version numbers of your libsoup and glib2?

What I can think of:
- libsoup is not installed (but should be a dependency of xfce4-screenshooter, so it should get
  installed along with it)
- glib2 or libsoup are installed, but are an old version
- you have done some partial updates (which are not supporter, neither in Archlinux32 nor
  Archlinux itself)

Offline

#5 2019-09-29 17:58:15

bernadoanon
Member
Registered: 2019-05-19
Posts: 8

Re: [SOLVED] xfce4-screenshooter not working

I think I found the problem.
Follows the version of libsoup and glib2 according to pacman:

pacman -Si libsoup
Repositório          : extra
Nome                 : libsoup
Versão               : 2.68.1-1.1
Descrição            : HTTP client/server library for GNOME
Arquitetura          : i686
URL                  : https://wiki.gnome.org/Projects/libsoup
Licenças             : LGPL
Grupos               : Nenhum
Provê                : Nenhum
Depende de           : glib2  libxml2  glib-networking  sqlite  krb5  libpsl
                       brotli
Depend. opcionais    : samba: Windows Domain SSO
Conflita com         : Nenhum
Substitui            : Nenhum
Tamanho do download  : 551,63 KiB
Tamanho instalado    : 5534,00 KiB
Empacotador          : Andreas Baumann <mail@andreasbaumann.cc>
Data da compilação   : seg 16 set 2019 03:55:50 -03
Validado por         : Soma MD5  Soma SHA-256  Assinatura
pacman -Si glib2
Repositório          : core
Nome                 : glib2
Versão               : 2.62.0-1.1
Descrição            : Low level core library
Arquitetura          : i686
URL                  : https://wiki.gnome.org/Projects/GLib
Licenças             : LGPL2.1
Grupos               : Nenhum
Provê                : Nenhum
Depende de           : pcre  libffi  libutil-linux  zlib
Depend. opcionais    : python: gdbus-codegen, glib-genmarshal, glib-mkenums,
                       gtester-report
                       libelf: gresource inspection tool
Conflita com         : Nenhum
Substitui            : Nenhum
Tamanho do download  : 2,45 MiB
Tamanho instalado    : 15,63 MiB
Empacotador          : Andreas Baumann <mail@andreasbaumann.cc>
Data da compilação   : sáb 14 set 2019 07:25:40 -03
Validado por         : Soma MD5  Soma SHA-256  Assinatura

but if I give an ls in the folder where the pkg is, the result is this:

ls /var/cache/pacman/pkg/glib2*
/var/cache/pacman/pkg/glib2-2.60.1-1.1-i686.pkg.tar.xz
/var/cache/pacman/pkg/glib2-2.60.2-1.0-i686.pkg.tar.xz
/var/cache/pacman/pkg/glib2-docs-2.60.2-1.0-i686.pkg.tar.xz
/var/cache/pacman/pkg/glib2-docs-2.60.3-1.0-i686.pkg.tar.xz
/var/cache/pacman/pkg/glib2-docs-2.60.4-1.0-i686.pkg.tar.xz
/var/cache/pacman/pkg/glib2-docs-2.62.0-1.0-i686.pkg.tar.xz

Glib 2.62 (package glib2-2.62.0-1.1) version not downloaded

So I decided to install using the pacman -U command. just having a conflict between glib2 and glib2-patched-thumbnailer

sudo pacman -U http://pool.mirror.archlinux32.org/i686/core/glib2-2.62.0-1.1-i686.pkg.tar.xz
[sudo] senha para julio: 
 glib2-2.62.0-1.1-i686      2,5 MiB  1653K/s 00:02 [######################] 100%
 glib2-2.62.0-1.1-i6...   310,0   B  0,00B/s 00:00 [######################] 100%
carregando pacotes...
resolvendo dependências...
procurando por pacotes conflitantes...
:: glib2 e glib2-patched-thumbnailer estão em conflito. Remover glib2-patched-thumbnailer? [s/N]

Now it's working

xfce4-screenshooter --help
Uso:
  xfce4-screenshooter [OPÇÃO…]

Opções de ajuda:
  -h, --help                       Mostra opções de ajuda
  --help-all                       Mostra todas as opções de ajuda
  --help-gtk                       Mostra as opções do GTK+

Opções de aplicativo:
  -c, --clipboard                  Copiar a captura de tela para a área de transferência
  -d, --delay                      Atraso em segundos antes de capturar uma imagem da tela
  -f, --fullscreen                 Capturar uma imagem da tela inteira
  -m, --mouse                      Exibir o ponteiro do mouse na captura de tela
  -o, --open                       Aplicativo para abrir a captura de tela
  -r, --region                     Selecionar uma região para ser capturada clicando num ponto da tela sem soltar o botão do mouse, arrastando o mouse para o outro canto da região e então soltando o botão do mouse
  -s, --save                       Caminho do arquivo ou diretório onde será salva a captura de tela
  -i, --imgur                      Hospedar a captura de tela no Imgur, um serviço grátis de hospedagem de imagens online
  -V, --version                    Informação da versão
  -w, --window                     Capturar uma imagem da janela ativa
  --display=MONITOR                Monitor do X a ser utilizado

Thank you for your help.

Offline

#6 2019-09-29 18:09:27

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: [SOLVED] xfce4-screenshooter not working

No problem.

Offline

#7 2019-09-29 18:52:48

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: [SOLVED] xfce4-screenshooter not working

Aha, now I understand: glib2-patched-thumbnailer is a AUR package providing glib2.
As you can see on https://aur.archlinux.org/cgit/aur.git/ … humbnailer
it got updated somewhere in early September to version 2.62.

So, as long as you installed this AUR replacement for glib2, pacman didn't replace it
with a newer one from 'core'. So if you replace a core package with an AUR one, and
that one doesn't get updated the same time as the core one, you are in for trouble.

I personally don't find it a smart idea to replace something in core with something
self-built, but I don't know the case here exactly. My feeling is, that those AUR packages
should try to get into the core PKGBUILD, by providing patches and start the discussion
in bugreports, otherwise they are basically forking from the main Archlinux distro.

Offline

Board footer

Powered by FluxBB