void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.57k stars 2.14k forks source link

`./xbps-src -a i686 clean-repocache` -- assertion failed #29561

Open unspecd opened 3 years ago

unspecd commented 3 years ago

System

Expected behavior

$ ./xbps-src -a i686 clean-repocache

-- removes obsolete packages from hostdir/repocache-i686

Actual behavior

$ ls -1 hostdir/repocache-i686/ | wc -l
59
$ ./xbps-src -a i686 clean-repocache
Assertion failed: idx < pa->pa_count (portableproplib/prop_array.c: prop_array_remove: 754)
./xbps-src: line 710: 17412 Aborted                 $XBPS_REMOVE_CMD -C /dev/null -c $XBPS_HOSTDIR/repocache-${XBPS_TARGET_ARCH} -O
$ ./xbps-src -a i686 clean-repocache
Removed libunistring-devel-0.9.10_1.i686.xbps from cachedir (obsolete)
Removed readline-devel-8.1.000_1.i686.xbps from cachedir (obsolete)
Removed libltdl-devel-2.4.6_6.i686.xbps from cachedir (obsolete)
Removed less-563_1.i686.xbps from cachedir (obsolete)
Removed ncurses-devel-6.2_4.i686.xbps from cachedir (obsolete)
Removed libpcre-8.44_1.i686.xbps from cachedir (obsolete)
Removed cross-vpkg-dummy-0.37_1.i686.xbps from cachedir (obsolete)
Removed pkg-config-0.29.2_2.i686.xbps from cachedir (obsolete)
Removed libhistory8-8.1.000_1.i686.xbps from cachedir (obsolete)
Removed gc-devel-8.0.4_1.i686.xbps from cachedir (obsolete)
Removed libdb-5.3.28_8.i686.xbps from cachedir (obsolete)
Removed m4-1.4.18_2.i686.xbps from cachedir (obsolete)
Removed base-files-0.141_11.i686.xbps from cachedir (obsolete)
Removed libffi-devel-3.3_2.i686.xbps from cachedir (obsolete)
Removed texinfo-6.7_1.i686.xbps from cachedir (obsolete)
Removed gmp-6.2.1_1.i686.xbps from cachedir (obsolete)
Removed ncurses-libs-6.2_4.i686.xbps from cachedir (obsolete)
Removed libreadline8-8.1.000_1.i686.xbps from cachedir (obsolete)
Removed libffi-3.3_2.i686.xbps from cachedir (obsolete)
Removed libltdl-2.4.6_6.i686.xbps from cachedir (obsolete)
Removed libatomic_ops-7.6.10_1.i686.xbps from cachedir (obsolete)
Removed gmp-devel-6.2.1_1.i686.xbps from cachedir (obsolete)
Removed libunistring-0.9.10_1.i686.xbps from cachedir (obsolete)
Removed automake-1.16.2_2.i686.xbps from cachedir (obsolete)
Removed autoconf-2.69_9.i686.xbps from cachedir (obsolete)
Removed gc-8.0.4_1.i686.xbps from cachedir (obsolete)
Removed libatomic_ops-devel-7.6.10_1.i686.xbps from cachedir (obsolete)
Removed gdbm-1.19_1.i686.xbps from cachedir (obsolete)
Removed perl-5.32.1_2.i686.xbps from cachedir (obsolete)
$ ls -l hostdir/repocache-i686/
total 0

Steps to reproduce the behavior

  1. Build 5-10 packages for i686.
  2. Run ./xbps-src -a i686 clean-repocache.

The issue is not always reproducible.

github-actions[bot] commented 2 years ago

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.