RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1907766 - fprintd-1.90.8-1.el8 fails to build with --nocheck
Summary: fprintd-1.90.8-1.el8 fails to build with --nocheck
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: fprintd
Version: 8.4
Hardware: All
OS: Linux
high
unspecified
Target Milestone: rc
: 8.4
Assignee: Benjamin Berg
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-15 07:41 UTC by Kamil Dudka
Modified: 2021-05-18 15:55 UTC (History)
4 users (show)

Fixed In Version: fprintd-1.90.9-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:55:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kamil Dudka 2020-12-15 07:41:13 UTC
Description of problem:
If `mock` or `rpmbuild` is invoked with `--nocheck`, fprintd fails to build.


Version-Release number of selected component (if applicable):
fprintd-1.90.8-1.el8


How reproducible:
Easily.


Steps to Reproduce:
1. koji download-build -a src fprintd-1.90.8-1.el8
2. mock -r rhel-8-x86_64 fprintd-1.90.8-1.el8 --nocheck


Actual results:
[...]
Processing files: fprintd-1.90.8-1.el8.x86_64
RPM build errors:
error: Could not open %files file /builddir/build/BUILD/fprintd-v1.90.8/fprintd.lang: No such file or directory


Expected results:
Successful build.


Additional info:
Introduced with the following dist-git commit:
http://pkgs.devel.redhat.com/cgit/rpms/fprintd/commit/?id=7a99a004

The following patch will fix it:
--- a/fprintd.spec
+++ b/fprintd.spec
@@ -69,17 +69,17 @@ fingerprint readers access.
 %install
 %meson_install
 mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint

 rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la,so.*}

+%find_lang %{name}
+
 %check
 # The test suite will just throw errors due to missing dependencies

-%find_lang %{name}
-
 %postun pam
 if [ $1 -eq 0 ]; then
   /sbin/authconfig --disablefingerprint --update || :
 fi

 %files -f %{name}.lang

Comment 1 Benjamin Berg 2020-12-15 10:15:53 UTC
Outch, bad bad mistake.

Comment 9 errata-xmlrpc 2021-05-18 15:55:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (libfprint bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:1889


Note You need to log in before you can comment on or make changes to this bug.