On Mon 26/08/2024 10:47, Antoine Jacoutot wrote:
> On Sat, Aug 24, 2024 at 03:52:21AM -0600, Bjorn Ketelaars wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: [email protected]    2024/08/24 03:52:21
> > 
> > Modified files:
> >     sysutils/rustic: Makefile crates.inc distinfo 
> >     sysutils/rustic/pkg: PLIST 
> > Added files:
> >     sysutils/rustic/patches: 
> >                              
> > patch-modcargo-crates_canonical-path-2_0_2_src_lib_rs 
> >                              
> > patch-modcargo-crates_rustic_core-0_3_0_src_backend_ignore_rs 
> > 
> > Log message:
> > Update to rustic-0.8.0
> > 
> > Changes: https://github.com/rustic-rs/rustic/releases/tag/v0.8.0
> 
> Fails to build for me.
> Log attached.

Sorry for this.

rustic uses env::current_exe() to get the full file system path of the
executable, which is not supported on OpenBSD. To work around this I
hard coded the path as done by a couple of other ports (e.g.,
devel/cargo-audit and lang/deno). This hard coding breaks building as
rustic itself is used in the post-build phase to generate
bash-/fish-/zsh-completions.In that phase the binary is not yet copied
to the hard coded path.
I did not notice this as I have rustic installed on my system and do not
build using proot(1).

Fix will be committed in a bit.

Reply via email to