A secure JavaScript and Typescript runtime built on v8

Edit Package deno
https://deno.land/

Deno comes with a linter, a code formatter, a unit test runner and language server protocol, among other features. It has a standard library with limited compatibility with Node.js.

Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename Size Changed
_constraints 0000000383 383 Bytes
_service 0000005816 5.68 KB
cargo_config 0000000101 101 Bytes
deno-1.42.1.tar.xz 0081728020 77.9 MB
deno-disable-lto.patch 0000000440 440 Bytes
deno-disable-update-check.patch 0000001254 1.22 KB
deno-rm-upgrade-cmd.patch 0000009009 8.8 KB
deno.changes 0000196711 192 KB
deno.spec 0000003135 3.06 KB
revendor_source.sh 0000001343 1.31 KB
vendor.tar.xz 0103333852 98.5 MB
Comments 21

Avindra Goolcharan's avatar

nondeterministic build issue:

https://github.com/denoland/deno/issues/9244

(For various reasons.)

rusty_v8 is fine. A major difference is that rusty_v8 includes debug symbols, whereas deno and jstime are being stripped. It is possible that in-determinism is coming from the stripping process

See torque.rsp in the github thread for another nondeterminism issue.


Avindra Goolcharan's avatar

This package is not in Factory because it requires python 2.

See: https://build.opensuse.org/request/show/869869#comment-1407241 for more info


Adam Majer's avatar

NodeJS and its v8 is building with Python 3 for some time. Maybe this needs another look to make sure it's still valid.


Avindra Goolcharan's avatar

Thanks for the heads up. Per the notes, the deno build requiring Python 2 is related to upstream Chromium problems: https://github.com/denoland/rusty_v8/#build-v8-from-source

EDIT: deno requires python3 now



Avindra Goolcharan's avatar

1.8.3 -> 1.9.0

1 package to upgrade.
Overall download size: 35.8 MiB.
After the operation, additional 900.2 KiB will be used.
Retrieving package deno-1.9.0-1.1.x86_64                                            (1/1),  35.8 MiB (106.1 MiB unpacked)

Avindra Goolcharan's avatar

x86_64 builds failing on disk space errors for a while now (since 1.9.0 -> 1.9.2 checkin):

[ 3855s] LLVM ERROR: IO failure on output stream: No space left on device
[ 3855s] /.build/build-vm: line 460: echo: write error: No space left on device
[ 3856s] error: could not compile `deno`
[ 3856s] 
[ 3856s] Caused by:
[ 3856s]   No space left on device (os error 28)

and

-L native=/home/abuild/rpmbuild/BUILD/deno-1.9.2/target/release/build/spirv_cross-e6e05d2f99b070f5/out -L native=/home/abuild/rpmbuild/BUILD/deno-1.9.2/target/release/build/sys-info-d658896cca45152e/out` (exit code: 101)
[ 3856s] build logging: //.build.log: No space left on device
[ 3856s] error: Bad exit status from /var/tmp/rpm-tmp.cXkWVW (%build)
[ 3856s] 
[ 3856s] 
[ 3856s] RPM build errors:
[ 3856s]     Bad exit status from /var/tmp/rpm-tmp.cXkWVW (%build)
[ 3856s] /.build/build-recipe: line 204: echo: write error: No space left on device
[ 3856s] /.build/build: line 474: echo: write error: No space left on device

Avindra Goolcharan's avatar

Still having problems with 1.10.1

EDIT: resolved (via build service mailing list)


Avindra Goolcharan's avatar

Happening again after 1.12 checkin

EDIT 7/26: if anyone needs the x86_64 binaries, please drop a note here and I'll follow up with the appropriate mailing list. For my own personal needs, I am just building locally for now. ARM binaries are unaffected.

EDIT 8/29: Builds fixed by increasing requested disk space for x86_64


Avindra Goolcharan's avatar

deno 1.13.0

The following package is going to be upgraded:
  deno

1 package to upgrade.
Overall download size: 23.2 MiB. Already cached: 0 B. After the operation, 363.4 KiB will be freed.

Avindra Goolcharan's avatar

1.14.3 -> 1.15.3

The following package is going to be upgraded:
  deno

1 package to upgrade.
Overall download size: 23.3 MiB. Already cached: 0 B. After the operation, 630.0 KiB will be freed.

Enrique Morales's avatar

Still this package maintained? There are few updates at original source. I'm newbie in OpenSUSE, sorry for not understand totally the package maintain subject.


Avindra Goolcharan's avatar

I've been trying to build and getting various errors in my local build


Enrique Morales's avatar

Thanks for the info


Avindra Goolcharan's avatar

Thanks to @Guillaume_G the builds are rolling again. Upgrading to 1.30.0 🔜


Avindra Goolcharan's avatar

1.31.2 blocked on rust1.68 to factory. it uses the (then unstable) pin_macro


Avindra Goolcharan's avatar

cmake build error (1.36.1) due to libz-ng-sys

[   26s] error: failed to run custom build command for `libz-ng-sys v1.1.12`
[   26s] 
[   26s] Caused by:
[   26s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/deno-1.36.1/target/release/build/libz-ng-sys-4644f07d9b8ac1b8/build-script-build_zng` (exit status: 101)
[   26s]   --- stdout
[   26s]   CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
[   26s]   CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
[   26s]   HOST_CMAKE_TOOLCHAIN_FILE = None
[   26s]   CMAKE_TOOLCHAIN_FILE = None
[   26s]   CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
[   26s]   CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
[   26s]   HOST_CMAKE_GENERATOR = None
[   26s]   CMAKE_GENERATOR = None
[   26s]   CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
[   26s]   CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
[   26s]   HOST_CMAKE_PREFIX_PATH = None
[   26s]   CMAKE_PREFIX_PATH = None
[   26s]   CMAKE_x86_64-unknown-linux-gnu = None
[   26s]   CMAKE_x86_64_unknown_linux_gnu = None
[   26s]   HOST_CMAKE = None
[   26s]   CMAKE = None
[   26s]   running: cd "/home/abuild/rpmbuild/BUILD/deno-1.36.1/target/release/build/libz-ng-sys-c37bd6b02bd7d4f7/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/abuild/rpmbuild/BUILD/deno-1.36.1/vendor/libz-ng-sys/src/zlib-ng" "-DBUILD_SHARED_LIBS=OFF" "-DZLIB_COMPAT=OFF" "-DZLIB_ENABLE_TESTS=OFF" "-DWITH_GZFILEOP=ON" "-DCMAKE_INSTALL_PREFIX=/home/abuild/rpmbuild/BUILD/deno-1.36.1/target/release/build/libz-ng-sys-c37bd6b02bd7d4f7/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
[   26s] 
[   26s]   --- stderr

Avindra Goolcharan's avatar

Skipping 1.36.3 due to reversion of rusty_v8.

Up to next version when new deno_core lands:

https://github.com/denoland/deno_core/pull/159


Avindra Goolcharan's avatar

node/npm compatibility. webpack fails due to incomplete vm implementation:

https://github.com/denoland/deno/tree/main/ext/node/polyfills#deno-nodejs-compatibility


Avindra Goolcharan's avatar

In the middle of restoring my computer after failure due to power surge. If anyone wants to submit a request, feel free to e-mail me with any questions.


Avindra Goolcharan's avatar

Working on rebasing the upgrade command removal patch

TODO. Based on hiding tools::upgrade : https://github.com/search?q=repo%3Adenoland%2Fdeno%20%2Ftools%3A%3Aupgrade%2F&type=code

    --> cli/lsp/language_server.rs:122:19
     |
 122 | use crate::tools::upgrade::check_for_upgrades_for_lsp;
     |                   ^^^^^^^ could not find `upgrade` in `tools`

 error[E0432]: unresolved import `crate::tools::upgrade`
    --> cli/lsp/language_server.rs:123:19
     |
 123 | use crate::tools::upgrade::upgrade_check_enabled;
     |                   ^^^^^^^ could not find `upgrade` in `tools`

 error[E0433]: failed to resolve: could not find `upgrade` in `tools`
    --> cli/standalone/binary.rs:432:42
     |
 432 |     let base_binary_path = crate::tools::upgrade::unpack_into_dir(
     |                                          ^^^^^^^ could not find `upgrade` in `tools`
openSUSE Build Service is sponsored by