Skip to content

[Regression] Fetching dependency from codeberg.org causes it to return 503 #19624

@linusg

Description

@linusg

Zig Version

0.12.0-dev.3633+f7a76bdfe

Steps to Reproduce and Observed Behavior

Works with 0.12.0-dev.3610+9d27f34d0, no longer works with 0.12.0-dev.3633+f7a76bdfe. Possibly related to #19500? (cc @ianic) - it's unclear to me whether these changes are included in the working build - the GitHub UI lists them as before but the merge commit is after 9d27f34d0.

Clone kiesel and try to build:

$ zig build run
/home/linus/Dev/kiesel/build.zig.zon:27:20: error: bad HTTP response code: '503 Service Unavailable'
            .url = "https://codeberg.org/linusg/zig-build-libregexp/archive/78f7445d7ccb5c8378d7fb883d3347d02850b6e5.tar.gz",
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

...despite codeberg being alive and kicking (and this still working with a previous version).

Expected Behavior

Should still work.

Metadata

Metadata

Assignees

Labels

bugObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.regressionIt worked in a previous version of Zig, but stopped working.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions