Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885293 - [guru] sci-libs/mlpack-3.4.2_p20220501 fails to compile (CLANG-STRICTER-SYSTEM): test_catch_tools.hpp:17:10: fatal error: catch.hpp: No such file or directory
Summary: [guru] sci-libs/mlpack-3.4.2_p20220501 fails to compile (CLANG-STRICTER-SYSTE...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-10 09:35 UTC by Agostino Sarubbo
Modified: 2024-03-25 20:53 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,52.53 KB, application/x-xz)
2022-12-10 09:35 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-12-10 09:35:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/mlpack-3.4.2_p20220501 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-10 09:35:02 UTC
Created attachment 841207 [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 2022-12-10 09:35:03 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/sci-libs/mlpack-3.4.2_p20220501/temp/environment: line 1843: go: command not found
/var/tmp/portage/sci-libs/mlpack-3.4.2_p20220501/work/mlpack-54c6ebe03a07d7c32db46a6a06a03e8b821da4f2/src/mlpack/tests/activation_functions_test.cpp:39:10: fatal error: catch.hpp: No such file or directory
/var/tmp/portage/sci-libs/mlpack-3.4.2_p20220501/work/mlpack-54c6ebe03a07d7c32db46a6a06a03e8b821da4f2/src/mlpack/tests/test_catch_tools.hpp:17:10: fatal error: catch.hpp: No such file or directory
/var/tmp/portage/sci-libs/mlpack-3.4.2_p20220501/work/mlpack-54c6ebe03a07d7c32db46a6a06a03e8b821da4f2/src/mlpack/tests/test_catch_tools.hpp:17:10: fatal error: catch.hpp: No such file or directory