Hi Hubert, Do as Daniel suggests and also remove /opt/ltib/pkg/mtd-utils-20080618.tar.bz2*
If the problem persists, take a look at this file and find out what it contains (e.g is it a valid file, or a server error page etc). Regards, Stuart On 28/04/11 07:07, Wu, Hubert wrote: > Hi, please refer below of my issue. > > > > > > Processing: mtd-utils > > ======================= > > Build path taken because: no prebuilt rpm, > > > > rpmbuild --dbpath /home/Hubert/ltib/rootfs//var/lib/rpm --target arm > --define '_unpackaged_files_terminate_build 0' --define '_target_cpu > arm' --define '__strip strip' --define '_topdir /home/Hubert/ltib/rpm' > --define '_prefix /usr' --define '_tmppath /home/Hubert/ltib/tmp' > --define '_rpmdir /home/Hubert/ltib/rpm/RPMS' --define '_mandir > /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir > /var' -bb --clean --rmsource > /home/Hubert/ltib/dist/lfs-5.1/mtd-utils/mtd-utils.spec > > Building target platforms: arm > > Building for target arm > > Executing(%prep): /bin/sh -e /home/Hubert/ltib/tmp/rpm-tmp.48794 > > + umask 022 > > + cd /home/Hubert/ltib/rpm/BUILD > > + cd /home/Hubert/ltib/rpm/BUILD > > + rm -rf mtd-utils > > + tar -xvvf /home/Hubert/ltib/rpm/SOURCES/mtd-utils-20080618.tar.bz2 > > tar: This does not look like a tar archive > > bzip2: (stdin) is not a bzip2 file. > > tar: Child returned status 2 > > tar: Error is not recoverable: exiting now > > error: Bad exit status from /home/Hubert/ltib/tmp/rpm-tmp.48794 (%prep) > > > > > > RPM build errors: > > Bad exit status from /home/Hubert/ltib/tmp/rpm-tmp.48794 (%prep) > > Build time for mtd-utils: 0 seconds > > > > Failed building mtd-utils > > > > > > f_buildrpms() returned an error, exiting > > traceback: > > main:567 > > > > > > Started: Thu Apr 28 13:48:32 2011 > > Ended: Thu Apr 28 13:54:10 2011 > > Elapsed: 338 seconds > > > > VERSION : 10.1.1 > > CVS_VERSION : $Revision: 1.75 $ (Savannah) > > PLATFORM : ea3250 > > GNUTARCH : arm > > TOOLCHAIN : tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm > > TOOLCHAIN_CFLAGS : -O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp > > > > These packages failed to build: > > mtd-utils > > > > Build Failed > > > > Exiting on error or interrupt > > [Hubert@localhost ltib]$ > > > > /Best Regards/ > > /Hubert Wu (//吳建樺//)/ > > /Technical Marketing Engineer/ > > /Avnet Electronics Marketing/ > > DID: +886 2 81705628 > > Mobile: +886 939862238 > > FAX: +886 2 26558655 > > Email: [email protected] <mailto:[email protected]> > > www.avnet.com > > > > > > _______________________________________________ > LTIB home page: http://ltib.org > > Ltib mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/ltib _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
