Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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
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)
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
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