Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: [Update] ncspot
To:
Rob Schmersel <rob.schmersel@bahnhof.se>, ports@openbsd.org, paco@openbsd.org
Date:
Sun, 24 Nov 2024 13:41:56 +0100

Download raw body.

Thread
On Sun, Nov 24, 2024 at 12:33:25PM +0000, Stuart Henderson wrote:
> 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.

I believe these are problematic due to missing landing pads:

> +MODCARGO_CRATES +=	aws-lc-rs	1.10.0	# ISC AND (Apache-2.0 OR ISC)
> +MODCARGO_CRATES +=	aws-lc-sys	0.22.0	# ISC AND (Apache-2.0 OR ISC) AND OpenSSL

We will probably need to add a rust-ring like hack to deal with that new
default provider for rustls.

There's also this issue for librespot specifically (pointed out by
pascal on icb a while back):

https://github.com/librespot-org/librespot/issues/1382