Package Details: fbthrift 2019.03.18.00-1

Git Clone URL: (read-only)
Package Base: fbthrift
Description: Facebook's branch of Apache Thrift, including a new C++ server.
Upstream URL:
Licenses: Apache
Conflicts: thrift
Provides: thrift
Submitter: dseg
Maintainer: MrAnno
Last Packager: akstrfn
Votes: 4
Popularity: 0.250852
First Submitted: 2015-03-24 06:40
Last Updated: 2019-03-21 21:16

Required by (14)

Sources (1)

Latest Comments

1 2 Next › Last »

dseg commented on 2017-06-17 01:42

A same issue reported on the Github,
I guess this problem can not be fixed until the folly library fully supports GCC v7.
Could someone please help?

sleeping commented on 2017-06-15 00:58

configure: Unable to find the folly library.
configure: error: Please install the folly library

dseg commented on 2017-03-23 09:02

Updated to the latest version. (2017.03.20.00)

joker512 commented on 2017-03-03 15:01

@ppwwyyxx I tried fbthrift-git. Result is the same.

m3thodic commented on 2017-02-21 16:52

Please add wangle to the build deps, thanks!

checking for getenv in -lwangle... no
configure: error: Please install the wangle library from

ppwwyyxx commented on 2017-02-08 05:16

@joker512 You can try the package fbthrift-git

joker512 commented on 2017-01-19 16:05

Error during installation:
checking for folly/folly-config.h in /usr... yes
checking whether compiling and linking against folly works... no
configure: Unable to find the folly library.
configure: error: Please install the folly library

folly is installed. I tried all: fb-folly, folly and folly-git. I found a bit more information in config.log:

It looks like something is incompatible between folly and boost...

dseg commented on 2015-12-27 21:52

Updated to 0.31.0

dseg commented on 2015-12-22 22:56

Thank you very much for the patch!

Well, I have some problem with my ArchLinux build pc so it will takes few days to fix the problem and applying your patch, how about co-maintain this package?

renanbs commented on 2015-12-21 23:49

Actually I made it compile using a tip from an issue on fbthrift:

Using version 0.31 I created this patch:
--- GeneratedCodeHelper.h 2015-08-24 17:47:32.000000000 -0300
+++ GeneratedCodeHelper-patched.h 2015-12-21 21:05:49.000000000 -0200
@@ -921,7 +921,7 @@
void process_pmap(
Processor* proc,
const typename GeneratedAsyncProcessor::ProcessMap<
- typename GeneratedAsyncProcessor::ProcessFunc<
+ GeneratedAsyncProcessor::ProcessFunc<
Processor, ProtocolReader>>& pmap,
std::unique_ptr<ResponseChannel::Request> req,
std::unique_ptr<folly::IOBuf> buf,

and changed the PKGBUILD to this:
# Maintainer: Daichi Shinozaki <>
pkgdesc="Facebook's branch of Apache Thrift, including a new C++ server"
arch=('i686' 'x86_64')
depends=('folly' 'krb5' 'numactl' 'python2')
options=('!emptydirs' 'staticlibs')

prepare() {
cd "$pkgname-$pkgver/thrift"
patch -p2 --verbose < $srcdir/BinaryProtocol.h.patch
patch -p2 --verbose < $srcdir/CompactProtocol.h.patch
patch -p2 --verbose < $srcdir/Serializer.h.patch
patch -p2 --verbose < $srcdir/Krb5CredentialsCacheManager.cpp.patch
cd "compiler"
patch -p0 --verbose < $srcdir/
cd ..
cd m4
patch -p0 --verbose < $srcdir/ax_check_folly.m4.patch
cd ..
cd lib/cpp2
patch -p0 --verbose < $srcdir/GeneratedCodeHelper.h.patch
cd ../..

sed -ie '1 s/python/python2/' ./compiler/py/
# ArchLinux system has both and
# Use python2 for build, so prevent to be chosen
sed -i -e 's/libboost_python\*.so\*/\*/' ./m4/ax_boost_python.m4
autoreconf -ivf

build() {
cd "$pkgname-$pkgver/thrift"
PYTHON=/usr/bin/python2 ./configure --prefix=/usr
sed --in-place -e 's/python\( -mthrift_compiler.main\)/python2 \1/g' ./lib/cpp2/Makefile

#check() {
# cd "$pkgname-$pkgver/$pkgname"
# make check

package() {
cd "$pkgname-$pkgver/thrift"
make \
PY_INSTALL_HOME="$pkgdir/usr" \
PY_INSTALL_ARGS="--root '${pkgdir}' --prefix=/usr" \
DESTDIR="$pkgdir" \

Can you update this package? :-)