zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#1
I have been trying over and over again to upload my project to extras-devel
but have failed continuously..
here is the log
Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package tabcgpa
dpkg-buildpackage: source version 0.3
dpkg-buildpackage: host architecture armel
dpkg-checkbuilddeps: 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/builder1/maemo-fremantle-armel-extras-devel/work/tabcgpa-0.3'
Makefile:98: *** multiple target patterns.  Stop.
make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/tabcgpa-0.3'
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
and
also on other tries
Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package tabcgpa
dpkg-buildpackage: source version 0.3
dpkg-buildpackage: host architecture armel
dpkg-checkbuilddeps: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
rm -rf builddir
dh_clean 
 dpkg-source -b tabcgpa-0.3
dpkg-source: info: using source format `1.0'
dpkg-source: info: building tabcgpa in tabcgpa_0.3.tar.gz
dpkg-source: info: building tabcgpa in tabcgpa_0.3.dsc
 debian/rules build
mkdir -p builddir
cd builddir && qmake-qt4 PREFIX=/usr ../tabcgpa.pro
/scratchbox/tools/bin/sh: line 1: qmake-qt4: command not found
make: *** [builddir/Makefile] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
i have tried different rules file available in the threads and also the default one created in qt sdk..none worked
__________________
zwiik kkaran
CGPA Calculator
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#2
the deb works with dpkg -i
__________________
zwiik kkaran
CGPA Calculator
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#3
Is libqt4-dev in Build Depends (debian/control)?
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#4
Originally Posted by MohammadAG View Post
Is libqt4-dev in Build Depends (debian/control)?
i tried with and without it
same results
__________________
zwiik kkaran
CGPA Calculator
 
zwiik's Avatar
Posts: 41 | Thanked: 14 times | Joined on Jul 2010
#5
finally worked
added libqt4-dev and replaced the rules file again
__________________
zwiik kkaran
CGPA Calculator
 
Posts: 239 | Thanked: 194 times | Joined on Jul 2010 @ Amsterdam
#6
I'm running into the same problem I've added libqt4-dev to my control file:
Code:
Package: Dicer
Source: dicer
Version: 0.1
Architecture: armel
Maintainer: Willem Liu <willem.liu@gmail.com>
Installed-Size: 94
Depends: libc6 (>= 2.5.0-1), libgcc1 (>= 1:4.2.1), libqt4-core (>= 4.6.2~git20100401), libqt4-gui (>= 4.6.2~git20100401), libstdc++6 (>= 4.2.1), libqt4-dev
Section: user/other
Priority: extra
Homepage: http://gitorious.com/dicer
Description: Dice throwing program.
 Generate random outcome for any number of dice with any number of eyes.
My rules file looks as follows:
Code:
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1





configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp  
	dh_testdir

	# Add here commands to compile the package.
	$(MAKE)
	#docbook-to-man debian/dicer.sgml > dicer.1

	touch $@

clean: 
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.
	$(MAKE) clean

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/dicer.
	$(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/dicer install


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installexamples
	dh_installman
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
Can you give me any pointers?



The following is the error report.
Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package dicer
dpkg-buildpackage: source version 0.1
dpkg-buildpackage: host architecture armel
dpkg-checkbuilddeps: 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/builder1/maemo-fremantle-armel-extras-devel/work/dicer-0.1'
make[1]: *** No rule to make target `../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/dicer-0.1'
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

Last edited by Willem Liu; 2010-09-11 at 08:09.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:03.