Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2021 12:52:12 +0100
From:      DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Testing official self-extract makeself .run fails to extract / anyone could test it?
Message-ID:  <2b473ccb-39ef-ea9a-17d1-d3df38f3457c@FreeBSD.org>
In-Reply-To: <CAFDf7U%2B-=H4kb=PYj_bTnjEGnzE_YxL7GZXi3eKXvDmriZgCqw@mail.gmail.com>
References:  <CAFDf7U%2B-=H4kb=PYj_bTnjEGnzE_YxL7GZXi3eKXvDmriZgCqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--tA40WiOr0NePRNsDRO5BTJRRNtOhuPQgG
Content-Type: multipart/mixed; boundary="lTdxtO9h89yar1l9OD5U0NR1QtsB86O1A";
 protected-headers="v1"
From: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org>
To: freebsd-ports@freebsd.org
Message-ID: <2b473ccb-39ef-ea9a-17d1-d3df38f3457c@FreeBSD.org>
Subject: Re: Testing official self-extract makeself .run fails to extract /
 anyone could test it?
References: <CAFDf7U+-=H4kb=PYj_bTnjEGnzE_YxL7GZXi3eKXvDmriZgCqw@mail.gmail.com>
In-Reply-To: <CAFDf7U+-=H4kb=PYj_bTnjEGnzE_YxL7GZXi3eKXvDmriZgCqw@mail.gmail.com>

--lTdxtO9h89yar1l9OD5U0NR1QtsB86O1A
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Language: nl

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/ma=
keself-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...=C2=A0 100%=C2=A0=C2=A0 MD5 checksums are O=
K. All good.
Uncompressing Makeself v2.4.2=C2=A0 100%=C2=A0=C2=A0 ... Extraction faile=
d.
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
+=20
OLD_PATH=3D/techsupp/scripts/BLACKHOLES:/techsupp/scripts/GREYLIST:/techs=
upp/scripts/MCP:/techsupp/scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/game=
s:/usr/local/sbin:/usr/local/bin:/root/bin:
+=20
PATH=3D/techsupp/scripts/BLACKHOLES:/techsupp/scripts/GREYLIST:/techsupp/=
scripts/MCP:/techsupp/scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/u=
sr/local/sbin:/usr/local/bin:/root/bin::/bin:/usr/bin:/sbin:/usr/local/ss=
l/bin:/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
+=20
PATH=3D/techsupp/scripts/BLACKHOLES:/techsupp/scripts/GREYLIST:/techsupp/=
scripts/MCP:/techsupp/scripts:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/u=
sr/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'=20
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 '=C2=A0=C2=A0=C2=A0=C2=A0 0%% '
+ printf '=C2=A0=C2=A0=C2=A0=C2=A0 0%% '
 =C2=A0=C2=A0=C2=A0=C2=A0 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 '=C2=A0=C2=A0 52%% '
+ printf '=C2=A0=C2=A0 52%% '
 =C2=A0=C2=A0 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%%=C2=A0 '
+ printf ' 100%%=C2=A0 '
 =C2=A0100%=C2=A0 + md5sum=3D6ec4e617e8ed15e4612e05e0a8ad18cd
+ test x6ec4e617e8ed15e4612e05e0a8ad18cd '!=3D'=20
x6ec4e617e8ed15e4612e05e0a8ad18cd
+ test xn '=3D' xn
+ MS_Printf ' MD5 checksums are OK.'
+ printf ' MD5 checksums are OK.'
 =C2=A0MD5 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.'
 =C2=A0All 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 '=C2=A0=C2=A0=C2=A0=C2=A0 0%% '
+ printf '=C2=A0=C2=A0=C2=A0=C2=A0 0%% '
 =C2=A0=C2=A0=C2=A0=C2=A0 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 '=C2=A0=C2=A0 52%% '
+ printf '=C2=A0=C2=A0 52%% '
 =C2=A0=C2=A0 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%%=C2=A0 '
+ printf ' 100%%=C2=A0 '
 =C2=A0100%=C2=A0 + test 0 -ne 0
+ echo ' ... Extraction failed.'
 =C2=A0... Extraction failed.
+ kill -15 76644
Terminated

-----------------------

sh -xv output: https://termbin.com/pwdg


--lTdxtO9h89yar1l9OD5U0NR1QtsB86O1A--

--tA40WiOr0NePRNsDRO5BTJRRNtOhuPQgG
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEE9AWUvcZu/lO5r3wZ0R2eb0cya6gFAmABgewFAwAAAAAACgkQ0R2eb0cya6jj
Tg/+Jj4/HoSd1mgC2TvV/mj2X3SGEm1Frtg43m1skJUe7CezA34v/GvRXsA2olUpoZUEikjaqhG5
p8g9VQ/AOWuY0uYh4J78ewfVxI1/st1Rshv+vaH6T+j+Xv/IYHgZ8/bo5lLndmDqMGS6ysIkpiNk
J04UFZen7E8F37xiVnRcRlPm5g8tWbHcfqZzURCj7BFXUyodTtoDe1l8a2bq9aHrqr6tfXIH+nAz
AS3lT/6nSgh+YSHGoczO8ZvXACox9RIjnbDOpzmPCWa19KOJWZj+yV6dHQ01Ew8pQppAlgQdnIgq
Sf2FikIwVji+fLsjVU0F+6k/zHtdpcZxnggotH0pVWXQtowOvjtOkUt0z3yanQkxK9l6QxCLM/Yt
QzmrG39PT0CtWqSxoyktp5IDo7lChB/3gG09XrqaShhGHrTzSEecJiyFNchNj6JP5lkPv9ZkVQwi
eV/pLJZUyUyDqYuDRWCr1XwdBQHmNDThY1VSt6Ox1lSBKot5i3YHOpqzpggNX+Dm4VbLHTvZo0PU
rBHCYYpfuDRsNi9C2BiruENwDu8sAwK2PQi5HWUndEDRhcxcUwirhf9JVhyurJVbySXMjH/RAp51
CA9OmWSOLPpjtxdCCN/nmI9ZT6P0Wn1oOX3cK/0vIU/3p5leB8WHygYyEwqcmthgGTE5uuB2bjkL
rpU=
=nCkH
-----END PGP SIGNATURE-----

--tA40WiOr0NePRNsDRO5BTJRRNtOhuPQgG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b473ccb-39ef-ea9a-17d1-d3df38f3457c>