Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 955790

Summary: dev-cpp/fizz: Library depends on jemalloc, dependency missing
Product: Gentoo Linux Reporter: marius
Component: Current packagesAssignee: sin-ack <sin-ack>
Status: UNCONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description marius 2025-05-10 18:30:42 UTC
I had jemalloc removed from my system and encountered an issue when `Emerging (1 of 275) dev-cpp/fizz-2025.04.14.00::gentoo`, because the library depends on jemalloc but doesn't depend on it:

```
FAILED: CMakeFiles/fizz.dir/client/ClientProtocol.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DGFLAGS_IS_A_DLL=0 -Dfizz_EXPORTS -I/var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00 -I/var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz_build/generated -isystem /usr/include/libiberty  -O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -std=c++17 -fPIC -MD -MT CMakeFiles/fizz.dir/client/ClientProtocol.cpp.o -MF CMakeFiles/fizz.dir/client/ClientProtocol.cpp.o.d -o CMakeFiles/fizz.dir/client/ClientProtocol.cpp.o -c /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/client/ClientProtocol.cpp
In file included from /usr/include/folly/memory/Malloc.h:30,
                 from /usr/include/folly/Memory.h:39,
                 from /usr/include/folly/io/Cursor.h:28,
                 from /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/record/Types.h:12,
                 from /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/protocol/Certificate.h:12,
                 from /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/client/PskCache.h:11,
                 from /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/client/Actions.h:11,
                 from /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/client/ClientProtocol.h:11,
                 from /var/tmp/portage/dev-cpp/fizz-2025.04.14.00/work/fizz-2025.04.14.00/fizz/client/ClientProtocol.cpp:9:
/usr/include/folly/portability/Malloc.h:36:10: fatal error: jemalloc/jemalloc.h: No such file or directory
   36 | #include <jemalloc/jemalloc.h> // @manual
      |          ^~~~~~~~~~~~~~~~~~~~~
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-10 18:36:51 UTC
Please always include the full build.log and emerge --info. In particular, the folly and friends libraries have a bunch of automagic deps based on what other parts of the stack were built with.