Skip to content

Update the checksum of the rarian archive - #3822

Closed
mattmoor wants to merge 1 commit into
wolfi-dev:mainfrom
mattmoor:rarian-retag
Closed

Update the checksum of the rarian archive#3822
mattmoor wants to merge 1 commit into
wolfi-dev:mainfrom
mattmoor:rarian-retag

Conversation

@mattmoor

Copy link
Copy Markdown
Member

Trying to rebuild this:

ℹ️  x86_64    | remote executing command [/bin/sh -c [ -d '/home/build' ] || mkdir -p '/home/build'
cd '/home/build'
set -e 
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[ -d '/home/build' ] || mkdir -p '/home/build'
cd '/home/build'
if [ "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577" == "" ] && [ "" == "" ]; then
  printf "One of expected-sha256 or expected-sha512 is required"
  exit 1
fi

bn=$(basename https://gitlab.freedesktop.org/rarian/rarian/-/releases/0.8.4/downloads/assets/rarian-0.8.4.tar.bz2)

if [ ! "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577" == "" ]; then
  fn="/var/cache/melange/sha256:aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577"
  if [ -f $fn ]; then
    printf "fetch: found $fn in cache\n"
    cp $fn $bn
  fi
else
  fn="/var/cache/melange/sha512:"
  if [ -f $fn ]; then
    printf "fetch: found $fn in cache\n"
    cp $fn $bn
  fi
fi

if [ ! -f $bn ]; then
  wget -q '-T5' '--dns-timeout=20' '--tries=5' --random-wait --retry-connrefused --continue 'https://gitlab.freedesktop.org/rarian/rarian/-/releases/0.8.4/downloads/assets/rarian-0.8.4.tar.bz2'
fi

if [ "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577" != "" ]; then
  printf "%s  %s\n" 'aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577' $bn | sha256sum -c
else
  printf "%s  %s\n" '' $bn | sha512sum -c
fi

if [ "true" = "true" ]; then
  tar -x '--strip-components=1' -f $bn
fi

if [ "false" = "true" ]; then
  rm $bn
fi

exit 0]
⚠️  x86_64    | sha256sum: WARNING: 1 of 1 computed checksums did NOT match

I downloaded the latest and computed this checksum.

Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
@mattmoor
mattmoor requested a review from a team as a code owner July 22, 2023 20:23
@mattmoor
mattmoor requested review from jonjohnsonjr and kaniini July 22, 2023 20:23
@mattmoor

Copy link
Copy Markdown
Member Author

Hmm, it appears as though there are more failures.

@dlorenc

dlorenc commented Jul 24, 2023

Copy link
Copy Markdown
Member

It looks like they used to bundle tinyxml, but merged a change to use a system version isntead: https://gitlab.freedesktop.org/rarian/rarian/-/commit/48bce59de557e1ea80d378a22afba75270434334

We don't have tinyxml packaged.

@dlorenc

dlorenc commented Jul 24, 2023

Copy link
Copy Markdown
Member

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.

2 participants