From: Stuart Henderson Subject: Re: internal conflict between updatedb-0p0 and quirks-6.128 To: ports@openbsd.org Date: Wed, 21 Feb 2024 12:45:17 +0000 On 2024/02/21 12:40, Lucas Gabriel Vuotto wrote: > Forgot to tell my packages are up-to-date. I did run it again for good > meassure, still with no success. My ports tree is up-to-date (Git commit > f0a54ae35f82eebaf63789816ddb2a6acf4c09fd) and I'm using cdn.openbsd.org > for upstream. > > Also worth noting, this only happens when trying to build the package. Oh, you have old files in /usr/ports/packages, rm them. > If instead I install aarch64-none-elf-gcc directly, I don't get any > message: > > darjeeling$ doas pkg_add aarch64-none-elf-gcc > quirks-7.5 signed on 2024-02-20T15:33:39Z > aarch64-none-elf-gcc-12.2.0p1:mpfr-4.2.1: ok > aarch64-none-elf-gcc-12.2.0p1:libmpc-1.1.0: ok > aarch64-none-elf-gcc-12.2.0p1:aarch64-none-elf-binutils-2.40: ok > aarch64-none-elf-gcc-12.2.0p1: ok > > I tried also starting with an empty /usr/ports/pobj and > /usr/ports/distfiles, again with no success. > > Lucas > > On Wed, Feb 21, 2024 at 09:44:47AM +0000, Stuart Henderson wrote: > > Try pkg_add -u, that had usually cleared things up when I've seen this > > > > -- > > Sent from a phone, apologies for poor formatting. > > > > On 21 February 2024 04:17:30 Lucas Gabriel Vuotto wrote: > > > > > Hi ports@, > > > > > > since last Saturday, I noticed a weird issue when I tried to prepare > > > u-boot-rk356x: > > > > > > darjeeling$ make FETCH_PACKAGES=-Dsnap prepare > > > ===> u-boot-rk356x-2024.01 depends on: aarch64-none-elf-gcc-* - not found > > > ===> Verifying install for aarch64-none-elf-gcc-* in devel/arm-none-eabi/gcc > > > ===> Looking for aarch64-none-elf-gcc-12.2.0p1.tgz in $PKG_PATH - > > > updatedb-0p0 signed on 2024-02-20T15:35:22Z > > > quirks-7.5+updatedb-0p0->quirks-6.128+updatedb-0p0: internal conflict > > > between updatedb-0p0 and quirks-6.128 > > > Couldn't find updates for quirks-7.5 updatedb-0p0 > > > Couldn't install quirks-6.128 updatedb-0p0 > > > not found > > > *** Error 1 in /usr/ports/devel/arm-none-eabi/gcc > > > (/usr/ports/infrastructure/mk/bsd.port.mk:2221 > > > '/usr/ports/packages/amd64/cache/aarch64-none-elf-gcc-12.2.0p1.tgz') > > > ===> Building from scratch aarch64-none-elf-gcc-12.2.0p1 > > > ^C > > > > > > I don't know from where I'm getting that conflict between the old and > > > the new quirks. This problem still persist with a fresh snapshot: > > > > > > kern.version=OpenBSD 7.5-beta (GENERIC.MP) #7: Tue Feb 20 11:09:18 MST 2024 > > > deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > Problem persist after removing and reinstalling quirks and updatedb. > > > pkg_delete -a is run regularly, and running it didn't help. I have a > > > clean pkg_check too, and /var/db/pkg/ only shows the last versions of > > > both quirks and updatedb. > > > > > > Any clues on where it comes from? > > > > > > Lucas > >