FreeBSD Bugzilla – Attachment 240130 Details for
Bug 269241
lang/spidermonkey102: builds fine with TRYBROKEN=1 on 12.4 (does not fail the readelf check)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] allow builds on 12.x
diff.readelf-fix (text/plain), 1.70 KB, created by
John Hein
on 2023-02-13 12:00:26 UTC
(
hide
)
Description:
[patch] allow builds on 12.x
Filename:
MIME Type:
Creator:
John Hein
Created:
2023-02-13 12:00:26 UTC
Size:
1.70 KB
patch
obsolete
>diff --git a/lang/spidermonkey102/Makefile b/lang/spidermonkey102/Makefile >index 219c5543fe83..3f32420c85c6 100644 >--- a/lang/spidermonkey102/Makefile >+++ b/lang/spidermonkey102/Makefile >@@ -13,8 +13,6 @@ WWW= https://spidermonkey.dev/ > LICENSE= MPL20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-BROKEN_FreeBSD_12= ERROR: Cannot find readelf >- > BUILD_DEPENDS= ${LOCALBASE}/bin/python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//g} \ > ${RUST_DEFAULT}>=1.35:lang/${RUST_DEFAULT} \ > autoconf2.13:devel/autoconf2.13 \ >diff --git a/lang/spidermonkey102/files/patch-moz.configure b/lang/spidermonkey102/files/patch-moz.configure >index 94ae8c5f0b07..40a6a8adbcc3 100644 >--- a/lang/spidermonkey102/files/patch-moz.configure >+++ b/lang/spidermonkey102/files/patch-moz.configure >@@ -1,7 +1,9 @@ > - Fix awk detection > >+- also look in stderr for readelf --help output (elftoolchain bsd readelf) >+ > Index: moz.configure >---- moz.configure.orig 2022-03-30 19:25:49 UTC >+--- moz.configure.orig 2022-10-10 09:55:56 UTC > +++ moz.configure > @@ -708,7 +708,7 @@ add_old_configure_assignment("CLANG_PLUGIN", clang_plu > >@@ -12,3 +14,13 @@ Index: moz.configure > > # Until the AWK variable is not necessary in old-configure > >+@@ -812,7 +812,8 @@ def validate_readelf(path): >+ # option in the `--help` output, which fortunately, s compatible between >+ # llvm-readelf and readelf. >+ retcode, stdout, stderr = get_cmd_output(path, "--help") >+- return retcode == 0 and any(l.startswith(" -d ") for l in stdout.splitlines()) >++ return retcode == 0 and (any(l.startswith(" -d ") for l in stdout.splitlines()) \ >++ or any(l.startswith(" -d ") for l in stderr.splitlines())) >+ >+ >+ @depends("--enable-compile-environment", target, host)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jcfyecrayz
:
maintainer-approval?
(
nc
)
Actions:
View
|
Diff
Attachments on
bug 269241
: 240130