Bug 285009 - www/tor-browser: error: could not compile `gkrust` (lib)
Summary: www/tor-browser: 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:17 UTC by Martin Filla
Modified: 2025-02-27 01:44 UTC (History)
1 user (show)

See Also:
vvd: merge-quarterly+


Attachments
0001-tor-browser-patch-for-portfallout-on-arm7.patch (898 bytes, patch)
2025-02-24 10:17 UTC, Martin Filla
no flags Details | Diff
0001-tor-browser-patch-for-portfallout-on-arm7.patch (1.40 KB, patch)
2025-02-25 12:03 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:17:26 UTC
Created attachment 257832 [details]
0001-tor-browser-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/tor-browser-14.0.4_1.log
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-02-24 16:15:19 UTC
Real errors are:
1.
/wrkdirs/usr/ports/www/tor-browser/work/firefox-tor-browser-128.6.0esr-14.0-1-build1/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-25 12:03:30 UTC
Created attachment 257917 [details]
0001-tor-browser-patch-for-portfallout-on-arm7.patch
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-02-27 01:38:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f078edb2200c9998cb5cdf3782952243114c29e

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

    www/tor-browser: Add experimental patch for fix build on armv7

    The author of the patch is fuz.

    PR:     285009 268750
    MFH:    2025Q1

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

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

commit f28f4486741f4ab657df2a9eca307ff4443da383
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-02-27 00:35:20 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-27 01:42:44 +0000

    www/tor-browser: Add experimental patch for fix build on armv7

    The author of the patch is fuz.

    PR:     285009 268750
    MFH:    2025Q1
    (cherry picked from commit 5f078edb2200c9998cb5cdf3782952243114c29e)

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