From: Christopher Zimmermann Subject: Re: Update sysutils/opam to 2.1.6 To: Daniel Dickman Cc: ports@openbsd.org Date: Tue, 4 Jun 2024 21:04:08 +0200 It's been some time... Opam really needs an update. On Fri, Dec 31, 2021 at 01:41:44PM -0500, Daniel Dickman wrote: >On Fri, Dec 31, 2021 at 2:36 AM Christopher Zimmermann > wrote: >> >> Hi, >> >> this update of opam changes to the build-utils shipped with opam and >> drops dependencies on our ports utils. This makes ports dune version >> independent of opam. OK? >> >> Christopher > >1) I get a bunch of failures like this when running "make test". we >probably have to neuter "-- strip-trailing-cr" usage? > >var-option diff: unknown option -- strip-trailing-cr >usage: diff [-abdipTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] [-L label] > file1 file2 > diff [-abdipTtw] [-I pattern] [-L label] -C number file1 file2 > diff [-abditw] [-I pattern] -D string file1 file2 > diff [-abdipTtw] [-I pattern] [-L label] -U number file1 file2 > diff [-abdiNPprsTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] > [-L label] [-S name] [-X file] [-x pattern] dir1 dir2 >[FAIL] This is now dealt with by using gdiff for tests. >2) Running portcheck resulted in: > >C++ libraries in WANTLIB with default COMPILER (most ports need >'COMPILER=base-clang ports-gcc' or 'COMPILER=base-clang ports-gcc >base-gcc') I also made some tests more posix compliant, which helps them to succeed on OpenBSD. I will try to get those fixes upstream. OK? Christopher