Bug 1253143

Summary: error: Installed (but unpackaged) file(s) found:
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Pelka <tpelka>
Component: kross-interpretersAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jgrulich, redhatbugs, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kross-interpreters-4.10.5-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-27 13:48:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Pelka 2015-08-13 06:17:20 UTC
Description of problem:
Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.rh-mysql56-config$
Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.rh-mysql56-config$
Installed (but unpackaged) file(s) found:
/usr/lib64/kde4/kross/kross.jar
/usr/lib64/kde4/krossjava.so

Version-Release number of selected component (if applicable):
kross-interpreters-4.10.5-5.el7

How reproducible:
100%

Steps to Reproduce:
1. build rpm from source
2.
3.

Actual results:
rpmbuild fail on mentioned error message

Expected results:
there should be no unpackaged files

Additional info:
I know it is minor issue, but we always guarantee (with a few exceptions) that src rpm can be build also by customer on standard env and not only in brew which is kind of non-standard build env.

Comment 1 Jan Grulich 2015-08-13 07:22:12 UTC
Isn't this a problem in SCL or whatever was used for your build? I don't see anything wrong in kross-interpreters spec file.

Comment 3 Than Ngo 2015-08-19 11:23:41 UTC
the problem is that somehow java is installed in the build enviroment by default (without any buildrequiremnt in the specfile, it's strange for me) and it's detected in cmakefile and so the kross java plugin was enable and built in this case.

It's a bug in the sepcfile. We have to make sure in the specfile that java plugin should not be built independent of java when kross_java is not set

Comment 12 errata-xmlrpc 2015-08-27 13:48:44 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, 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://rhn.redhat.com/errata/RHBA-2015-1690.html

Comment 13 Jan Grulich 2015-09-01 11:09:47 UTC
*** Bug 1048521 has been marked as a duplicate of this bug. ***