Broken CURL operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dub (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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:/
Refreshing local packages (refresh existing: true)...
Looking for local package map at /var/lib/
Looking for local package map at /home/cschlote/
Looking for local package map at /home/cschlote/
Determined package version using GIT: lzd 0.3.4+commit.
Refreshing local packages (refresh existing: false)...
Looking for local package map at /var/lib/
Looking for local package map at /home/cschlote/
Looking for local package map at /home/cschlote/
Found dependency silly 1.0.2
Upgrading project in /home/cschlote/
Search for versions of silly (1 package suppliers)
Package supplier registry at https:/
Fallback package supplier registry at https:/
Fallback package supplier registry at https:/
Package silly not found in registry at https:/
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/
Looking for local package map at /home/cschlote/
Looking for local package map at /home/cschlote/
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:/
Refreshing local packages (refresh existing: true)...
Looking for local package map at /var/lib/
Looking for local package map at /home/cschlote/
Looking for local package map at /home/cschlote/
Determined package version using GIT: lzd 0.3.4+commit.
Refreshing local packages (refresh existing: false)...
Looking for local package map at /var/lib/
Looking for local package map at /home/cschlote/
Looking for local package map at /home/cschlote/
Found dependency silly 1.0.2
Upgrading project in /home/cschlote/
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/
Looking for local package map at /home/cschlote/
Looking for local package map at /home/cschlote/
Found dependency silly 1.0.2
The problem prevents the use of all packages on code.dlang.org as it aborts with 'https:/
Problem is related to Bug #1876293
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dub 1.19.0-1build2
ProcVersionSign
Uname: Linux 5.4.0-1008-raspi aarch64
ApportVersion: 2.20.11-0ubuntu27
Architecture: arm64
CasperMD5CheckR
Date: Fri May 1 12:36:37 2020
SourcePackage: dub
UpgradeStatus: No upgrade log present (probably fresh install)
Same problem here, I submitted a diff bug report, but this was what I was getting at. It's interesting because it doesn't appear on this version in other distros.