On Fri, 18 Mar 2022 09:44:19 -0600
Tracey Emery <tra...@traceyemery.net> wrote:

> Hello,
> 
> I ok'd the import of lepton into ports by sthen@ yesterday. Upon
> testing, there is a problem. I don't understand the ins-and-outs of
> the lepton software yet, so sending this problem to you. The errors
> when starting are below. I'm hoping it is just an anomaly on my
> laptop. I've rebuilt this twice just to be sure. This is built
> against -current:
> 
> OpenBSD 7.1-beta (GENERIC.MP) #422: Tue Mar 15 11:28:22 MDT 2022
> 
> CC'ing sthen on this, so he's in on the loop.
> 
> Thanks!
> 

> ... [skip]
> In unknown file:
>            0 (dynamic-link "libleptongui")
> ERROR: In procedure dynamic-link:
> In procedure dynamic-link: file: "libleptongui", message: "file not
> found"


Hello,

Sorry for the delay. I've tested both binary package installed
with pkg_add(1) and built from the ports tree on this system:

OpenBSD 7.1-beta (GENERIC.MP) #441: Fri Mar 25 11:36:26 MDT 2022

Unfortunately, I can't reproduce the error, lepton-schematic
works as intended. Looking at the error messages I see that it
cannot load the library libleptongui.
I noticed that library versions in port's Makefile are wrong:
both libleptongui and liblepton versions are set to 0.0, but
should be 4.0 and 10.0, respectively. Please try to build with
the attached patch applied (created with 'cvs diff'). I would
also suggest to delete Guile cache before starting the
application (rm -rf ~/.cache/guile/).
Thank you for accepting Lepton to the OpenBSD ports collection!

Regards,
Dmitry.
Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/lepton-eda/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile	18 Mar 2022 09:42:36 -0000	1.1.1.1
+++ Makefile	26 Mar 2022 17:18:56 -0000
@@ -3,8 +3,8 @@ COMMENT =	lepton electronic design autom
 V =		1.9.17-20211219
 DISTNAME =	lepton-eda-${V:C/-.*//}
 
-SHARED_LIBS +=	lepton               0.0      # 8.0
-SHARED_LIBS +=	leptongui            0.0      # 2.0
+SHARED_LIBS +=	lepton               10.0     # 10.0
+SHARED_LIBS +=	leptongui            4.0      # 4.0
 
 CATEGORIES =	cad
 

Reply via email to