From: Stuart Henderson Subject: Re: [Update] ncspot To: Rob Schmersel Cc: ports@openbsd.org, paco@openbsd.org Date: Sun, 24 Nov 2024 12:33:25 +0000 On 2024/11/21 19:01, Rob Schmersel wrote: > Hi, > > Since about June spotify has been changing to using oauth for logins > and normal mail + password are no longer working and I've not been able > to use ncspot in my location. > > This has been discussed in lot's of places and ncspot has implemented > the needed changes in release 1.2.0 (and is on release 1.2.1). I've > been trying to update the port, by simply change of the GH_TAGNAME: > GH_TAGNAME = v1.2.1 > > And then following this recipe > (https://deftly.net/posts/2023-09-05-cargo-updates.html) to update the crates.inc. However I've not been able to build and it will break when compiling the aws-lc-sys crate due to not finding libclang.so. > > What am I missing to build this? > > BR/Rob > > last part of the build log: > ... > > Unable to find libclang: "couldn't find any valid shared libraries > matching: ['libclang.so', 'libclang.so.*'], set the `LIBCLANG_PATH` > environment variable to a path where one of these files can be found This is the key part ^^ This is a bit dirty (and will need keeping in sync with changes to compiler version in ports/lang/rust) but at least gets beyond that failure - my build is still ongoing. Index: Makefile =================================================================== RCS file: /cvs/ports/audio/ncspot/Makefile,v diff -u -p -r1.50 Makefile --- Makefile 2 Oct 2024 04:46:54 -0000 1.50 +++ Makefile 24 Nov 2024 12:30:03 -0000 @@ -7,7 +7,7 @@ COMMENT = ncurses Spotify client GH_ACCOUNT = hrkfdn GH_PROJECT = ncspot -GH_TAGNAME = v1.1.2 +GH_TAGNAME = v1.2.1 CATEGORIES = audio @@ -16,11 +16,14 @@ MAINTAINER = Paco Esteban