Testing official self-extract makeself .run fails to extract / anyone could test it?

DutchDaemon - FreeBSD Forums Administrator DutchDaemon at FreeBSD.org
Fri Jan 15 11:52:14 UTC 2021


On 15/01/2021 12:38, Nuno Teixeira wrote:
> Hello,
>
> I need that someone test official archivers/makeself self-extratable bin 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/makeself-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=0022
+ test n '=' n
+ umask 077
+ CRCsum=3945225848
+ MD5=6ec4e617e8ed15e4612e05e0a8ad18cd
+ SHA=0000000000000000000000000000000000000000000000000000000000000000
+ TMPROOT=/tmp
+ USER_PWD=/tmp/test
+ export USER_PWD
+ ARCHIVE_DIR=.
+ export ARCHIVE_DIR
+ label='Makeself v2.4.2'
+ script=echo
+ scriptargs='Makeself has extracted itself'
+ cleanup_script=''
+ licensetxt=''
+ helpheader=''
+ targetdir=makeself-2.4.2
+ filesizes=31397
+ keep=y
+ nooverwrite=n
+ quiet=n
+ accept=n
+ nodiskspace=n
+ export_conf=n
+ decrypt_cmd=''
+ skip=668
+ print_cmd_arg=''
+ type printf
+ print_cmd=printf
+ test -d /usr/xpg4/bin
+ test -d /usr/sfw/bin
+ unset CDPATH
+ finish=true
+ xterm_loop=''
+ noprogress=n
+ nox11=n
+ copy=none
+ ownership=n
+ verbose=n
+ cleanup=y
+ cleanupargs=''
+ initargs=''
+ true
+ break
+ test xn '=' xy -a xn '=' xy
+ id -u
+ test xn '=' xy -a 0 -ne 0
+ test xnone '!=' xphase2
+ MS_PrintLicense
+ test x '!=' x
+ test xn '=' xn
+ tty -s
+ :
+ test xmakeself-2.4.2 '=' x.
+ test xy '=' xy
+ test xn '=' xy
+ test xn '=' xn
+ echo 'Creating directory makeself-2.4.2'
Creating directory makeself-2.4.2
+ tmpdir=makeself-2.4.2
+ dashp=-p
+ mkdir -p makeself-2.4.2
+ pwd
+ location=/tmp/test
+ test x '!=' x1
+ MS_Check makeself-2.4.2.run
+ 
OLD_PATH=/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:
+ 
PATH=/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/bin:/usr/local/bin:/opt/openssl/bin
+ MD5_ARG=''
+ exec
+ MD5_PATH=''
+ test -x ''
+ exec
+ MD5_PATH=/sbin/md5
+ test -x /sbin/md5
+ 
PATH=/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=/usr/local/bin/shasum
+ test -x /usr/local/bin/shasum
+ test xn '=' 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=16914
+ verb=''
+ i=1
+ echo 3945225848
+ cut '-d ' -f1
+ crc=3945225848
+ test -x /usr/local/bin/shasum
+ basename /usr/local/bin/shasum
+ test xshasum '=' xshasum
+ SHA_ARG='-a 256'
+ echo 0000000000000000000000000000000000000000000000000000000000000000
+ cut '-d ' -f1
+ sha=0000000000000000000000000000000000000000000000000000000000000000
+ test x0000000000000000000000000000000000000000000000000000000000000000 
'=' x0000000000000000000000000000000000000000000000000000000000000000
+ test x '=' xy
+ test -x /sbin/md5
+ basename /sbin/md5
+ test xmd5 '=' xdigest
+ echo 6ec4e617e8ed15e4612e05e0a8ad18cd
+ cut '-d ' -f1
+ md5=6ec4e617e8ed15e4612e05e0a8ad18cd
+ test x6ec4e617e8ed15e4612e05e0a8ad18cd '=' 
x00000000000000000000000000000000
+ MS_dd_Progress makeself-2.4.2.run 16914 31397
+ test xn '=' xy
+ file=makeself-2.4.2.run
+ offset=16914
+ length=31397
+ pos=0
+ bsize=4194304
+ test 4194304 -gt 31397
+ expr 4194304 / 4
+ eval '/sbin/md5 '
+ /sbin/md5
+ cut -b-32
+ bsize=1048576
+ test 1048576 -gt 31397
+ expr 1048576 / 4
+ bsize=262144
+ test 262144 -gt 31397
+ expr 262144 / 4
+ bsize=65536
+ test 65536 -gt 31397
+ expr 65536 / 4
+ bsize=16384
+ test 16384 -gt 31397
+ expr 31397 / 16384
+ blocks=1
+ expr 31397 % 16384
+ bytes=15013
+ dd 'ibs=16914' 'skip=1' 'count=0'
+ expr 0 + 16384
+ pos=16384
+ MS_Printf '     0%% '
+ printf '     0%% '
      0% + test 1 -gt 0
+ test 16384 -le 31397
+ dd 'bs=16384' 'count=1'
+ expr 31397 / 100
+ pcent=313
+ expr 16384 / 313
+ pcent=52
+ 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=32768
+ test 32768 -le 31397
+ test 15013 -gt 0
+ dd 'bs=15013' 'count=1'
+ MS_Printf '\b\b\b\b\b\b\b'
+ printf '\b\b\b\b\b\b\b'
+ MS_Printf ' 100%%  '
+ printf ' 100%%  '
  100%  + md5sum=6ec4e617e8ed15e4612e05e0a8ad18cd
+ test x6ec4e617e8ed15e4612e05e0a8ad18cd '!=' 
x6ec4e617e8ed15e4612e05e0a8ad18cd
+ test xn '=' xn
+ MS_Printf ' MD5 checksums are OK.'
+ printf ' MD5 checksums are OK.'
  MD5 checksums are OK.+ crc=0000000000
+ verb=n
+ test x0000000000 '=' x0000000000
+ test xn '=' xy
+ expr 1 + 1
+ i=2
+ expr 16914 + 31397
+ offset=48311
+ test xn '=' xn
+ echo ' All good.'
  All good.
+ head -n 668 makeself-2.4.2.run
+ wc -c
+ tr -d ' '
+ offset=16914
+ test xn '=' xy
+ test xn '=' xn
+ test xn '=' xopenssl
+ MS_Printf 'Uncompressing Makeself v2.4.2'
+ printf 'Uncompressing Makeself v2.4.2'
Uncompressing Makeself v2.4.2+ res=3
+ test xy '=' xn
+ test xn '=' xn
+ MS_diskspace makeself-2.4.2
+ df -kP makeself-2.4.2
+ tail -1
+ awk '{ if ($4 ~ /%/) {print $3} else {print $4} }'
+ leftspace=21058636
+ test -n 21058636
+ test 21058636 -lt 120
+ MS_dd_Progress makeself-2.4.2.run 16914 31397
+ test xn '=' xy
+ file=makeself-2.4.2.run
+ offset=16914
+ length=31397
+ pos=0
+ bsize=4194304
+ test 4194304 -gt 31397
+ expr 4194304 / 4
+ MS_Decompress
+ test x '!=' x
+ eval 'gzip -cd'
+ gzip -cd
+ cd makeself-2.4.2
+ umask 0022
+ UnTAR xp
+ test xn '=' xn
+ tar xpvf -
+ bsize=1048576
+ test 1048576 -gt 31397
+ expr 1048576 / 4
+ bsize=262144
+ test 262144 -gt 31397
+ expr 262144 / 4
+ bsize=65536
+ test 65536 -gt 31397
+ expr 65536 / 4
+ bsize=16384
+ test 16384 -gt 31397
+ expr 31397 / 16384
+ blocks=1
+ expr 31397 % 16384
+ bytes=15013
+ dd 'ibs=16914' 'skip=1' 'count=0'
+ expr 0 + 16384
+ pos=16384
+ MS_Printf '     0%% '
+ printf '     0%% '
      0% + test 1 -gt 0
+ test 16384 -le 31397
+ dd 'bs=16384' 'count=1'
+ expr 31397 / 100
+ pcent=313
+ expr 16384 / 313
+ pcent=52
+ 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=32768
+ test 32768 -le 31397
+ test 15013 -gt 0
+ dd 'bs=15013' 'count=1'
+ 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20210115/47645e71/attachment.sig>


More information about the freebsd-ports mailing list