Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922778 - dev-libs/oneDNN-3.3.3 fails to compile (MUSL-SYSTEM): dims.hpp:25:28: error: int64_t was not declared in this scope
Summary: dev-libs/oneDNN-3.3.3 fails to compile (MUSL-SYSTEM): dims.hpp:25:28: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-23 13:36 UTC by Agostino Sarubbo
Modified: 2024-01-24 13:39 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,36.07 KB, application/x-xz)
2024-01-23 13:36 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 2024-01-23 13:36:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/oneDNN-3.3.3 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-23 13:36:26 UTC
Created attachment 882983 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-23 13:36:26 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find Doxyrest (missing: DOXYREST_EXECUTABLE) 
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) 
FAILED: tests/benchdnn/CMakeFiles/benchdnn.dir/utils/dims.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/dev-libs/oneDNN-3.3.3/work/oneDNN-3.3.3/tests/benchdnn/utils/dims.hpp:25:28: error: 'int64_t' was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2024-01-24 13:39:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1148e3c7e08031e186abfb5a472d0d9293018424

commit 1148e3c7e08031e186abfb5a472d0d9293018424
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-01-24 12:17:28 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-01-24 13:38:49 +0000

    dev-libs/oneDNN: musl: fix compilation failure due to missing header
    
    Upstream PR: https://github.com/oneapi-src/oneDNN/pull/1792
    Closes: https://bugs.gentoo.org/922778
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34987
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-libs/oneDNN/files/oneDNN-3.3.3-include-cstdint.patch | 13 +++++++++++++
 dev-libs/oneDNN/oneDNN-3.3.3.ebuild                      |  4 ++++
 2 files changed, 17 insertions(+)