Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72792 - [bash-bats] lacks optional parallel dep

Attached to Project: Community Packages
Opened by Jelle van der Waa (jelly) - Friday, 19 November 2021, 21:11 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 20 November 2021, 06:17 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Felix Yan (felixonmars)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



bats has an optional dependency to parallel when using -j $(nproc)
This task depends upon

Comment by Jelle van der Waa (jelly) - Friday, 19 November 2021, 21:11 GMT
Altho it seems it needs something else too..

podman run --rm --network=none -v /home/jelle/projects/dbscripts:/dbscripts:ro --tmpfs=/tmp:exec -w /dbscripts/test dbscripts/test make CASES=cases/db-update.bats BATS_ARGS="-j 2" test
BUILDDIR=/build PATH=/dbscripts/test/../:/dbscripts/test/../cron-jobs/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin bats -j 2 cases/db-update.bats
/usr/lib/bats/bats-exec-suite: line 75: /usr/lib/bats-core/semaphore.bash: No such file or directory

Issue seems to be

[jelle@t14s][~/projects/dbscripts]%pacman -Ql bash-bats | grep semaphore
bash-bats /usr/lib/bats/semaphore.bash