View Single Post
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ bogota, colombia
#5
Yes, its a C++ program.
Should I state something more specific in the architecture field?

I compiled the program in the scratchbox by changing the target to armel.
My settings are:

Code:
Compiler:         cs2007q3-glibc2.5-arm7
Architecture:     arm
Sub-architecture: arm
C-library:        glibc
Devkits:          qemu debian-etch perl
CPU-transparency: /scratchbox/devkits/qemu/bin/qemu-arm-sb

This is what I get from the "dpkg-buildpackage -rfakeroot":
Code:
[sbox-FREMANTLE_ARMEL: ~/MyDocs/UniTrans] > dpkg-buildpackage -rfakeroot                               
dpkg-buildpackage: source package is unitrans                                                          
dpkg-buildpackage: source version is 1.0.0                                                             
dpkg-buildpackage: source changed by Markus Döbele <mar_doe@gmx.de>                                    
dpkg-buildpackage: host architecture armel                                                             
dpkg-buildpackage: source version without epoch 1.0.0                                                  
: Using Scratchbox tools to satisfy builddeps                                                          
 fakeroot debian/rules clean                                                                           
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/markus/MyDocs/UniTrans'                                             
rm -f moc_mainwindow.cpp                                                                               
rm -f qrc_zeux.cpp                                                                                     
rm -f ui_mainwindow.h                                                                                  
rm -f main.o mainwindow.o moc_mainwindow.o qrc_zeux.o                                                  
rm -f *~ core *.core                                                                                   
make[1]: Leaving directory `/home/markus/MyDocs/UniTrans'                                              
dh_clean                                                                                               
 dpkg-source -b UniTrans                                                                               
dpkg-source: warning: source directory `./UniTrans' is not <sourcepackage>-<upstreamversion> `unitrans-1.0.0'                                                                                                 
dpkg-source: building unitrans in unitrans_1.0.0.tar.gz                                                
dpkg-source: building unitrans in unitrans_1.0.0.dsc                                                   
 debian/rules build                                                                                    
dh_testdir                                                                                             
# Add here commands to configure the package.                                                          
touch configure-stamp                                                                                  
dh_testdir                                                                                             
# Add here commands to compile the package.                                                            
/scratchbox/tools/bin/make                                                                             
make[1]: Entering directory `/home/markus/MyDocs/UniTrans'                                             
/usr/bin/uic mainwindow.ui -o ui_mainwindow.h                                                          
g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o main.o main.cpp                                                                                
g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o mainwindow.o mainwindow.cpp                                                                    
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. mainwindow.h -o moc_mainwindow.cpp                                                                                             
g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp                                                            
/usr/bin/rcc -name zeux zeux.qrc -o qrc_zeux.cpp                                                       
g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o qrc_zeux.o qrc_zeux.cpp                                                                        
g++ -Wl,-O1 -o UniTrans main.o mainwindow.o moc_mainwindow.o qrc_zeux.o    -L/usr/lib -Wl,-rpath-link=/usr/lib -lQtGui -lQtCore -lpthread                                                                     
make[1]: Leaving directory `/home/markus/MyDocs/UniTrans'                                              
#docbook-to-man debian/raeddit.sgml > raeddit.1                                                        
touch build-stamp                                                                                      
 fakeroot debian/rules binary                                                                          
dh_testdir                                                                                             
dh_testroot                                                                                            
dh_clean -k                                                                                            
dh_installdirs                                                                                         
# Add here commands to install the package into debian/unitrans.                                       
#/scratchbox/tools/bin/make DESTDIR=/home/markus/MyDocs/UniTrans/debian/unitrans install               
/scratchbox/tools/bin/make install DESTDIR=/home/markus/MyDocs/UniTrans/debian/usr/bin                 
make[1]: Entering directory `/home/markus/MyDocs/UniTrans'                                             
make[1]: Nothing to be done for `install'.                                                             
make[1]: Leaving directory `/home/markus/MyDocs/UniTrans'                                              
dh_testdir                                                                                             
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
warning, `debian/unitrans/DEBIAN/control' contains user-defined field `Maemo-Icon-26'
dpkg-deb: building package `unitrans' in `../unitrans_1.0.0_armel.deb'.
dpkg-deb: ignoring 1 warnings about the control file(s)
 dpkg-genchanges
dpkg-genchanges: warning: unknown information field `Xb-Maemo-Icon-26' in input data in package's section of control info file
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is included)
[sbox-FREMANTLE_ARMEL: ~/MyDocs/UniTrans] >