Skip to content

purging test fails depending on locale decimal points #481

@andy5995

Description

@andy5995

An AUR user has reported that the purging test fails when check is enabled in the PKGBUILD.

Can anyone reproduce the problem using makepkg on an Arch-based system? Or have you also experienced it on any other system?

I haven't been able to reproduce the failed test on my Manjaro system or an Arch Linux docker container. Also the test is passing in the CI on Slackware, Ubuntu, Alpine and Tumbleweed.

PKGBUILD

# Maintainer: Andy Alt <arch_stanton5995 at proton.me>
# Contributor: Oliver Jaksch <arch-aur at com-in dot de>

pkgname=rmw
pkgver=0.9.3
pkgrel=1
pkgdesc="trash/recycle bin utility for the command line"
arch=('i686' 'x86_64' 'aarch64')
url="https://theimpossibleastronaut.com/rmw-website/"
license=('GPL-3.0-or-later')
depends=('glibc' 'ncurses')
makedepends=('meson' 'ninja')
optdepends=('gettext' 'canfigger')

source=("https://github.com/theimpossibleastronaut/rmw/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('a7215af12694d50282e4cfb9b9062fb7806bde8770d61a2a0cd8260e28db2749')

build() {
  arch-meson $pkgname-$pkgver build -Db_sanitize=none
  meson compile -v -C build
}

check() {
  meson test -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions