Tried emerging tw_cli, and it failed to unpack the tarball I downloaded. Kingtaco asked me to try it out as he originally encountered this issue. The failure I get is shown below. I will attach a patch which fixes it for me - it is inspired by the way the nvidia-kernel module handles a very similar situation. cryos ~ # emerge -v tw_cli Calculating dependencies ...done! >>> emerge (1 of 1) sys-block/tw_cli-2.00.00.042 to / >>> md5 src_uri ;-) tw_cli-linux-x86_64.tgz * This binary should support all current cards, including, but * not limited to: * PATA: 7210, 7410, 7450, 7810, 7850, 7000-2, 7500-4, 7500-8, * 7500-12, 7006-2, 7506-4, 7506-4LP, 7506-8, 7506-12 * SATA: 8500-4, 8500-8, 8500-12, 8006-2, 8506-4, 8506-12, * 8506-8MI, 8506-12MI, 9500S-4LP, 9500S-8, 9500S-12, * 9500S-8MI, 9500S-12MI >>> Unpacking source... x86? ( tw_cli-linux-x86.tgz ) amd64? ( tw_cli-linux-x86_64.tgz ) >>> Unpacking x86? to /var/tmp/portage/tw_cli-2.00.00.042/work unpack x86?: file format not recognized. Ignoring. >>> Unpacking ( to /var/tmp/portage/tw_cli-2.00.00.042/work unpack (: file format not recognized. Ignoring. >>> Unpacking tw_cli-linux-x86.tgz to /var/tmp/portage/tw_cli-2.00.00.042/work tar: /usr/portage/distfiles/tw_cli-linux-x86.tgz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors !!! ERROR: sys-block/tw_cli-2.00.00.042 failed. !!! Function unpack, Line 365, Exitcode 2 !!! failure unpacking tw_cli-linux-x86.tgz !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 55697 [details, diff] tw_cli-2.00.00.042.diff Patch against the ebuild currently in the tree.
fixed it now, and cleaned up the ebuild slightly.