[Pkg-electronics-devel] Bug#977595: lepton-eda/lepton-attrib and lepton-eda/lepton-schematic can't find libgtk-x11-2.0

Vanessa Dannenberg vanessa.e.dannenberg at gmail.com
Thu Dec 17 14:13:44 GMT 2020


Package: lepton-eda
Version: 1.9.13-1
Severity: grave

[ This is a fresh install of Bullseye/testing, from a net-install image fetched just today]

I installed lepton-eda (since geda is no more) and pcb-rnd.  Of course, this brought in a number of dependencies.  Here's the install log of it:

-----
root at rainbird:~# apt install lepton-eda pcb-rnd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  guile-3.0 guile-3.0-libs libgtkextra-3.0 libgtkglext1 libpangox-1.0-0
  libstroke0 pcb-rnd-auto pcb-rnd-cloud pcb-rnd-core pcb-rnd-doc
  pcb-rnd-export pcb-rnd-export-extra pcb-rnd-export-sim pcb-rnd-extra
  pcb-rnd-hid-gtk2-gdk pcb-rnd-hid-gtk2-gl pcb-rnd-import-net pcb-rnd-io-alien
  pcb-rnd-io-standard pcb-rnd-lib-gl pcb-rnd-lib-gtk pcb-rnd-lib-gui
  pcb-rnd-lib-io
Suggested packages:
  guile-3.0-doc gerbv geda-gnetlist
The following NEW packages will be installed:
  guile-3.0 guile-3.0-libs lepton-eda libgtkextra-3.0 libgtkglext1
  libpangox-1.0-0 libstroke0 pcb-rnd pcb-rnd-auto pcb-rnd-cloud pcb-rnd-core
  pcb-rnd-doc pcb-rnd-export pcb-rnd-export-extra pcb-rnd-export-sim
  pcb-rnd-extra pcb-rnd-hid-gtk2-gdk pcb-rnd-hid-gtk2-gl pcb-rnd-import-net
  pcb-rnd-io-alien pcb-rnd-io-standard pcb-rnd-lib-gl pcb-rnd-lib-gtk
  pcb-rnd-lib-gui pcb-rnd-lib-io
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.3 MB of archives.
After this operation, 86.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://deb.debian.org/debian bullseye/main amd64 guile-3.0-libs amd64 3.0.4-3 [6,357 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 guile-3.0 amd64 3.0.4-3 [22.8 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libgtkextra-3.0 amd64 3.3.4-1+b1 [329 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libstroke0 amd64 0.5.1-9 [10.1 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 lepton-eda amd64 1.9.13-1 [6,307 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 libpangox-1.0-0 amd64 0.0.2-5+b2 [42.3 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 libgtkglext1 amd64 1.2.0-9 [96.8 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-core amd64 2.2.4-1 [1,032 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-lib-io amd64 2.2.4-1 [50.9 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-io-standard amd64 2.2.4-1 [129 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-io-alien amd64 2.2.4-1 [225 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-lib-gui amd64 2.2.4-1 [248 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-lib-gtk amd64 2.2.4-1 [92.0 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-lib-gl amd64 2.2.4-1 [56.5 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-hid-gtk2-gl amd64 2.2.4-1 [52.5 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-hid-gtk2-gdk amd64 2.2.4-1 [59.1 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-export amd64 2.2.4-1 [157 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-export-sim amd64 2.2.4-1 [83.2 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-export-extra amd64 2.2.4-1 [68.9 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-auto amd64 2.2.4-1 [117 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-extra amd64 2.2.4-1 [112 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-cloud amd64 2.2.4-1 [50.8 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-doc all 2.2.4-1 [1,271 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd-import-net amd64 2.2.4-1 [263 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 pcb-rnd amd64 2.2.4-1 [44.6 kB]
Fetched 17.3 MB in 1s (15.6 MB/s)    
Selecting previously unselected package guile-3.0-libs:amd64.
(Reading database ... 183896 files and directories currently installed.)
Preparing to unpack .../00-guile-3.0-libs_3.0.4-3_amd64.deb ...
Unpacking guile-3.0-libs:amd64 (3.0.4-3) ...
Selecting previously unselected package guile-3.0.
Preparing to unpack .../01-guile-3.0_3.0.4-3_amd64.deb ...
Unpacking guile-3.0 (3.0.4-3) ...
Selecting previously unselected package libgtkextra-3.0.
Preparing to unpack .../02-libgtkextra-3.0_3.3.4-1+b1_amd64.deb ...
Unpacking libgtkextra-3.0 (3.3.4-1+b1) ...
Selecting previously unselected package libstroke0:amd64.
Preparing to unpack .../03-libstroke0_0.5.1-9_amd64.deb ...
Unpacking libstroke0:amd64 (0.5.1-9) ...
Selecting previously unselected package lepton-eda.
Preparing to unpack .../04-lepton-eda_1.9.13-1_amd64.deb ...
Unpacking lepton-eda (1.9.13-1) ...
Selecting previously unselected package libpangox-1.0-0:amd64.
Preparing to unpack .../05-libpangox-1.0-0_0.0.2-5+b2_amd64.deb ...
Unpacking libpangox-1.0-0:amd64 (0.0.2-5+b2) ...
Selecting previously unselected package libgtkglext1:amd64.
Preparing to unpack .../06-libgtkglext1_1.2.0-9_amd64.deb ...
Unpacking libgtkglext1:amd64 (1.2.0-9) ...
Selecting previously unselected package pcb-rnd-core.
Preparing to unpack .../07-pcb-rnd-core_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-core (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-lib-io.
Preparing to unpack .../08-pcb-rnd-lib-io_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-lib-io (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-io-standard.
Preparing to unpack .../09-pcb-rnd-io-standard_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-io-standard (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-io-alien.
Preparing to unpack .../10-pcb-rnd-io-alien_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-io-alien (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-lib-gui.
Preparing to unpack .../11-pcb-rnd-lib-gui_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-lib-gui (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-lib-gtk.
Preparing to unpack .../12-pcb-rnd-lib-gtk_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-lib-gtk (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-lib-gl.
Preparing to unpack .../13-pcb-rnd-lib-gl_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-lib-gl (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-hid-gtk2-gl.
Preparing to unpack .../14-pcb-rnd-hid-gtk2-gl_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-hid-gtk2-gl (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-hid-gtk2-gdk.
Preparing to unpack .../15-pcb-rnd-hid-gtk2-gdk_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-hid-gtk2-gdk (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-export.
Preparing to unpack .../16-pcb-rnd-export_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-export (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-export-sim.
Preparing to unpack .../17-pcb-rnd-export-sim_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-export-sim (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-export-extra.
Preparing to unpack .../18-pcb-rnd-export-extra_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-export-extra (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-auto.
Preparing to unpack .../19-pcb-rnd-auto_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-auto (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-extra.
Preparing to unpack .../20-pcb-rnd-extra_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-extra (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-cloud.
Preparing to unpack .../21-pcb-rnd-cloud_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-cloud (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-doc.
Preparing to unpack .../22-pcb-rnd-doc_2.2.4-1_all.deb ...
Unpacking pcb-rnd-doc (2.2.4-1) ...
Selecting previously unselected package pcb-rnd-import-net.
Preparing to unpack .../23-pcb-rnd-import-net_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd-import-net (2.2.4-1) ...
Selecting previously unselected package pcb-rnd.
Preparing to unpack .../24-pcb-rnd_2.2.4-1_amd64.deb ...
Unpacking pcb-rnd (2.2.4-1) ...
Setting up pcb-rnd-doc (2.2.4-1) ...
Setting up libpangox-1.0-0:amd64 (0.0.2-5+b2) ...
Setting up guile-3.0-libs:amd64 (3.0.4-3) ...
Setting up libstroke0:amd64 (0.5.1-9) ...
Setting up libgtkextra-3.0 (3.3.4-1+b1) ...
Setting up libgtkglext1:amd64 (1.2.0-9) ...
Setting up guile-3.0 (3.0.4-3) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/guile/3.0/bin/guile to prov
ide /usr/bin/guile (guile) in auto mode
Setting up lepton-eda (1.9.13-1) ...
Setting up pcb-rnd-core (2.2.4-1) ...
Setting up pcb-rnd-cloud (2.2.4-1) ...
Setting up pcb-rnd-export (2.2.4-1) ...
Setting up pcb-rnd-export-sim (2.2.4-1) ...
Setting up pcb-rnd-lib-gl (2.2.4-1) ...
Setting up pcb-rnd-extra (2.2.4-1) ...
Setting up pcb-rnd-export-extra (2.2.4-1) ...
Setting up pcb-rnd-lib-gui (2.2.4-1) ...
Setting up pcb-rnd-lib-io (2.2.4-1) ...
Setting up pcb-rnd-lib-gtk (2.2.4-1) ...
Setting up pcb-rnd-hid-gtk2-gdk (2.2.4-1) ...
Setting up pcb-rnd-hid-gtk2-gl (2.2.4-1) ...
Setting up pcb-rnd-io-standard (2.2.4-1) ...
Setting up pcb-rnd-io-alien (2.2.4-1) ...
Setting up pcb-rnd-auto (2.2.4-1) ...
Setting up pcb-rnd-import-net (2.2.4-1) ...
Setting up pcb-rnd (2.2.4-1) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for shared-mime-info (2.0-1) ...
Processing triggers for mailcap (3.67) ...
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-5) ...

-----

However, when I try to run lepton-schematic, it appears to compile something, and then fails.  A routine web search turned-up nothing other than a few people trying to build lepton-eda itself from source, except that I'm not intentionally compiling anything -- I'm just running the Debian-supplied binaries installed above.  This is what happens:

-----
vanessa at rainbird:~$ lepton-schematic
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/bin/lepton-schematic
;;; /usr/bin/lepton-schematic:44:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:50:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:56:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:62:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:68:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:74:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:80:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:86:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:92:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:98:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:104:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:110:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:116:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:122:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:128:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:133:0: warning: possibly unbound variable `%schematic-gettext-domain'
;;; /usr/bin/lepton-schematic:134:0: warning: possibly unbound variable `%schematic-gettext-domain'
;;; /usr/bin/lepton-schematic:135:0: warning: possibly unbound variable `%schematic-gettext-domain'
;;; /usr/bin/lepton-schematic:187:10: warning: possibly unbound variable `eval-protected'
;;; /usr/bin/lepton-schematic:195:10: warning: possibly unbound variable `G_'
;;; /usr/bin/lepton-schematic:215:10: warning: possibly unbound variable `lepton-version-ref'
;;; /usr/bin/lepton-schematic:216:10: warning: possibly unbound variable `lepton-version-ref'
;;; /usr/bin/lepton-schematic:253:15: warning: possibly unbound variable `display-lepton-version'
;;; /usr/bin/lepton-schematic:257:14: warning: possibly unbound variable `G_'
;;; /usr/bin/lepton-schematic:271:3: warning: possibly unbound variable `libleptongui'
;;; /usr/bin/lepton-schematic:275:0: warning: possibly unbound variable `init-log'
;;; /usr/bin/lepton-schematic:276:0: warning: possibly unbound variable `display-lepton-version'
;;; /usr/bin/lepton-schematic:288:0: warning: possibly unbound variable `gtk_init'
;;; /usr/bin/lepton-schematic:316:2: warning: possibly unbound variable `%lepton-window'
;;; /usr/bin/lepton-schematic:320:0: warning: possibly unbound variable `gtk_main'
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/bin/lepton-schematic.go
;;; compiling /usr/share/lepton-eda/scheme/lepton/color-map.scm
;;; compiling /usr/share/lepton-eda/scheme/lepton/core/gettext.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/lepton/core/gettext.scm.go
;;; compiling /usr/share/lepton-eda/scheme/lepton/ffi.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/lepton/ffi.scm.go
;;; compiling /usr/share/lepton-eda/scheme/lepton/log.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/lepton/log.scm.go
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/lepton/color-map.scm.go
;;; compiling /usr/share/lepton-eda/scheme/lepton/eval.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/lepton/eval.scm.go
;;; compiling /usr/share/lepton-eda/scheme/lepton/version.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/lepton/version.scm.go
;;; compiling /usr/share/lepton-eda/scheme/schematic/core/gettext.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/schematic/core/gettext.scm.go
;;; compiling /usr/share/lepton-eda/scheme/schematic/ffi.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/schematic/ffi.scm.go
;;; compiling /usr/share/lepton-eda/scheme/schematic/ffi/gtk.scm
;;; compiled /home/vanessa/.cache/guile/ccache/3.0-LE-8-4.3/usr/share/lepton-eda/scheme/schematic/ffi/gtk.scm.go
Backtrace:
In ice-9/psyntax.scm:
   285:10 19 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/boot-9.scm:
  3898:20 18 (process-use-modules _)
   222:29 17 (map1 _)
   222:29 16 (map1 _)
   222:29 15 (map1 _)
   222:29 14 (map1 _)
   222:29 13 (map1 _)
   222:29 12 (map1 (((schematic ffi)) ((schematic ffi gtk))))
   222:17 11 (map1 (((schematic ffi gtk))))
  3899:31 10 (_ ((schematic ffi gtk)))
  3297:17  9 (resolve-interface (schematic ffi gtk) #:select _ #:hide …)
In ice-9/threads.scm:
    390:8  8 (_ _)
In ice-9/boot-9.scm:
  3223:13  7 (_)
In ice-9/threads.scm:
    390:8  6 (_ _)
In ice-9/boot-9.scm:
  3507:20  5 (_)
   2806:4  4 (save-module-excursion #<procedure 7ffbba834d80 at ice-…>)
  3527:26  3 (_)
In unknown file:
           2 (primitive-load-path "schematic/ffi/gtk" #<procedure 7f…>)
In schematic/ffi/gtk.scm:
    25:15  1 (_)
In unknown file:
           0 (dynamic-link "libgtk-x11-2.0")

ERROR: In procedure dynamic-link:
In procedure dynamic-link: file: "libgtk-x11-2.0", message: "file not found"
-----

(note that run attempt is with my normal non-root account)

-- 
"There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves."
Vanessa Dannenberg <vanessa.e.dannenberg at gmail.com>



More information about the Pkg-electronics-devel mailing list