Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869299 - media-gfx/blender-3.1.2 fails to compile (MUSL): mallocn_guarded_impl.c:720:3: error: implicit declaration of function malloc_stats [-Werror=implicit-function-declaration]
Summary: media-gfx/blender-3.1.2 fails to compile (MUSL): mallocn_guarded_impl.c:720:3...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adrian
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-09 07:42 UTC by Agostino Sarubbo
Modified: 2023-05-29 12:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,143.78 KB, text/plain)
2022-09-09 07:42 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-09-09 07:42:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/blender-3.1.2 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-09 07:42:59 UTC
Created attachment 804094 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-09-09 07:43:00 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Clang (missing: _CLANG_LIBRARIES) 
-- Could NOT find OptiX (missing: OPTIX_INCLUDE_DIR) (Required is at least version "7.3.0")
FAILED: intern/guardedalloc/CMakeFiles/bf_intern_guardedalloc.dir/intern/mallocn_guarded_impl.c.o 
FAILED: intern/guardedalloc/CMakeFiles/bf_intern_guardedalloc.dir/intern/mallocn_lockfree_impl.c.o 
/var/tmp/portage/media-gfx/blender-3.1.2/work/blender-3.1.2/intern/guardedalloc/intern/mallocn_guarded_impl.c:720:3: error: implicit declaration of function 'malloc_stats' [-Werror=implicit-function-declaration]
Comment 3 Sebastian Parborg 2022-10-25 13:32:50 UTC
There is already a musl patch for blender >=3.2.

If there is no interest in helping out with back porting the patches further, we can simply close this when the 3.1 ebuild is removed from the portage tree.
Comment 4 Brahmajit Das 2023-05-28 06:41:00 UTC
(In reply to Sebastian Parborg from comment #3)
> There is already a musl patch for blender >=3.2.
> 
> If there is no interest in helping out with back porting the patches
> further, we can simply close this when the 3.1 ebuild is removed from the
> portage tree.

Please close this one. blender-3.1.2 has since been removed from gentoo tree