Bug 1093187

Summary: underspecific build requires for esc
Product: Red Hat Enterprise Linux 7 Reporter: Pat Riehecky <riehecky>
Component: escAssignee: Jack Magne <jmagne>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0CC: arubin, csieh, kbsingh, mharmsen, misterbonnie, nkinder, rpattath
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: esc-1.1.0-37.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:43:15 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:
Attachments:
Description Flags
mock config for replication none

Description Pat Riehecky 2014-04-30 21:00:20 UTC
Created attachment 891294 [details]
mock config for replication

Description of problem:esc-1.1.0-27.el7 must be built against xulrunner-24.2.0 and fails to build against xulrunner-24.4.0 due to a hard coded include path.

Due to this hard restriction on the xulrunner version, I believe the build requires should be adjusted

Version-Release number of selected component (if applicable): esc-1.1.0-27.el7


How reproducible: 100%


Steps to Reproduce:
1.attempt to rebuild against RHEL7 RC
2.build fails
3.

Actual results:
python /usr/lib64/xulrunner-devel-24.2.0/sdk/bin/header.py --cachedir=/tmp -o rhITray.h -I /usr/share/idl/xulrunner-24.2.0 -I /usr/include/nspr4  rhITray.idl
python: can't open file '/usr/lib64/xulrunner-devel-24.2.0/sdk/bin/header.py': [Errno 2] No such file or directory
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/builddir/build/BUILD/esc-1.1.0/esc/src/app/xpcom/tray'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/esc-1.1.0/esc/src/app/xpcom/tray'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/esc-1.1.0/esc/src'
make: *** [libs] Error 2

Expected results:
If a specific version of xulrunner is required, the BuildRequires should specify

Additional info:

Comment 6 Jack Magne 2016-06-29 22:40:45 UTC
Fixed in latest build.

The build procedure calculates the xulrunner version and proceeds. The only way it will fail in the future is an unexpected API change, NOT an invalid hard coded gecko version number.

Comment 9 Roshni 2016-08-29 17:11:31 UTC
[root@dhcp129-54 ~]# rpm -qi esc
Name        : esc
Version     : 1.1.0
Release     : 37.el7
Architecture: x86_64
Install Date: Thu 04 Aug 2016 11:38:22 AM EDT
Group       : Applications/Internet
Size        : 1379484
License     : GPL+
Signature   : RSA/SHA256, Thu 28 Jul 2016 02:30:13 AM EDT, Key ID 938a80caf21541eb
Source RPM  : esc-1.1.0-37.el7.src.rpm
Build Date  : Wed 29 Jun 2016 06:23:53 PM EDT
Build Host  : x86-024.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://directory.fedoraproject.org/wiki/CoolKey
Summary     : Enterprise Security Client Smart Card Client

Sanity tests successfully executed.

Comment 11 errata-xmlrpc 2016-11-04 07:43:15 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-2016-2507.html