You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a skip in this test, but we dumbly check the system "rpm" binary than the rpmbuild binary used to build the RPM in the first place. We have skipping logic here:
nacl
changed the title
RPM source_date_epoch should check rpmbuild version, not system rpm
RPM source_date_epoch test should check rpmbuild version, not system rpm
Nov 4, 2021
So... I notice that the tests fail on my machine, but my rpmbuild version is 4.17.0
The suspicious thing is
rror: Unable to open sqlite database zzz/.rpmdb/rpmdb.sqlite: unable to open database file
error: cannot open Packages index using sqlite - Operation not permitted (1)
error: cannot open Packages database in /zzz/.rpmdb
Ferror: Unable to open sqlite database /zzz/.rpmdb/rpmdb.sqlite: unable to open database file
Also, sending a PR to get rpmbuild version into the toolchain.
if you want to go that route, we can make source date epoch support a condition, and use exec_compatible_with on the tests which would require it. Much like have_rpmbuild.
We have a skip in this test, but we dumbly check the system "rpm" binary than the rpmbuild binary used to build the RPM in the first place. We have skipping logic here:
rules_pkg/pkg/tests/rpm/source_date_epoch/rpm_contents_vs_manifest_test.py
Lines 57 to 64 in 9748dfa
But it could not be working for numerous reasons. Investigate further.
Originally posted by @nacl in #443 (comment)
The text was updated successfully, but these errors were encountered: