Package Details: folly 2024.10.28.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, carsme)
Last Packager: carsme
Votes: 7
Popularity: 0.000884
First Submitted: 2015-03-20 08:29 (UTC)
Last Updated: 2024-11-03 16:14 (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

« First ‹ Previous 1 2 3 4 5 Next › Last »

jghodd commented on 2022-04-24 19:33 (UTC) (edited on 2022-04-24 19:37 (UTC) by jghodd)

getting a build error:


[ 40%] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/symbolizer/DwarfUtil.cpp.o
/distro/local/repository/folly/src/folly-2022.04.18.00/folly/experimental/symbolizer/DwarfUtil.cpp: In function ‘bool folly::symbolizer::{anonymous}::findCompiliationOffset(folly::StringPiece, uint64_t, folly::symbolizer::CompilationUnit&)’:
/distro/local/repository/folly/src/folly-2022.04.18.00/folly/experimental/symbolizer/DwarfUtil.cpp:227:18: error: ‘DW_SECT_INFO’ was not declared in this scope
  227 |     if (index == DW_SECT_INFO) {
      |                  ^~~~~~~~~~~~
/distro/local/repository/folly/src/folly-2022.04.18.00/folly/experimental/symbolizer/DwarfUtil.cpp:229:25: error: ‘DW_SECT_ABBREV’ was not declared in this scope
  229 |     } else if (index == DW_SECT_ABBREV) {
      |                         ^~~~~~~~~~~~~~
/distro/local/repository/folly/src/folly-2022.04.18.00/folly/experimental/symbolizer/DwarfUtil.cpp:231:25: error: ‘DW_SECT_STR_OFFSETS’ was not declared in this scope
  231 |     } else if (index == DW_SECT_STR_OFFSETS) {
      |                         ^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/folly_base.dir/build.make:1784: CMakeFiles/folly_base.dir/folly/experimental/symbolizer/DwarfUtil.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:145: CMakeFiles/folly_base.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

as far as I can tell, the cmake FindLibDwarf.cmake is finding the wrong path to dwarf.h - there are multiples:


/usr/include/lldb/Core/dwarf.h
/usr/include/libdwarf/libdwarf-0/dwarf.h
/usr/include/dwarf.h

the one we want is /usr/include/libdwarf/libdwarf-0/dwarf.h

magras commented on 2021-07-08 10:43 (UTC) (edited on 2021-07-08 10:46 (UTC) by magras)

There are different pkgrel in .SRCINFO and PKGBUILD:

https://aur.archlinux.org/cgit/aur.git/commit/?h=folly&id=266e859d579e86fef920c0ee7b4fd2aae6f3cc44

This causes yay to reinstall folly on every update.

Eremiell commented on 2021-06-27 18:59 (UTC)

Some new depends or possibly optdepends seem to be libaio, libunwind, libdwarf, and liburing.

jghodd commented on 2020-09-16 19:07 (UTC) (edited on 2020-09-16 19:08 (UTC) by jghodd)

getting a build error with fizz and wangle related to folly

CMake Error in CMakeLists.txt: Imported target "Folly::folly" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not provide.

MrAnno commented on 2020-09-09 13:42 (UTC)

Waiting for https://github.com/facebook/folly/pull/1439 to be released.

dxu commented on 2020-09-03 16:17 (UTC)

@MrAnno, https://github.com/facebook/folly/pull/1433 got merged this morning. Hopefully that fixes the issue.

MrAnno commented on 2020-08-31 19:18 (UTC)

@dxu Yeah, #1433 contains a workaround for CMake < 3.19 too. (The CMake v3.19 release is expected in October.)

dxu commented on 2020-08-31 18:51 (UTC)

Getting following configure error:

CMake Error at CMakeLists.txt:439 (file):
  Error evaluating generator expression:

    $<COMPILE_LANG_AND_ID:CUDA,NVIDIA>

  $<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
  specify include directories, compile definitions, and compile options.  It
  may not be used with the add_custom_command, add_custom_target, or
  file(GENERATE) commands.

https://github.com/facebook/folly/pull/1433 seems like it'll fix the issue but I haven't tried it out.

flashs commented on 2020-02-13 13:27 (UTC) (edited on 2020-02-13 13:28 (UTC) by flashs)

I ran into issues because I have specified the SRCDEST for makepkg. The source name for folly, fizz and wangle is just the version, e.g.: v2020.02.03.00.tar.gz and when running makepkg, it skips the download step and fails verifying it with sha256sum. Could you maybe prefix the files with their corresponding name? Thanks in advance :)!