Bug 1415692

Summary: thrift package has no TNonblockingServer
Product: [Fedora] Fedora EPEL Reporter: Linko22 <linko22>
Component: thriftAssignee: Christopher Tubbs <ctubbsii>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: ctubbsii, linko22, willb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
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:36 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
thrift spec file patch for enable TNonblockingServer
none
thrift spec file patch for enable TNonblockingServer none

Description Linko22 2017-01-23 12:57:48 UTC
Description of problem:

in package no libthriftnb lib, so a cannot usage it for build my own package

Version-Release number of selected component (if applicable):

Name        : thrift
Arch        : x86_64
Version     : 0.9.1
Release     : 14.el7
Size        : 3.2 M
Repo        : installed
From repo   : epel
Summary     : Software framework for cross-language services development
URL         : http://thrift.apache.org/
License     : ASL 2.0 and BSD and zlib
Description : 
            : The Apache Thrift software framework for cross-language services
            : development combines a software stack with a code generation engine to
            : build services that work efficiently and seamlessly between C++, Java,
            : Python, and other languages.


How reproducible:


Steps to Reproduce:
1. g++  -Wall -O3 -L/usr/lib -lboost_system -lboost_filesystem -Wl,-z,relro  -o scribed store.o store_queue.o conf.o file.o conn_pool.o scribe_server.o network_dynamic_config.o dynamic_bucket_updater.o  env_default.o  -L/usr/lib -L/usr/lib -L/usr/local/lib -lfb303 -lthrift -lthriftnb -levent -lpthread  libscribe.so 
/usr/bin/ld: cannot find -lthriftnb
collect2: error: ld returned 1 exit status
make[3]: *** [scribed] Error 1
make[3]: Leaving directory `/home/rpm/rpmbuild/BUILD/scribe-2.2-1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rpm/rpmbuild/BUILD/scribe-2.2-1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rpm/rpmbuild/BUILD/scribe-2.2-1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.gjUbim (%build)

2.
g++  -Wall -O3 -L/usr/lib -lboost_system -lboost_filesystem -Wl,-z,relro  -o scribed store.o store_queue.o conf.o file.o conn_pool.o scribe_server.o network_dynamic_config.o dynamic_bucket_updater.o  env_default.o  -L/usr/lib -L/usr/lib -L/usr/local/lib -lfb303 -lthrift -levent -lpthread  libscribe.so 
env_default.o: In function `scribe::startServer()':
env_default.cpp:(.text+0x498): undefined reference to `vtable for apache::thrift::server::TNonblockingServer'
env_default.cpp:(.text+0x8a2): undefined reference to `apache::thrift::server::TNonblockingServer::setThreadManager(boost::shared_ptr<apache::thrift::concurrency::ThreadManager>)'
collect2: error: ld returned 1 exit status
make[3]: *** [scribed] Error 1
make[3]: Leaving directory `/home/rpm/rpmbuild/BUILD/scribe-2.2-1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rpm/rpmbuild/BUILD/scribe-2.2-1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rpm/rpmbuild/BUILD/scribe-2.2-1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.YFgmDg (%build)



Actual results:


Expected results:


Additional info:

Comment 1 Linko22 2017-01-24 09:02:34 UTC
Created attachment 1243860 [details]
thrift spec file patch for enable TNonblockingServer

Comment 2 Linko22 2017-01-24 09:37:00 UTC
Created attachment 1243863 [details]
thrift spec file patch for enable TNonblockingServer

Sorry, first patch was ncorrect

Comment 3 Christopher Tubbs 2017-03-08 02:23:20 UTC
Do you know if this only applies to the version in EPEL7? I can apply your patch, but I'm currently working on updating F26+ to version 0.10.0, and might need to apply the fix there also.

Comment 4 Linko22 2017-03-09 06:50:18 UTC
I think, there is no difference between fc26 and rhel7. I can build package with this patch for both them.

Comment 5 Fedora Update System 2017-03-14 10:41:26 UTC
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

Comment 6 Fedora Update System 2017-03-14 10:42:02 UTC
thrift-0.10.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-64b8696983

Comment 7 Fedora Update System 2017-03-14 23:19:05 UTC
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

Comment 8 Fedora Update System 2017-03-15 04:22:49 UTC
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

Comment 9 Fedora Update System 2017-03-29 20:51:36 UTC
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.

Comment 10 Fedora Update System 2017-04-01 17:04:34 UTC
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.