dub: autopkgtest regression and gcc-11 FTBFS

Bug #1915312 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dub (Debian)
Fix Released
Unknown
dub (Ubuntu)
New
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/981229:

Source: dub
Version: 1.24.0-1
Severity: serious
X-Debbugs-Cc: <email address hidden>

| autopkgtest [03:11:10]: test run: [-----------------------
| Package dub not found for registry at https://code.dlang.org/ (fallbacks registry at https://codemirror.dlang.org/, registry at https://dub.bytecraft.nl/, registry at https://code-mirror.dlang.io/): Failed to download https://code.dlang.org/api/packages/infos?packages=%5B%22dub%22%5D&include_dependencies=true&minimize=true
| Getting a release version failed: No package dub was found matching the dependency >=0.0.0
| Retry with ~master...
| Package dub not found for registry at https://code.dlang.org/ (fallbacks registry at https://codemirror.dlang.org/, registry at https://dub.bytecraft.nl/, registry at https://code-mirror.dlang.io/): Failed to download https://code.dlang.org/api/packages/infos?packages=%5B%22dub%22%5D&include_dependencies=true&minimize=true
| No package dub was found matching the dependency ~master
| autopkgtest [03:11:10]: test run: -----------------------]
| autopkgtest [03:11:11]: test run: - - - - - - - - - - results - - - - - - - - - -
| run FAIL non-zero exit status 2

See
https://ci.debian.net/data/autopkgtest/testing/amd64/d/dub/10040021/log.gz

Cheers
--
Sebastian Ramacher

tags: added: update-excuse
Changed in dub (Debian):
importance: Undecided → Unknown
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI there also is an FTBFS now (adding this info to the update-excuse bug):

source/dub/internal/sdlang/parser.d:121:21: error: module std.variant is not accessible here, perhaps add 'static import std.variant;'
  121 | alias ParserEvent = std.variant.Algebraic!(
      | ^

This already has an upstream fix [1] that is in v1.25.0
So when uploading anything to fix it please also bump the version to avoid the FTFBS.

[1]: https://github.com/dlang/dub/commit/aec94916cd856c662386bdea9038f19da27e457b

summary: - dub: autopkgtest regression
+ dub: autopkgtest regression and gcc-11 FTBFS
Revision history for this message
Bryce Harrington (bryce) wrote :

I've verified the upstream patch builds locally, packaged it, and stuck it in this PPA:

    https://launchpad.net/~bryce/+archive/ubuntu/dub-fix-lp1915312

(There is still a build failure for ppc64el, however that arch might not be required.)

For JJ, the changelog will need updated but otherwise this is ready to go once freeze is lifted.

Changed in dub (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.