FS#70025 - [borg] junk file removal in packaging fails when building without checks

Attached to Project: Community Packages
Opened by Kevin Mihelich (kmihelich) - Wednesday, 17 March 2021, 01:45 GMT
Last edited by Morten Linderud (Foxboron) - Wednesday, 17 March 2021, 22:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The following removal in packaging fails when building without checks:
# remove junk files
rm -r "$pkgdir"/usr/lib/python*/site-packages/{.benchmarks,.coverage}

This can be fixed by adding a -f.

Additional info:
* package version(s)
* log:
rm: cannot remove '/build/borg/pkg/borg/usr/lib/python*/site-packages/.benchmarks': No such file or directory
rm: cannot remove '/build/borg/pkg/borg/usr/lib/python*/site-packages/.coverage': No such file or directory

Steps to reproduce: Build in a clean chroot passing --nocheck to makepkg
This task depends upon

Closed by  Morten Linderud (Foxboron)
Wednesday, 17 March 2021, 22:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.1.15-4

Loading...