Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1601372 - [fix available] libreoffice fails to build with --nocheck
Summary: [fix available] libreoffice fails to build with --nocheck
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreoffice
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Caolan McNamara
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1601882
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-16 08:31 UTC by Kamil Dudka
Modified: 2018-08-28 14:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1601882 (view as bug list)
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Kamil Dudka 2018-07-16 08:31:09 UTC
Version-Release number of selected component (if applicable):
libreoffice-5.3.6.1-16.el7


Steps to Reproduce:
1. rpmbuild --nocheck --rebuild libreoffice-5.3.6.1-16.el7.src.rpm


Actual results:
[...]
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libreoffice-5.3.6.1-10.el7.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/lib64/libreoffice/program/classes/smoketest.jar


Expected results:
Successful build.


Additional info:
This bug prevents the package from being automatically analyzed by Covscan.

The following patch fixes it:

--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1485,12 +1485,6 @@ for jar in %{buildroot}%{baseinstdir}/program/classes/*.jar; do
     esac
 done

-%check
-unset WITH_LANG
-# work around flawed accessibility check
-export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
-export OOO_TEST_SOFFICE=path:%{buildroot}%{baseinstdir}/program/soffice
-# timeout -k 2m 2h make smoketest.subsequentcheck
 # we don't need this anymore
 rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar


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