ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Qtopia 2 p- timezone package won't build?


From: Gary Epperhart
Subject: [Ltib] Qtopia 2 p- timezone package won't build?
Date: Thu, 20 Jan 2011 08:33:13 -0800 (PST)

Hello, I am trying to build Qtopia 2 for the phytec LPC3250 board using 
the quickstart guide dated December 2010.  
My development machine is running openSUSE 11.3
Toolchain is ARMv5te gcc-4.1.2, Multi-lib, gnueabi/glibc-2.5nprl-3
Kernel (tftp) and rootfs (nfs) are on the dev machine.

I have installed xorg-x11-devel, libjpeg-devel, zlib-devel and libuuid-devel as 
indicated in the QS guide... 

I don't seem to be able to get past building timezone package.  I do a “sudo 
zypper install timezone”, the timezone package is up to date.

Looking at the output it appears to me that the binary zic is failing to run?  
I 
have tried manually to run it "./zic --version" or "sudo ./zic --version" from 
the directory /home/gepperhart/lpc3250/ltib/rpm/BUILD/timezone-2006n. "cannot 
execute binary file" is returned.
I did note a version of zic exists in /usr/sbin that does return "@(#)zic.c     
8.2" 

I have included the output from the timezone portion of the qtopia failed build 
below.  
Thanks in advance I am somewhat new to embedded Linux...
Gary



Processing: timezone
======================
Build path taken because: directory build, no prebuilt rpm, 
scbuild/scdeploy already unpacked package

Processing: timezone
======================
Build path taken because: directory build, build key set, no prebuilt rpm, 

rpmbuild --dbpath /home/gepperhart/lpc3250/ltib/rootfs//var/lib/rpm --target 
arm 
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' 
--define '__strip strip' --define '_topdir /home/gepperhart/lpc3250/ltib/rpm' 
--define '_prefix /usr' --define '_tmppath /home/gepperhart/lpc3250/ltib/tmp' 
--define '_rpmdir /home/gepperhart/lpc3250/ltib/rpm/RPMS'  --define '_mandir 
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc 
--short-circuit  
/home/gepperhart/lpc3250/ltib/dist/lfs-5.1/timezone/timezone.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/gepperhart/lpc3250/ltib/tmp/rpm-tmp.88025
+ umask 022
+ cd /home/gepperhart/lpc3250/ltib/rpm/BUILD
+ cd timezone-2006n
+ make 'HOST_CC=ccache /usr/bin/gcc -B/usr/bin//' 'TOPDIR=%{__prefix}' 
TZDIR=/usr/share/zoneinfo ETCDIR=/usr/usr/bin
make: Nothing to be done for `all'.
+ exit 0
Build time for timezone: 0 seconds


Processing: timezone
======================
Build path taken because: directory build, build key set, no prebuilt rpm, 

rpmbuild --dbpath /home/gepperhart/lpc3250/ltib/rootfs//var/lib/rpm --target 
arm 
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' 
--define '__strip strip' --define '_topdir /home/gepperhart/lpc3250/ltib/rpm' 
--define '_prefix /usr' --define '_tmppath /home/gepperhart/lpc3250/ltib/tmp' 
--define '_rpmdir /home/gepperhart/lpc3250/ltib/rpm/RPMS'  --define '_mandir 
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bi 
--short-circuit  
/home/gepperhart/lpc3250/ltib/dist/lfs-5.1/timezone/timezone.spec
Building target platforms: arm
Building for target arm
Executing(%install): /bin/sh -e /home/gepperhart/lpc3250/ltib/tmp/rpm-tmp.88025
+ umask 022
+ cd /home/gepperhart/lpc3250/ltib/rpm/BUILD
+ cd timezone-2006n
+ rm -rf /home/gepperhart/lpc3250/ltib/tmp/timezone
+ make -j1 install 
MANDIR=/home/gepperhart/lpc3250/ltib/tmp/timezone//opt/freescale/rootfs/arm//usr/share/man
TZDIR=/home/gepperhart/lpc3250/ltib/tmp/timezone//opt/freescale/rootfs/arm//usr/share/zoneinfo
o 
TOPDIR=/home/gepperhart/lpc3250/ltib/tmp/timezone//opt/freescale/rootfs/arm//usr
 
ETCDIR=/home/gepperhart/lpc3250/ltib/tmp/timezone//opt/freescale/rootfs/arm//usr/bin

./zic  -y ./yearistype -d 
/home/gepperhart/lpc3250/ltib/tmp/timezone//opt/freescale/rootfs/arm//usr/share/zoneinfo
 -L /dev/null africa antarctica asia australasia europe northamerica 
southamerica pacificnew etcetera factory backward systemv solar87 solar88 
solar89
./zic: ./zic: cannot execute binary file
make: *** [posix_only] Error 126
error: Bad exit status from /home/gepperhart/lpc3250/ltib/tmp/rpm-tmp.88025 
(%install)


RPM build errors:
    Bad exit status from /home/gepperhart/lpc3250/ltib/tmp/rpm-tmp.88025 
(%install)
Build time for timezone: 1 seconds

Failed building timezone


f_buildrpms() returned an error, exiting
traceback:
main:561


Started: Thu Jan 20 09:37:05 2011
Ended:   Thu Jan 20 09:43:40 2011
Elapsed: 395 seconds

These packages failed to build:
timezone 

Build Failed







reply via email to

[Prev in Thread] Current Thread [Next in Thread]