From: astralchan <astralchan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: deno-1.32.3
Date: Wed, 12 Apr 2023 12:44:50 +0200 [thread overview]
Message-ID: <20230412104450.8xWypxQL-nLERbyZghaTg1DTvFEbKicikunrVshLY8k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43368@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 3068 bytes --]
There is an updated pull request by astralchan against master on the void-packages repository
https://github.com/astralchan/void-packages deno
https://github.com/void-linux/void-packages/pull/43368
[WIP] New package: deno-1.32.3
[ci skip]
Closes [21937](https://github.com/void-linux/void-packages/issues/21937)
Supersedes:
- [22043](https://github.com/void-linux/void-packages/pull/22043)
- [25436](https://github.com/void-linux/void-packages/pull/25436)
#### Testing the changes
- I tested the changes in this PR: **NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
Current error log:
```
Compiling futures v0.3.27
error: failed to run custom build command for `v8 v0.68.0`
Caused by:
process didn't exit successfully: `/builddir/deno-1.32.3/target/release/build/v8-b2ba9187d5e6450d/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=.gn
cargo:rerun-if-changed=BUILD.gn
cargo:rerun-if-changed=src/binding.cc
cargo:rerun-if-env-changed=CCACHE
cargo:rerun-if-env-changed=CLANG_BASE_PATH
cargo:rerun-if-env-changed=DENO_TRYBUILD
cargo:rerun-if-env-changed=DOCS_RS
cargo:rerun-if-env-changed=GN
cargo:rerun-if-env-changed=GN_ARGS
cargo:rerun-if-env-changed=HOST
cargo:rerun-if-env-changed=NINJA
cargo:rerun-if-env-changed=OUT_DIR
cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE
cargo:rerun-if-env-changed=RUSTY_V8_MIRROR
cargo:rerun-if-env-changed=SCCACHE
cargo:rerun-if-env-changed=V8_FORCE_DEBUG
cargo:rerun-if-env-changed=V8_FROM_SOURCE
cargo:rerun-if-env-changed=PYTHON
cargo:rustc-link-lib=static=rusty_v8
download lockfile: "/builddir/deno-1.32.3/target/release/build/lib_download.fslock"
static lib URL: https://github.com/denoland/rusty_v8/releases/download/v0.68.0/librusty_v8_release_x86_64-unknown-linux-gnu.a
cargo:rustc-link-search=/builddir/deno-1.32.3/target/release/gn_out/obj
Downloading https://github.com/denoland/rusty_v8/releases/download/v0.68.0/librusty_v8_release_x86_64-unknown-linux-gnu.a
Python downloader failed, trying with curl.
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.68.0/build.rs:409:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
=> ERROR: deno-1.32.3_1: do_build: '${make_cmd} build --release --target ${RUST_TARGET} ${configure_args}' exited with 101
=> ERROR: in do_build() at common/build-style/cargo.sh:8
```
A patch file from https://github.com/void-linux/void-packages/pull/43368.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-deno-43368.patch --]
[-- Type: text/x-diff, Size: 2805 bytes --]
From 56b6b9106dc9234a0f4b6d3d18258ea7bce881fb Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Sun, 9 Apr 2023 22:38:04 -0600
Subject: [PATCH 1/2] New package: deno-1.32.3
---
srcpkgs/deno/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/deno/template
diff --git a/srcpkgs/deno/template b/srcpkgs/deno/template
new file mode 100644
index 000000000000..66ffed33a3d6
--- /dev/null
+++ b/srcpkgs/deno/template
@@ -0,0 +1,18 @@
+# Template file for 'deno'
+pkgname=deno
+version=1.32.3
+revision=1
+build_style=cargo
+make_cmd="env V8_FROM_SOURCE=1 cargo auditable"
+hostmakedepends="python3 pkg-config"
+makedepends="libglib-devel"
+short_desc="Modern runtime for JavaScript and TypeScript"
+maintainer="astral <astral@astralchan.xyz>"
+license="MIT"
+homepage="https://deno.land"
+distfiles="https://github.com/denoland/deno/releases/download/v${version}/deno_src.tar.gz"
+checksum=c0ccbf75108a3f1853bdac9956829fb4aa1eb090c3896f631a09c1c1d53b108c
+
+post_install() {
+ vlicense LICENSE.md
+}
From 70b1b5f6cc09e4bbc76386556316687b5306f4f9 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Wed, 12 Apr 2023 04:33:45 -0600
Subject: [PATCH 2/2] New package: gn-07.04.2023
---
srcpkgs/gn/template | 38 ++++++++++++++++++++++++++++++++++++++
srcpkgs/gn/update | 2 ++
2 files changed, 40 insertions(+)
create mode 100644 srcpkgs/gn/template
create mode 100644 srcpkgs/gn/update
diff --git a/srcpkgs/gn/template b/srcpkgs/gn/template
new file mode 100644
index 000000000000..f36667d557f0
--- /dev/null
+++ b/srcpkgs/gn/template
@@ -0,0 +1,38 @@
+# Template file for 'gn'
+pkgname=gn
+# Google never releases versions - give date of commit
+version=07.04.2023
+revision=1
+_commit=ffeea1b1fd070cb6a8d47154a03f8523486b50a7
+hostmakedepends="python3 ninja"
+short_desc="Meta-build system that generates build files for Ninja"
+maintainer="astral <astral@astralchan.xyz>"
+license="BSD-3-Clause"
+homepage="https://gn.googlesource.com/gn"
+distfiles="https://gn.googlesource.com/gn/+archive/${_commit}.tar.gz"
+checksum=4e205708436b3804e58efe463f83baed8982971e94d492b80d803e932ba3e11c
+
+post_extract() {
+ printf '#define LAST_COMMIT_POSITION "%s"\n' "${_commit}" > src/gn/last_commit_position.h
+ printf '#define LAST_COMMIT_POSITION_NUM 0\n' >> src/gn/last_commit_position.h
+}
+
+pre_build() {
+ python3 build/gen.py --allow-warning --no-last-commit-position
+}
+
+do_build() {
+ ninja -C out
+}
+
+do_check() {
+ ./out/gnunittests
+}
+
+do_install() {
+ vbin out/gn
+}
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/gn/update b/srcpkgs/gn/update
new file mode 100644
index 000000000000..5a7df464ba79
--- /dev/null
+++ b/srcpkgs/gn/update
@@ -0,0 +1,2 @@
+# Google never tags any releases.
+ignore="*"
next prev parent reply other threads:[~2023-04-12 10:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-10 4:43 [PR PATCH] " astralchan
2023-04-10 5:30 ` icp1994
2023-04-10 5:44 ` icp1994
2023-04-10 7:34 ` [PR PATCH] [Updated] " astralchan
2023-04-10 7:34 ` astralchan
2023-04-10 11:17 ` astralchan
2023-04-10 13:03 ` astralchan
2023-04-12 10:34 ` [PR PATCH] [Updated] " astralchan
2023-04-12 10:44 ` astralchan [this message]
2023-04-12 11:02 ` astralchan
2023-04-12 11:04 ` astralchan
2023-07-12 2:06 ` github-actions
2023-07-27 1:47 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230412104450.8xWypxQL-nLERbyZghaTg1DTvFEbKicikunrVshLY8k@z \
--to=astralchan@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).