@envolution I can confirm it is fixed now. Thanks very much!
Search Criteria
Package Details: folly 2025.08.04.00-1
Package Actions
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, carsme, envolution) |
Last Packager: | envolution |
Votes: | 8 |
Popularity: | 0.44 |
First Submitted: | 2015-03-20 08:29 (UTC) |
Last Updated: | 2025-08-04 22:28 (UTC) |
Dependencies (30)
- boost (boost-gitAUR)
- boost-libs
- bzip2 (bzip2-gitAUR)
- double-conversion (double-conversion-gitAUR)
- fmt (fmt-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- gflags (gflags-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- google-glog (ng-logAUR, glog-gitAUR)
- libaio (libaio-gitAUR)
- libdwarf (libdwarf-gitAUR)
- libevent (libevent-gitAUR)
- libsodium (libsodium-gitAUR, libsodium-1.0.18AUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- liburing (liburing-gitAUR)
- lz4 (lz4-gitAUR)
- onetbb
- openssl (openssl-gitAUR, openssl-staticAUR)
- python (python37AUR)
- snappy (snappy-gitAUR)
- Show 10 more dependencies...
Required by (15)
Sources (5)
Winterreise commented on 2025-07-25 00:29 (UTC)
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"
jghodd commented on 2025-07-10 19:33 (UTC)
@envolution - I'm going to say no. I'm on an AMD A8 quad-core that I'm sure predates 2017. I also saw this in the config output:
-- arch matches x86_64, setting SSE2/AVX2 compile flags for LtHash SIMD code
which concerned me, given that my processor does not support AVX2 - AVX, but not AVX2. It does support popcnt, though, so I will try a build removing the flag line you suggested.
envolution commented on 2025-07-10 19:00 (UTC) (edited on 2025-07-10 19:13 (UTC) by envolution)
@jghodd - I had made a note when adding some compile flags - does your cpu meet the minimums listed here?
intel haswell(gen4+)
amd circa 2017+
that cmake flag you mentioned is specific to rdkit and probably won't do anything differently here for you. try remove the line: -DCMAKE_CXX_FLAGS="-mpopcnt -mbmi -mbmi2 -ltbb" \
in the build section to see if that helps
envolution commented on 2025-07-10 18:51 (UTC)
@jghodd sorry I didn't notice your comment was updated - you can find the built zst files at https://github.com/envolution/aur/releases?q=folly&expanded=true
. It is a highly optimised library /but/ is supported on macos so nothing limiting it to to the intel platform.
I'll take a look at your logs to see if I can make sense of the errors
Pinned Comments
carsme commented on 2023-12-07 04:02 (UTC)
BREAKING CHANGE: This package now builds shared objects:
instead of the static libraries:
Downstream packages must move
folly
from themakedepends
todepends
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).