maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M6] [QT SDK] cannot compile on emulartor (https://talk.maemo.org/showthread.php?t=95839)

Shadow_Max 2015-08-10 13:01

[QT SDK] cannot compile on emulartor
 
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 ?

Halftux 2015-08-10 14:06

Re: [QT SDK] cannot compile on emulartor
 
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 2015-08-10 18:29

Re: [QT SDK] cannot compile on emulartor
 
no, there is no
c:/qtsdk/madde/bin/mad/sysroot/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status

Halftux 2015-08-10 20:33

Re: [QT SDK] cannot compile on emulartor
 
1 Attachment(s)
Quote:

Originally Posted by Shadow_Max (Post 1479161)
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.

Shadow_Max 2015-08-11 00:59

Re: [QT SDK] cannot compile on emulartor
 
Quote:

Originally Posted by Halftux (Post 1479171)
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 2015-08-11 01:02

Re: [QT SDK] cannot compile on emulartor
 
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

Halftux 2015-08-11 11:00

Re: [QT SDK] cannot compile on emulartor
 
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 2015-08-11 12:32

Re: [QT SDK] cannot compile on emulartor
 
Quote:

Originally Posted by Halftux (Post 1479210)
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 2015-08-11 17:55

Re: [QT SDK] cannot compile on emulartor
 
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 2015-08-12 09:26

Re: [QT SDK] cannot compile on emulartor
 
Quote:

Originally Posted by Halftux (Post 1479253)
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.

Quote:

Originally Posted by Halftux (Post 1479253)
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


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

vBulletin® Version 3.8.8