Skip to contentSkip to conversation

qwt 5.2.1 failed to build here (om-gta02 , SHR, X11)

PATCH In review Sylvain Paré 5 participants 14 messages Nov 25, 2010 – Nov 26, 2010

lore
Share & tools
lore
#1 lore raw

Hi,

Quoted 4 lines · Sylvain Paré

http://tinderbox.openembedded.org/packages/1087355/

Does some one else has already succeded to build qwt 5.2.1 for X11 ?

only compile tested (angstrom-2010.x, armv6, oe head & bitbake parallel-parsing) :
NOTE: package qwt-5.2.1-r0: task do_compile: Succeeded
.../...
NOTE: package qwt-5.2.1-r0: task do_rm_work_all: Succeeded

Eric

#2 lore raw

ok thanks. does some one has a clue ?
extracted for the log :

Fatal error: can't create obj/qwt_abstract_scale_draw.o: No such file or directory

2010/11/25 Eric Bénard <[email protected]>

Quoted 21 lines

Hi,

Quoted 5 lines · Sylvain Paré

http://tinderbox.openembedded.org/packages/1087355/

Does some one else has already succeded to build qwt 5.2.1 for X11 ?

only compile tested (angstrom-2010.x, armv6, oe head & bitbake

parallel-parsing) :
NOTE: package qwt-5.2.1-r0: task do_compile: Succeeded .../...
NOTE: package qwt-5.2.1-r0: task do_rm_work_all: Succeeded

Eric

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 6 lines · Sylvain Paré

ok thanks. does some one has a clue ?
extracted for the log :

Fatal error: can't create obj/qwt_abstract_scale_draw.o: No such file or directory

does the obj directory exist ?

Eric

#4 lore raw

I can't find any obj/ directory in SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/
but I have an SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/

2010/11/25 Eric Bénard <[email protected]>

Quoted 18 lines · Sylvain Paré
Quoted 8 lines

ok thanks. does some one has a clue ?
extracted for the log :

Fatal error: can't create obj/qwt_abstract_scale_draw.o: No such file or directory

does the obj directory exist ?

Eric

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw
Quoted 5 lines · Sylvain Paré

I can't find any obj/ directory in SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/
but I have an SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/

here is your problem.
QT_LIBINFIX should be "" in your case.

Eric

#6 lore raw
Quoted 8 lines · Eric Bénard
Quoted 5 lines · Sylvain Paré

I can't find any obj/ directory in SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/
but I have an SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/

here is your problem.
QT_LIBINFIX should be "" in your case.

then something like
QT_DIR_NAME = "qt4"
QT_LIBINFIX = ""

is missing in qt4x11.bbclass (it's defined only in qt4e.bbclass).

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw

I don't have acces to OE.
Eric can you do that please ?

2010/11/25 Martin Jansa <[email protected]>

Quoted 26 lines · Eric Bénard
Quoted 3 lines · Sylvain Paré
Quoted 2 lines

I can't find any obj/ directory in

SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/

Quoted 2 lines
Quoted 2 lines

but I have an

SHR-Build/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/

Quoted 3 lines
Quoted 1 line

here is your problem.
QT_LIBINFIX should be "" in your case.

then something like
QT_DIR_NAME = "qt4"
QT_LIBINFIX = ""

is missing in qt4x11.bbclass (it's defined only in qt4e.bbclass).

--
Martin 'JaMa' Jansa jabber: [email protected]

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#8 lore raw

PATCH 1/1 qt4x11: set QT_LIBINFIX and QT_DIR_NAME

this will fix the following issue with qwt 5.2.1 where obj dir is:
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/ instead of :
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/

From: Martin Jansa <[email protected]>

---
 classes/qt4x11.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
classes/qt4x11.bbclass +3 -0
index 2d56b7e..abb1d9d 100644
@@ -2,5 +2,8 @@ DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] ==
 
 inherit qmake2
 
+QT_DIR_NAME = "qt4"
+QT_LIBINFIX = ""
+
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"
Signature · 1 line
1.6.3.3
Acked-by on v1 1/1
#9 lore raw

Re: [PATCH] qt4x11: set QT_LIBINFIX and QT_DIR_NAME

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Eric Bénard

this will fix the following issue with qwt 5.2.1 where obj dir is:
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/ instead of :
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/

From: Martin Jansa <[email protected]>

Quoted 9 lines
---
 classes/qt4x11.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
classes/qt4x11.bbclass +0 -0
index 2d56b7e..abb1d9d 100644

classes/qt4x11.bbclass DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == · line 9

Quoted 8 lines
classes/qt4x11.bbclass +3 -0
@@ -2,5 +2,8 @@ DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] ==
 
 inherit qmake2
 
+QT_DIR_NAME = "qt4"
+QT_LIBINFIX = ""
+
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFM7opNMkyGM64RGpERAqO2AJ9nyr/drAT7t6LPEG1A+QyhVnWEhACgi29X l9NpDotshYsD4jtyeSSNT8s=
=3G1E
-----END PGP SIGNATURE-----

Acked-by on v1 1/1
#10 lore raw

Re: [PATCH] qt4x11: set QT_LIBINFIX and QT_DIR_NAME

In reply to Eric Bénard
Quoted 7 lines · Eric Bénard

this will fix the following issue with qwt 5.2.1 where obj dir is:
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/ instead of :
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/

From: Martin Jansa <[email protected]>

please install

Quoted 25 lines
---
 classes/qt4x11.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
classes/qt4x11.bbclass +3 -0
index 2d56b7e..abb1d9d 100644
@@ -2,5 +2,8 @@ DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] ==
 
 inherit qmake2
 
+QT_DIR_NAME = "qt4"
+QT_LIBINFIX = ""
+
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"
Signature · 7 lines
1.6.3.3


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#11 lore raw
In reply to Sylvain Paré

Hi Sylvain,

Quoted 3 lines · Sylvain Paré

I don't have acces to OE.
Eric can you do that please ?

can you please test the patch and say if that solves your problem ?

Thanks
Eric

#12 lore raw

yes I did thoses changes
http://pastebin.com/5x9Gaxm7
and it has build successfully .

2010/11/25 Eric Bénard <[email protected]>

Quoted 19 lines

Hi Sylvain,

Quoted 4 lines · Sylvain Paré

I don't have acces to OE.
Eric can you do that please ?

can you please test the patch and say if that solves your problem ?

Thanks
Eric

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#13 lore raw

Thx Eric

2010/11/25 Sylvain Paré <[email protected]>

Quoted 27 lines

yes I did thoses changes
http://pastebin.com/5x9Gaxm7
and it has build successfully .

2010/11/25 Eric Bénard <[email protected]>

Quoted 19 lines

Hi Sylvain,

Quoted 4 lines · Sylvain Paré

I don't have acces to OE.
Eric can you do that please ?

can you please test the patch and say if that solves your problem ?

Thanks
Eric

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel