Bug 1415692 - thrift package has no TNonblockingServer
Summary: thrift package has no TNonblockingServer
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: thrift
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Christopher Tubbs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-23 12:57 UTC by Linko22
Modified: 2017-04-01 17:04 UTC (History)
3 users (show)

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:
Clone Of:
Environment:
Last Closed: 2017-03-29 20:51:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
thrift spec file patch for enable TNonblockingServer (1.18 KB, patch)
2017-01-24 09:02 UTC, Linko22
no flags Details | Diff
thrift spec file patch for enable TNonblockingServer (1.37 KB, patch)
2017-01-24 09:37 UTC, Linko22
no flags Details | Diff

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.


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