Re: [UPDATE] security/rbw 1.10.1

2024-05-09 Thread Kirill A . Korinsky
On Thu, 09 May 2024 15:15:43 +0100,
Stuart Henderson  wrote:
> 
> The error you showed looked like a use-after-free or double-free in
> the linker (ld.lld).
> 

Yes, it defently does. Anyway, I haven't .core anymore, because I've run
make clean.

=> nothing to dig from here.

-- 
wbr, Kirill



Re: [UPDATE] security/rbw 1.10.1

2024-05-09 Thread Stuart Henderson
On 2024/05/09 14:26, Kirill A. Korinsky wrote:
> On Thu, 09 May 2024 14:03:49 +0100,
> Raf Czlonka  wrote:
> >  - Kirill - it builds just fine, as you yourself mentioned:
> >'make clean' usually helps, but I found that I sometimes also
> >need to do some more cleanup in /usr/ports/packages and
> >/usr/ports/distfiles
> >
> 
> I'm reading this right: you also had seen malloc related error in compiling
> something by rustc?
> 
> It seems not related to this port, but something related to rustc I guess.

The error you showed looked like a use-after-free or double-free in
the linker (ld.lld).



Re: [UPDATE] security/rbw 1.10.1

2024-05-09 Thread Raf Czlonka
On Thu, May 09, 2024 at 02:26:03PM BST, Kirill A. Korinsky wrote:
> On Thu, 09 May 2024 14:03:49 +0100,
> Raf Czlonka  wrote:
> >  - Kirill - it builds just fine, as you yourself mentioned:
> >'make clean' usually helps, but I found that I sometimes also
> >need to do some more cleanup in /usr/ports/packages and
> >/usr/ports/distfiles
> >
> 
> I'm reading this right: you also had seen malloc related error in compiling
> something by rustc?
> 
> It seems not related to this port, but something related to rustc I guess.

TBH, I can't recall what *exactly* the issue was when I was updating
an earlier version of the port as I was in a bit of a rush, but,
after I did a cleanup under /usr/ports/{distfiles,packages}, it
built just fine.

Cheers,

Raf



Re: [UPDATE] security/rbw 1.10.1

2024-05-09 Thread Kirill A . Korinsky
On Thu, 09 May 2024 14:03:49 +0100,
Raf Czlonka  wrote:
>  - Kirill - it builds just fine, as you yourself mentioned:
>'make clean' usually helps, but I found that I sometimes also
>need to do some more cleanup in /usr/ports/packages and
>/usr/ports/distfiles
>

I'm reading this right: you also had seen malloc related error in compiling
something by rustc?

It seems not related to this port, but something related to rustc I guess.

-- 
wbr, Kirill



[UPDATE] security/rbw 1.10.1

2024-05-09 Thread Raf Czlonka
Hello,

I was just about to send an update to the rbw port, but noticed
that Solene has beat me to it and I was just about to bail out but
noticed two things:

 - Kirill - it builds just fine, as you yourself mentioned:
   'make clean' usually helps, but I found that I sometimes also
   need to do some more cleanup in /usr/ports/packages and
   /usr/ports/distfiles

 - Solene's diff was much smaller - so was mine for version 0.10.0,
   which I had sent[0] - due to stripped comments with licensing
   information. Is this now the done thing?
   I'm using the below script which I got from abieber@, former
   maintainer of rbw port:

#!/bin/sh
set -eu
PORT="$(make show=PKGNAME)"
mv -v crates.inc crates.old
touch crates.inc
make makesum
make modcargo-gen-crates > /tmp/${PORT}.crates.inc
grep ^MODCARGO /tmp/${PORT}.crates.inc > crates.inc
make clean
make makesum
make modcargo-gen-crates-licenses > /tmp/${PORT}.license.inc
grep ^MODCARGO /tmp/${PORT}.license.inc > crates.inc
rm crates.old
make clean
make && make package

[0] https://marc.info/?l=openbsd-ports=171388628317637=2

I'm leaving the rest of my original email below as-is.

Cheers,

Raf

P.S. I'm not subscribed to ports@ mailing list so please CC me if need be.

-BEGIN UNSENT EMAIL-
Hello,

The 'rbw' port has recently been updated to version 0.10.0 - thanks
to solene@ for the commit!

Unfortunately, a small issue[1] crept in and a version 0.10.1 has
just been release to rectify this.

Inlined below is a diff that updates rbw port to version 1.10.1.

[1] https://github.com/doy/rbw/issues/170

Regards,

Raf

P.S. I'm not subscribed to ports@ mailing list so please CC me if need be.

Index: security/rbw/Makefile
===
RCS file: /cvs/ports/security/rbw/Makefile,v
diff -u -p -r1.23 Makefile
--- security/rbw/Makefile   29 Apr 2024 10:53:53 -  1.23
+++ security/rbw/Makefile   9 May 2024 12:28:19 -
@@ -3,7 +3,7 @@ NOT_FOR_ARCHS = sparc64
 
 COMMENT =  command line BitWarden client
 
-DISTNAME = rbw-1.10.0
+DISTNAME = rbw-1.10.1
 
 CATEGORIES =   security
 
Index: security/rbw/crates.inc
===
RCS file: /cvs/ports/security/rbw/crates.inc,v
diff -u -p -r1.6 crates.inc
--- security/rbw/crates.inc 29 Apr 2024 10:53:53 -  1.6
+++ security/rbw/crates.inc 9 May 2024 12:28:19 -
@@ -1,279 +1,277 @@
-MODCARGO_CRATES += addr2line   0.21.0
-MODCARGO_CRATES += adler   1.0.2
-MODCARGO_CRATES += aes 0.8.4
-MODCARGO_CRATES += aho-corasick1.1.3
-MODCARGO_CRATES += anstream0.6.13
-MODCARGO_CRATES += anstyle 1.0.6
-MODCARGO_CRATES += anstyle-parse   0.2.3
-MODCARGO_CRATES += anstyle-query   1.0.2
-MODCARGO_CRATES += anstyle-wincon  3.0.2
-MODCARGO_CRATES += anyhow  1.0.82
-MODCARGO_CRATES += argon2  0.5.3
-MODCARGO_CRATES += arrayvec0.7.4
-MODCARGO_CRATES += async-trait 0.1.80
-MODCARGO_CRATES += autocfg 1.2.0
-MODCARGO_CRATES += backtrace   0.3.71
-MODCARGO_CRATES += base32  0.4.0
-MODCARGO_CRATES += base64  0.22.0
-MODCARGO_CRATES += base64ct1.6.0
-MODCARGO_CRATES += bitflags1.3.2
-MODCARGO_CRATES += bitflags2.5.0
-MODCARGO_CRATES += blake2  0.10.6
-MODCARGO_CRATES += block   0.1.6
-MODCARGO_CRATES += block-buffer0.10.4
-MODCARGO_CRATES += block-padding   0.3.3
-MODCARGO_CRATES += bumpalo 3.16.0
-MODCARGO_CRATES += byteorder   1.5.0
-MODCARGO_CRATES += bytes   1.6.0
-MODCARGO_CRATES += calloop 0.12.4
-MODCARGO_CRATES += calloop-wayland-source  0.2.0
-MODCARGO_CRATES += cbc 0.1.2
-MODCARGO_CRATES += cc  1.0.95
-MODCARGO_CRATES += cfg-if  1.0.0
-MODCARGO_CRATES += cfg_aliases 0.1.1
-MODCARGO_CRATES += cipher  0.4.4
-MODCARGO_CRATES += clap4.5.4
-MODCARGO_CRATES += clap_builder4.5.2
-MODCARGO_CRATES += clap_complete   4.5.2
-MODCARGO_CRATES += clap_derive 4.5.4
-MODCARGO_CRATES += clap_lex0.7.0
-MODCARGO_CRATES += clipboard-win   3.1.1
-MODCARGO_CRATES += colorchoice 1.0.0
-MODCARGO_CRATES += concurrent-queue2.4.0
-MODCARGO_CRATES += const-oid   0.9.6
-MODCARGO_CRATES += copypasta   0.10.1
-MODCARGO_CRATES += core-foundation 0.9.4
-MODCARGO_CRATES += core-foundation-sys 0.8.6
-MODCARGO_CRATES += cpufeatures 0.2.12
-MODCARGO_CRATES += crossbeam-utils 0.8.19
-MODCARGO_CRATES += crypto-common   0.1.6
-MODCARGO_CRATES += cursor-icon 1.1.0
-MODCARGO_CRATES += daemonize   0.5.0
-MODCARGO_CRATES += data-encoding   2.5.0
-MODCARGO_CRATES += der 0.7.9
-MODCARGO_CRATES += digest  0.10.7
-MODCARGO_CRATES += directories 5.0.0