From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 16006] New: package/opencv4: Debian12 + ccache: fatal error: stdlib.h: No such file or directory
Date: Thu, 21 Mar 2024 08:21:21 +0000 [thread overview]
Message-ID: <bug-16006-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=16006
Bug ID: 16006
Summary: package/opencv4: Debian12 + ccache: fatal error:
stdlib.h: No such file or directory
Product: buildroot
Version: 2024.02
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: niziak@spox.org
CC: buildroot@uclibc.org
Target Milestone: ---
Hi.
I cannot build opencv4 package under Debian 12 (on older Debian it works). I've
prepared minimum scenario to reproduce:
Download and unpack: `buildroot-2024.02.tar.gz`
Go to BR dir.
make freescale_imx8mmevk_defconfig
./utils/config --enable CCACHE
./utils/config --enable TOOLCHAIN_EXTERNAL
./utils/config --enable PACKAGE_OPENCV4
./utils/config --enable PACKAGE_OPENCV4_WITH_TBB
make olddefconfig
make opencv4
...
[ 29%] Building CXX object
modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o
In file included from
/home/runner/buildroot-2024.02/output/host/opt/ext-toolchain/aarch64-none-linux-gnu/include/c++/13.2.1/bits/stl_algo.h:71,
from
/home/runner/buildroot-2024.02/output/host/opt/ext-toolchain/aarch64-none-linux-gnu/include/c++/13.2.1/algorithm:61,
from
/home/runner/buildroot-2024.02/output/build/opencv4-4.9.0/modules/core/include/opencv2/core/base.hpp:55,
from
/home/runner/buildroot-2024.02/output/build/opencv4-4.9.0/modules/core/include/opencv2/core/utils/buffer_area.private.hpp:7,
from
/home/runner/buildroot-2024.02/output/build/opencv4-4.9.0/modules/core/src/buffer_area.cpp:5:
/home/grunner/buildroot-2024.02/output/host/opt/ext-toolchain/aarch64-none-linux-gnu/include/c++/13.2.1/cstdlib:79:15:
fatal error: stdlib.h: No such file or directory
79 | #include_next <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
...
It looks like sth is messed in opencv4 cmake files.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-03-21 8:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 8:21 bugzilla [this message]
2024-06-15 15:22 ` [Buildroot] [Bug 16006] package/opencv4: Debian12 + ccache: fatal error: stdlib.h: No such file or directory bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-16006-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox