fix "osci.brew-build.rpminspect.static-analysis" gating test
Perl's ExtUtils::Install installs "Guestfs.so" read-only; that prevents objcopy from adding the ".gdb_index" section for the sake of the debuginfo file. See <https://rt.cpan.org/Public/Bug/Display.html?id=40976>. Lack of ".gdb_index" is then flagged as an error by rpminspect. Restore write permission for the user, on "Guestfs.so". https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/52967012 https://bugzilla.redhat.com/show_bug.cgi?id=2209279#c24 https://lists.corp.redhat.com/archives/rhel-devel/2023-May/005059.html (This has nothing to do with RHBZ 2209279 BTW, but the bots don't let us commit maintenance-only patches.) resolves: rhbz#2209279 Signed-off-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
feaa7975e5
commit
4a6d9a7c74
@ -45,7 +45,7 @@ Summary: Access and modify virtual machine disk images
|
|||||||
Name: libguestfs
|
Name: libguestfs
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.50.1
|
Version: 1.50.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
|
|
||||||
# Build only for architectures that have a kernel
|
# Build only for architectures that have a kernel
|
||||||
@ -805,6 +805,13 @@ find $RPM_BUILD_ROOT -name .packlist -delete
|
|||||||
find $RPM_BUILD_ROOT -name '*.bs' -delete
|
find $RPM_BUILD_ROOT -name '*.bs' -delete
|
||||||
find $RPM_BUILD_ROOT -name 'bindtests.pl' -delete
|
find $RPM_BUILD_ROOT -name 'bindtests.pl' -delete
|
||||||
|
|
||||||
|
# Perl's ExtUtils::Install installs "Guestfs.so" read-only; that
|
||||||
|
# prevents objcopy from adding the ".gdb_index" section for the sake of
|
||||||
|
# the debuginfo file. See
|
||||||
|
# <https://rt.cpan.org/Public/Bug/Display.html?id=40976>. Restore write
|
||||||
|
# permission for the file owner.
|
||||||
|
find $RPM_BUILD_ROOT -name Guestfs.so -exec chmod u+w '{}' +
|
||||||
|
|
||||||
# golang: Ignore what libguestfs upstream installs, and just copy the
|
# golang: Ignore what libguestfs upstream installs, and just copy the
|
||||||
# source files to %%{_datadir}/gocode/src.
|
# source files to %%{_datadir}/gocode/src.
|
||||||
%ifarch %{golang_arches}
|
%ifarch %{golang_arches}
|
||||||
@ -1099,6 +1106,10 @@ rm ocaml/html/.gitignore
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 07 2023 Laszlo Ersek <lersek@redhat.com> - 1:1.50.1-6
|
||||||
|
- enable the ".gdb_index" section in the Perl bindings debug info
|
||||||
|
resolves: rhbz#2209279
|
||||||
|
|
||||||
* Tue May 23 2023 Laszlo Ersek <lersek@redhat.com> - 1:1.50.1-5
|
* Tue May 23 2023 Laszlo Ersek <lersek@redhat.com> - 1:1.50.1-5
|
||||||
- let "guestfish -i" recognize "--key /dev/mapper/VG-LV:key:password"
|
- let "guestfish -i" recognize "--key /dev/mapper/VG-LV:key:password"
|
||||||
- reenable quickcheck; we now use "-cpu max" (upstream 30f74f38bd6e)
|
- reenable quickcheck; we now use "-cpu max" (upstream 30f74f38bd6e)
|
||||||
|
Loading…
Reference in New Issue
Block a user