Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648412 - unpacker.eclass: unpack_makeself fails with "Makeself version 2.1.1" archive
Summary: unpacker.eclass: unpack_makeself fails with "Makeself version 2.1.1" archive
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-21 17:32 UTC by Diogo Pereira
Modified: 2018-02-21 20:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
First 8983 bytes of Mathematica_11.2.0_LINUX.sh (Mathematica_11.2.0_LINUX.sh.header,8.77 KB, text/plain)
2018-02-21 17:32 UTC, Diogo Pereira
Details
First 8983 bytes of Mathematica_11.2.0_LINUX.sh (Mathematica_11.2.0_LINUX.sh.header,8.77 KB, text/plain)
2018-02-21 17:35 UTC, Diogo Pereira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diogo Pereira 2018-02-21 17:32:10 UTC
Created attachment 520384 [details]
First 8983 bytes of Mathematica_11.2.0_LINUX.sh

I have an archive that claims to have been generated by Makeself 2.1.1, but unpack_makeself fails to extract it.

Looking at the archive header (attached), I found this line:
  offset=`head -n 387 "$0" | wc -c | tr -d " "`
which is in the format that unpack_makeself expects for archives created by Makeself 2.1.4-2.2.0.

I managed to extract the archive by using the commands in unpack_makeself for versions 2.1.4-2.2.0 to calculate the offset, and then passing the offset to unpack_makeself.
Comment 1 Diogo Pereira 2018-02-21 17:35:05 UTC
Created attachment 520386 [details]
First 8983 bytes of Mathematica_11.2.0_LINUX.sh

Please ignore the other attachment, it was a modified version for testing. This is the real header.