-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTBFS with GCC 13 #1558
Comments
With last versions of gcc, some headers don't include cstdint anymore, but some sources assume that it is. Signed-off-by: ctxnop <[email protected]>
This issue makes my yocto builds to fails on systems with gcc-13. I fixed only the ones requires by my yocto builds, there is probably more. |
The PR to fix this: #1602 |
Hi @ctxnop, i'm experiencing the same problem in a yocto build. Care to explain how you fixed it ? I tried to force the GCC version with adding Also tried to add your PR as patch in my custom layer with this config:
But the patch does not seem to be applied ... |
Depending on the version of libdnf you have my patch may not be enough. I experienced the issue with the Use the |
Add template files for local.conf and bblayers.conf. With these files, we can now do: $ git clone https://github.com/spacecubics/scsat1-rpi $ cd scsat1-rpi/zero $ git clone -b kirkstone git://git.yoctoproject.org/meta-raspberrypi $ git clone -b kirkstone git://git.yoctoproject.org/poky $ TEMPLATECONF=$(readlink -f ./meta-scsat-rpi/conf) source ./poky/oe-init-build-env $ bitbake core-image-minimal Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |###############################################| Time: 0:00:04 Parsing of 913 .bb files complete (0 cached, 913 parsed). 1675 targets, 96 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "debian" TARGET_SYS = "arm-oe-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "nodistro" DISTRO_VERSION = "nodistro.0" TUNE_FEATURES = "arm thumb vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard" meta = "kirkstone:471318ae2f6b3c142822001f4a18e2fed8c78f1a" meta-raspberrypi = "kirkstone:43683cb14b6afc144619335b3a2353b70762ff3e" Initialising tasks: 100% |############################################| Time: 0:00:00 Sstate summary: Wanted 721 Local 0 Mirrors 0 Missed 721 Current 0 (0% match, 0% complete) NOTE: Executing Tasks NOTE: Tasks Summary: Attempted 2005 tasks of which 0 didn't need to be rerun and all succeeded. Note that currently this only works with G++ 12. Debian Sid already have G++ 13 and libdns FTBFS. rpm-software-management/libdnf#1558 Signed-off-by: Yasushi SHOJI <[email protected]>
Add template files for local.conf and bblayers.conf. With these files, we can now do: $ git clone https://github.com/spacecubics/scsat1-rpi $ cd scsat1-rpi/zero $ git clone -b kirkstone git://git.yoctoproject.org/meta-raspberrypi $ git clone -b kirkstone git://git.yoctoproject.org/poky $ TEMPLATECONF=$(readlink -f ./meta-scsat-rpi/conf) source ./poky/oe-init-build-env $ bitbake core-image-minimal Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |###############################################| Time: 0:00:04 Parsing of 913 .bb files complete (0 cached, 913 parsed). 1675 targets, 96 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "debian" TARGET_SYS = "arm-oe-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "nodistro" DISTRO_VERSION = "nodistro.0" TUNE_FEATURES = "arm thumb vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard" meta = "kirkstone:471318ae2f6b3c142822001f4a18e2fed8c78f1a" meta-raspberrypi = "kirkstone:43683cb14b6afc144619335b3a2353b70762ff3e" Initialising tasks: 100% |############################################| Time: 0:00:00 Sstate summary: Wanted 721 Local 0 Mirrors 0 Missed 721 Current 0 (0% match, 0% complete) NOTE: Executing Tasks NOTE: Tasks Summary: Attempted 2005 tasks of which 0 didn't need to be rerun and all succeeded. Note that currently this only works with G++ 12. Debian Sid already have G++ 13 and libdns FTBFS. rpm-software-management/libdnf#1558 Signed-off-by: Yasushi SHOJI <[email protected]>
Fails with:
due to:
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
The text was updated successfully, but these errors were encountered: