Public bug reported: The official dub package fails to operate properly with libcurl. It aborts with unexpected error in runtime.
$ /usr/bin/dub --version DUB version 1.19.0-1build2, built on Mar 24 2020 $ /usr/bin/dub upgrade -v Using dub registry url 'https://code.dlang.org/' Refreshing local packages (refresh existing: true)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/cschlote/.dub/packages/local-packages.json Looking for local package map at /home/cschlote/build/dlang/lzd/.dub/packages/local-packages.json Determined package version using GIT: lzd 0.3.4+commit.3.g1026347 Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/cschlote/.dub/packages/local-packages.json Looking for local package map at /home/cschlote/build/dlang/lzd/.dub/packages/local-packages.json Found dependency silly 1.0.2 Upgrading project in /home/cschlote/build/dlang/lzd Search for versions of silly (1 package suppliers) Package supplier registry at https://code.dlang.org/ failed with 'HTTP request returned status code 0 ()', trying fallbacks. Fallback package supplier registry at https://code-mirror.dlang.io/ failed with 'Failed to download https://code-mirror.dlang.io/api/packages/infos?packages=%5B%22silly%22%5D&include_dependencies=true&minimize=true'. Fallback package supplier registry at https://dub-registry.herokuapp.com/ failed with 'HTTP request returned status code 503 (Service Unavailable)'. Package silly not found in registry at https://code.dlang.org/ (fallbacks registry at https://code-mirror.dlang.io/, registry at https://dub-registry.herokuapp.com/): HTTP request returned status code 0 () Return for silly: [1.0.2] Dependency resolution result: silly: 1.0.2 Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/cschlote/.dub/packages/local-packages.json Looking for local package map at /home/cschlote/build/dlang/lzd/.dub/packages/local-packages.json Found dependency silly 1.0.2 However, a dub version compiled with ldc2 (also compiled from sources) works fine: $ /usr/local/bin/dub upgrade -v Using dub registry url 'https://code.dlang.org/' Refreshing local packages (refresh existing: true)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/cschlote/.dub/packages/local-packages.json Looking for local package map at /home/cschlote/build/dlang/lzd/.dub/packages/local-packages.json Determined package version using GIT: lzd 0.3.4+commit.3.g1026347 Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/cschlote/.dub/packages/local-packages.json Looking for local package map at /home/cschlote/build/dlang/lzd/.dub/packages/local-packages.json Found dependency silly 1.0.2 Upgrading project in /home/cschlote/build/dlang/lzd Search for versions of silly (1 package suppliers) Return for silly: [1.0.2, 1.0.1, 1.0.0, 0.8.2, 0.8.1, 0.8.0, 0.7.1, 0.7.0, 0.6.0, 0.5.0, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.0, 0.2.1, 0.2.0, 0.1.1, 0.1.0, 0.7.0-alpha, ~master] Dependency resolution result: silly: 1.0.2 Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/cschlote/.dub/packages/local-packages.json Looking for local package map at /home/cschlote/build/dlang/lzd/.dub/packages/local-packages.json Found dependency silly 1.0.2 The problem prevents the use of all packages on code.dlang.org as it aborts with 'https://code-mirror.dlang.io/, registry at https://dub- registry.herokuapp.com/): HTTP request returned status code 0 ()'. Problem is related to Bug #1876293 ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: dub 1.19.0-1build2 ProcVersionSignature: Ubuntu 5.4.0-1008.8-raspi 5.4.29 Uname: Linux 5.4.0-1008-raspi aarch64 ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Fri May 1 12:36:37 2020 SourcePackage: dub UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: dub (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug arm64 focal uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1876296 Title: Broken CURL operations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1876296/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs