Skip to contentSkip to conversation

apitrace: bump to version 7.0

PATCH New Vicente Olivert Riera 2 participants 4 messages Aug 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apitrace: bump to version 7.0

Our current apitrace version can't detect the host-python version correctly, so if both host-python and host-python3 where installed, it will take the last one and it will fail with an "invalid syntax" error. The latest apitrace version has this problem solved and it detects the host-python version correctly.

Fixes:

http://autobuild.buildroot.net/results/22a/22a73b4ba0adcc874ecc153917ae6edcfd4d37af/

---
 package/apitrace/apitrace.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/apitrace/apitrace.mk +1 -1
index b164367..28a40e4 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-APITRACE_VERSION = c181b7fbf4b1c3912424761fec8ac7124640543a
+APITRACE_VERSION = 7.0
 APITRACE_SITE = $(call github,apitrace,apitrace,$(APITRACE_VERSION))
 APITRACE_LICENSE = MIT
 APITRACE_LICENSE_FILES = LICENSE
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 apitrace: bump to version 7.0

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Our current apitrace version can't detect the host-python version correctly, so if both host-python and host-python3 where installed, it will take the last one and it will fail with an "invalid syntax" error. The latest apitrace version has this problem solved and it detects the host-python version correctly.

Quoted 5 lines

Fixes:

http://autobuild.buildroot.net/results/22a/22a73b4ba0adcc874ecc153917ae6edcfd4d37af/

So then perhaps we shouldn't force people to build host-python if they already have host-python3 built?

E.G. something like:

APITRACE_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)

But that can be added later - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 apitrace: bump to version 7.0

Dear Peter Korsgaard,

Quoted 14 lines · Peter Korsgaard
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Our current apitrace version can't detect the host-python version correctly, so if both host-python and host-python3 where installed, it will take the last one and it will fail with an "invalid syntax" error. The latest apitrace version has this problem solved and it detects the host-python version correctly.

Quoted 5 lines

Fixes:

http://autobuild.buildroot.net/results/22a/22a73b4ba0adcc874ecc153917ae6edcfd4d37af/

Quoted 9 lines

So then perhaps we shouldn't force people to build host-python if they already have host-python3 built?

E.G. something like:

APITRACE_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)

But that can be added later - Committed, thanks.

No, no. I think you misunderstood me, or perhaps I didn't explain myself very well.

What the new version of apitrace does is using python2 even if you have python3 installed. The old one was using python3 although both python2 and python3 were installed. It was just choosing the wrong python. Does it make sense now?

Regards,

Vincent.

#3 lore raw

PATCH 1/1 apitrace: bump to version 7.0

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Hi,

Quoted 7 lines

No, no. I think you misunderstood me, or perhaps I didn't explain myself very well.

What the new version of apitrace does is using python2 even if you have python3 installed. The old one was using python3 although both python2 and python3 were installed. It was just choosing the wrong python. Does it make sense now?

Ahh, ok. I don't see any references to 'python2' in the apitrace sources though.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard