Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: Richard Ketcham on September 12, 2017, 12:31:56 PM

Title: lzop in x86 repo is ARM
Post by: Richard Ketcham on September 12, 2017, 12:31:56 PM
I recently updated to 8.1.1, and as I was figuring out what the hell is wrong lzop.tcz,


tc@box:~$ lzop
/usr/local/bin/lzop: line 1: Syntax error: word unexpected (expecting ")")


when I had a "deja-vu" moment, recalling that I went down this road a few years and a few tinycore versions ago, and after much frustration figured out the problem: lzop.tcz in
http://repo.tinycorelinux.net/8.x/x86/tcz/ (http://repo.tinycorelinux.net/8.x/x86/tcz/)
is an ARM binary!  And it seems like I remember having posted back then.  Now I understand how mistakes can happen, but I am surprised this has not been fixed after all these years.

Sorry, but I don't know my way around to fix it myself.  I found the statically compiled lzop that I used last time around and will use it again for a workaround.

Thank you TC developers. Tinycore is extremely cool.
Ricky
Title: Re: lzop in x86 repo is ARM
Post by: Juanito on September 12, 2017, 11:38:24 PM
indeed:
Code: [Select]
$ file /tmp/tcloop/lzop/usr/local/bin/lzop
/tmp/tcloop/lzop/usr/local/bin/lzop: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.27, stripped
Title: Re: lzop in x86 repo is ARM
Post by: Juanito on September 12, 2017, 11:52:53 PM
x86 version posted - thanks for reporting this
Title: Re: lzop in x86 repo is ARM
Post by: Rich on September 13, 2017, 04:39:54 AM
Hi Juanito
The info file was identical from TC5 through TC8 so it's likely TC5 through TC7 are also ARM binaries.
Title: Re: lzop in x86 repo is ARM
Post by: Juanito on September 14, 2017, 01:15:38 AM
also updated in tc-5.x thru' tc-7.x repos
Title: Re: lzop in x86 repo is ARM
Post by: Richard Ketcham on September 14, 2017, 09:11:45 AM
Thanks! TinyCore rocks!