Processing platform: Freescale iMX5x Based Boards
===================================================
using config/platform/imx/.config
Processing: hello
===================
dropping %{hello} in spec token: sources
dropping %{1.0} in spec token: sources
Build path taken because: no prebuilt rpm,
Testing network connectivity
OK GPP:
Try -.tar.bz2.md5 from the GPP
http://bitshrine.org/gpp/-.tar.bz2.md5:
00:03:44 ERROR 404: Not Found.
Try -.tar.bz2 from the GPP
http://bitshrine.org/gpp/-.tar.bz2:
00:03:44 ERROR 404: Not Found.
Can't get: -.tar.bz2 at ./ltib line 790.
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Wed Apr 11 00:03:35 2012
Ended: Wed Apr 11 00:03:44 2012
Elapsed: 9 seconds
These packages failed to build:
hello
Build Failed
Exiting on error or interrupt
Can any one have idea about this problem as i am not able to rectifying that what is the problem
LTIB is trying to donwload the file -.tar.bz2 instead of YOURAPPLICATION-VERSION.tar.bz2, look:
Try -.tar.bz2.md5 from the GPP
http://bitshrine.org/gpp/-.tar.bz2.md5:
00:03:44 ERROR 404: Not Found.
Try -.tar.bz2 from the GPP
http://bitshrine.org/gpp/-.tar.bz2:
00:03:44 ERROR 404: Not Found.
Can't get: -.tar.bz2 at ./ltib line 790.
Change the name of your application on your spec file.
For u-boot, I would suggest you to build it manually, without LTIB. It's easier.
Hi,
Check your spec file. This seems to be a problem with your spec file.
Hope this helps.
Regards,
Balaji.V
Hi balaji,
# template = u-boot-common.tmpl
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : Universal Bootloader firmware
Name : u-boot
Version : 2009.08
Release : imx_09.12.01
License : GPL
Vendor : Freescale
Packager : MAD
Group : Applications/System
Source : %{name}-%{version}.tar.bz2
Source1 : %{name}-v%{version}-%{release}.tar.bz2
BuildRoot : %{_tmppath}/%{name}
Prefix : %{pfx}
%Description
%{summary}
Open source u-boot v2009.08 version
%Prep
%setup
# A single bz2 file contains all the patches and a series file.
tar jxvf %{SOURCE1}
chmod 755 patches/patch-uboot.sh
./patches/patch-uboot.sh
%Build
: ${PKG_U_BOOT_CONFIG_TYPE:?must be set, e.g. MPC8548CDS_config}
PKG_U_BOOT_PATH_PRECONFIG=$(eval echo $PKG_U_BOOT_PATH_PRECONFIG)
SRC_DIR=${PKG_U_BOOT_PATH_PRECONFIG:-%{_builddir}/%{buildsubdir}}
%{!?showsrcpath: %define showsrcpath 0}
%if %{showsrcpath}
%{echo:%(eval echo ${PKG_U_BOOT_PATH_PRECONFIG:-%{_builddir}/%{buildsubdir}})}
%endif
BUILD_DIR=%{_builddir}/%{buildsubdir}
if [ $SRC_DIR != $BUILD_DIR ]
then
mkdir -p $BUILD_DIR
fi
cd $SRC_DIR
if [ -n "$LTIB_FULL_REBUILD" ]
then
make HOSTCC="$BUILDCC" CROSS_COMPILE=$TOOLCHAIN_PREFIX O=$BUILD_DIR distclean
fi
make HOSTCC="$BUILDCC" CROSS_COMPILE=$TOOLCHAIN_PREFIX O=$BUILD_DIR $PKG_U_BOOT_CONFIG_TYPE
make HOSTCC="$BUILDCC" HOSTSTRIP="$BUILDSTRIP" \
CROSS_COMPILE=$TOOLCHAIN_PREFIX $PKG_U_BOOT_BUILD_ARGS \
O=$BUILD_DIR all
%Install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{pfx}/boot
BUILD_DIR=%{_builddir}/%{buildsubdir}
cd $BUILD_DIR
for i in u-boot.bin u-boot
do
cp $i $RPM_BUILD_ROOT/%{pfx}/boot
done
%Clean
rm -rf $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
%{pfx}/*
this is what my uboot.spec file content. what to change and where to change?
in which place is this spec file?