Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON)
@ 2024-03-11  8:16 bugzilla
  2024-03-11 10:59 ` [Buildroot] [Bug 15979] " bugzilla
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla @ 2024-03-11  8:16 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15979

            Bug ID: 15979
           Summary: wpewebkit build failing (for ARM A15/NEON)
           Product: buildroot
           Version: 2024.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: buildroot@heine.tech
                CC: buildroot@uclibc.org
  Target Milestone: ---

Since bumping to 2024.02 the build for wpewebkit is failing. Last BR version I
worked with was 2023.08.3 (where it worked) so I can't tell about the ones in
between.


[4/5994] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/FastMalloc.cpp.o
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WTF/wtf/FastMalloc.cpp:
In function ‘void* WTF::fastAlignedMalloc(size_t, size_t)’:
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WTF/wtf/FastMalloc.cpp:192:19:
warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
  192 |     posix_memalign(&p, alignment, size);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WTF/wtf/FastMalloc.cpp:
In function ‘void* WTF::tryFastAlignedMalloc(size_t, size_t)’:
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WTF/wtf/FastMalloc.cpp:202:19:
warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
  202 |     posix_memalign(&p, alignment, size);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
[963/5994] Generating ../../WebCore/DerivedSources/Settings.h,
../../WebCore/DerivedSources/Settings.cpp,
../../WebCore/DerivedSource...gsGenerated.h,
../../WebCore/DerivedSources/InternalSettingsGenerated.cpp,
../../WebCore/DerivedSources/InternalSettingsGenerated.idl
FAILED: WebCore/DerivedSources/Settings.h WebCore/DerivedSources/Settings.cpp
WebCore/DerivedSources/InternalSettingsGenerated.h
WebCore/DerivedSources/InternalSettingsGenerated.cpp
WebCore/DerivedSources/InternalSettingsGenerated.idl
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WebCore/DerivedSources/Settings.h
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WebCore/DerivedSources/Settings.cpp
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WebCore/DerivedSources/InternalSettingsGenerated.h
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WebCore/DerivedSources/InternalSettingsGenerated.cpp
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WebCore/DerivedSources/InternalSettingsGenerated.idl
cd /home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore
&& /home/build/buildroot-upstream/output/host/bin/ruby
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/GenerateSettings.rb
--outputDir
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WebCore/DerivedSources
--template
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/SettingsTemplates/InternalSettingsGenerated.cpp.erb
--template
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/SettingsTemplates/InternalSettingsGenerated.idl.erb
--template
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/SettingsTemplates/InternalSettingsGenerated.h.erb
--template
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/SettingsTemplates/Settings.cpp.erb
--template
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/SettingsTemplates/Settings.h.erb
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/page/Settings.yaml
/home/build/buildroot-upstream/output/host/lib/ruby/3.3.0/yaml.rb:3: warning:
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
<internal:/home/build/buildroot-upstream/output/host/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
`require': cannot load such file -- psych (LoadError)
        from
<internal:/home/build/buildroot-upstream/output/host/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
`require'
        from
/home/build/buildroot-upstream/output/host/lib/ruby/3.3.0/yaml.rb:4:in `<top
(required)>'
        from
<internal:/home/build/buildroot-upstream/output/host/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
`require'
        from
<internal:/home/build/buildroot-upstream/output/host/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
`require'
        from
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/Source/WebCore/Scripts/GenerateSettings.rb:29:in
`<main>'
[987/5994] Generating ../../JavaScriptCore/DerivedSources/LLIntDesiredOffsets.h
ninja: build stopped: subcommand failed.
make: *** [package/pkg-generic.mk:283:
/home/build/buildroot-upstream/output/build/wpewebkit-2.42.5/.stamp_built]
Error 1

To me this looks like a missing dependency. I tried adding a dependency on
host-libyaml for wpewebkit but it didn't help. Any Ideas?

Defconfig to reproduce:

BR2_arm=y
BR2_cortex_a15_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_SYSTEMD=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_DEFCONFIG="multi_v7_defconfig"
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_WPEWEBKIT=y

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15979] wpewebkit build failing (for ARM A15/NEON)
  2024-03-11  8:16 [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON) bugzilla
@ 2024-03-11 10:59 ` bugzilla
  2024-03-12  8:55 ` bugzilla
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-03-11 10:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15979

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
You need to add the host-libyaml dependency to host-ruby (instead of wpewebkit)
and re-build host-ruby:

--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -20,7 +20,7 @@ RUBY_LICENSE_FILES = LEGAL COPYING BSDL
 RUBY_CPE_ID_VENDOR = ruby-lang

 RUBY_DEPENDENCIES = host-pkgconf host-ruby
-HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl
+HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl host-libyaml
 RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
 RUBY_CONF_OPTS = \
        --disable-install-doc \

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15979] wpewebkit build failing (for ARM A15/NEON)
  2024-03-11  8:16 [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON) bugzilla
  2024-03-11 10:59 ` [Buildroot] [Bug 15979] " bugzilla
@ 2024-03-12  8:55 ` bugzilla
  2024-03-14 13:52 ` bugzilla
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-03-12  8:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15979

--- Comment #2 from Michael Nosthoff <buildroot@heine.tech> ---
Thanks Peter! That fixes the build for me.

But would this approach be feasible to fix this? Or should we do something like 

ifeq ($(BR2_PACKAGE_HOST_LIBYAML),y)
HOST_RUBY_DEPENDENCIES += host-libyaml
endif

in the ruby.mk and then depend on host-libyaml in the wpewebkit.mk?

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15979] wpewebkit build failing (for ARM A15/NEON)
  2024-03-11  8:16 [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON) bugzilla
  2024-03-11 10:59 ` [Buildroot] [Bug 15979] " bugzilla
  2024-03-12  8:55 ` bugzilla
@ 2024-03-14 13:52 ` bugzilla
  2024-04-05  9:50 ` bugzilla
  2024-06-15 15:23 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-03-14 13:52 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15979

--- Comment #3 from Peter Seiderer <ps.report@gmx.net> ---
There is no BR2_PACKAGE_HOST_LIBYAML option (yet) in buildroot (not all host
enabled packages have a proper configure setup, most/many are simply enabled by
a direct dependency statement and host-libyaml and host-ruby are among of
them), either the above patch/hack is acceptable (despite the additional
host-libyaml dependency for all other host-ruby users qt5webkit, webkitgtk,
ruby) or host-ruby is extended to an real host package (Config.in.host,
BR2_PACKAGE_HOST_RUBY and BR2_PACKAGE_HOST_RUBY_YAML_SUPPORT)...

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15979] wpewebkit build failing (for ARM A15/NEON)
  2024-03-11  8:16 [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON) bugzilla
                   ` (2 preceding siblings ...)
  2024-03-14 13:52 ` bugzilla
@ 2024-04-05  9:50 ` bugzilla
  2024-06-15 15:23 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-04-05  9:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15979

--- Comment #4 from Thomas Devoogdt <thomas.devoogdt@barco.com> ---
I came across the same problem while preparing the bump to webkitgtk-2.44.0:

https://patchwork.ozlabs.org/project/buildroot/list/?series=401571

See patch about ruby:

https://patchwork.ozlabs.org/project/buildroot/patch/20240403171424.44580-1-thomas@devoogdt.com/

I independently had the same comment about how to add it properly.
Anyway, webkitgtk is a quite big fish to compile, so the additional few
seconds to get host-libyaml is perhaps not worth the additional trouble.

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15979] wpewebkit build failing (for ARM A15/NEON)
  2024-03-11  8:16 [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON) bugzilla
                   ` (3 preceding siblings ...)
  2024-04-05  9:50 ` bugzilla
@ 2024-06-15 15:23 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-06-15 15:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15979

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998@free.fr
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-15 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11  8:16 [Buildroot] [Bug 15979] New: wpewebkit build failing (for ARM A15/NEON) bugzilla
2024-03-11 10:59 ` [Buildroot] [Bug 15979] " bugzilla
2024-03-12  8:55 ` bugzilla
2024-03-14 13:52 ` bugzilla
2024-04-05  9:50 ` bugzilla
2024-06-15 15:23 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox