Skip to contentSkip to conversation

nativesdk-qtbase Enable objcopy for qmake

PATCH In review Stefan Sonski 4 participants 15 messages Oct 17, 2017 – Nov 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nativesdk-qtbase Enable objcopy for qmake

Enable objcopy for qmake to support separate_debug_info flag for cross-compiled applications in nativesdk-qtbase.

---
 recipes-qt/qt5/nativesdk-qtbase_git.bb                   | 1 +
 recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | 1 +
 2 files changed, 2 insertions(+)
recipes-qt/qt5/nativesdk-qtbase_git.bb +1 -0
index 87bd501..a650550 100644
@@ -179,6 +179,7 @@ fakeroot do_generate_qt_environment_file() {
     echo 'export OE_QMAKE_CXX=$CXX' >> $script
     echo 'export OE_QMAKE_LINK=$CXX' >> $script
     echo 'export OE_QMAKE_AR=$AR' >> $script
+    echo 'export OE_QMAKE_OBJCOPY=$OBJCOPY' >> $script
     echo 'export QT_CONF_PATH=${OE_QMAKE_PATH_HOST_BINS}/qt.conf' >> $script
     echo 'export OE_QMAKE_LIBDIR_QT=`qmake -query QT_INSTALL_LIBS`' >> $script
     echo 'export OE_QMAKE_INCDIR_QT=`qmake -query QT_INSTALL_HEADERS`' >> $script
recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +1 -0
index a8fe433..3d1958f 100644
@@ -94,6 +94,7 @@ index 0000000000..c1837e6d55
 +
 +# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip
 +QMAKE_AR              = $$(OE_QMAKE_AR) cqs
++QMAKE_OBJCOPY         = $$(OE_QMAKE_OBJCOPY)
 +QMAKE_STRIP           = $$(OE_QMAKE_STRIP)
 +QMAKE_WAYLAND_SCANNER = $$(OE_QMAKE_WAYLAND_SCANNER)
 +
Signature · 1 line
2.14.2
#1 lore raw

PATCH 2/2 qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
classes/qmake5_base.bbclass +2 -0
index 8e1fe20..042008c 100644
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
     OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/wayland-scanner"
 
Signature · 1 line
2.14.2
#2 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

Quoted 37 lines · Stefan Sonski

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
classes/qmake5_base.bbclass +2 -0
index 8e1fe20..042008c 100644
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
     OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/

wayland-scanner"

--
2.14.2

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

#3 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Thanks,
Daniel

Quoted 40 lines · Stefan Sonski
Quoted 38 lines

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
classes/qmake5_base.bbclass +2 -0
index 8e1fe20..042008c 100644
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
     OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/

wayland-scanner"

--
2.14.2

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

#4 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Have you tried bisecting by any chance?

Quoted 45 lines
Quoted 39 lines · Stefan Sonski
Quoted 38 lines

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
classes/qmake5_base.bbclass +2 -0
index 8e1fe20..042008c 100644
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
     OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/

wayland-scanner"

--
2.14.2

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

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#5 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

I have the same error if objcopy is set. I still don't get how objcopy depends on qtpreparetool.

Quoted 63 lines · On Thu, Oct 26, 2017, 14:55 Denys Dmytriyenko <[email protected]> wrote:
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Have you tried bisecting by any chance?

Quoted 1 line
Quoted 1 line

On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <[email protected]>

Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 8 lines

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
Quoted 12 lines
Quoted 4 lines
Quoted 4 lines
classes/qmake5_base.bbclass +0 -0
index 8e1fe20..042008c 100644
Quoted 8 lines

classes/qmake5_base.bbclass EXTRA_OEMAKE = " \ · line 34

Quoted 8 lines
classes/qmake5_base.bbclass +1 -0
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
 

OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \

Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
classes/qmake5_base.bbclass +1 -0
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/

wayland-scanner"

--
2.14.2

Quoted 6 lines
Quoted 6 lines

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

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

#6 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

In reply to Denys Dmytriyenko
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

Quoted 6 lines
Quoted 4 lines

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

Thanks,
Daniel

Quoted 47 lines
Quoted 47 lines
Quoted 41 lines · Stefan Sonski
Quoted 38 lines

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
classes/qmake5_base.bbclass +2 -0
index 8e1fe20..042008c 100644
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
     OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/

wayland-scanner"

--
2.14.2

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

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#7 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Quoted 13 lines · Daniel Mack
Quoted 12 lines · Denys Dmytriyenko
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 8 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

Thanks,
Daniel

My patch has some weird dependency on nativesdk-qtbase, where when the patch is added, qtPrepareTool is not found in some prf files and the build fails.
Removing my patch, the build succeeds. What I don't get, is how OBJCOPY depends on some qt5 internal prf scripts, regarding undefined 'qtPrepareTool.
The problem does not occure just using the ptest changes.

#8 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

In reply to Daniel Mack
Quoted 13 lines · Daniel Mack
Quoted 12 lines · Denys Dmytriyenko
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 4 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of the 2 (*two*) patches causes the breakage, hence the question about bisecting...

Quoted 46 lines
Quoted 45 lines
Quoted 45 lines
Quoted 39 lines · Stefan Sonski
Quoted 38 lines

From: "Chris E. Rallis" <[email protected]>

---
 classes/qmake5_base.bbclass | 2 ++
 1 file changed, 2 insertions(+)
classes/qmake5_base.bbclass +2 -0
index 8e1fe20..042008c 100644
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = " \
     OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
     OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
     OE_QMAKE_AR='${OE_QMAKE_AR}' \
+    OE_QMAKE_OBJCOPY='${OE_QMAKE_OBJCOPY}' \
     OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
     OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
     OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
@@ -42,6 +43,7 @@ export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
 export OE_QMAKE_LINK = "${CXX}"
 export OE_QMAKE_LDFLAGS = "${LDFLAGS}"
 export OE_QMAKE_AR = "${AR}"
+export OE_QMAKE_OBJCOPY = "${OBJCOPY}"
 export OE_QMAKE_STRIP = "echo"
 export OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/

wayland-scanner"

--
2.14.2

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

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#9 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Quoted 14 lines · Denys Dmytriyenko
Quoted 13 lines · Daniel Mack
Quoted 12 lines · Denys Dmytriyenko
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of the 2 (*two*) patches causes the breakage, hence the question about bisecting...

OK, I misunderstood you. I will bisect it in the evening and check which of the patches causes the failure.

#10 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Quoted 17 lines · Stefan Sonski
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Daniel Mack
Quoted 13 lines · Denys Dmytriyenko
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Have you tried bisecting by any chance?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of the 2 (*two*) patches causes the breakage, hence the question about bisecting...

OK, I misunderstood you. I will bisect it in the evening and check which of the patches causes the failure.

That was a reply to Daniel...

#11 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

In reply to Denys Dmytriyenko
Quoted 14 lines · Denys Dmytriyenko
Quoted 13 lines · Daniel Mack
Quoted 12 lines · Denys Dmytriyenko
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of the 2 (*two*) patches causes the breakage, hence the question about bisecting...

Ah, sorry, my bad.

Only reverting "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" fixes a build that does not have a native sdk target. I assume the 2nd patch would break a native sdk, but I can't tell.

I can provide full build logs if you want.

Thanks,
Daniel

#12 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

I've dropped the "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" change, so now I have only following 3 included:

== Tested changes (not included in master yet) - meta-qt5 == latest upstream commit:
2c3ef00 qt5: add missing commercial license
not included in master yet:
bbb3044 meta-qt5: Update to 5.9.2 release
8fd20e8 nativesdk-qtbase Enable objcopy for qmake
60329bc qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call

and it still fails the same as shown in:

http://errors.yoctoproject.org/Errors/Build/47776/

I'm going to drop the 2nd objcopy change and retrigger the builds.

Quoted 37 lines · Daniel Mack
Quoted 14 lines · Denys Dmytriyenko
Quoted 13 lines · Daniel Mack
Quoted 12 lines · Denys Dmytriyenko
Quoted 10 lines · Daniel Mack

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of

the 2

Quoted 1 line

(*two*) patches causes the breakage, hence the question about

bisecting...

Ah, sorry, my bad.

Only reverting "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" fixes a build that does not have a native sdk target. I assume the 2nd patch would break a native sdk, but I can't tell.

I can provide full build logs if you want.

Thanks,
Daniel

#13 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Quoted 13 lines · Martin Jansa

I've dropped the "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" change, so now I have only following 3 included:

== Tested changes (not included in master yet) - meta-qt5 == latest upstream commit:
2c3ef00 qt5: add missing commercial license
not included in master yet:
bbb3044 meta-qt5: Update to 5.9.2 release
8fd20e8 nativesdk-qtbase Enable objcopy for qmake
60329bc qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call

Quoted 5 lines

and it still fails the same as shown in:

http://errors.yoctoproject.org/Errors/Build/47776/

I'm going to drop the 2nd objcopy change and retrigger the builds.

Martin,

What's the latest status on this? I noticed you merged the other patch to master now...

Signature · 1 line
Denys
Quoted 39 lines · Daniel Mack
Quoted 38 lines · Denys Dmytriyenko
Quoted 14 lines · Daniel Mack
Quoted 13 lines · Denys Dmytriyenko
Quoted 12 lines · Daniel Mack
Quoted 10 lines

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of

the 2

Quoted 1 line

(*two*) patches causes the breakage, hence the question about

bisecting...

Ah, sorry, my bad.

Only reverting "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" fixes a build that does not have a native sdk target. I assume the 2nd patch would break a native sdk, but I can't tell.

I can provide full build logs if you want.

Thanks,
Daniel

#14 lore raw

Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY

Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Martin Jansa

I've dropped the "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" change, so now I have only following 3 included:

== Tested changes (not included in master yet) - meta-qt5 == latest upstream commit:
2c3ef00 qt5: add missing commercial license
not included in master yet:
bbb3044 meta-qt5: Update to 5.9.2 release
8fd20e8 nativesdk-qtbase Enable objcopy for qmake
60329bc qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call

and it still fails the same as shown in:

Quoted 8 lines
Quoted 3 lines

http://errors.yoctoproject.org/Errors/Build/47776/

I'm going to drop the 2nd objcopy change and retrigger the builds.

Martin,

What's the latest status on this? I noticed you merged the other patch to master now...

I've merged:
bbb3044 meta-qt5: Update to 5.9.2 release
60329bc qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call

and dropped both objcopy related changes from master-next.

If somebody still needs them, then they will need to debug why it causes the qtbase-native failures and send v2 with this issue fixed.

Regards,

Quoted 44 lines
Signature · 2 lines
-- 
Denys
Quoted 39 lines · Daniel Mack
Quoted 38 lines · Denys Dmytriyenko
Quoted 14 lines · Daniel Mack
Quoted 13 lines · Denys Dmytriyenko
Quoted 12 lines · Daniel Mack
Quoted 10 lines

Hi,

Quoted 2 lines · Martin Jansa

Either this or the ptest change seems to cause:
http://errors.yoctoproject.org/Errors/Details/157417/

FTR, I see the same error locally. Reverting both 8fd20e8b1 ("nativesdk-qtbase Enable objcopy for qmake") and 5ec6b97a8 ("qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY") in the master-next branch of meta-qt5 fixes things for me.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Have you tried bisecting by any chance?

bisect what exactly? If I take your patch out of my stack, qtbase builds. If I don't it doesn't. Can I provide more information somehow?

That's not what you said above - we are trying to figure out which of

the 2

Quoted 1 line

(*two*) patches causes the breakage, hence the question about

bisecting...

Ah, sorry, my bad.

Only reverting "qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY" fixes a build that does not have a native sdk target. I assume the 2nd patch would break a native sdk, but I can't tell.

I can provide full build logs if you want.

Thanks,
Daniel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]