Closed robson-66 closed 1 year ago
Same here. Even if I exclude all the patches, I can't get past this error:
Compiler stderr:
In file included from /usr/include/bits/libc-header-start.h:33,
from /usr/include/limits.h:26,
from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h:203,
from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h:34,
from /home/user/Desktop/gtk3-classic/src/build/meson-private/tmp8r_77yue/testfile.c:4:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
Tried from similar warnings I could find on the web, but no luck:
build()
{
- CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
+ CFLAGS+=" -DG_DISABLE_CAST_CHECKS -D_FORTIFY_SOURCE=2"
# 64-bit
arch-meson gtk+-$_gtkver build \
@@ -120,6 +120,7 @@ build()
-D colord=auto \
-D demos=true \
-D examples=false \
+ -D introspection=true \
-D tests=false \
-D installed_tests=false
ninja -C build
Probably something wrong with our build commands/flags. Changes to gtk3
upstream for reference:
This error is on the side of GTK
source files, not PKGBUILD.
https://github.com/Homebrew/homebrew-core/pull/116612
EDIT.
After adding the gdk/wayland/cursor/meson.build
file, the build proceeds without any problems.
Thank you for investigating this!
As the title says, I have this error while building
gtk+-3.24.35/gdk/wayland/meson.build:1:0: ERROR: Non-existent build file 'gdk/wayland/cursor/meson.build'