Package Details: wangle 2025.11.24.00-1

Git Clone URL: https://aur.archlinux.org/wangle.git (read-only, click to copy)
Package Base: wangle
Description: C++ networking library providing client/server abstractions for building services
Upstream URL: https://github.com/facebook/wangle
Keywords: c++ client facebook network protocol server service
Licenses: Apache-2.0
Provides: libwangle.so
Submitter: dseg
Maintainer: MrAnno (envolution)
Last Packager: envolution
Votes: 4
Popularity: 0.003563
First Submitted: 2015-08-13 09:21 (UTC)
Last Updated: 2025-11-26 03:29 (UTC)

Latest Comments

1 2 Next › Last »

J5lx commented on 2026-08-04 05:58 (UTC)

patch for 2026.08.03.00: https://pastebin.com/KFwFbY8Q

  • removed glog edit since upstream now works fine without it
  • removed double-conversion dependency which was removed from facebook projects
  • updated gcc-libs dependency to libgcc/libstdc++
  • added libdwarf as a transitive buildtime dependency of folly, see here
  • added cert files needed for the test suite to pass

envolution commented on 2025-06-22 22:05 (UTC)

@usta yeah, I noticed that too - I've sent a question to the maintainers of said packages to see if there is a more suitable way for us to pin these package versions together:

https://aur.archlinux.org/packages/fizz#comment-1029710

appreciate your suggestion

usta commented on 2025-06-22 21:58 (UTC) (edited on 2025-06-22 22:00 (UTC) by usta)

@envolution , looks like it is searching older version to link [if you forget to upgrade fizz/folly and try to compile this one ] :

Excepted : libfolly.so.2025.06.16.00

Problem : Looking for : libfolly.so.2025.06.02.00 and gives linking error

So if there had a problem with update of fizz or folly before wangle it gives errors. I suggest that we add version numbers for depends parts for folly and fizz into wangle builds

I have rebuild folly and fizz then tried to install this everthing works perfect but as like i mentioned to overcome this issue there should be min version dependency for fizz and folly inorder to install this one

envolution commented on 2025-06-22 07:59 (UTC) (edited on 2025-06-22 07:59 (UTC) by envolution)

@jghogg this is related to not having folly updated to 2025.06.16.00

$ pacman -Ql folly | grep small_vector.h
folly /usr/include/folly/container/small_vector.h
folly /usr/include/folly/small_vector.h

jghodd commented on 2025-06-21 22:46 (UTC)

Getting a build error:


In file included from /bslx/repository/bigfollybuild/wangle/src/wangle-2025.06.16.00/wangle/../wangle/acceptor/SSLAcceptorHandshakeHelper.h:20,
                 from /bslx/repository/bigfollybuild/wangle/src/wangle-2025.06.16.00/wangle/acceptor/SSLAcceptorHandshakeHelper.cpp:17:
/usr/include/folly/io/async/AsyncSocket.h:44:10: fatal error: /usr/include/folly/small_vector.h: No such file or directory
   44 | #include <folly/small_vector.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

jghodd commented on 2023-12-11 19:20 (UTC) (edited on 2023-12-13 03:35 (UTC) by jghodd)

Getting another conflict with fizz again. Just a heads-up for now since I'm typing this on my phone. I'll edit and drop in the error message a little later/as soon as I can.

-- Build files have been written to: /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/build [ 1%] Building CXX object CMakeFiles/wangle.dir/acceptor/Acceptor.cpp.o In file included from /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:17: /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/../wangle/acceptor/Acceptor.h:233:7: error: ‘folly::AsyncTransport::LifecycleObserver’ has not been declared 233 | folly::AsyncTransport::LifecycleObserver observer) noexcept; | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/../wangle/acceptor/Acceptor.h:243:7: error: ‘folly::AsyncTransport::LifecycleObserver’ has not been declared 243 | folly::AsyncTransport::LifecycleObserver observer = nullptr) noexcept; | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/../wangle/acceptor/Acceptor.h:468:7: error: ‘folly::AsyncTransport::LifecycleObserver’ has not been declared 468 | folly::AsyncTransport::LifecycleObserver lifeCycleObserver) noexcept; | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:264:5: error: ‘folly::AsyncTransport::LifecycleObserver’ has not been declared 264 | folly::AsyncTransport::LifecycleObserver observer) noexcept { | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp: In member function ‘void wangle::Acceptor::acceptConnection(folly::NetworkSocket, const folly::SocketAddress&, folly::AsyncServerSocket::AcceptCallback::AcceptInfo, int)’: /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:270:17: error: request for member ‘destroy’ in ‘ observer’, which is of non-class type ‘int’ 270 | observer->destroy(nullptr); | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp: At global scope: /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:291:5: error: ‘folly::AsyncTransport::LifecycleObserver’ has not been declared 291 | folly::AsyncTransport::LifecycleObserver observer) noexcept { | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:302:5: error: ‘folly::AsyncTransport::LifecycleObserver’ has not been declared 302 | folly::AsyncTransport::LifecycleObserver observer) noexcept { | ^ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp: In member function ‘void wangle::Acceptor::processEstablishedConnection(int, const folly::SocketAddress&, std::chrono::_V2::steady_clock::time_point, wangle::TransportInfo&, int)’: /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:312:37: error: cannot convert ‘int’ to ‘folly::AsyncSocket::LegacyLifecycleObserver’ 312 | sslSock->addLifecycleObserver(observer); | ^~~~ | | | int In file included from /usr/include/fizz/protocol/AsyncFizzBase.h:15, from /usr/include/fizz/server/AsyncFizzServer.h:11, from /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/../wangle/acceptor/FizzAcceptorHandshakeHelper.h:21, from /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/../wangle/acceptor/Acceptor.h:20: /usr/include/folly/io/async/AsyncSocket.h:1421:62: note: initializing argument 1 of ‘virtual void folly::AsyncSocket::addLifecycleObserver(LegacyLifecycleObserver)’ 1421 | virtual void addLifecycleObserver(LegacyLifecycleObserver observer); | ~^~ /distro/local/repository/wangle-fizz-new/wangle/src/wangle-2023.04.10.00/wangle/acceptor/Acceptor.cpp:338:34: error: cannot convert ‘int’ to ‘folly::AsyncSocket::LegacyLifecycleObserver’ 338 | sock->addLifecycleObserver(observer); | ^~ | | | int /usr/include/folly/io/async/AsyncSocket.h:1421:62: note: initializing argument 1 of ‘virtual void folly::AsyncSocket::addLifecycleObserver(LegacyLifecycleObserver)’ 1421 | virtual void addLifecycleObserver(LegacyLifecycleObserver* observer); | ~^~ make[2]: *** [CMakeFiles/wangle.dir/build.make:76: CMakeFiles/wangle.dir/acceptor/Acceptor.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/wangle.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

it actually craps out compiling the very first source file. this is after the recent folly update.

jghodd commented on 2022-09-01 18:30 (UTC)

@MrAnno - i finally freed up enough space to set up a clean chroot build environment. all 4 packages (fizz, folly, wangle, proxygen) built successfully.

MrAnno commented on 2022-08-25 18:57 (UTC)

Thanks. I've reproduced similar build issues, I'll try to resolve them soon.

jghodd commented on 2022-08-24 03:29 (UTC) (edited on 2022-08-24 03:30 (UTC) by jghodd)

@MrAnno - here's my makepkg.conf


#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
          'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'fossil::fossil'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSZST=(zstd -c -z -q -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

it's been a few years since i put together a clean chroot environment for building 32-bit packages, so i'll have to put aside some time to put that together. thing is, i haven't had to do that in the past. one way or another, i eventually got wangle to build, albeit usually with difficulty - note that fizz and folly build without issue.

MrAnno commented on 2022-08-23 21:45 (UTC)

I'm building folly, fizz, wangle and proxygen in the archlinux dev's recommended clean "chroot" environment (https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot). Everything seems to build just fine.

Please share your makepkg config and your environment, if you believe something needs to be changed in the packaging of wangle.