Bug 285010 - www/waterfox: error: could not compile `gkrust` (lib)
Summary: www/waterfox: error: could not compile `gkrust` (lib)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-24 10:21 UTC by Martin Filla
Modified: 2025-02-27 01:44 UTC (History)
1 user (show)

See Also:
vvd: merge-quarterly+


Attachments
0001-waterfox-patch-for-portfallout-on-arm7.patch (833 bytes, patch)
2025-02-24 10:21 UTC, Martin Filla
no flags Details | Diff
0001-waterfox-patch-for-portfallout-on-arm7.patch (1.38 KB, patch)
2025-02-25 11:57 UTC, Martin Filla
freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2025-02-24 10:21:07 UTC
Created attachment 257833 [details]
0001-waterfox-patch-for-portfallout-on-arm7.patch

Hi,
this is a patch for: error: could not compile `gkrust` (lib).
https://pkg-status.freebsd.org/ampere3/data/141releng-armv7-default/5beddb013d54/logs/waterfox-6.5.3_2,1.log
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-02-24 16:15:18 UTC
Real errors are:
1.
/wrkdirs/usr/ports/www/waterfox/work/Waterfox-6.5.3/media/libtheora/lib/arm/armcpu.c:152:3: error: "Configured to use ARM asm but no CPU detection method available for "  "your platform.  Reconfigure with --disable-asm (or send patches)."
  152 | # error "Configured to use ARM asm but no CPU detection method available for " \
      |   ^
1 error generated.

2.
rustc-LLVM ERROR: out of memory
Allocation failed
error: could not compile `gkrust` (lib)
Comment 2 Martin Filla 2025-02-24 16:22:46 UTC
(In reply to Vladimir Druzenko from comment #1)
only add this flag --disable-asm to the configuration?
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-02-24 16:33:23 UTC
(In reply to Martin Filla from comment #2)
Check: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268750
fuz can try to update patch.
Comment 4 Martin Filla 2025-02-25 11:57:57 UTC
Created attachment 257916 [details]
0001-waterfox-patch-for-portfallout-on-arm7.patch
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-02-27 01:38:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1dcbab6267403045a02ba0175f11a4a1adec5d93

commit 1dcbab6267403045a02ba0175f11a4a1adec5d93
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-02-27 00:42:05 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-27 01:37:05 +0000

    www/waterfox: Add experimental patch for fix build on armv7

    The author of the patch is fuz.

    PR:     285010 268750
    MFH:    2025Q1

 .../patch-gfx_skia_skia_src_core_SkCpu.cpp (new)   | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-02-27 01:43:58 UTC
A commit in branch 2025Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0eff4ac2c1d628d41dafcf61b4558dd8d174f65d

commit 0eff4ac2c1d628d41dafcf61b4558dd8d174f65d
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-02-27 00:42:05 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-27 01:42:59 +0000

    www/waterfox: Add experimental patch for fix build on armv7

    The author of the patch is fuz.

    PR:     285010 268750
    MFH:    2025Q1
    (cherry picked from commit 1dcbab6267403045a02ba0175f11a4a1adec5d93)

 .../patch-gfx_skia_skia_src_core_SkCpu.cpp (new)   | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2025-02-27 01:44:19 UTC
Thanks.