Bug 2217160
| Summary: | warning from awk during package build: inplace::begin: disabling in-place editing for invalid FILENAME | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Evgeni Golov <egolov> |
| Component: | gopass-jsonapi | Assignee: | Fabio Alessandro Locati <me> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | go-sig, me |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |
Ohai, when building the package, the following warning is seen during %check + for test in "TestPubring" ++ grep -rl TestPubring + awk -i inplace '/^func.*TestPubring\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' awk: inplace:59: warning: inplace::begin: disabling in-place editing for invalid FILENAME `-' Reproducible: Always Steps to Reproduce: 1. build the package Actual Results: warning Expected Results: no warning The "TestPubring" does not exist in gopass-jsonapi (only in gopass itself), so the awking can be just dropped from the specfile: diff --git gopass-jsonapi.spec gopass-jsonapi.spec index 4b228ea..ee34043 100644 --- gopass-jsonapi.spec +++ gopass-jsonapi.spec @@ -48,9 +48,6 @@ install -m 0755 -vp %{gobuilddir}/bin/gopass-jsonapi %{buildroot}%{_bindir}/ %check git config --global user.email "%{name}-owner" git config --global user.name "%{name} maintainer" -for test in "TestPubring"; do - awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) -done %gocheck %endif