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 0000000427 427 Bytes
_service 0000001021 1021 Bytes
_servicedata 0000000230 230 Bytes
deno-2.1.3.tar.zst 0100099315 95.5 MB
deno-disable-lto.patch 0000000550 550 Bytes
deno.changes 0000283692 277 KB
deno.obsinfo 0000000093 93 Bytes
deno.spec 0000005305 5.18 KB
registry.tar.zst 0143610461 137 MB
Comments 27

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`

Soc Virnyl Estela's avatar

i will probably take a look at this tomorrow since deno 2.0 came out


Avindra Goolcharan's avatar

thank you. the current blocker is rusty_v8 failing to build.

https://github.com/denoland/rusty_v8/issues/1587


Soc Virnyl Estela's avatar

sure. i will investigate. in the meantime, it's still a release candidate so i guess i have more time



Soc Virnyl Estela's avatar

are you member of discord server by any chance?


Avindra Goolcharan's avatar

yes, I am there, though I only check it occasionally (once every 2-3 months)

openSUSE Build Service is sponsored by