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 1215243 - JSS -- support windows build (jss-win)
Summary: JSS -- support windows build (jss-win)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: jss
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Christina Fu
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-24 18:25 UTC by Noriko Hosoi
Modified: 2015-11-19 14:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 14:43:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix for windows build. (1.06 KB, patch)
2015-04-24 18:25 UTC, Noriko Hosoi
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2445 0 normal SHIPPED_LIVE jss bug fix update 2015-11-19 11:35:47 UTC

Description Noriko Hosoi 2015-04-24 18:25:50 UTC
Created attachment 1018579 [details]
Fix for windows build.

Description of problem:
We need jss built on Windows for the Windows Console.  The build retrieves the src rpm that you already built on brew and uses it.  My scratch build fails (see the bottom).  Most likely, you declared "SSLVersionRange supported_range;" (line 83) in the middle of the function...  Could you please move the line 83 to line 68?  (please note that SSLVersionRange at the line 68 does not cause an error.)

  63 JNIEXPORT void JNICALL
  64 Java_org_mozilla_jss_ssl_SSLSocket_setSSLVersionRangeDefault(JNIEnv *env,
  65     jclass clazz, jint ssl_variant, jint min, jint max)
  66 {
  67     SECStatus status;
  68     SSLVersionRange vrange;
  69
  70     if (ssl_variant <0 || ssl_variant >= JSSL_enums_size||
    ...
  79     vrange.min = JSSL_enums[min];
  80     vrange.max = JSSL_enums[max];
  81
  82     /* get supported range */
  83     SSLVersionRange supported_range;
  84     status = SSL_VersionRangeGetSupported(JSSL_enums[ssl_variant],

Also, AF_INET6 is not available with the header files currently included. Could you define this macro?

    #define AF_INET6 23

Comment 1 Noriko Hosoi 2015-04-28 16:55:41 UTC
On 04/27/2015 10:55 AM, Christina Fu wrote:
> https://brewweb.devel.redhat.com/buildinfo?buildID=431286

I could build jss-win with the brew build Christina provided.
https://brewweb.devel.redhat.com/buildinfo?buildID=431336

Comment 5 Roshni 2015-08-28 15:52:54 UTC
Please provide verification steps for this bug.

Comment 6 Noriko Hosoi 2015-08-28 17:44:15 UTC
With the fix, jss could be built for Windows.
You could use the brew for the evidence:
https://brewweb.devel.redhat.com/buildinfo?buildID=449340

Comment 7 Roshni 2015-08-28 18:24:53 UTC
Based on comment 6 using fix in the following jss build jss could be built for Windows

[root@cloud-qe-7 pki-tomcat]# rpm -qi jss
Name        : jss
Version     : 4.2.6
Release     : 37.el7
Architecture: x86_64
Install Date: Wed 26 Aug 2015 03:46:12 PM EDT
Group       : System Environment/Libraries
Size        : 975126
License     : MPLv1.1 or GPLv2+ or LGPLv2+
Signature   : RSA/SHA256, Wed 29 Jul 2015 01:42:44 PM EDT, Key ID 938a80caf21541eb
Source RPM  : jss-4.2.6-37.el7.src.rpm
Build Date  : Thu 09 Jul 2015 12:14:54 PM EDT
Build Host  : x86-035.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://www.mozilla.org/projects/security/pki/jss/
Summary     : Java Security Services (JSS)

Comment 8 errata-xmlrpc 2015-11-19 14:43:46 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-2445.html


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