Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synocli-file: update tools and add pixz #6288

Merged
merged 25 commits into from
Nov 10, 2024

Conversation

hgy59
Copy link
Contributor

@hgy59 hgy59 commented Oct 18, 2024

Description

  • update detox to v2.0.0
  • update eza v0.20.7
  • update fd to v10.2.0
  • update fdupes to v2.3.2 and add sqlite for optional caches
  • update fzf to v0.56.0
  • update jdupes to v1.28.0 and libjodycode to v3.1.1
  • update less to v668
  • update lsd to v1.1.5
  • update lzip to v1.24.1
  • update mc to v4.8.32
  • update micro to v2.0.14
  • update nano to v8.2
  • update pcre2 to v10.44
  • update rhash to v1.4.5
  • update ripgrep to v14.1.1
  • update tree to v2.1.3

Fixes #6270

Additionaly add pixz from #6149

  • Add pixz

Closes #6149, closes #6075, closes #6073

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Package update

@mreid-tt
Copy link
Contributor

mreid-tt commented Nov 7, 2024

@hgy59 the build logs show failures due to Wrong sha1sum for file libxml2-2.9.14.tar.xz and Wrong sha1sum for file glib-2.66.8.tar.xz but I've checked the digest files and these appear correct based on downloads from the source repo. Could GitHub have corrupt downloads that need to be purged?

@hgy59
Copy link
Contributor Author

hgy59 commented Nov 8, 2024

@hgy59 the build logs show failures due to Wrong sha1sum for file libxml2-2.9.14.tar.xz and Wrong sha1sum for file glib-2.66.8.tar.xz but I've checked the digest files and these appear correct based on downloads from the source repo. Could GitHub have corrupt downloads that need to be purged?

This error is caused by the usage of an outdated mirror to download packages from https://download.gnome.org/sources

The first workflow faild for libxml2, glib-2.58.3 and glib-2.66.8
After rebase and force push, a new workflow was startet, that failed to download glib-2.58.3 and glib-2.66.8 only. So archs that use glib-latest were successfully built (x64-7.1, aarch64-7.1 and armv7-7.1).

All files with wrong checksum have the following log entry for the download in the prepare job:

2024-11-07T06:52:05.2697677Z Cookie coming from mirror2.sandyriver.net attempted to set domain to cloudflareregistrar.com

When you use the download link to this mirror, you get an error page telling

 mirror2.sandyriver.net has expired.

If you are the owner, log in to Cloudflare for domain renewal options.
Go to Cloudflare Dashboard

This failing mirror is randomly used for downloads on https://download.gnome.org/sources

After deleting the download cache of the latest workflow (distrib-11728427050), none of the downloads used this mirror and the 4th attempt succeeded.

@hgy59
Copy link
Contributor Author

hgy59 commented Nov 8, 2024

@mreid-tt several retries still used the bad mirror.
I tried different mirrors for the affected sources but this triggered a lot of other packages to build.
So I globally replaced the download url for https://download.gnome.org/sources to https://cdimage.debian.org/mirror/gnome.org/sources

@hgy59 hgy59 force-pushed the update_cli-file branch 3 times, most recently from c2029f2 to dd1e99b Compare November 9, 2024 10:00
@hgy59 hgy59 changed the title synocli-file: update tools synocli-file: update tools and add pixz Nov 9, 2024
@hgy59 hgy59 mentioned this pull request Nov 9, 2024
6 tasks
hgy59 and others added 15 commits November 9, 2024 17:43
- update detox to v2.0.0
- update eza v0.20.0
- update fd to v10.2.0
- update fdupes to v2.3.2 and add sqlite for optional caches
- update jdupes to v1.28.0 and libjodycode to v3.1.1
- update less to v661
- update lsd to v1.1.5
- update lzip to v1.24.1
- update mc to v4.8.32
- update micro to v2.0.14
- update nano to v8.2
- update pcre2 to v10.44
- update ripgrep to v14.1.1
- update tree to v2.1.3
- use fd 10.2.0 for qoriq with rust toolchain 1.82.0
- use different mirror since github workflow often uses an invalid mirror mirror2.sandyriver.net
 - also fix license
 - build from pre-configured tarball instead of raw source
 - which seems to support GNU configure
 - libcrytpo is runtime dependency
 - don't include bsd* cli; just shared object only
 - patched to allow cross-compile
I have no idea why. But spk/synocli-file would not build pixz. However,
cross/libarchive and diyspk/pigz both built standalone just fine.

Also documenting some other strange and no-determininistic artifacts
linked to build enviornment.
dotysan and others added 8 commits November 9, 2024 17:45
Link shared object aliases instead of copy.

Co-authored-by: hgy59 <[email protected]>
 - also clean up kruft
- disable to build tools (we want the library only)
- document the need to build without libiconv
- disable static build and add code optimization to minimize library size
- libarchive builds without native/autoconf
- use configure parameter to avoid the AC_CHECK_FILE patch
- do not disable build for ARMv7L_ARCHS
- update changelog for synocli-file package
- in the previous version (14.1.0) this feature (and simd-accel) was enabled by default
- since simd-accel has been removed for stable toolchains, we have to specify pcre2
- update eza from v0.20.0 to v0.20.7
- update fzf from v0.55.0 to v0.56.0
- update less from v661 to v668
- update rhash from v1.4.4 to v1.4.5
@hgy59 hgy59 merged commit f27e0ae into SynoCommunity:master Nov 10, 2024
15 checks passed
@hgy59 hgy59 deleted the update_cli-file branch November 10, 2024 00:07
@hgy59 hgy59 added the status/published Published and activated (may take up to 48h until visible in DSM package manager) label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/published Published and activated (may take up to 48h until visible in DSM package manager) synocli-file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zstd compression ratio is a bit wired
3 participants