TZDB 2023c build issues with ARM busybox
Hi Team, I am trying to compile the TZDB in ARM busysbox version: 2023c After compiling the executable during the installation stage, got an error while trying to create the timezone files using tzdata.zi. Could you please help on what is wrong here? make BACKWARD='backward' DESTDIR='/home/rajesh/code/iss/build/ISS-MVL-ARM-IM/niagara-staging/tmp/tz' LEAPSECONDS='' PACKRATDATA='' PACKRATLIST='' TZDEFAULT='/etc/localtime' TZDIR='/usr/share/zoneinfo' ZIC='./zic ' LEAPSECONDS= install_data make[1]: Entering directory '/home/rajesh/code/iss/build/ISS-MVL-ARM-IM/tz/tz-2023c' ./zic -v -d '/home/rajesh/code/iss/build/ISS-MVL-ARM-IM/niagara-staging/tmp/tz/usr/share/zoneinfo' tzdata.zi *./zic: 1: Syntax error: word unexpected (expecting ")")* make[1]: *** [Makefile:697: install_data] Error 2 File format for the executable: file zic is linked with the expected host architecture. *zic*: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=48cd5d62692908a4f58468f5077d4187fe06c825, not stripped Regards, Rajesh
On 2023-07-09 18:12, Rajesh Subramanian via tz wrote:
*./zic: 1: Syntax error: word unexpected (expecting ")")*
You are trying to run 'zic' on the wrong architecture. Change either your compiler or your run platform. https://stackoverflow.com/questions/36725864/syntax-error-word-unexpected-ex...
On Jul 10, 2023, at 12:43 PM, Paul Eggert via tz <tz@iana.org> wrote:
You are trying to run 'zic' on the wrong architecture. Change either your compiler or your run platform.
https://stackoverflow.com/questions/36725864/syntax-error-word-unexpected-ex...
(Does somebody have a time machine they could lend me? I'd like to go back to the mid-1970s and 1) convince ken and dmr to implement #! back in the exec calls in V6 or even earlier; 2) having done that, convince all shell writers *not* to treat an ENOEXEC as meaning "run that file as a script in a subshell".)
participants (4)
-
Guy Harris -
Paul Eggert -
Rajesh Subramanian -
Sanjeev Gupta