Hi Lukasz,
I can't really support this package as I don't use/build qtopia.
However looking at the .spec file, something must have gone wrong in the
%prep phase when you first tried to build it as it is this which
creates the build directory. Look at the end of the %prep section and
you'll see:
# Create build dir
mkdir ../build
My advice would be to remove rpm/BUILD/qtopia-4-4.3.0, re-run and then
analyse why the %prep phase is not creating the build directory. Maybe
your platform is not supported for this package (which one is it?)
Regards, Stuart
Lukasz Gesieniec wrote:
Hi,
I have a problem with qtopia-4 package, please help.
Processing: qtopia-4
======================
Build path taken because: directory build, force set, build key set, no
prebuilt rpm,
rpmbuild --dbpath /home/lukaszge/ltib/rootfs//var/lib/rpm --target arm
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu
arm' --define '__strip strip' --define '_topdir /home/lukaszge/ltib/rpm'
--define '_prefix /usr' --define '_tmppath /home/lukaszge/ltib/tmp'
--define '_rpmdir /home/lukaszge/ltib/rpm/RPMS' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
/var' -bc --short-circuit
/home/lukaszge/ltib/dist/lfs-5.1/qtopia/qtopia-4.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/lukaszge/ltib/tmp/rpm-tmp.9540
+ umask 022
+ cd /home/lukaszge/ltib/rpm/BUILD
+ cd qtopia-4-4.3.0
+ cd build
cd: 1: can't cd to build
error: Bad exit status from /home/lukaszge/ltib/tmp/rpm-tmp.9540
(%build)
RPM build errors:
Bad exit status from /home/lukaszge/ltib/tmp/rpm-tmp.9540 (%build)
Build time for qtopia-4: 0 seconds
Failed building qtopia-4
Regards,
Lukasz