* [meta-qt5][PATCH 1/2] nativesdk-qtbase Enable objcopy for qmake @ 2017-10-17 19:56 Stefan Sonski 2017-10-17 19:56 ` [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY Stefan Sonski 0 siblings, 1 reply; 15+ messages in thread From: Stefan Sonski @ 2017-10-17 19:56 UTC (permalink / raw) To: openembedded-devel Enable objcopy for qmake to support separate_debug_info flag for cross-compiled applications in nativesdk-qtbase. Signed-off-by: Stefan Sonski <s.sonski@gmail.com> --- 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(+) diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 87bd501..a650550 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb @@ -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 diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch index a8fe433..3d1958f 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch @@ -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) + -- 2.14.2 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-17 19:56 [meta-qt5][PATCH 1/2] nativesdk-qtbase Enable objcopy for qmake Stefan Sonski @ 2017-10-17 19:56 ` Stefan Sonski 2017-10-20 22:54 ` Martin Jansa 0 siblings, 1 reply; 15+ messages in thread From: Stefan Sonski @ 2017-10-17 19:56 UTC (permalink / raw) To: openembedded-devel; +Cc: Chris E. Rallis From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> Signed-off-by: Stefan Sonski <s.sonski@gmail.com> --- classes/qmake5_base.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index 8e1fe20..042008c 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass @@ -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 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-17 19:56 ` [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY Stefan Sonski @ 2017-10-20 22:54 ` Martin Jansa 2017-10-24 13:33 ` Daniel Mack 0 siblings, 1 reply; 15+ messages in thread From: Martin Jansa @ 2017-10-20 22:54 UTC (permalink / raw) To: Stefan Sonski; +Cc: openembedded-devel, Chris E. Rallis Either this or the ptest change seems to cause: http://errors.yoctoproject.org/Errors/Details/157417/ On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <s.sonski@gmail.com> wrote: > From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> > > Signed-off-by: Stefan Sonski <s.sonski@gmail.com> > --- > classes/qmake5_base.bbclass | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass > index 8e1fe20..042008c 100644 > --- a/classes/qmake5_base.bbclass > +++ b/classes/qmake5_base.bbclass > @@ -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 > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-20 22:54 ` Martin Jansa @ 2017-10-24 13:33 ` Daniel Mack 2017-10-26 12:55 ` Denys Dmytriyenko 0 siblings, 1 reply; 15+ messages in thread From: Daniel Mack @ 2017-10-24 13:33 UTC (permalink / raw) To: Martin Jansa, Stefan Sonski; +Cc: openembedded-devel, Chris E. Rallis Hi, On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > 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 > > On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <s.sonski@gmail.com> wrote: > >> From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> >> >> Signed-off-by: Stefan Sonski <s.sonski@gmail.com> >> --- >> classes/qmake5_base.bbclass | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass >> index 8e1fe20..042008c 100644 >> --- a/classes/qmake5_base.bbclass >> +++ b/classes/qmake5_base.bbclass >> @@ -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 >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-24 13:33 ` Daniel Mack @ 2017-10-26 12:55 ` Denys Dmytriyenko 2017-10-26 13:00 ` Stefan Sonski 2017-10-26 13:07 ` Daniel Mack 0 siblings, 2 replies; 15+ messages in thread From: Denys Dmytriyenko @ 2017-10-26 12:55 UTC (permalink / raw) To: Daniel Mack; +Cc: openembedded-devel, Chris E. Rallis On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > Hi, > > On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > > 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? > > On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <s.sonski@gmail.com> wrote: > > > >> From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> > >> > >> Signed-off-by: Stefan Sonski <s.sonski@gmail.com> > >> --- > >> classes/qmake5_base.bbclass | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass > >> index 8e1fe20..042008c 100644 > >> --- a/classes/qmake5_base.bbclass > >> +++ b/classes/qmake5_base.bbclass > >> @@ -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 > >> Openembedded-devel@lists.openembedded.org > >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > >> > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 12:55 ` Denys Dmytriyenko @ 2017-10-26 13:00 ` Stefan Sonski 2017-10-26 13:07 ` Daniel Mack 1 sibling, 0 replies; 15+ messages in thread From: Stefan Sonski @ 2017-10-26 13:00 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: Chris E. Rallis, openembedded-devel I have the same error if objcopy is set. I still don't get how objcopy depends on qtpreparetool. On Thu, Oct 26, 2017, 14:55 Denys Dmytriyenko <denis@denix.org> wrote: > On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > > Hi, > > > > On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > > > 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? > > > > > On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <s.sonski@gmail.com> > wrote: > > > > > >> From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> > > >> > > >> Signed-off-by: Stefan Sonski <s.sonski@gmail.com> > > >> --- > > >> classes/qmake5_base.bbclass | 2 ++ > > >> 1 file changed, 2 insertions(+) > > >> > > >> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass > > >> index 8e1fe20..042008c 100644 > > >> --- a/classes/qmake5_base.bbclass > > >> +++ b/classes/qmake5_base.bbclass > > >> @@ -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 > > >> Openembedded-devel@lists.openembedded.org > > >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > >> > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 12:55 ` Denys Dmytriyenko 2017-10-26 13:00 ` Stefan Sonski @ 2017-10-26 13:07 ` Daniel Mack 2017-10-26 13:29 ` Stefan Sonski 2017-10-26 13:36 ` Denys Dmytriyenko 1 sibling, 2 replies; 15+ messages in thread From: Daniel Mack @ 2017-10-26 13:07 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: openembedded-devel, Chris E. Rallis On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: > On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: >> Hi, >> >> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: >>> 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? 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 > > >>> On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <s.sonski@gmail.com> wrote: >>> >>>> From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> >>>> >>>> Signed-off-by: Stefan Sonski <s.sonski@gmail.com> >>>> --- >>>> classes/qmake5_base.bbclass | 2 ++ >>>> 1 file changed, 2 insertions(+) >>>> >>>> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass >>>> index 8e1fe20..042008c 100644 >>>> --- a/classes/qmake5_base.bbclass >>>> +++ b/classes/qmake5_base.bbclass >>>> @@ -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 >>>> Openembedded-devel@lists.openembedded.org >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >>>> >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 13:07 ` Daniel Mack @ 2017-10-26 13:29 ` Stefan Sonski 2017-10-26 13:36 ` Denys Dmytriyenko 1 sibling, 0 replies; 15+ messages in thread From: Stefan Sonski @ 2017-10-26 13:29 UTC (permalink / raw) To: Daniel Mack; +Cc: Chris E. Rallis, openembedded-devel On Thu, Oct 26, 2017 at 3:07 PM, Daniel Mack <daniel@zonque.org> wrote: > On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: >> On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: >>> Hi, >>> >>> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: >>>> 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? > > 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. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 13:07 ` Daniel Mack 2017-10-26 13:29 ` Stefan Sonski @ 2017-10-26 13:36 ` Denys Dmytriyenko 2017-10-26 13:47 ` Stefan Sonski 2017-10-27 5:53 ` Daniel Mack 1 sibling, 2 replies; 15+ messages in thread From: Denys Dmytriyenko @ 2017-10-26 13:36 UTC (permalink / raw) To: Daniel Mack; +Cc: openembedded-devel, Chris E. Rallis On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: > On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: > > On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > >> Hi, > >> > >> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > >>> 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? > > 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... > >>> On Tue, Oct 17, 2017 at 9:56 PM, Stefan Sonski <s.sonski@gmail.com> wrote: > >>> > >>>> From: "Chris E. Rallis" <Chris.Rallis@RavenInd.net> > >>>> > >>>> Signed-off-by: Stefan Sonski <s.sonski@gmail.com> > >>>> --- > >>>> classes/qmake5_base.bbclass | 2 ++ > >>>> 1 file changed, 2 insertions(+) > >>>> > >>>> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass > >>>> index 8e1fe20..042008c 100644 > >>>> --- a/classes/qmake5_base.bbclass > >>>> +++ b/classes/qmake5_base.bbclass > >>>> @@ -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 > >>>> Openembedded-devel@lists.openembedded.org > >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > >>>> > >> > >> -- > >> _______________________________________________ > >> Openembedded-devel mailing list > >> Openembedded-devel@lists.openembedded.org > >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 13:36 ` Denys Dmytriyenko @ 2017-10-26 13:47 ` Stefan Sonski 2017-10-26 13:49 ` Denys Dmytriyenko 2017-10-27 5:53 ` Daniel Mack 1 sibling, 1 reply; 15+ messages in thread From: Stefan Sonski @ 2017-10-26 13:47 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: Chris E. Rallis, openembedded-devel On Thu, Oct 26, 2017 at 3:36 PM, Denys Dmytriyenko <denis@denix.org> wrote: > On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: >> On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: >> > On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: >> >> Hi, >> >> >> >> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: >> >>> 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? >> >> 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. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 13:47 ` Stefan Sonski @ 2017-10-26 13:49 ` Denys Dmytriyenko 0 siblings, 0 replies; 15+ messages in thread From: Denys Dmytriyenko @ 2017-10-26 13:49 UTC (permalink / raw) To: Stefan Sonski; +Cc: Chris E. Rallis, openembedded-devel On Thu, Oct 26, 2017 at 03:47:03PM +0200, Stefan Sonski wrote: > On Thu, Oct 26, 2017 at 3:36 PM, Denys Dmytriyenko <denis@denix.org> wrote: > > On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: > >> On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: > >> > On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > >> >> Hi, > >> >> > >> >> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > >> >>> 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? > >> > >> 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... ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-26 13:36 ` Denys Dmytriyenko 2017-10-26 13:47 ` Stefan Sonski @ 2017-10-27 5:53 ` Daniel Mack 2017-10-27 19:05 ` Martin Jansa 1 sibling, 1 reply; 15+ messages in thread From: Daniel Mack @ 2017-10-27 5:53 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: openembedded-devel, Chris E. Rallis On Thursday, October 26, 2017 03:36 PM, Denys Dmytriyenko wrote: > On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: >> On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: >>> On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: >>>> Hi, >>>> >>>> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: >>>>> 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? >> >> 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 ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-27 5:53 ` Daniel Mack @ 2017-10-27 19:05 ` Martin Jansa 2017-11-01 18:57 ` Denys Dmytriyenko 0 siblings, 1 reply; 15+ messages in thread From: Martin Jansa @ 2017-10-27 19:05 UTC (permalink / raw) To: Daniel Mack; +Cc: Chris E. Rallis, openembedded-devel 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. On Fri, Oct 27, 2017 at 7:53 AM, Daniel Mack <daniel@zonque.org> wrote: > On Thursday, October 26, 2017 03:36 PM, Denys Dmytriyenko wrote: > > On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: > >> On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: > >>> On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > >>>> Hi, > >>>> > >>>> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > >>>>> 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? > >> > >> 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 > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-10-27 19:05 ` Martin Jansa @ 2017-11-01 18:57 ` Denys Dmytriyenko 2017-11-01 19:52 ` Martin Jansa 0 siblings, 1 reply; 15+ messages in thread From: Denys Dmytriyenko @ 2017-11-01 18:57 UTC (permalink / raw) To: Martin Jansa; +Cc: Chris E. Rallis, openembedded-devel On Fri, Oct 27, 2017 at 09:05:39PM +0200, Martin Jansa wrote: > 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. Martin, What's the latest status on this? I noticed you merged the other patch to master now... -- Denys > On Fri, Oct 27, 2017 at 7:53 AM, Daniel Mack <daniel@zonque.org> wrote: > > > On Thursday, October 26, 2017 03:36 PM, Denys Dmytriyenko wrote: > > > On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: > > >> On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: > > >>> On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > > >>>> Hi, > > >>>> > > >>>> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > > >>>>> 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? > > >> > > >> 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 > > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY 2017-11-01 18:57 ` Denys Dmytriyenko @ 2017-11-01 19:52 ` Martin Jansa 0 siblings, 0 replies; 15+ messages in thread From: Martin Jansa @ 2017-11-01 19:52 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: Chris E. Rallis, openembedded-devel [-- Attachment #1: Type: text/plain, Size: 3048 bytes --] On Wed, Nov 01, 2017 at 02:57:01PM -0400, Denys Dmytriyenko wrote: > On Fri, Oct 27, 2017 at 09:05:39PM +0200, Martin Jansa wrote: > > 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. > > 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, > > -- > Denys > > > > On Fri, Oct 27, 2017 at 7:53 AM, Daniel Mack <daniel@zonque.org> wrote: > > > > > On Thursday, October 26, 2017 03:36 PM, Denys Dmytriyenko wrote: > > > > On Thu, Oct 26, 2017 at 03:07:36PM +0200, Daniel Mack wrote: > > > >> On Thursday, October 26, 2017 02:55 PM, Denys Dmytriyenko wrote: > > > >>> On Tue, Oct 24, 2017 at 03:33:10PM +0200, Daniel Mack wrote: > > > >>>> Hi, > > > >>>> > > > >>>> On Saturday, October 21, 2017 12:54 AM, Martin Jansa wrote: > > > >>>>> 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? > > > >> > > > >> 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 > > > -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 201 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-11-01 19:49 UTC | newest] Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-17 19:56 [meta-qt5][PATCH 1/2] nativesdk-qtbase Enable objcopy for qmake Stefan Sonski 2017-10-17 19:56 ` [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY Stefan Sonski 2017-10-20 22:54 ` Martin Jansa 2017-10-24 13:33 ` Daniel Mack 2017-10-26 12:55 ` Denys Dmytriyenko 2017-10-26 13:00 ` Stefan Sonski 2017-10-26 13:07 ` Daniel Mack 2017-10-26 13:29 ` Stefan Sonski 2017-10-26 13:36 ` Denys Dmytriyenko 2017-10-26 13:47 ` Stefan Sonski 2017-10-26 13:49 ` Denys Dmytriyenko 2017-10-27 5:53 ` Daniel Mack 2017-10-27 19:05 ` Martin Jansa 2017-11-01 18:57 ` Denys Dmytriyenko 2017-11-01 19:52 ` Martin Jansa
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.