Am Mon, 14 Mar 2022 14:01:03 -0600
schrieb Tracey Emery <[email protected]>:

> On Sun, Mar 13, 2022 at 12:38:21AM +0100, Florian Viehweger wrote:
> > Hi,
> > 
> > I saw that KiCad had a newer version than in ports, so I tried to
> > update it.
> > 
> > In a quick test on amd64 with tigervnc KiCad seems to run. I did
> > look at an example schematic, tried the board view and the
> > respective 3D view.
> > 
> > I do not have any further experience with KiCad, I used this port to
> > practice more on working with ports.
> > 
> > For cad/kicad-share portcheck, 'make lib-depends-check' and 'make
> > test (no tests available) were fine.
> > 
> > Running 'make lib-depends-check' on cad/kicad reveals the following
> > error:
> > 
> > --- snip ---
> > openbsd-ports$ make port-lib-depends-check
> >  
> > 
> > kicad-6.0.2v0(cad/kicad):
> > Bogus WANTLIB: harfbuzz.17
> > (/usr/local/lib/python3.9/site-packages/_pcbnew.so) (NOT REACHABLE)
> > *** Error 1 in target 'port-lib-depends-check' (ignored) --- snap
> > ---
> > 
> > Removing harfbuzz from WANTLIB does only state that harfbuzz is
> > missing. I'm unsure how to proceed.
> > 
> > Feedback? Comments?
> > 
> > Thanks!
> > 
> > -- 
> > greetings,
> > 
> > Florian Viehweger
> 
> Florian, thanks for the diffs. The kicad-share diff was incomplete,
> but I fixed it up for you and committed the updates. Appreciate the
> help.

Thank you!

I completely deleted my ports tree and it fixed the problem with
harfbuzz.

After doing port work I run this command, which should clean out
everything:

make clean && make clean=depends && make clean=dist && make clean=all && doas 
pkg_delete -X -I -v -m && doas pkg_delete -a && doas pkg_add -v quirks 
pkglocatedb

Additionally to that, before I start something new, this is my script
to bring my system up to date:

---
#!/bin/sh
pkg_delete -X -I -v -m
pkg_delete -a
sysupgrade -s -n -f
echo 'pkg_add -v quirks pkglocatedb' >> /etc/rc.firsttime
reboot
---

After that my ports tree is getting updated:

---
#!/bin/sh
cd /usr/ports
cvs -q up -Pd -A
---

How can I prevent having an inconsistent ports tree in the future?

Thank you!

-- 
greetings,

Florian Viehweger

Reply via email to