* bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
@ 2022-08-25 19:12 grokking Stuff
2022-08-26 15:41 ` Liliana Marie Prikler
[not found] ` <588215250.356998251.1668103819659.JavaMail.root@zimbra81-e14.priv.proxad.net>
0 siblings, 2 replies; 6+ messages in thread
From: grokking Stuff @ 2022-08-25 19:12 UTC (permalink / raw)
To: 57417
Hey fellow Guix users,
I’m trying to use Emacs on my system but it tends to crash unexpectedly.
When launching it from a terminal, I get:
> grokkingstuff@grokkingNoether ~$ emacs
> (process:32402): Gtk-WARNING **: 22:59:14.455: Locale not supported by C library.
> Using the fallback 'C' locale.
> /home/grokkingstuff/.guix-profile/bin/emacs: symbol lookup error: /home/grokkingstuff/.guix-profile/bin/emacs: undefined symbol: rsvg_handle_set_stylesheet
Trying to use emacs -q, I get a similar message, but it just crashes quickly.
> ^Cgrokkingstuff@grokkingNoether ~$ emacs-29.0.50 -q
> (process:4018): Gtk-WARNING **: 23:08:35.207: Locale not supported by C library.
> Using the fallback 'C' locale.
> /home/grokkingstuff/.guix-profile/bin/emacs-29.0.50: symbol lookup error: /home/grokkingstuff/.guix-profile/bin/emacs-29.0.50: undefined symbol: rsvg_handle_set_stylesheet
I have librsvg installed, and a few Google searches seem to indicate that this is the issue. I’ve tried building from source using "guix install -S” but I don’t see any difference.
If there’s anything I could do to assist with this bug report, please let me know. Thank you so much for your time and effort.
Sincerely,
Vishakh Kumar (grokkingstuff)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
2022-08-25 19:12 bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet grokking Stuff
@ 2022-08-26 15:41 ` Liliana Marie Prikler
[not found] ` <588215250.356998251.1668103819659.JavaMail.root@zimbra81-e14.priv.proxad.net>
1 sibling, 0 replies; 6+ messages in thread
From: Liliana Marie Prikler @ 2022-08-26 15:41 UTC (permalink / raw)
To: grokking Stuff, 57417
Am Donnerstag, dem 25.08.2022 um 23:12 +0400 schrieb grokking Stuff:
> Hey fellow Guix users,
>
> I’m trying to use Emacs on my system but it tends to crash
> unexpectedly.
>
> When launching it from a terminal, I get:
>
> > grokkingstuff@grokkingNoether ~$ emacs
> > (process:32402): Gtk-WARNING **: 22:59:14.455: Locale not supported
> > by C library.
> > Using the fallback 'C' locale.
> > /home/grokkingstuff/.guix-profile/bin/emacs: symbol lookup error:
> > /home/grokkingstuff/.guix-profile/bin/emacs: undefined symbol:
> > rsvg_handle_set_stylesheet
Looking at this output, it seems Emacs is trying to dynamically link
librsvg. Two issues spring to mind: First, this kind of linkage is not
that well supported by Guix, so we tend to substitute* the full path.
Is this done for librsvg? Second, there might be a (version) mismatch
between the librsvg Emacs expects and the one it gets. Does
rsvg_handle_set_stylesheet actually exist as a symbol in your librsvg?
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
[not found] ` <588215250.356998251.1668103819659.JavaMail.root@zimbra81-e14.priv.proxad.net>
@ 2022-11-10 18:13 ` arnaud.lechevallier
2022-11-10 22:31 ` Maxime Devos
0 siblings, 1 reply; 6+ messages in thread
From: arnaud.lechevallier @ 2022-11-10 18:13 UTC (permalink / raw)
To: 57417
Hi there,
I'm facing the same issue from a fresh 1.3 installation I did on a VM.
Emacs28.2 is linked against librsvg-2.40.21 which do not provide rsvg_handle_set_stylesheet function.
altomcat@guix ~/.config$ libtree /gnu/store/jpi4h6afvkifypxjxdpgrdm4shnmavwf-emacs-28.2/bin/.emacs-28.2-real | grep rsvg
│ │ │ ┊ /gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib
├── librsvg-2.so.2 [LD_LIBRARY_PATH]
│ ┊ /gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib
│ ┊ /gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib
Error [/gnu/store/jpi4h6afvkifypxjxdpgrdm4shnmavwf-emacs-28.2/bin/.emacs-28.2-real]: Not all dependencies were found
altomcat@guix ~/.config$ echo $LD_LIBRARY_PATH
/gnu/store/piln05qmyhyiqb3ggn2hvz1wagzvd8mc-gdk-pixbuf+svg-2.40.0/lib:/gnu/store/cydnixdcrvlizpcz3jkas5vpgd2dmd5z-gnome-bluetooth-3.34.2/lib:/gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib:/gnu/store/8902rzyhkzs30c8z9xjkmmdrh2dq1ha7-libgweather-3.34.0/lib
Emacs runs well if I insert the path of librsvg-2.50.7 to LD_LIBRARY_PATH as follow
export LD_LIBRARY_PATH=/gnu/store/34yxh2p22yaiisb1ayp43ig06hdlj0wg-librsvg-2.50.7/lib:$LD_LIBRARY_PATH
I checked the package definition with `guix edit emacs`
...
;; When looking for libpng `configure' links with `-lpng -lz', so we
;; must also provide zlib as an input.
libpng
zlib
(if (target-x86-64?)
librsvg-bootstrap
librsvg-2.40) => need to be change ?
libxpm
libxml2
...
I'm a newbie and I hope these details can help. I would appreciate a little help to go further and solve this issue.
Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
2022-11-10 18:13 ` arnaud.lechevallier
@ 2022-11-10 22:31 ` Maxime Devos
2022-11-11 7:56 ` arnaud.lechevallier
0 siblings, 1 reply; 6+ messages in thread
From: Maxime Devos @ 2022-11-10 22:31 UTC (permalink / raw)
To: arnaud.lechevallier, 57417
[-- Attachment #1.1.1: Type: text/plain, Size: 816 bytes --]
On 10-11-2022 19:13, arnaud.lechevallier@free.fr wrote:
>[...]
> I checked the package definition with `guix edit emacs`
> ...
> ;; When looking for libpng `configure' links with `-lpng -lz', so we
> ;; must also provide zlib as an input.
> libpng
> zlib
> (if (target-x86-64?)
> librsvg-bootstrap
> librsvg-2.40) => need to be change ?
> libxpm
> libxml2
> ...
>
> I'm a newbie and I hope these details can help. I would appreciate a little help to go further and solve this issue.
> Thanks.
Which architecture are you on? You can find out with
$ echo '(use-modules (guix utils)) (%current-system)' | guix repl
Same question for Vishakh Kumar.
Greetings,
Maxime.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
2022-11-10 22:31 ` Maxime Devos
@ 2022-11-11 7:56 ` arnaud.lechevallier
2022-11-11 16:00 ` Maxime Devos
0 siblings, 1 reply; 6+ messages in thread
From: arnaud.lechevallier @ 2022-11-11 7:56 UTC (permalink / raw)
To: 57417
Hi Maxime,
> Which architecture are you on? You can find out with
> $ echo '(use-modules (guix utils)) (%current-system)' | guix repl
$1 = "x86_64-linux"
Running emacs command failed but 'emacs -Q' works.
altomcat@guix ~$ emacs
(process:1306): Gtk-WARNING **: 08:41:25.920: Locale not supported by C library.
Using the fallback 'C' locale.
/home/altomcat/.guix-profile/bin/emacs: symbol lookup error: /home/altomcat/.guix-profile/bin/emacs: undefined symbol: rsvg_handle_set_stylesheet
altomcat@guix ~$ emacs -Q
(process:1314): Gtk-WARNING **: 08:41:29.223: Locale not supported by C library.
Using the fallback 'C' locale.
Thanks,
Arnaud
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
2022-11-11 7:56 ` arnaud.lechevallier
@ 2022-11-11 16:00 ` Maxime Devos
0 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-11-11 16:00 UTC (permalink / raw)
To: arnaud.lechevallier, 57417
[-- Attachment #1.1.1: Type: text/plain, Size: 876 bytes --]
On 11-11-2022 08:56, arnaud.lechevallier@free.fr wrote:
> Hi Maxime,
>
>> Which architecture are you on? You can find out with
>> $ echo '(use-modules (guix utils)) (%current-system)' | guix repl
>
> $1 = "x86_64-linux"
>
Then unless 'grokking Stuff' has a different system, I am not following
their proposal, because because on x86-64 ...
> (if (target-x86-64?)
> librsvg-bootstrap
> librsvg-2.40) => need to be change ?
... the first branch would be taken, so changing the second branch would
have no effect. However, perhaps the rsvg_handle_set_stylesheet is only
present in the 'librsvg', and not in 'librsvg-bootstrap' (I wouldn't
expect that as they are the same version, but it could be tested). If
so, librsvg-for-system could be used instead, at cost of some rebuilds.
Greetings,
Maxime
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-11-11 16:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 19:12 bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet grokking Stuff
2022-08-26 15:41 ` Liliana Marie Prikler
[not found] ` <588215250.356998251.1668103819659.JavaMail.root@zimbra81-e14.priv.proxad.net>
2022-11-10 18:13 ` arnaud.lechevallier
2022-11-10 22:31 ` Maxime Devos
2022-11-11 7:56 ` arnaud.lechevallier
2022-11-11 16:00 ` Maxime Devos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.