Package Details: folly 2025.11.24.00-1

Git Clone URL: https://aur.archlinux.org/folly.git (read-only, click to copy)
Package Base: folly
Description: An open-source C++ library developed and used at Facebook
Upstream URL: https://github.com/facebook/folly
Licenses: Apache-2.0
Provides: libfolly.so, libfollybenchmark.so, libfolly_test_util.so
Submitter: dseg
Maintainer: ftiasch (MrAnno, envolution)
Last Packager: envolution
Votes: 9
Popularity: 0.40
First Submitted: 2015-03-20 08:29 (UTC)
Last Updated: 2025-11-25 02:42 (UTC)

Pinned Comments

carsme commented on 2023-12-07 04:02 (UTC)

BREAKING CHANGE: This package now builds shared objects:

/usr/lib/libfolly.so
/usr/lib/libfolly_test_util.so
/usr/lib/libfollybenchmark.so

instead of the static libraries:

/usr/lib/libfolly.a
/usr/lib/libfolly_exception_counter.a
/usr/lib/libfolly_exception_tracer.a
/usr/lib/libfolly_exception_tracer_base.a
/usr/lib/libfolly_test_util.a
/usr/lib/libfollybenchmark.a

Downstream packages must move folly from the makedepends to depends array to stay functional.

We are doing this change since dynamic rather than static linking between packages is more in line with Arch Linux packaging practices (or just Linux packaging practices in general).

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

jghodd commented on 2025-10-22 20:57 (UTC)

@envolution - yeah. saw that when I attempted a makepkg on it. Boost was just updated, btw.

envolution commented on 2025-10-22 20:28 (UTC)

@jghodd yes sorry, am currently working on these releases. Some upstream Boost changes have made it a little tricky

jghodd commented on 2025-10-22 20:26 (UTC) (edited on 2025-10-22 20:27 (UTC) by jghodd)

Should we be expecting a 2025.10.20 release of mvfst?


:: installing fizz (2025.10.20.00-1) breaks dependency 'fizz=2025.10.13.00' required by mvfst
:: installing folly (2025.10.20.00-3) breaks dependency 'folly=2025.10.13.00' required by mvfst

Winterreise commented on 2025-07-25 00:29 (UTC)

@envolution I can confirm it is fixed now. Thanks very much!

envolution commented on 2025-07-24 19:28 (UTC)

@Winterreise i've fixed those pyside2 packages as I maintain those - can you try update and install this package once more?

Winterreise commented on 2025-07-23 07:19 (UTC)

@envolution: Thanks for indication a way to find the problem. Yes I do find two broken name by your script:

Broken package (no name): /usr/lib/python3.13/site-packages/shiboken2.egg-info
Broken package (no name): /usr/lib/python3.13/site-packages/PySide2.egg-info

envolution commented on 2025-07-23 07:08 (UTC)

@Winterreise this one is difficult to troubleshoot as I suspect you have some broken python metadata in site-packages. Have you had trouble installing other aur python packages using setuptools?

You can try find the offending packages with the following python snippet

#!/usr/bin/env python3
import importlib.metadata
for dist in importlib.metadata.distributions():
    name = dist.metadata.get('Name')
    if name is None:
        print(f"Broken package (no name): {dist._path}")

Winterreise commented on 2025-07-23 04:11 (UTC)

Fail to build folly, but I can't find anything in the search engine to solve this problem:

/usr/lib/python3.13/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.

        By 2025-Oct-31, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
  File "/home/winterreise/.cache/paru/clone/folly/src/folly/folly/python/setup.py", line 43, in <module>
    setup(
    ~~~~~^
        name="folly",
        ^^^^^^^^^^^^^
    ...<5 lines>...
        ext_modules=cythonize(exts, compiler_directives={"language_level": 3}),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 114, in setup
    _install_setup_requires(attrs)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 87, in _install_setup_requires
    _fetch_build_eggs(dist)
    ~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 92, in _fetch_build_eggs
    dist.fetch_build_eggs(dist.setup_requires)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 766, in fetch_build_eggs
    return _fetch_build_eggs(self, requires)
  File "/usr/lib/python3.13/site-packages/setuptools/installer.py", line 54, in _fetch_build_eggs
    resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in needed_reqs]
                                                                     ^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/installer.py", line 52, in <genexpr>
    req for req in missing_reqs if not req.marker or req.marker.evaluate()
                   ^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/installer.py", line 40, in _present
    return any(_dist_matches_req(dist, req) for dist in metadata.distributions())
  File "/usr/lib/python3.13/site-packages/setuptools/installer.py", line 40, in <genexpr>
    return any(_dist_matches_req(dist, req) for dist in metadata.distributions())
               ~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/setuptools/installer.py", line 64, in _dist_matches_req
    packaging.utils.canonicalize_name(egg_dist.name)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/packaging/utils.py", line 50, in canonicalize_name
    value = _canonicalize_regex.sub("-", name).lower()
            ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

envolution commented on 2025-07-11 10:52 (UTC) (edited on 2025-07-11 10:53 (UTC) by envolution)

@jghodd thanks, I've dropped the CXX flags as they seem to no longer be necessary

jghodd commented on 2025-07-11 03:37 (UTC)

@envolution - seems that dropping the following compiler flag does the trick:


-DCMAKE_CXX_FLAGS="-mpopcnt -mbmi -mbmi2 -ltbb"