ltib
[Top][All Lists]
Advanced

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

[Ltib] LTIB scdeploy/scinstall problem


From: Nishanth Satyanarayana
Subject: [Ltib] LTIB scdeploy/scinstall problem
Date: Tue, 12 Oct 2010 15:59:12 -0700

Hello,

 

I am trying to install an app in rootfs.

I am able to go past the “-m prep” step and the “-m scbuild” step.

However, at “-m scinstall” and “-m scdeploy”, my build fails:

With a “File not found” error when “processing files: gn-gps-0.0-1”

My app is gn_gps-0.0

 

Any sort of help would be very much appreciated.

Thank you.

 

Here’s the output:

Along with my spec file:

 

 

address@hidden ltib]$ ./ltib -p gn_gps.spec -m scdeploy

Don't have HTTP::Request::Common

Don't have LWP::UserAgent

Cannot test proxies, or remote file availability without both

HTTP::Request::Common and LWP::UserAgent

 

Processing: gn_gps

====================

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

 

rpmbuild --dbpath /home/developer/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/developer/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/developer/ltib/tmp' --define '_rpmdir /home/developer/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bi --short-circuit  /home/developer/ltib/dist/lfs-5.1/gn_gps/gn_gps.spec

Building target platforms: arm

Building for target arm

sh: pfx: command not found

sh: pfx: command not found

sh: pfx: command not found

Executing(%install): /bin/sh -e /home/developer/ltib/tmp/rpm-tmp.10700

+ umask 022

+ cd /home/developer/ltib/rpm/BUILD

+ cd gn_gps-0.0

+ rm -rf /home/developer/ltib/tmp/gn_gps

+ mkdir -p /home/developer/ltib/tmp/gn_gps//bin

+ cp GN_GPS/gn_gps /home/developer/ltib/tmp/gn_gps//bin

+ cp GN_GPS/run_gn_gps.sh /home/developer/ltib/tmp/gn_gps//bin

+ exit 0

Processing files: gn_gps-0.0-1

error: File not found by glob: /home/developer/ltib/tmp/gn_gps/opt/freescale/rootfs/arm/*

 

 

RPM build errors:

    File not found by glob: /home/developer/ltib/tmp/gn_gps/opt/freescale/rootfs/arm/*

Build time for gn_gps: 0 seconds

 

Failed building gn_gps

 

 

f_scdeploy() returned an error, exiting

traceback:

 main:567

 

Exiting on error or interrupt

address@hidden ltib]$

 

 

Spec File:::gn_gps.spec::::

 

 

%define pfx /opt/freescale/rootfs/%{_target_cpu}

 

Summary         : ST Ericsson aGPS Software

Name            : gn_gps

Version         : 0.0

Release         : 1

License         : xxxx

Vendor          : Symmetricom

Packager        : Greg Dowd

Group           : xxxx

URL             : http://www.symmetricom.com

Source          : %{name}-%{version}.tar.gz

BuildRoot       : %{_tmppath}/%{name}

Prefix          : %{pfx}

 

%Description

%{summary}

 

%Prep

%setup

 

%Build

cd GN_GPS && make

 

%Install

rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/%(pfx)/bin

cp GN_GPS/gn_gps $RPM_BUILD_ROOT/%(pfx)/bin

cp GN_GPS/run_gn_gps.sh $RPM_BUILD_ROOT/%(pfx)/bin

 

%Clean

rm -rf $RPM_BUILD_ROOT

 

%Files

%defattr(-,root,root)

%{pfx}/*

 

 

Also, After the process fails, the directory - /home/developer/ltib/tmp/gn_gps/opt – does not seem to exist.  So I’m thining I’m missing something in the %Install step.

 

Thanks,

Nishanth

 


reply via email to

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