|
|
2010-02-18
, 16:05
|
|
Posts: 2,014 |
Thanked: 1,581 times |
Joined on Sep 2009
|
#2
|
Hi there,
I've developped an application with Qt Creator and MADDE on Windows. I have successfully built the .deb package on my machine and uploaded it to my garage.
Now I am trying to upload my first application to the Extra-Devel repository using the Maemo Extras Assistant and his autobuilder.
But an error occurred during the compilation (See armel.build.log.FAILED.txt) :
When I successfully build the package on my computer, I have the following log :Code:TMP="/var/tmp" dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /scratchbox/tools/bin/make clean make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/autodisconnect-0.1' Makefile:53: *** multiple target patterns. Stop. make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/autodisconnect-0.1' make: *** [clean] Error 2
I have no idea about the error. If someone could try to look a my sources, that's would be really nice : https://garage.maemo.org/builder/fre...t_0.1/sources/.Code:dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /bin/make clean make[1]: Entering directory `/home/Calvin/autodisconnect' cd src/ && /bin/make -f Makefile clean make[2]: Entering directory `/home/Calvin/autodisconnect/src' rm -f build/moc_mainwindow.cpp rm -f build/ui_mainwindow.h rm -f build/autodisconnect rm -f build/qtmain.o build/mainwindow.o build/utils.o build/moc_mainwindow.o rm -f *~ core *.core make[2]: Leaving directory `/home/Calvin/autodisconnect/src' make[1]: Leaving directory `/home/Calvin/autodisconnect'
Thanks!
|
|
2010-02-18
, 16:19
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
I have no idea about the error. If someone could try to look a my sources, that's would be really nice : https://garage.maemo.org/builder/fre...t_0.1/sources/.
|
|
2010-02-18
, 16:19
|
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#4
|
I have no idea about the error. If someone could try to look a my sources, that's would be really nice : https://garage.maemo.org/builder/fre...t_0.1/sources/.
|
|
2010-02-18
, 16:24
|
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#5
|
|
|
2010-02-18
, 16:28
|
|
Posts: 2,014 |
Thanked: 1,581 times |
Joined on Sep 2009
|
#6
|
Thanks for your answer.
@Bratag : I've changed the architecture label, but the compilation failed again.
@qwerty12 + Rob1n : the actual makefile doesn't make any sense I agree with you. It has to be generated again with qmake on the host machine to generate the correct links. Why the extra-devel autobuilder doesn't do it ?
| The Following User Says Thank You to Bratag For This Useful Post: | ||
|
|
2010-02-18
, 16:32
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
@qwerty12 + Rob1n : the actual makefile doesn't make any sense I agree with you. It has to be generated again with qmake on the host machine to generate the correct links. Why the extra-devel autobuilder doesn't do it ?
| The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
|
2010-02-18
, 16:45
|
|
Posts: 2,014 |
Thanked: 1,581 times |
Joined on Sep 2009
|
#8
|
It runs what you tell it to run - it's not psychic. The autobuilder also uses Scratchbox; not MADDE. debian/rules doesn't have a line telling it to run qmake so it won't run it. I can't help you, sorry, as I don't do Qt. qmake and all of it is too weird for me. Give me GTK, Scratchbox and Autotools and I'm happy.
P.S. Fill in the Build-Depends part of debian/control, at least.
| The Following User Says Thank You to Bratag For This Useful Post: | ||
|
|
2010-02-18
, 16:54
|
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#9
|
Good point. Check this thread.
http://talk.maemo.org/showthread.php?t=39962
Its what I used to get my qt package out there. The section on building the rules file etc is quite good.
Trying to apply it.|
|
2010-02-18
, 18:11
|
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#10
|
Build-Depends: debhelper (>= 5), libqt4-maemo5-dev
mkdir -p builddir cd builddir && /opt/qt4-maemo5/bin/qmake ../autodisconnect.pro dh_testdir # Add here commands to compile the package. cd builddir && /scratchbox/tools/bin/make make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/autodisconnect-0.1/builddir' cd ../src/ && /scratchbox/tools/bin/make -f Makefile make[2]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/autodisconnect-0.1/src' Makefile:101: *** multiple target patterns. Stop. make[2]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/autodisconnect-0.1/src' make[1]: *** [sub----src-make_default] Error 2 make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/autodisconnect-0.1/builddir' make: *** [build-stamp] Error 2
I've developped an application with Qt Creator and MADDE on Windows. I have successfully built the .deb package on my machine and uploaded it to my garage.
Now I am trying to upload my first application to the Extra-Devel repository using the Maemo Extras Assistant and his autobuilder.
But an error occurred during the compilation (See armel.build.log.FAILED.txt) :
Thanks!