From owner-freebsd-ports@freebsd.org Sat Jan 16 03:11:14 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4954146F7BA for ; Sat, 16 Jan 2021 03:11:14 +0000 (UTC) (envelope-from ed.arrakis@gmail.com) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DHjk90k2vz4jhV for ; Sat, 16 Jan 2021 03:11:12 +0000 (UTC) (envelope-from ed.arrakis@gmail.com) Received: by mail-ed1-x52d.google.com with SMTP id d22so689704edy.1 for ; Fri, 15 Jan 2021 19:11:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=faP8XTAoLa2f0hdaZ8G7HkB4dM8AKGnl6q0n3Qwum2o=; b=DAE/ZUVi/BymoysV95Nd7sGGLETXnNVHkA4+iKkJWWtXgX+MuHJR41F1vF6cytlIXl bI220WdjN0bVBZSZ/TwcJarNxuYghNd9+fxwuhYhzlTUsQwRdfjFJ184S8Lzt8XDLgo0 Vxwt+P90BYBA8BKHKyY/qDd+2VdvGOIYKoKUkElwKkcy82cDSeT2FkmCwkUsEZ/qO2B3 TXanrzAQpdxiblkuXA85hHboawCG51rbuwJpbY8hj0oD8LppJwGH06hbji8gEE+lyU09 BgQZ5Zoc06wa92ohhT7XvVdP0WnHA3029BbVYX6L2CO1QvrYblkg2rW07GAfDtM4rJ0i 5iEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=faP8XTAoLa2f0hdaZ8G7HkB4dM8AKGnl6q0n3Qwum2o=; b=B42/6ZLT01ef88LUVaIAnJuw9I3AqZAr3xLY30sEsPFX8LEwPzaQ+2eV4VbzbAJfYt qEzpL9RaWpti62EleuUP3RsalKCYZeQwWxlQS3gHpfLKocEtjnbFYU+QAzrMY7+PM3df ZpPG6klrjSjjF0SeJxr0Jj1dnOwTlRdDp1x4JNzidbs5B4YXdnkVEufo1SmiKuFyeYxv DkMqo7Y0qWlFDAajvwP2t/3RhWJnPFfQVV3POwzlJXpfNrgAt1KtZzNTgVil3OhRjx1d 17kM29/832Jmt96/7FIKS3gzihwCw00RQPS+1YCo/1fig8bLgPGyLyuv6VAzOQGkBjJj RcVw== X-Gm-Message-State: AOAM533s3qG+ump5mQ5c7TNfMgoiFqodJq2AfKLAx75o3ruVjfpDHUgh b9kSWe/uoi4PO+vSqZwJmJb/cl5j5xIlrNlHeqUl3ha9Wu4= X-Google-Smtp-Source: ABdhPJxUaezM3eOp1ykcRVdTYlnySjSYcFmd11wY+H27L6jw0iVbsRHGIZu/DlC+sxrJCrflyq4bJvDN5v7imHZhCAU= X-Received: by 2002:a50:8741:: with SMTP id 1mr12024059edv.349.1610766671532; Fri, 15 Jan 2021 19:11:11 -0800 (PST) MIME-Version: 1.0 References: <2b473ccb-39ef-ea9a-17d1-d3df38f3457c@FreeBSD.org> In-Reply-To: <2b473ccb-39ef-ea9a-17d1-d3df38f3457c@FreeBSD.org> From: Nuno Teixeira Date: Sat, 16 Jan 2021 03:10:59 +0000 Message-ID: Subject: Re: Testing official self-extract makeself .run fails to extract / anyone could test it? To: FreeBSD Mailing List X-Rspamd-Queue-Id: 4DHjk90k2vz4jhV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DAE/ZUVi; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of edarrakis@gmail.com designates 2a00:1450:4864:20::52d as permitted sender) smtp.mailfrom=edarrakis@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::52d:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::52d:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 03:11:14 -0000 Thank you for testing. I will do further tests with older releases too and hope that upstream fixes it. Thanks DutchDaemon - FreeBSD Forums Administrator 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 > >