* bug#30949: libp11-kit error
@ 2018-03-26 11:22 Vivien Kraus
2018-03-27 6:06 ` Vivien Kraus
2018-03-27 7:52 ` Ricardo Wurmus
0 siblings, 2 replies; 6+ messages in thread
From: Vivien Kraus @ 2018-03-26 11:22 UTC (permalink / raw)
To: 30949
Hello list,
This error shows when I try to configure debian's flatpak:
$ /usr/bin/flatpak remote-add --if-not-exists flathub https://flathub.o
rg/repo/flathub.flatpakrepo
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found
(required by /gnu/store/gsi6xb0w4wav7gz60sn0gd31jlghhdci-p11-kit-
0.23.10/lib/libp11-kit.so.0)
Failed to load module: /home/vivien/.guix-
profile/lib/gio/modules/libgiognutls.so
Can't load uri https://flathub.org/repo/flathub.flatpakrepo: TLS
support is not available
I have tried to remove and reinstall some packages, mainly gnutls and
glibc, but it does not solve the problem.
A similar error happens with debian's evolution (I have guix' evolution
installed, which works):
$ /usr/bin/evolution
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found
(required by /gnu/store/i397mqhpihsx45c0cbqfsnlvp4q4fkm1-gnutls-
3.5.13/lib/libgnutls.so.30)
Failed to load module: /home/vivien/.guix-
profile/lib/gio/modules/libgiognutls.so
But not with debian's wget, for instance.
It is weird to me that guix' gnutls does not use guix' glibc.
If I override LD_LIBRARY_PATH to also point to my profile, I get a
segfault.
Is it a known issue? Can it be solved with an environment variable?
Best regards,
Vivien
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30949: libp11-kit error
2018-03-26 11:22 bug#30949: libp11-kit error Vivien Kraus
@ 2018-03-27 6:06 ` Vivien Kraus
2018-03-27 7:58 ` Ricardo Wurmus
2018-03-27 7:52 ` Ricardo Wurmus
1 sibling, 1 reply; 6+ messages in thread
From: Vivien Kraus @ 2018-03-27 6:06 UTC (permalink / raw)
To: 30949
Hello,
After bisecting, the problem is in
glib-networking
If I install glib-networking alone, it breaks.
If I install glib gnutls gsettings-desktop-schemas intltool p11-kit
pkg-config (glib-networking deps), it works.
See for yourself:
0 packages in profile
vivien:~$ guix package -i glib-networking
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
The following package will be installed:
glib-networking 2.54.1 /gnu/store/v1699m574z8gnf80x2xn
cazdpfnpb48g-glib-networking-2.54.1
substitute: guix substitute: warning: ACL for archive imports seems to
be uninitialized, substitutes may be unavailable
substitute: updating list of substitutes from 'https://mirror.hydra.gnu
.org'... 100.0%
The following derivations will be built:
/gnu/store/3v8cfslrb6klzhckm50437l4zpmnikd1-profile.drv
/gnu/store/m4kz7nxcz12w3vpra14vdg730lm9f9az-ca-certificate-
bundle.drv
/gnu/store/d07dvnzb21xazhlnki3vncxl47lq3aqz-xdg-mime-database.drv
/gnu/store/crh448xmpkr8x194a2rjb6dw6vj7i25x-xdg-desktop-database.drv
/gnu/store/bsjzbfwmbr74kq7r498g4s0djaqfw5iq-fonts-dir.drv
/gnu/store/6sxp9iwn23zwhdsdj5hfd5m0p34k336y-info-dir.drv
/gnu/store/6ki3sd8njfljsfqzvnw5piyzdypl730l-manual-database.drv
Creating manual page database...
0 entries processed in 0.1 s
1 package in profile
vivien:~$ /usr/bin/flatpak remote-add --if-not-exists flathub https://f
lathub.org/repo/flathub.flatpakrepo
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found
(required by /gnu/store/gsi6xb0w4wav7gz60sn0gd31jlghhdci-p11-kit-
0.23.10/lib/libp11-kit.so.0)
Failed to load module: /home/vivien/.guix-
profile/lib/gio/modules/libgiognutls.so
Can't load uri https://flathub.org/repo/flathub.flatpakrepo: TLS
support is not available
vivien:~$ guix package -r glib-networking
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
The following package will be removed:
glib-networking 2.54.1 /gnu/store/v1699m574z8gnf80x2xn
cazdpfnpb48g-glib-networking-2.54.1
0 packages in profile
vivien:~$ guix package -i glib gnutls gsettings-desktop-schemas
intltool p11-kit pkg-config
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
The following packages will be installed:
glib 2.54.2 /gnu/store/6iyjammgs0qp2sxxniy974xkf81yl76
9-glib-2.54.2
gnutls 3.5.13 /gnu/store/5kih0kxmipzjw10c53hhckfzkcs7c
8mm-gnutls-3.5.13
gsettings-desktop-schemas 3.24.1 /gnu/store/cz988rfj17
h00bxs93agwrzzwpbmrkq3-gsettings-desktop-schemas-3.24.1
intltool 0.51.0 /gnu/store/vdf2qr16vv902lzjbwq8yqqaaap
3iv70-intltool-0.51.0
p11-kit 0.23.10 /gnu/store/gsi6xb0w4wav7gz60sn0gd31jlg
hhdci-p11-kit-0.23.10
pkg-config 0.29.2 /gnu/store/vgmln3b639r68vvy75xhcbi7d
2w31mx1-pkg-config-0.29.2
substitute: guix substitute: warning: ACL for archive imports seems to
be uninitialized, substitutes may be unavailable
substitute: updating list of substitutes from 'https://mirror.hydra.gnu
.org'... 100.0%
The following derivations will be built:
/gnu/store/dnqray955y26s2icmb6kd7nadm1cqckl-profile.drv
/gnu/store/s1d8kmqsaa1b6zzafdpsvb84k11k3q1m-fonts-dir.drv
/gnu/store/cyn4aaryc8shlb3b4qv9nqh9kwcf9a3x-xdg-desktop-database.drv
/gnu/store/6h4hscbi4gvxbay5c67id2v34mqm3pjj-xdg-mime-database.drv
/gnu/store/1v2q0zr23wyf5w7sjagsisdk88p7xfki-info-dir.drv
/gnu/store/1c84g5mpizy60r5gp38gs9hjag4pvwgw-ca-certificate-
bundle.drv
/gnu/store/jzdwc36xnhvlxy51ylz606y37rip20zi-manual-database.drv
Creating manual page database...
1003 entries processed in 1.7 s
6 packages in profile
The following environment variable definitions may be needed:
export PERL5LIB="/home/vivien/.guix-
profile/lib/perl5/site_perl${PERL5LIB:+:}$PERL5LIB"
vivien:~$ /usr/bin/flatpak remote-add --if-not-exists flathub https://f
lathub.org/repo/flathub.flatpakrepo
vivien:~$
Le lundi 26 mars 2018 à 13:22 +0200, Vivien Kraus a écrit :
> Hello list,
>
> This error shows when I try to configure debian's flatpak:
>
> $ /usr/bin/flatpak remote-add --if-not-exists flathub https://flathub
> .o
> rg/repo/flathub.flatpakrepo
> /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found
> (required by /gnu/store/gsi6xb0w4wav7gz60sn0gd31jlghhdci-p11-kit-
> 0.23.10/lib/libp11-kit.so.0)
> Failed to load module: /home/vivien/.guix-
> profile/lib/gio/modules/libgiognutls.so
> Can't load uri https://flathub.org/repo/flathub.flatpakrepo: TLS
> support is not available
>
> I have tried to remove and reinstall some packages, mainly gnutls and
> glibc, but it does not solve the problem.
>
> A similar error happens with debian's evolution (I have guix'
> evolution
> installed, which works):
> $ /usr/bin/evolution
> /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found
> (required by /gnu/store/i397mqhpihsx45c0cbqfsnlvp4q4fkm1-gnutls-
> 3.5.13/lib/libgnutls.so.30)
> Failed to load module: /home/vivien/.guix-
> profile/lib/gio/modules/libgiognutls.so
>
> But not with debian's wget, for instance.
>
> It is weird to me that guix' gnutls does not use guix' glibc.
>
> If I override LD_LIBRARY_PATH to also point to my profile, I get a
> segfault.
>
> Is it a known issue? Can it be solved with an environment variable?
>
> Best regards,
>
> Vivien
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30949: libp11-kit error
2018-03-26 11:22 bug#30949: libp11-kit error Vivien Kraus
2018-03-27 6:06 ` Vivien Kraus
@ 2018-03-27 7:52 ` Ricardo Wurmus
2018-03-27 8:08 ` Vivien Kraus
1 sibling, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2018-03-27 7:52 UTC (permalink / raw)
To: Vivien Kraus; +Cc: 30949
Vivien Kraus <vivien@planete-kraus.eu> writes:
> It is weird to me that guix' gnutls does not use guix' glibc.
It most certainly does.
> If I override LD_LIBRARY_PATH to also point to my profile, I get a
> segfault.
Setting LD_LIBRARY_PATH on a system where Guix things are installed
alongside system things is rarely ever going to work out, because you’re
forcing the runtime linker to pick libraries that are likely to be
incompatible.
LD_LIBRARY_PATH is not needed for running Guix applications (we use
RUNPATH to record the location of libraries).
> Is it a known issue? Can it be solved with an environment variable?
I’d say it is *caused* by an environment variable.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30949: libp11-kit error
2018-03-27 6:06 ` Vivien Kraus
@ 2018-03-27 7:58 ` Ricardo Wurmus
0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2018-03-27 7:58 UTC (permalink / raw)
To: Vivien Kraus; +Cc: 30949
Hello Vivien,
> If I install glib-networking alone, it breaks.
>
> If I install glib gnutls gsettings-desktop-schemas intltool p11-kit
> pkg-config (glib-networking deps), it works.
Could you please share the output of “env” with us (before and after)?
I think the key here is the installation of “glib”, which sets the
environment variables XDG_DATA_DIRS and GIO_EXTRA_MODULES. To avoid
having to install glib, you may want to check the values of these
environment variables in your environment and modify them.
> substitute: guix substitute: warning: ACL for archive imports seems to
> be uninitialized, substitutes may be unavailable
Aside: Is this on purpose? This way you will have to build everything
from source. For convenience I recommend authorizing the build farm(s).
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30949: libp11-kit error
2018-03-27 7:52 ` Ricardo Wurmus
@ 2018-03-27 8:08 ` Vivien Kraus
2018-03-27 8:30 ` Ricardo Wurmus
0 siblings, 1 reply; 6+ messages in thread
From: Vivien Kraus @ 2018-03-27 8:08 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30949
Hello,
Le mardi 27 mars 2018 à 09:52 +0200, Ricardo Wurmus a écrit :
> I’d say it is *caused* by an environment variable.
Now it seems obvious: I removed
export GIO_EXTRA_MODULES="/home/vivien/.guix-
profile/lib/gio/modules${GIO_EXTRA_MODULES:+:}$GIO_EXTRA_MODULES"
from my .bashrc and now it works!
I added it because guix told me to, but I don't know which package
advertised it.
Anyways, thank you, the problem is solved!
Vivien
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
> https://elephly.net
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30949: libp11-kit error
2018-03-27 8:08 ` Vivien Kraus
@ 2018-03-27 8:30 ` Ricardo Wurmus
0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2018-03-27 8:30 UTC (permalink / raw)
To: Vivien Kraus; +Cc: 30949-done
Vivien Kraus <vivien@planete-kraus.eu> writes:
> Anyways, thank you, the problem is solved!
That’s great!
Environment variables can be tricky and the way this failed in your case
certainly isn’t nice, but I can’t think of a way to avoid this.
I’m closing this bug.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-03-27 8:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 11:22 bug#30949: libp11-kit error Vivien Kraus
2018-03-27 6:06 ` Vivien Kraus
2018-03-27 7:58 ` Ricardo Wurmus
2018-03-27 7:52 ` Ricardo Wurmus
2018-03-27 8:08 ` Vivien Kraus
2018-03-27 8:30 ` Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).