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

Bug 873301

Summary: sci-libs/dlib-19.24 fails tests (MUSL): new_allocator.h:158:33: error: void operator delete(void, std::size_t) called on pointer <unknown> with nonzero offset [8, 9223372036854775800] [-Werror=free-nonheap-object]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-09-28 14:40:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/dlib-19.24 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-28 14:40:10 UTC
Created attachment 814492 [details]
build.log

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


--   Package 'cblas', required by 'virtual:world', not found
--   Package 'lapack', required by 'virtual:world', not found
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
FAILED: CMakeFiles/dtest.dir/kmeans.cpp.o 
/usr/lib/gcc/x86_64-gentoo-linux-musl/12.2.0/include/g++-v12/bits/new_allocator.h:158:33: error: 'void operator delete(void*, std::size_t)' called on pointer '<unknown>' with nonzero offset [8, 9223372036854775800] [-Werror=free-nonheap-object]
Comment 3 Pacho Ramos gentoo-dev 2023-06-08 10:11:04 UTC
*** Bug 837017 has been marked as a duplicate of this bug. ***
Comment 4 Pacho Ramos gentoo-dev 2023-06-08 10:14:06 UTC
Please retry with 19.24.2 version, it includes this https://github.com/davisking/dlib/commit/ebc4d63d689c4f887c231c54add2625ca19aa279 that maybe solves this issue

Thanks