Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1385702
Summary: | thrift-0.9.1-17.fc26.5 FTBFS: checking for BN_init in -lcrypto... no | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||||||
Component: | thrift | Assignee: | Will Benton <willb> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 26 | CC: | ctubbsii, jking, jwakely, milleruntime, releng, willb | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
URL: | https://apps.fedoraproject.org/koschei/build/2266757 | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | thrift-0.9.1-15.el7 thrift-0.10.0-2.fc26 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2017-03-29 20:51:40 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1383740, 1423041 | ||||||||||
Attachments: |
|
Description
Petr Pisar
2016-10-17 14:15:21 UTC
*** Bug 1417764 has been marked as a duplicate of this bug. *** Created attachment 1246050 [details]
build.log from scratch build using compat-openssl10
I tried changing it to use BuildRequires: compat-openssl10-devel which fixes the configure error, but it fails elsewhere later:
dist:
[echo] Building libfb303.jar
[javac] Compiling 3 source files to /builddir/build/BUILD/thrift-0.9.1/contrib/fb303/java/build/classes
[javac] /builddir/build/BUILD/thrift-0.9.1/contrib/fb303/java/gen-java/com/facebook/fb303/FacebookService.java:9: error: package org.apache.thrift.scheme does not exist
[javac] import org.apache.thrift.scheme.IScheme;
[javac] ^
Hey Jonathan, thanks for the suggested fix. I guess I was trying a scratch build at the same time — I actually got a different failure (and still another failure in mock). I'll keep looking, though. I wonder if these other random failures point to a parallel make problem. I'll look at that. Is there any chance that a newer version of thrift might better support the newer version of OpenSSL? I'm very interested in upgrading to at least 0.9.3 for rawhide. See bz#1183877 The latest version of thrift was released early January 2017 and includes fixes work with openssl-1.1.0. See: https://issues.apache.org/jira/browse/THRIFT-3207 https://issues.apache.org/jira/browse/THRIFT-3736 https://issues.apache.org/jira/browse/THRIFT-3878 I believe that thrift-0.10.0 would be the best starting point for a release at this time. Christopher, I'd need to double-check, but I think accumulo is the only Fedora package building against Thrift atm. If that is the case and if 0.9.3 will work for you (or if 0.10.0 will), then we should probably just update the package. James, thanks for the pointer! Historically we've had to pin Thrift at a version that works with most of the projects that depend on it because cross-version compatibility has been poor. (Most upstream projects are more comfortable depending on older versions of libraries than we'd like to ship in Fedora.) Since bringing Thrift into Fedora, most of the projects depending on it have either dropped a Thrift dependency or have been retired from Fedora. If Thrift 0.10.0 can be built for Fedora relatively easily and if it works with the projects that depend on it, then it's a good option. Upstream Accumulo currently uses 0.9.3, but if we can fix this FTBFS by moving to 0.10.0, I'll happily work with upstream Accumulo to make sure their most recent release can be patched to work against 0.10.0, so I can get that version into F26. I figured out the first problem. The autoconf was doing a AC_CHECK_LIB on the crypto lib but with a function (BN_init) that doesn't exist in 1.1.0 anymore. https://www.openssl.org/docs/man1.0.1/crypto/BN_init.html https://www.openssl.org/docs/man1.1.0/crypto/BN_new.html This one is an easy fix and I'll submit a patch but there are other issues with the actual compilation. I am currently looking into these as well. Created attachment 1248876 [details]
openssl patch to autoconf
First part of a patch to fix openssl going from 1.0.1 to 1.1.0
Created attachment 1248896 [details]
Patch for fix to openssl 1.1.0
I believe this patch fixes all the bugs related to openssl
Thanks Mike! Also, I commented on bz#1183877 that, as far as Accumulo is concerned, it can use 0.10.0 just fine. *** Bug 1424117 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. thrift-0.9.1-15.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-95f9ce01bc thrift-0.10.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-64b8696983 thrift-0.9.1-15.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-95f9ce01bc thrift-0.10.0-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-64b8696983 thrift-0.9.1-15.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. thrift-0.10.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |