ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Build failing on hotplug


From: Stuart Hughes
Subject: Re: [Ltib] Build failing on hotplug
Date: Fri, 21 Nov 2008 11:02:54 +0000

Hi James,

I've updated the hotplug.spec file on Savannah CVS.  It should now work
correctly with Ubuntu.

Regards, Stuart

On Fri, 2008-11-21 at 08:56 +0000, Stuart Hughes wrote:
> Hi James,
> 
> It looks like you're the dash shell (echo $SHELL), this doesn't support
> the shell expansion: a/{b,c}
> 
>       `etc/hotplug/{*.{agent,rc},hotplug.functions}': No such file or
> 
> I need to go in and patch this package.  In the mean time, the simplest
> work around is to switch to using the bash shell (set /bin/sh
> -> /bin/bash).
> 
> Regards, Stuart
> 
> On Thu, 2008-11-20 at 15:21 -0500, Turner, James wrote:
> > I’m new to ltib, trying to build for an imx27ads, I’m getting this
> > error during the build on an Ubuntu 8.04 box:
> > 
> > Processing: hotplug
> > =====================
> > rpmbuild --dbpath /home/turner/ltib/ltib/rootfs//var/lib/rpm --target
> > arm --define '_unpackaged_files_terminate_build 0' --define
> > '_target_cpu arm' --define '__strip strip' --define
> > '_topdir /home/turner/ltib/ltib/rpm' --define '_prefix /usr' --define
> > '_tmppath /home/turner/ltib/ltib/tmp' --define
> > '_mandir /usr/share/man' --define '_sysconfdir /etc' --define
> > '_localstatedir /var' -bi --short-circuit
> >  /home/turner/ltib/ltib/dist/lfs-5.1/hotplug/hotplug.spec
> > Building target platforms: arm
> > Building for target arm
> > Executing(%install): /bin/sh
> > -e /home/turner/ltib/ltib/tmp/rpm-tmp.78253
> > + umask 022
> > + cd /home/turner/ltib/ltib/rpm/BUILD
> > + cd hotplug-2004_03_29
> > + rm -rf /home/turner/ltib/ltib/tmp/hotplug
> > + make install
> > prefix=/home/turner/ltib/ltib/tmp/hotplug//opt/freescale/rootfs/arm
> > /usr/bin/install -c -D
> > sbin/hotplug 
> > /home/turner/ltib/ltib/tmp/hotplug//opt/freescale/rootfs/arm/sbin/hotplug
> > /usr/bin/install -c
> > -d 
> > /home/turner/ltib/ltib/tmp/hotplug//opt/freescale/rootfs/arm/etc/hotplug/{usb,pci}
> > /usr/bin/install -c -D
> > etc/hotplug.d/default/default.hotplug 
> > /home/turner/ltib/ltib/tmp/hotplug//opt/freescale/rootfs/arm/etc/hotplug.d/default/default.hotplug
> > for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \
> >         /usr/bin/install -c
> > $F /home/turner/ltib/ltib/tmp/hotplug//opt/freescale/rootfs/arm/etc/hotplug 
> > ; \
> >         done
> > /usr/bin/install: cannot stat
> > `etc/hotplug/{*.{agent,rc},hotplug.functions}': No such file or
> > directory
> > make: *** [install] Error 1
> > error: Bad exit status from /home/turner/ltib/ltib/tmp/rpm-tmp.78253
> > (%install)
> > 
> > 
> > RPM build errors:
> >     Bad exit status from /home/turner/ltib/ltib/tmp/rpm-tmp.78253 (%
> > install)
> > Build time for hotplug: 0 seconds
> > 
> > 
> > Here’s my .config
> > 
> > # Automatically generated make config: don't edit
> > # LTIB version: LTIB_RELEASE
> > #
> > CONFIG_CONFIG_TITLE="GNU/Linux Target Image Builder : Platform
> > Selection"
> > # CONFIG_PLATFORM_cobra5475 is not set
> > # CONFIG_PLATFORM_imx21ads is not set
> > CONFIG_PLATFORM_imx27ads=y
> > # CONFIG_PLATFORM_imx31ads is not set
> > # CONFIG_PLATFORM_m520xevb is not set
> > # CONFIG_PLATFORM_m5253evb is not set
> > # CONFIG_PLATFORM_m532xevb is not set
> > # CONFIG_PLATFORM_m537xevb is not set
> > # CONFIG_PLATFORM_mcf5445x is not set
> > # CONFIG_PLATFORM_mcf547x_8x is not set
> > # CONFIG_PLATFORM_mpc5200 is not set
> > # CONFIG_PLATFORM_mpc7448hpcii is not set
> > # CONFIG_PLATFORM_mpc82xx is not set
> > # CONFIG_PLATFORM_mpc8349emds is not set
> > # CONFIG_PLATFORM_mpc8349itx is not set
> > # CONFIG_PLATFORM_mpc8360epb is not set
> > # CONFIG_PLATFORM_mpc8548cds is not set
> > # CONFIG_PLATFORM_mpc8555cds is not set
> > # CONFIG_PLATFORM_mpc8560ads is not set
> > # CONFIG_PLATFORM_mpc860fads is not set
> > # CONFIG_PLATFORM_mpc8641hpcn is not set
> > # CONFIG_PLATFORM_qs875s is not set
> > # CONFIG_PLATFORM_tqm823l is not set
> > # CONFIG_PLATFORM_ucdimm_dbvz is not set
> > CONFIG_PLATFORM_DIR="config/platform/imx27ads"






reply via email to

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