maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Scratchbox problem (https://talk.maemo.org/showthread.php?t=47538)

Figa 2010-03-16 17:15

Scratchbox problem
 
Hi, if I want to post app in extras repo I will have to pack it in scratcthcbox? When I run this line in FREMANTLE_X86:
Code:

dh_make -e your.name@example.org --createorig
I get this:
Code:

bash: dh_make: command not found
When I want to install dh-make:
Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package dh-make is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package dh-make has no installation candidate

What is wrong? Thank you for your replies.

danielwilms 2010-03-17 11:12

Re: Scratchbox problem
 
Hi,

try:

Code:

apt-get install debhelper
Cheers Daniel

Figa 2010-03-19 14:41

Re: Scratchbox problem
 
Thank you, but problem was between my chair and pc:) Now I have other problem with AUTOBUILDER I try upload deb copiled in scratchbox and MADDE, but I ever get this error.
Code:

TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: source package is app
dpkg-buildpackage: source version is 0.1-1
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 0.1-1
: 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/app-0.1'
make[1]: *** No rule to make target `/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/app-0.1'
make: *** [clean] Error 2

What is wrong?

nicorumiz 2010-03-19 14:55

Re: Scratchbox problem
 
I think there is something wrong with

qmake.conf

Not really sure. I have Scratchbox too but I didn't build any packages so fayr, I have install it the other day.

Figa 2010-03-19 15:20

Re: Scratchbox problem
 
No problem is in MAKEFILE but I dont know what.

nicorumiz 2010-03-19 16:03

Re: Scratchbox problem
 
Try to post qmake.conf someone can probably figure it out!

Figa 2010-03-19 17:41

Re: Scratchbox problem
 
OK. qmake.conf from MADDE linux g++
Code:

#
# qmake configuration for linux-g++
#

MAKEFILE_GENERATOR        = UNIX
TEMPLATE                = app
CONFIG                        += qt warn_on release incremental link_prl
QT                        += core gui
QMAKE_INCREMENTAL_STYLE = sublib

include(../common/g++.conf)
include(../common/linux.conf)
load(qt_config)


crabsody 2010-03-19 18:49

Re: Scratchbox problem
 
I got a problem too. I changed the target of scratchbox to ARMEL and tried to install the qt packages. So I edited sources.list adding the line

deb http://repository.maemo.org/extras-devel/ fremantle free non-free

When I exec "fakeroot apt-get install libqt4-dev" I got several dependency problems.

Code:

Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libqt4-dev: Depends: libqt4-webkit but it is not going to be installed
E: Broken packages

When I try to install libqt4-webkit I got other unmet dependencies e.t.c. e.t.c. Does anyone know a way to met these dependencies? Maybe in an auto way?

Figa 2010-03-21 05:32

Re: Scratchbox problem
 
Now I have other problem with AUTOBUILDER I try upload deb copiled in scratchbox and MADDE, but I ever get this error.
Code:

TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: source package is app
dpkg-buildpackage: source version is 0.1-1
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 0.1-1
: 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/app-0.1'
make[1]: *** No rule to make target `/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/app-0.1'
make: *** [clean] Error 2

What is wrong?

TNiga 2010-03-21 12:31

Re: Scratchbox problem
 
Have you tried to follow these instructions http://wiki.maemo.org/Packaging_a_Qt_application ? Those works for me just fine.


All times are GMT. The time now is 17:17.

vBulletin® Version 3.8.8