Greetings everyone,
Just peeking your conversation, qtopia is not compiling in my
environment either, ubuntu 9.04 & iMX27ADS.
This is from my ltib installation, retrieved today with perl netinstall.
address@hidden:/home/ltib.13$ ./ltib -p qtopia
.
..
...
_170_75_t5.qpf qt2/lib/fonts/smoothtimes_220_50.qpf
qt2/lib/fonts/smoothtimes_220_50_t10.qpf
qt2/lib/fonts/smoothtimes_220_50_t15.qpf
qt2/lib/fonts/smoothtimes_220_50_t5.qpf
qt2/lib/fonts/smoothtimes_250_75.qpf
qt2/lib/fonts/smoothtimes_250_75_t10.qpf
qt2/lib/fonts/smoothtimes_250_75_t15.qpf
qt2/lib/fonts/smoothtimes_250_75_t5.qpf
qt2/lib/fonts/smoothtimes_440_75.qpf
qt2/lib/fonts/smoothtimes_440_75_t10.qpf
qt2/lib/fonts/smoothtimes_440_75_t15.qpf
qt2/lib/fonts/smoothtimes_440_75_t5.qpf
qt2/lib/fonts/unifont_160_50.qpf qt2/lib/fonts/unifont_160_50_t10.qpf
qt2/lib/fonts/unifont_160_50_t15.qpf
qt2/lib/fonts/unifont_160_50_t5.qpf qtopia/image/opt/Qtopia/lib/fonts/
cp: target `qtopia/image/opt/Qtopia/lib/fonts/' is not a directory
error: Bad exit status from /home/ltib.13/tmp/rpm-tmp.18375 (%install)
tail -n 50 /home/ltib.13/tmp/rpm-tmp.18375
# overide pointer calibration when using mouse
touch /etc/pointercal
else
# changing the :/dev/ts part will have no effect as it
# is hardcoded in the source
QWS_MOUSE_PROTO="$QWS_TS_PROTO"
# hide cursor when using touchscreen
QWS_HIDE_CURSOR="Yes"
export QWS_MOUSE_PROTO QWS_HIDE_CURSOR
if [ -c /dev/tty0 ]; then
echo -e -n '\033[?25l' > /dev/tty0
echo -e -n '\033[9]' > /dev/tty0
fi
if [ -c /dev/vc/0 ]; then
echo -e -n '\033[?25l' > /dev/vc/0
echo -e -n '\033[9]' > /dev/vc/0
fi
# remove pointercal if it is empty
[ -f /etc/pointercal -a ! -s /etc/pointercal ] && rm -f /etc/pointercal
fi
cd /opt/Qtopia/bin
./qpe > /dev/null 2>&1 &
#./qpe &
EOF
chmod 744 $initscript
echo '1' > $RPM_BUILD_ROOT//opt/freescale/rootfs/arm/etc/firstuse
# setup Storage.conf
install -d $RPM_BUILD_ROOT//opt/freescale/rootfs/arm/root/Settings
cat > $RPM_BUILD_ROOT//opt/freescale/rootfs/arm/root/Settings/Storage.conf
<< EOF
[rootfs]
Name = Internal Storage
Removeable = 0
[/dev/sda1]
Name = USB Flash Drive
Removable = 1
[/dev/mmcblk0]
Name = SD Card
Removable = 1
Applications = 0
Documents = 1
ContentDatabase = 0
EOF
# make sure the strip scripts are run cross
export PATH=$SPOOF_PATH
exit 0
Qtopia-4 is failing too, but it is a different problem;
ln -s libqtopia.so.4.0.0 libqtopia.so
ln -s libqtopia.so.4.0.0 libqtopia.so.4
ln -s libqtopia.so.4.0.0 libqtopia.so.4.0
rm -f /home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/lib/libqtopia.so.4.0.0
rm -f /home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/lib/libqtopia.so
rm -f /home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/lib/libqtopia.so.4
rm -f /home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/lib/libqtopia.so.4.0
mv -f libqtopia.so.4.0.0 libqtopia.so libqtopia.so.4 libqtopia.so.4.0
/home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/lib/
make[5]: Leaving directory
`/home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/src/libraries/qtopia'
make[4]: Leaving directory
`/home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/src/libraries/qtopia'
make[3]: Leaving directory `/home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build/src'
make[1]: *** [qtopia_all] Error 2
make[1]: Leaving directory `/home/ltib.13/rpm/BUILD/qtopia-4-4.3.0/build'
make: *** [all] Error 2
error: Bad exit status from /home/ltib.13/tmp/rpm-tmp.53626 (%build)
RPM build errors:
Bad exit status from /home/ltib.13/tmp/rpm-tmp.53626 (%build)
Build time for qtopia-4: 749 seconds
Failed building qtopia-4
less /home/ltib.13/tmp/rpm-tmp.53626
f_buildrpms() returned an error, exiting
traceback:
main:555
#!/bin/sh
RPM_SOURCE_DIR="/home/ltib.13/rpm/SOURCES"
RPM_BUILD_DIR="/home/ltib.13/rpm/BUILD"
RPM_OPT_FLAGS="-O2"
RPM_ARCH="i386"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/opt/ltib/usr/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="qtopia-4"
RPM_PACKAGE_VERSION="4.3.0"
RPM_PACKAGE_RELEASE="1"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
RPM_BUILD_ROOT="/home/ltib.13/tmp/qtopia-4"
export RPM_BUILD_ROOT
set -x
umask 022
cd /home/ltib.13/rpm/BUILD
cd qtopia-4-4.3.0
cd build
QSRC=../qtopia-opensource-4.3.0
. $QSRC/ltibqtopiaconfig
export PATH=$UNSPOOF_PATH
# Unset compiler to prevent gcc being used when the cross
# tools should be used. (Trolltech issue# 138807)
unset CC CXX
if [ "$EXTRA_QTE_CONFIG" = "" ] ; then
echo yes | $QSRC/configure -device $QWS_PLATFORM -verbose
else
echo yes | $QSRC/configure -device $QWS_PLATFORM -verbose
-extra-qtopiacore-config "${EXTRA_QTE_CONFIG} -I
${DEV_IMAGE}/usr/include -L ${DEV_IMAGE}/usr/lib"
fi
# For debugging
export VERBOSE_SHELL=1
# Build root env var required by helix
#export
BUILD_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION/src/3rdparty/libraries/helix/helixbuild/build
make
exit 0
exit 0
[]'s
Hamilton Vera
On Wed, Aug 26, 2009 at 5:35 AM, Stuart Hughes<address@hidden> wrote:
Hi Rajesh,
Which platform are you building? I ran build regressions on imx31ads,
mpc5200, mpc8349itx and mpc8548cds which built okay.
You've chopped the start of the errors so it's hard to say what the initial
trigger was. As you say maybe it's missing a dependency which I have
configured in.
Please say: what command did you run? (./ltib or ./ltib -p qtopia), did you
reconfigure? etc.
Can you send your config/platform/_target_/.config file so I can see your
configuration.
Regards, Stuart
address@hidden wrote:
Hi Stuart,
I took the latest from CVS (With today's patch from Daniel) and still I
see
some errors while building Qtopia tools.
The errors are like:
-------------------------------------------------------------------------
rdparty/kernel/qmotifdnd_x11.cpp:825: error: 'cur_window' was not declared
in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:826: error: 'cm' was not declared in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:829: error: 'False' was not declared in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:830: error: 'XSendEvent' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:836: error: 'False' was not declared in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'struct DndData' has no
member named 'time'
3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'CurrentTime' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:842: error: 'cur_window' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:843: error: 'cm' was not declared in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:847: error: 'XSendEvent' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'cur_window' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'struct DndData' has no
member named 'src_window'
3rdparty/kernel/qmotifdnd_x11.cpp:866: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:867: error: 'src_targets' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'Dnd_transfer_failure' was
not declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no
member named 'time'
3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'XConvertSelection' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:894: error: 'cm' was not declared in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:897: error: 'False' was not declared in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:898: error: 'XSendEvent' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'Dnd_selection' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'Dnd_selection_time' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'struct DndData' has no
member named 'time'
make[1]: ***
[tmp/release-shared-linux-g++/3rdparty/kernel/qmotifdnd_x11.o] Error 1
make[1]: Leaving directory
`/home/rmarathe/myltib/cvsltib/ltib/rpm/BUILD/qtopia-free-2.2.0/qt2/src'
*
---------------------------------------------------------------------------
*
* ERROR: Building Qtopia Tools has failed.
*
--------------------------------------------------------------------------
and more errors follow. It seems the X11 related files are not installed
in my version of Ubuntu Linux. Any clue ?
regards,
Rajesh Marathe.
Hi Daniel,
I stripped the \r characters and added a brief description to the patch
and uploaded it to the GPP (added a -1 to the filename). I've updated
the qtopia.spec file and checked into CVS.
Thanks again for the patch.
Regards, Stuart
Stuart Hughes wrote:
Hi Daniel,
Thanks I'll take a look and apply accordingly to CVS.
Regards, Stuart
Daniel Widyanto wrote:
Hi Stuart,
Thanks a lot. Sorry if I cannot help much. The patch was based on what
we had created to demonstrate our LPC3250 GUI capabilities on Linux
for a customer.
Another thing that we found was that the latest GLIBC fingerprint for
open() has changed. Hence it would break the Qtopia compilation. Also,
there's a qtopia's tool, called pngscale, which suppose to run on
host, but linked to arm library instead.
Attached is the patch to fix those problems. I'm not sure how to
integrate it to LTIB package. Sorry. I should spend time with LTIB
more often =)
Regards,
-daniel
-----Original Message-----
From: Stuart Hughes [mailto:address@hidden Sent: Tuesday, August 25,
2009 4:22 PM
To: Daniel Widyanto
Cc: address@hidden
Subject: Re: [Ltib] qtopia package build failure while building ltib
from CVS (Savannah)
Hi Daniel,
I re-worked and build-tested your patch (imx27) and have checked it in
to Savannah CVS. Let me know if you think it needs any adjustments.
I've attached the patch/diff so you can see what changed.
Regards, Stuart
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib