Skip to content

depends: fix libsodium download path and add dependency path validator script#675

Merged
DeckerSU merged 2 commits intomasterfrom
dev
Jan 19, 2026
Merged

depends: fix libsodium download path and add dependency path validator script#675
DeckerSU merged 2 commits intomasterfrom
dev

Conversation

@DeckerSU
Copy link
Copy Markdown

What changed:

This PR updates the libsodium dependency path to reflect its new download location and adds a new script to help validate dependency URLs used in the build system. The updated path ensures the correct version (e.g., 1.0.18) is fetched during builds, preventing build failures due to the moved or removed upstream location. Additionally, a Python script has been introduced that parses .mk files in the depends/packages directory, resolves variables, and checks that each dependency URL is reachable.

Why:

A recent change in libsodium release distribution caused the previously used download path to become invalid, breaking the build process.

Manual verification of many dependency URLs is error-prone and slow, so the new script automates this check and can help catch broken URLs early in development and CI.

CHMEX and others added 2 commits January 17, 2026 00:58
Path changed for 1.0.18

Co-authored-by: ca333 <ca333@users.noreply.github.com>
Introduces a new Python script that verifies the accessibility of files via URLs specified in .mk files from the depends/packages directory. The script parses the .mk files, resolves variables, builds URLs, and checks their availability, providing detailed output on the status of each dependency.
@DeckerSU DeckerSU requested review from ca333 and smk762 January 17, 2026 00:23
@DeckerSU DeckerSU changed the title depends: fix updated libsodium path and add dependency path validator script depends: fix libsodium download path and add dependency path validator script Jan 17, 2026
Copy link
Copy Markdown

@smk762 smk762 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed all green ticks when run at f740eb7

[51/51] Checking zeromq... ✓ Ok

======================================================================
Summary: Ok: 51, Errors: 0, Skipped: 0

Confirmed bad url detected and error returned

[49/51] Checking rust... ✓ Ok
[50/51] Checking utfcpp... ✗ Connection Error (HTTP 0)
[51/51] Checking zeromq... ✓ Ok

======================================================================
Summary: Ok: 50, Errors: 1, Skipped: 0

Detailed error information:
  ✗ utfcpp                         - Connection Error (HTTP 0)
    URL: https://invalid.example.com/nemtrif/utfcpp/archive/v3.1.tar.gz

Confirmed successful daemon build and launch.
Confirmed dameon cli responsive.

@dimxy
Copy link
Copy Markdown
Collaborator

dimxy commented Jan 19, 2026

Should this check_dependency_urls.py script be executed from CI builds?

@DeckerSU DeckerSU merged commit 4c6c7b6 into master Jan 19, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants