Package Details: ladybird 20241225-1

Git Clone URL: https://aur.archlinux.org/ladybird.git (read-only, click to copy)
Package Base: ladybird
Description: Truly independent web browser
Upstream URL: https://github.com/LadybirdBrowser/ladybird
Licenses: BSD-2-Clause
Submitter: arojas
Maintainer: timschumi
Last Packager: timschumi
Votes: 24
Popularity: 2.26
First Submitted: 2023-04-01 08:36 (UTC)
Last Updated: 2024-12-25 23:44 (UTC)

Latest Comments

1 2 3 4 Next › Last »

marty1885 commented on 2025-01-03 05:05 (UTC)

I crash right after installation. Not sure if it's ABI problem or something else (even if it is, why ABI problem when build locally)

#0  0x000055555e498820 in ??? ()
#1  0x00007ffff54cea7b in hb_face_reference_table () at /usr/bin/../lib/libharfbuzz.so.0
#2  0x00007ffff54ec24e in ??? () at /usr/bin/../lib/libharfbuzz.so.0
#3  0x00007ffff555c265 in hb_ot_var_get_axis_infos () at /usr/bin/../lib/libharfbuzz.so.0
#4  0x00007ffff1b091be in ??? () at /usr/lib/libpangoft2-1.0.so.0
#5  0x00007ffff05ab72a in pango_font_get_hb_font () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#6  0x00007ffff05dfc45 in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#7  0x00007ffff05d4ad0 in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#8  0x00007ffff05d5317 in pango_shape_item () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#9  0x00007ffff05c3306 in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#10 0x00007ffff05c48bb in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#11 0x00007ffff05c7195 in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#12 0x00007ffff05ba3c2 in pango_layout_get_unknown_glyphs_count () at /usr/lib/qt6/plugins/platformthemes/../../../libpango-1.0.so.0
#13 0x00007ffff0746bc2 in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libgtk-3.so.0
#14 0x00007ffff0746fe0 in ??? () at /usr/lib/qt6/plugins/platformthemes/../../../libgtk-3.so.0
#15 0x00007ffff4914b09 in g_type_create_instance () at /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff48f9805 in ??? () at /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff48fae7f in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff48fbed2 in g_object_new () at /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff0eea382 in ??? () at /usr/lib/qt6/plugins/platformthemes/libqgtk3.so
#20 0x00007ffff0eeb694 in ??? () at /usr/lib/qt6/plugins/platformthemes/libqgtk3.so
#21 0x00007ffff0eebd42 in ??? () at /usr/lib/qt6/plugins/platformthemes/libqgtk3.so
#22 0x00007ffff76f10b2 in QApplicationPrivate::basePalette() const () at /usr/bin/../lib/libQt6Widgets.so.6
#23 0x00007ffff6d97286 in QGuiApplicationPrivate::setPalette(QPalette const&) () at /usr/bin/../lib/libQt6Gui.so.6
#24 0x00007ffff6d977a4 in QGuiApplicationPrivate::updatePalette() () at /usr/bin/../lib/libQt6Gui.so.6
#25 0x00007ffff6d8beaa in QGuiApplicationPrivate::init() () at /usr/bin/../lib/libQt6Gui.so.6
#26 0x00007ffff76f94e6 in QApplicationPrivate::init() () at /usr/bin/../lib/libQt6Widgets.so.6
#27 0x000055555861cf25 in ??? ()
#28 0x00005555586541ed in ??? ()
#29 0x0000555558b7818f in main ()

quest commented on 2024-12-25 00:30 (UTC)

Needs to have skia-git as a dependency.

damir commented on 2024-12-24 23:39 (UTC)

just compiled and installed the package, but it complains about skia:

Ladybird: error while loading shared libraries: libskia.so: cannot open shared object file: No such file or directory

installing skia-git fixes it but i still have Ladybird having missing links:

libicui18n.so.74 => not found
libicuuc.so.74 => not found
libicudata.so.74 => not found

libavcodec.so.60 => not found
libavformat.so.60 => not found
libavutil.so.58 => not found

will try ladybird-git

timschumi commented on 2024-12-24 11:21 (UTC)

@plinkplinkfizz: harfbuzz explicitly chooses to link compiled C++ files using a C linker. This does not make any sense, and is (as far as I can tell) intentional breakage by upstream. Sadly, I haven't quite gotten around to figuring out why this is only an issue in some environments.

plinkplinkfizz commented on 2024-12-24 05:09 (UTC) (edited on 2024-12-24 05:09 (UTC) by plinkplinkfizz)

Directly building from the Meta/ladybird.sh script works alright. Building with paru does not complete with harfbuzz failing to compile:

FAILED: src/libharfbuzz.so.0.61010.0 
/usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -O3 -DNDEBUG  -o src/libharfbuzz.so.0.61010.0 src/libharfbuzz.so.0.61010.0.p/hb-aat-layout.cc.o src/libharfbuzz.so.0.61010.0.p/hb-aat-map.cc.o src/libharfbuzz.so.0.61010.0.p/hb-blob.cc.o src/libharfbuzz.so.0.61010.0.p/hb-buffer-serialize.cc.o src/libharfbuzz.so.0.61010.0.p/hb-buffer-verify.cc.o src/libharfbuzz.so.0.61010.0.p/hb-buffer.cc.o src/libharfbuzz.so.0.61010.0.p/hb-common.cc.o src/libharfbuzz.so.0.61010.0.p/hb-draw.cc.o src/libharfbuzz.so.0.61010.0.p/hb-paint.cc.o src/libharfbuzz.so.0.61010.0.p/hb-paint-extents.cc.o src/libharfbuzz.so.0.61010.0.p/hb-face.cc.o src/libharfbuzz.so.0.61010.0.p/hb-face-builder.cc.o src/libharfbuzz.so.0.61010.0.p/hb-fallback-shape.cc.o src/libharfbuzz.so.0.61010.0.p/hb-font.cc.o src/libharfbuzz.so.0.61010.0.p/hb-map.cc.o src/libharfbuzz.so.0.61010.0.p/hb-number.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-cff1-table.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-cff2-table.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-color.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-face.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-font.cc.o src/libharfbuzz.so.0.61010.0.p/hb-outline.cc.o src/libharfbuzz.so.0.61010.0.p/OT_Var_VARC_VARC.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-layout.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-map.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-math.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-meta.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-metrics.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-name.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-arabic.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-default.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-hangul.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-hebrew.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-indic-table.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-indic.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-khmer.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-myanmar.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-syllabic.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-thai.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-use.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shaper-vowel-constraints.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shape-fallback.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shape-normalize.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-shape.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-tag.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ot-var.cc.o src/libharfbuzz.so.0.61010.0.p/hb-set.cc.o src/libharfbuzz.so.0.61010.0.p/hb-shape-plan.cc.o src/libharfbuzz.so.0.61010.0.p/hb-shape.cc.o src/libharfbuzz.so.0.61010.0.p/hb-shaper.cc.o src/libharfbuzz.so.0.61010.0.p/hb-static.cc.o src/libharfbuzz.so.0.61010.0.p/hb-style.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ucd.cc.o src/libharfbuzz.so.0.61010.0.p/hb-unicode.cc.o src/libharfbuzz.so.0.61010.0.p/hb-ft.cc.o -L/home/gaurav/.cache/paru/clone/ladybird/src/build/vcpkg_installed/x64-linux/lib -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libharfbuzz.so.0 -Bsymbolic-functions -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -Wl,-rpath,/home/gaurav/.cache/paru/clone/ladybird/src/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../lib -Wl,-rpath-link,/home/gaurav/.cache/paru/clone/ladybird/src/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../lib -pthread -Wl,--start-group -lm /home/gaurav/.cache/paru/clone/ladybird/src/build/vcpkg_installed/x64-linux/lib/pkgconfig/../../lib/libfreetype.so -Wl,--end-group
/usr/bin/ld: src/libharfbuzz.so.0.61010.0.p/hb-aat-layout.cc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status

cyberpunkrocker commented on 2024-11-23 18:36 (UTC)

@xiota: Thanks, that allowed me to compile ladybird with Qt-6.8.0

Please, add this to the PKGBUILD

xiota commented on 2024-11-16 23:04 (UTC)

Needs following for build to succeed. Possibly change in how Qt handles deprecated functions.

export CXXFLAGS+=" -Wno-error=deprecated-declarations"

timschumi commented on 2024-11-14 00:33 (UTC)

The currently used revision of vcpkg seems to be unbuildable under makepkg, haven't had the time yet to investigate further.

KenjiTakahashi commented on 2024-11-12 10:27 (UTC)

Seeing the same error as @techz, built in clean chroot.

techz commented on 2024-11-11 10:25 (UTC) (edited on 2024-11-11 10:25 (UTC) by techz)

Also getting build error:

2960/2978] Building CXX object Ladybird/Qt/CMakeFiles/ladybird.dir/FindInPageWidget.cpp.o
FAILED: Ladybird/Qt/CMakeFiles/ladybird.dir/FindInPageWidget.cpp.o

cache/yay/ladybird/src/ladybird/Ladybird/Qt/FindInPageWidget.cpp:65:39: error: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Werror=deprecated-declarations]
   65 |     connect(m_match_case, &QCheckBox::stateChanged, this, [this] {
      |                                       ^~~~~~~~~~~~
....
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-user-defined-literals’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-shorten-64-to-32’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
[2968/2978] Building CXX object Ladybird/Qt/CMakeFiles/ladybird.dir/WebContentView.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ladybird-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ladybird - exit status 4