Notices


Reply
Thread Tools
Shadow_Max's Avatar
Posts: 37 | Thanked: 57 times | Joined on Mar 2013
#1
Hello all

I am trying to dev an app for Nokia N9, I am trying to run the Apps on the Qemu Simulator ut i have a compilation issue.

i have the following error :
Code:
/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status: No such file or directory
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 3
Error while building project **** (target: Harmattan)
When executing build step 'Créer un paquet Debian
With this following error, i am not able to run any ap on my simulator.

Some one can help me ?

Last edited by Shadow_Max; 2015-08-10 at 13:13.
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#2
Did you check if this file existing?

c:/qtsdk/madde/bin/mad/sysroot/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status

So atm it could not determine what is installed...
 
Shadow_Max's Avatar
Posts: 37 | Thanked: 57 times | Joined on Mar 2013
#3
no, there is no
c:/qtsdk/madde/bin/mad/sysroot/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#4
Originally Posted by Shadow_Max View Post
no, there is no
c:/qtsdk/madde/bin/mad/sysroot/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status
ehmm sorry wrong path it should be:

c:/qtsdk/madde/sysroot/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status

I will attach my status file maybe it helps.
Attached Files
File Type: zip status.zip (164.3 KB, 92 views)
 
Shadow_Max's Avatar
Posts: 37 | Thanked: 57 times | Joined on Mar 2013
#5
Originally Posted by Halftux View Post
ehmm sorry wrong path it should be:

c:/qtsdk/madde/sysroot/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status

I will attach my status file maybe it helps.
yes, th file exist and the content is the same
 
Shadow_Max's Avatar
Posts: 37 | Thanked: 57 times | Joined on Mar 2013
#6
i have try to reinstall using the offline installer, then now i got this
Code:
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
which: pgp: unknown command
dpkg-buildpackage: source package ****
dpkg-buildpackage: source version 0.0.1
dpkg-buildpackage: source changed by unknown <>
dpkg-buildpackage: host architecture armel
/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status: File or path name too long
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Erreur de paquetage : Commande 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' échouée.Code de sortie : 3

Edit

I do not understand why it reapeat /sysroots/harmattan_sysroot_10.2011.34-1_slim many times. before var/lib/dpkg/status
This is the reason it alway fail

Last edited by Shadow_Max; 2015-08-11 at 10:22.
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#7
How many times you tried to install the QtSDK?

First report from you 4x sysroot directory.
(result-->wrong path)
Second report you got 3x4 sysroot directories.
(result-->much to long path)

Maybe some path variable is wrong in Windows??
So I guess during installation somewhere a path gets added and not replaced?

In linux you have a config.sh inside your target which makes the environment variables.

c:/qtsdk/madde/targets/harmattan_XXXX/config.sh

SYSROOT_DIR=
SYSROOT_DIR_NATIVE=

Do you have also somewhere this values.

When I am at home I have a look into my windows QtSDK and will investigate your problem.
 
Shadow_Max's Avatar
Posts: 37 | Thanked: 57 times | Joined on Mar 2013
#8
Originally Posted by Halftux View Post
How many times you tried to install the QtSDK?

First report from you 4x sysroot directory.
(result-->wrong path)
Second report you got 3x4 sysroot directories.
(result-->much to long path)

Maybe some path variable is wrong in Windows??
So I guess during installation somewhere a path gets added and not replaced?

In linux you have a config.sh inside your target which makes the environment variables.

c:/qtsdk/madde/targets/harmattan_XXXX/config.sh

SYSROOT_DIR=
SYSROOT_DIR_NATIVE=

Do you have also somewhere this values.

When I am at home I have a look into my windows QtSDK and will investigate your problem.
I have try to reinstall twice yesterday, or maybe more, i have check windows environement var, nothing is linked to sysroot

I think like you, path gets added and not replaced, bet i cannot found where, i am investigate to find out where to,

in C:\QtSDK\Madde\targets i have 3 folder :
(maybe for each version of haramattan)
harmattan_10.2011.34-1_rt1.0
harmattan_10.2011.34-1_rt1.1
harmattan_10.2011.34-1_rt1.2

and config.sh are

Code:
SYSROOT_DIR="/sysroots/harmattan_sysroot_10.2011.34-1_slim" ; export SYSROOT_DIR
SYSROOT_DIR_NATIVE="C:\QtSDK\Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim" ; export SYSROOT_DIR_NATIVE
I am afrai that, if i uninstall i will lose Qemu emulators due to nokia's Qt repository down
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#9
I have some questions since when you can't create deb packages.
After a reinstall or from the beginning?


Please have a look at these files..., do they make sense?:
You can try to hardcode your sysroot...and see what you get

QTSDK/MADDE/madlib/ma-create-target.sh
QTSDK/MADDE/madlib/ma-cmd/xdpkg
QTSDK/MADDE/madbin/dpkg

Interesting to read...
QTSDK/MADDE/docs/DPKGToolsForMADDE.html

However I can't explain why you get somewhere multiple sysroot pathes after a reinstallation.
 
Shadow_Max's Avatar
Posts: 37 | Thanked: 57 times | Joined on Mar 2013
#10
Originally Posted by Halftux View Post
I have some questions since when you can't create deb packages.
After a reinstall or from the beginning?
I can't create deb after reinstall. I have reinstall after a long time without using, choose to overwrite old config because it did not show anymore in the windows start menu.

Originally Posted by Halftux View Post
Please have a look at these files..., do they make sense?:
You can try to hardcode your sysroot...and see what you get

QTSDK/MADDE/madlib/ma-create-target.sh
QTSDK/MADDE/madlib/ma-cmd/xdpkg
QTSDK/MADDE/madbin/dpkg

Interesting to read...
QTSDK/MADDE/docs/DPKGToolsForMADDE.html

However I can't explain why you get somewhere multiple sysroot pathes after a reinstallation.
ok i will read this,
I wil try to find where it is store

I have notice that i have many toolchain installed, i cannot edit or manage them

Last edited by Shadow_Max; 2020-05-04 at 00:35.
 
Reply

Tags
developer, harmatan, qt framework, qt sdk, qtsdk

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:27.