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

Bdale Garbee bdale at gag.com
Thu Dec 17 20:42:03 GMT 2020


severity 977595 serious
thanks

Vanessa Dannenberg <vanessa.e.dannenberg at gmail.com> writes:

Hi Vanessa!

> 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 couldn't duplicate your problem on my "unstable" development system,
so I just installed a VM client using today's "Bullseye Alpha 3" netinst
image for amd64 to test with.  On that system, I was indeed able to
duplicate your failure.

> However, when I try to run lepton-schematic, it appears to compile
> something, and then fails.

Yes.  When first invoked, the lepton-* applications want to compile the
guile code.  The results are cached so that future invocations don't
have to replicate that, and are very fast.  There's supposedly a way to
force compilation of at least some of the guile code at package build
time, but I haven't tried that yet.  And that's the source of the
problem.

It turns out that compiling the guile code requires that libgtk2.0-dev
is installed on the system.  That's unfortunate since it pulls in a huge
chain of dependencies, but it means that the short-term workaround for
you is therefore simply:

    apt install libgtk2.0-dev

The next time you try to run any of the lepton-* applications after
doing that, it should work fine.  If not, please let me know!

In the meantime, I'll leave this bug open and try to figure out how to
eliminate this dependency at run-time, perhaps by turning on the guile
pre-compile support if I can figure it out.  I will drop the severity to
serious, keeping it release-critical but not implying really bad
behavior like data loss or a security hole.

Thanks very much for reporting this!

Regards,

Bdale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20201217/e02deb34/attachment.sig>


More information about the Pkg-electronics-devel mailing list