Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2021 03:10:59 +0000
From:      Nuno Teixeira <ed.arrakis@gmail.com>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Testing official self-extract makeself .run fails to extract / anyone could test it?
Message-ID:  <CAFDf7U%2Bh8bhRC=9E2DYynU_3oqFP-ipsoKYYeBab0oSR-X2bGw@mail.gmail.com>
In-Reply-To: <2b473ccb-39ef-ea9a-17d1-d3df38f3457c@FreeBSD.org>
References:  <CAFDf7U%2B-=H4kb=PYj_bTnjEGnzE_YxL7GZXi3eKXvDmriZgCqw@mail.gmail.com> <2b473ccb-39ef-ea9a-17d1-d3df38f3457c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for testing.

I will do further tests with older releases too and hope that upstream
fixes it.

Thanks

DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@freebsd.org>
escreveu no dia sexta, 15/01/2021 =C3=A0(s) 11:52:

> On 15/01/2021 12:38, Nuno Teixeira wrote:
> > Hello,
> >
> > I need that someone test official archivers/makeself self-extratable bi=
n
> to
> > see if error is the same:
> >
> > https://github.com/megastep/makeself/issues/238
> >
> > Download link:
> >
> https://github.com/megastep/makeself/releases/download/release-2.4.2/make=
self-2.4.2.run
> >
> > Run: sh makeself-2.4.2.run
> >
> > Thanks,
> >
> > Nuno Teixeira
>
> # ./makeself-2.4.2.run
> Creating directory makeself-2.4.2
> Verifying archive integrity...  100%   MD5 checksums are OK. All good.
> Uncompressing Makeself v2.4.2  100%   ... Extraction failed.
> Terminated
>
> ----------------------
>
> # sh -x makeself-2.4.2.run
> + umask
> + ORIG_UMASK=3D0022
> + test n '=3D' n
> + umask 077
> + CRCsum=3D3945225848
> + MD5=3D6ec4e617e8ed15e4612e05e0a8ad18cd
> + SHA=3D0000000000000000000000000000000000000000000000000000000000000000
> + TMPROOT=3D/tmp
> + USER_PWD=3D/tmp/test
> + export USER_PWD
> + ARCHIVE_DIR=3D.
> + export ARCHIVE_DIR
> + label=3D'Makeself v2.4.2'
> + script=3Decho
> + scriptargs=3D'Makeself has extracted itself'
> + cleanup_script=3D''
> + licensetxt=3D''
> + helpheader=3D''
> + targetdir=3Dmakeself-2.4.2
> + filesizes=3D31397
> + keep=3Dy
> + nooverwrite=3Dn
> + quiet=3Dn
> + accept=3Dn
> + nodiskspace=3Dn
> + export_conf=3Dn
> + decrypt_cmd=3D''
> + skip=3D668
> + print_cmd_arg=3D''
> + type printf
> + print_cmd=3Dprintf
> + test -d /usr/xpg4/bin
> + test -d /usr/sfw/bin
> + unset CDPATH
> + finish=3Dtrue
> + xterm_loop=3D''
> + noprogress=3Dn
> + nox11=3Dn
> + copy=3Dnone
> + ownership=3Dn
> + verbose=3Dn
> + cleanup=3Dy
> + cleanupargs=3D''
> + initargs=3D''
> + true
> + break
> + test xn '=3D' xy -a xn '=3D' xy
> + id -u
> + test xn '=3D' xy -a 0 -ne 0
> + test xnone '!=3D' xphase2
> + MS_PrintLicense
> + test x '!=3D' x
> + test xn '=3D' xn
> + tty -s
> + :
> + test xmakeself-2.4.2 '=3D' x.
> + test xy '=3D' xy
> + test xn '=3D' xy
> + test xn '=3D' xn
> + echo 'Creating directory makeself-2.4.2'
> Creating directory makeself-2.4.2
> + tmpdir=3Dmakeself-2.4.2
> + dashp=3D-p
> + mkdir -p makeself-2.4.2
> + pwd
> + location=3D/tmp/test
> + test x '!=3D' x1
> + MS_Check makeself-2.4.2.run
> +
>
> OLD_PATH=3D/techsupp/scripts/BLACKHOLES:/techsupp/scripts/GREYLIST:/techs=
upp/scripts/MCP:/techsupp/scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:=
/usr/local/sbin:/usr/local/bin:/root/bin:
> +
>
> PATH=3D/techsupp/scripts/BLACKHOLES:/techsupp/scripts/GREYLIST:/techsupp/=
scripts/MCP:/techsupp/scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr=
/local/sbin:/usr/local/bin:/root/bin::/bin:/usr/bin:/sbin:/usr/local/ssl/bi=
n:/usr/local/bin:/opt/openssl/bin
> + MD5_ARG=3D''
> + exec
> + MD5_PATH=3D''
> + test -x ''
> + exec
> + MD5_PATH=3D/sbin/md5
> + test -x /sbin/md5
> +
>
> PATH=3D/techsupp/scripts/BLACKHOLES:/techsupp/scripts/GREYLIST:/techsupp/=
scripts/MCP:/techsupp/scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr=
/local/sbin:/usr/local/bin:/root/bin:
> + exec
> + SHA_PATH=3D/usr/local/bin/shasum
> + test -x /usr/local/bin/shasum
> + test xn '=3D' xn
> + MS_Printf 'Verifying archive integrity...'
> + printf 'Verifying archive integrity...'
> Verifying archive integrity...+ head -n 668 makeself-2.4.2.run
> + wc -c
> + tr -d ' '
> + offset=3D16914
> + verb=3D''
> + i=3D1
> + echo 3945225848
> + cut '-d ' -f1
> + crc=3D3945225848
> + test -x /usr/local/bin/shasum
> + basename /usr/local/bin/shasum
> + test xshasum '=3D' xshasum
> + SHA_ARG=3D'-a 256'
> + echo 0000000000000000000000000000000000000000000000000000000000000000
> + cut '-d ' -f1
> + sha=3D0000000000000000000000000000000000000000000000000000000000000000
> + test x0000000000000000000000000000000000000000000000000000000000000000
> '=3D' x0000000000000000000000000000000000000000000000000000000000000000
> + test x '=3D' xy
> + test -x /sbin/md5
> + basename /sbin/md5
> + test xmd5 '=3D' xdigest
> + echo 6ec4e617e8ed15e4612e05e0a8ad18cd
> + cut '-d ' -f1
> + md5=3D6ec4e617e8ed15e4612e05e0a8ad18cd
> + test x6ec4e617e8ed15e4612e05e0a8ad18cd '=3D'
> x00000000000000000000000000000000
> + MS_dd_Progress makeself-2.4.2.run 16914 31397
> + test xn '=3D' xy
> + file=3Dmakeself-2.4.2.run
> + offset=3D16914
> + length=3D31397
> + pos=3D0
> + bsize=3D4194304
> + test 4194304 -gt 31397
> + expr 4194304 / 4
> + eval '/sbin/md5 '
> + /sbin/md5
> + cut -b-32
> + bsize=3D1048576
> + test 1048576 -gt 31397
> + expr 1048576 / 4
> + bsize=3D262144
> + test 262144 -gt 31397
> + expr 262144 / 4
> + bsize=3D65536
> + test 65536 -gt 31397
> + expr 65536 / 4
> + bsize=3D16384
> + test 16384 -gt 31397
> + expr 31397 / 16384
> + blocks=3D1
> + expr 31397 % 16384
> + bytes=3D15013
> + dd 'ibs=3D16914' 'skip=3D1' 'count=3D0'
> + expr 0 + 16384
> + pos=3D16384
> + MS_Printf '     0%% '
> + printf '     0%% '
>       0% + test 1 -gt 0
> + test 16384 -le 31397
> + dd 'bs=3D16384' 'count=3D1'
> + expr 31397 / 100
> + pcent=3D313
> + expr 16384 / 313
> + pcent=3D52
> + test 52 -lt 100
> + MS_Printf '\b\b\b\b\b\b\b'
> + printf '\b\b\b\b\b\b\b'
> + test 52 -lt 10
> + MS_Printf '   52%% '
> + printf '   52%% '
>     52% + expr 16384 + 16384
> + pos=3D32768
> + test 32768 -le 31397
> + test 15013 -gt 0
> + dd 'bs=3D15013' 'count=3D1'
> + MS_Printf '\b\b\b\b\b\b\b'
> + printf '\b\b\b\b\b\b\b'
> + MS_Printf ' 100%%  '
> + printf ' 100%%  '
>   100%  + md5sum=3D6ec4e617e8ed15e4612e05e0a8ad18cd
> + test x6ec4e617e8ed15e4612e05e0a8ad18cd '!=3D'
> x6ec4e617e8ed15e4612e05e0a8ad18cd
> + test xn '=3D' xn
> + MS_Printf ' MD5 checksums are OK.'
> + printf ' MD5 checksums are OK.'
>   MD5 checksums are OK.+ crc=3D0000000000
> + verb=3Dn
> + test x0000000000 '=3D' x0000000000
> + test xn '=3D' xy
> + expr 1 + 1
> + i=3D2
> + expr 16914 + 31397
> + offset=3D48311
> + test xn '=3D' xn
> + echo ' All good.'
>   All good.
> + head -n 668 makeself-2.4.2.run
> + wc -c
> + tr -d ' '
> + offset=3D16914
> + test xn '=3D' xy
> + test xn '=3D' xn
> + test xn '=3D' xopenssl
> + MS_Printf 'Uncompressing Makeself v2.4.2'
> + printf 'Uncompressing Makeself v2.4.2'
> Uncompressing Makeself v2.4.2+ res=3D3
> + test xy '=3D' xn
> + test xn '=3D' xn
> + MS_diskspace makeself-2.4.2
> + df -kP makeself-2.4.2
> + tail -1
> + awk '{ if ($4 ~ /%/) {print $3} else {print $4} }'
> + leftspace=3D21058636
> + test -n 21058636
> + test 21058636 -lt 120
> + MS_dd_Progress makeself-2.4.2.run 16914 31397
> + test xn '=3D' xy
> + file=3Dmakeself-2.4.2.run
> + offset=3D16914
> + length=3D31397
> + pos=3D0
> + bsize=3D4194304
> + test 4194304 -gt 31397
> + expr 4194304 / 4
> + MS_Decompress
> + test x '!=3D' x
> + eval 'gzip -cd'
> + gzip -cd
> + cd makeself-2.4.2
> + umask 0022
> + UnTAR xp
> + test xn '=3D' xn
> + tar xpvf -
> + bsize=3D1048576
> + test 1048576 -gt 31397
> + expr 1048576 / 4
> + bsize=3D262144
> + test 262144 -gt 31397
> + expr 262144 / 4
> + bsize=3D65536
> + test 65536 -gt 31397
> + expr 65536 / 4
> + bsize=3D16384
> + test 16384 -gt 31397
> + expr 31397 / 16384
> + blocks=3D1
> + expr 31397 % 16384
> + bytes=3D15013
> + dd 'ibs=3D16914' 'skip=3D1' 'count=3D0'
> + expr 0 + 16384
> + pos=3D16384
> + MS_Printf '     0%% '
> + printf '     0%% '
>       0% + test 1 -gt 0
> + test 16384 -le 31397
> + dd 'bs=3D16384' 'count=3D1'
> + expr 31397 / 100
> + pcent=3D313
> + expr 16384 / 313
> + pcent=3D52
> + test 52 -lt 100
> + MS_Printf '\b\b\b\b\b\b\b'
> + printf '\b\b\b\b\b\b\b'
> + test 52 -lt 10
> + MS_Printf '   52%% '
> + printf '   52%% '
>     52% + expr 16384 + 16384
> + pos=3D32768
> + test 32768 -le 31397
> + test 15013 -gt 0
> + dd 'bs=3D15013' 'count=3D1'
> + MS_Printf '\b\b\b\b\b\b\b'
> + printf '\b\b\b\b\b\b\b'
> + MS_Printf ' 100%%  '
> + printf ' 100%%  '
>   100%  + test 0 -ne 0
> + echo ' ... Extraction failed.'
>   ... Extraction failed.
> + kill -15 76644
> Terminated
>
> -----------------------
>
> sh -xv output: https://termbin.com/pwdg
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2Bh8bhRC=9E2DYynU_3oqFP-ipsoKYYeBab0oSR-X2bGw>