* Package name : dart Version : 3.13.x Upstream Authors : The Dart project authors (Google LLC) * URL : https://dart.dev Source : https://github.com/dart-lang/sdk * License : BSD-3-Clause (plus bundled third-party trees, each under its own DFSG-compatible license; see debian/copyright) Programming Lang: Dart, C++ Description : Dart SDK (Dart VM, dart2js and tools) The Dart SDK provides the Dart VM, the AOT/native compilers, the dart-to-JavaScript compiler (dart2js), the analyzer and the dart command-line developer tools. It is the reference toolchain for the Dart language. Why this matters for Debian: several requested packages are blocked solely because Dart is not in the archive: - #998024 RFP: Dart Sass -- the reference Sass compiler, built with dart2js - #931793 RFP: fluttersdk -- Flutter, which is built on the Dart SDK - #1051470 ITP: esbuild-sass-plugin (depends on the above) Packaging note (the one unusual point, expanded on debian-devel): Dart is self-hosting (its front-end is written in Dart), so building it needs a previously-built Dart, exactly like ghc, gnat (Ada) and ocaml. The package Build-Depends on a previous dart for that bootstrap; the source tarball contains NO prebuilt binary. A working proof of concept that builds the Dart SDK FROM SOURCE, offline, in sbuild --chroot-mode=unshare, with the Debian system toolchain (gn, ninja, clang, lld) and de-vendored zlib/double-conversion, is at: https://salsa.debian.org/mendezr/dart I intend to maintain this within a suitable team (home-assistant/js)
Hi Juan, Le 20/06/2026 à 03:00, Juan M. Méndez Rey a écrit : https://tracker.debian.org/pkg/dart It is a library for robotics and computer animation. You should look for another name (dart-sdk maybe?), and also be wary that the binary packages have names different from the ones of the current src:dart package in the archive. Best regards,
Forgot to add that the (proof-of-concept that builds the Dart SDK from source, in sbuild is at https://salsa.debian.org/mendezr/dart-sdk, in case anyone wants to look.
El sábado, 20 de junio de 2026 a las 12:11, Pierre Gruet <pgt@debian.org> escribió: CC'ing Edward, since this package grew directly out during the review of node-material-web: that package needs Dart Sass, which can only be built from source with dart2js from the Dart SDK: hence this ITP. CC'ing also #998024, since this will unblock that one. Having dart-sdk finally unblocks the long-standing RFP #998024 (Dart Sass) which could then be packaged and close it (also a prerequisite for #931793, Flutter). The proof of concept already builds the Dart SDK from source, offline, in sbuild with the Debian toolchain (using system clang/gn/ninja) and a self-hosting bootstrap like ghc/gnat; I'll need some guidance regarding the agreement on that bootstrap before any upload. I would appreciate anyone pitching in on this. Best, Juan
Le sam. 20 juin 2026 à 14:57, Juan M. Méndez Rey <juan.mendezr@proton.me> a écrit : Can you add debian/watch ? The bootstrap without stage0 unfortunately makes Dart vulnerable to a trojan horse attack on the compiler. Much like many other compilers currently available in Debian, so I guess that's a lost battle anyway.
El sábado, 20 de junio de 2026 a las 15:37, Jérémy Lal <kapouer@melix.org> escribió: Thanks for having a look Jérémy. I agree, it's the same trusting situation that I see in other compilers like gcc/rustc/ghc already in Debian, so dart-sdk is the same. I documented the stage0 seed in README.source (provenance + the upstream-published zip sha256). Best, Juan
Hey all, I'd be interested in helping this along as we'd like to use this downstream in Ubuntu. Anything I can do to help move it further? Best, -- Michał (Saviq) Sawicz
El martes, 15 de septiembre de 2026 a las 18:01, Michał Sawicz <michal.sawicz@canonical.com> escribió: Well, I would say that we will need an sponsor (a Debian Developer), I am a regular Debian contributor at the moment, willing to go over the process for this, and I am willing to take this over the finish line, and answer any question that the DFSG team my have. But that would be the first step. It is a matter of patience, some times, we might need to involve interested people of the javascript team, or they might be more willing to sponsor if they see a couple of people like us committed to maintain the package. Best, Juan
Hi Juan, I am a Debian Developer and am happy to sponsor this package. If dart-sdk is ok now, I can help upload it. Or any problem we could discuss here?
On the bootstrap question: The single real trap is that since August 2025 binaries coming through NEW are thrown away once the upload is accepted, see: https://wiki.debian.org/ThrowAwayNewBinaries The last section on that page, "Bootstrapping binaries", is the one you need; for a package that build-depends on its own binaries it gives exactly this sequence of three uploads: 1. dart-sdk 3.13.0-1, source + binary -> experimental 2. dart-sdk 3.13.0-2, source + binary -> unstable 3. dart-sdk 3.13.0-3, source-only -> unstable, and from then on the usual source-only workflow for every new version
Hi Emfox, Thanks for this great info, and the offering of sponsorship. I am preparing an update for the latest stable tag: 3.13.4. It is almost ready. I am targetting initially the amd64 architecture, because with sbuild/qemu for other architectures ends with: VM failing with JIT SIGSEGV. We can target others in future iterations. Let me go over the documentation and I will be back to you ASAP. Best, Juan El sábado, 19 de septiembre de 2026 a las 03:05, Emfox Zhou <emfoxzhou@gmail.com> escribió:
The package -1 now targets experimental and follows the three-upload sequence. dart-sdk 3.13.4-1 is ready at https://salsa.debian.org/mendezr/dart-sdk (branch debian/latest): lintian --pedantic clean, autopkgtest passes, built offline in sbuild both from a previous dart-sdk and, for this upload, with the pkg.dart-sdk.stage0 profile seeded from the upstream SDK that upstream's DEPS pins (URL and sha256 in README.source). As explained before, the architecture is amd64 only, README.source has the porter procedure. It is on mentors too: https://mentors.debian.net/package/dart-sdk/ https://mentors.debian.net/debian/pool/main/d/dart-sdk/dart-sdk_3.13.4-1.dsc Best, Juan
We believe that the bug you reported is fixed in the latest version of dart-sdk, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1140414@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Juan Manuel Méndez Rey <juan.mendezr@proton.me> (supplier of updated dart-sdk package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 24 Sep 2026 02:10:08 +0200 Source: dart-sdk Binary: dart-sdk dart-sdk-dbgsym Built-For-Profiles: pkg.dart-sdk.stage0 Architecture: source amd64 Version: 3.13.4+dfsg1-1 Distribution: experimental Urgency: medium Maintainer: Juan Manuel Méndez Rey <juan.mendezr@proton.me> Changed-By: Juan Manuel Méndez Rey <juan.mendezr@proton.me> Description: dart-sdk - Dart software development kit Closes: 1140414 Changes: dart-sdk (3.13.4+dfsg1-1) experimental; urgency=medium . * Initial release (Closes: #1140414) Checksums-Sha1: 25da8c098f4f0fdb32ad3fd8e1d55eff771195ce 2099 dart-sdk_3.13.4+dfsg1-1.dsc d3be5ea53e7553bc99f37af4793bdc507ae8f081 169682996 dart-sdk_3.13.4+dfsg1.orig.tar.xz 71f2f41166a98331798652cdc064276e70a7da97 29716 dart-sdk_3.13.4+dfsg1-1.debian.tar.xz 37f9b02ed1120bb0273320d5f36ee13d1541bff3 235476656 dart-sdk-dbgsym_3.13.4+dfsg1-1_amd64.deb 8469e2df79a99d738556c6e6788da6706c1c1839 7983 dart-sdk_3.13.4+dfsg1-1_amd64.buildinfo 59b22baa44b3a3871dd6a05318e5ed769cfc93dc 143630040 dart-sdk_3.13.4+dfsg1-1_amd64.deb Checksums-Sha256: 3e48eb80e1a8653c3b7078ab69c9d57b4dea06e544e43bfb45332253bd5abfec 2099 dart-sdk_3.13.4+dfsg1-1.dsc 0787fbd6cb4b8fa419109fadf73a69f0622457b3f32e8dd8c776220b39d23a18 169682996 dart-sdk_3.13.4+dfsg1.orig.tar.xz 97a14fa3e59265c7c17f63d96222997f2b156aa437a93c6e3261c6ef62dbf381 29716 dart-sdk_3.13.4+dfsg1-1.debian.tar.xz 2d207055c48b87f34735e2b6e27407cd88fb4a347c0d9f110d6a8552d818d998 235476656 dart-sdk-dbgsym_3.13.4+dfsg1-1_amd64.deb 3d367d17e1da53393caca1fbb76729aafedff806d0d775326ba62500993d6775 7983 dart-sdk_3.13.4+dfsg1-1_amd64.buildinfo 0a8449f84841e77d0831ecccf329c500b1e359c2ccc6e699064c5d3d7a11fae4 143630040 dart-sdk_3.13.4+dfsg1-1_amd64.deb Files: f00b0de7f9e6e2fce5ef9fe0eff7d629 2099 devel optional dart-sdk_3.13.4+dfsg1-1.dsc 1d29154f54706694b53aab53ba8b35e6 169682996 devel optional dart-sdk_3.13.4+dfsg1.orig.tar.xz ff646fbbf3488f96f45fbd61b7212368 29716 devel optional dart-sdk_3.13.4+dfsg1-1.debian.tar.xz a6534a842b581d2b75dfc3cfbd97cc41 235476656 debug optional dart-sdk-dbgsym_3.13.4+dfsg1-1_amd64.deb 9e8768ba71d41ebbee020b69d1f1ff56 7983 devel optional dart-sdk_3.13.4+dfsg1-1_amd64.buildinfo dba463168ae5ae1969b6abf83e4202e4 143630040 devel optional dart-sdk_3.13.4+dfsg1-1_amd64.deb -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEGSauJtItZVqOiaNpgImbv9t7vZQFAmq1j6IRHGVtZm94QGRl Ymlhbi5vcmcACgkQgImbv9t7vZSsjhAA1au6Mvfk7+Hm7bgZoApUMrnTNZuqnNVV N0cPSMGaTFfyBu4U7SFFmSMOdxoyYyY4bAfnJb+OjlR5N69+2t2zXPmOQrkwmDdQ fb2W5Xve6a9IjlSD4mTIp6EqjRTZBNCoWxnFoR1yJH4hVWW+gh5fGewW0DKUoN17 GlwdaTV85UAj61ZIB0OkkedbGIwt1WF4EoNLhfIJ693/INP76w/Vhz8itp+AbAUh doZBGVQjXf65Qn6/STVoc6RVJJtWJ49Xi9h6bWpqYVE5zNVhbNv1dVOXQZBfxv2k 8Ajit0I3lUloDA6/XrWpHLvwZL33y2VXevyKHVSLXqb31O6VCT3pH0CiZpDZCOIt OInLW14c2hdoyYzP9rfgDyhJ11xcepe1IiWvNMH4VaMBoCQwxdEl/I842Km3t69a aPn6aUw8XW3zY9doN90BplskLSaiY9gD/fUZTG1yZ4lyqxR2Z95248TYACaV4cLB rY4H745IeRiSYBRu5Vqzz7/tTSMKeVoyzS5LgjeBgJG2r6KplJWrcfM6YZTPvurl B0OahcJhzXS8wICWIJZVoiMIrmftt/zbbh16vcrBbWpcEQbCvSbeNwEOWFPWma/8 vqf847Fqwqkr3IJqY0Fe6ZtG40UTyq1KbPnIDRHcW6QXE92eWTGiYkrC4c/bVI04 A7w9EQwqOO0= =iV2U -----END PGP SIGNATURE-----