Re: [oe] [meta-oe][PATCH] breakpad: disable calls to getcontext() with musl
On Wed, Jan 24, 2018 at 11:49 PM, Khem Raj wrote: > On Wed, Jan 24, 2018 at 3:26 PM, Andre McCurdy wrote: >> Musl does not currently provide getcontext(). > > perhaps its better to declare breakpad incompatible with musl instead > since if it builds it will raise the hopes of users to work well at runtime > which it wont. I'm using a distro which unconditionally enables breakpad and it would take some surgery to disable it. Unfortunately the distro maintainers are generally slow and unresponsive to patches so there's a good chance I'd end up carrying the changes to disable breakpad in my own tree. At least for me, it's better to have a breakpad which builds but doesn't work rather than not building at all. >> Signed-off-by: Andre McCurdy >> --- >> ...001-disable-calls-to-getcontext-with-musl.patch | 52 >> ++ >> meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 1 + >> 2 files changed, 53 insertions(+) >> create mode 100644 >> meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >> >> diff --git >> a/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >> >> b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >> new file mode 100644 >> index 000..c762754 >> --- /dev/null >> +++ >> b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >> @@ -0,0 +1,52 @@ >> +From 57ecf7205feedd23f901e1bb9d193787e559e433 Mon Sep 17 00:00:00 2001 >> +From: Andre McCurdy >> +Date: Tue, 23 Jan 2018 15:13:26 -0800 >> +Subject: [PATCH] disable calls to getcontext() with musl >> + >> +Signed-off-by: Andre McCurdy >> +--- >> + src/client/linux/handler/exception_handler.cc | 17 + >> + 1 file changed, 17 insertions(+) >> + >> +diff --git a/src/client/linux/handler/exception_handler.cc >> b/src/client/linux/handler/exception_handler.cc >> +index cca023f..f3e460c 100644 >> +--- a/src/client/linux/handler/exception_handler.cc >> b/src/client/linux/handler/exception_handler.cc >> +@@ -495,7 +495,19 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) >> { >> + siginfo.si_code = SI_USER; >> + siginfo.si_pid = getpid(); >> + ucontext_t context; >> ++#if defined(__GLIBC__) >> + getcontext(&context); >> ++#else >> ++ // Extreme hack: Allow musl builds to compile - but don't expect them to >> work. >> ++ // Although musl provides a definition for getcontext() in ucontext.h >> (which >> ++ // enough to build libbreakpad_client) musl does not provide a >> corresponding >> ++ // getcontext() function, so builds will fail when attempting to link >> anything >> ++ // with libbreakpad_client. Disabling calls to getcontext() is a >> temporary >> ++ // hack. The real fix is probably to enable Breakpad's own >> implementation of >> ++ // getcontext() when building for musl (it's currently only enabled when >> ++ // building for Android). >> ++ memset (&context, 0, sizeof(context)); >> ++#endif >> + return HandleSignal(sig, &siginfo, &context); >> + } >> + >> +@@ -680,9 +692,14 @@ bool ExceptionHandler::WriteMinidump() { >> + sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); >> + >> + CrashContext context; >> ++#if defined(__GLIBC__) >> + int getcontext_result = getcontext(&context.context); >> + if (getcontext_result) >> + return false; >> ++#else >> ++ // Extreme hack - see comments above. >> ++ memset (&context.context, 0, sizeof(&context.context)); >> ++#endif >> + >> + #if defined(__i386__) >> + // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is >> retrieved >> +-- >> +1.9.1 >> + >> diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >> b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >> index 5f6d82c..d9773c9 100644 >> --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >> +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >> @@ -41,6 +41,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \ >> file://0005-md2core-Replace-basename.patch \ >> file://0002-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch >> \ >> file://mcontext.patch \ >> + file://0001-disable-calls-to-getcontext-with-musl.patch \ >> >> file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss >> \ >> file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ >> " >> -- >> 1.9.1 >> >> -- >> ___ >> 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
[oe] [meta-oe][PATCH] qrencode: 3.4.4 -> 4.0.0
Upgrade qrencode from 3.4.4 to 4.0.0 Signed-off-by: Pierre-Jean TEXIER --- meta-oe/recipes-graphics/qrencode/qrencode_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-graphics/qrencode/qrencode_git.bb b/meta-oe/recipes-graphics/qrencode/qrencode_git.bb index 6a159a7..f539775 100644 --- a/meta-oe/recipes-graphics/qrencode/qrencode_git.bb +++ b/meta-oe/recipes-graphics/qrencode/qrencode_git.bb @@ -4,9 +4,9 @@ HOMEPAGE = "http://fukuchi.org/works/qrencode/"; SECTION = "libs" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" -PV = "3.4.4+git${SRCPV}" +PV = "4.0.0+git${SRCPV}" -SRCREV = "1b565c7b599029818fc596e7da4371a3083da36c" +SRCREV = "07f3c5d4bf9136711422cc7dbf28aff469da220a" SRC_URI = "git://github.com/fukuchi/libqrencode.git" S = "${WORKDIR}/git" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] breakpad: disable calls to getcontext() with musl
On 1/25/18 2:11 AM, Andre McCurdy wrote: > On Wed, Jan 24, 2018 at 11:49 PM, Khem Raj wrote: >> On Wed, Jan 24, 2018 at 3:26 PM, Andre McCurdy wrote: >>> Musl does not currently provide getcontext(). >> >> perhaps its better to declare breakpad incompatible with musl instead >> since if it builds it will raise the hopes of users to work well at runtime >> which it wont. > > I'm using a distro which unconditionally enables breakpad and it would > take some surgery to disable it. Unfortunately the distro maintainers > are generally slow and unresponsive to patches so there's a good > chance I'd end up carrying the changes to disable breakpad in my own > tree. perhaps that surgery is better IMO. Since when it comes time to support breakpad on musl someone will not just say "it works" which is far worse then a build break > > At least for me, it's better to have a breakpad which builds but > doesn't work rather than not building at all. > >>> Signed-off-by: Andre McCurdy >>> --- >>> ...001-disable-calls-to-getcontext-with-musl.patch | 52 >>> ++ >>> meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 1 + >>> 2 files changed, 53 insertions(+) >>> create mode 100644 >>> meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >>> >>> diff --git >>> a/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >>> >>> b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >>> new file mode 100644 >>> index 000..c762754 >>> --- /dev/null >>> +++ >>> b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch >>> @@ -0,0 +1,52 @@ >>> +From 57ecf7205feedd23f901e1bb9d193787e559e433 Mon Sep 17 00:00:00 2001 >>> +From: Andre McCurdy >>> +Date: Tue, 23 Jan 2018 15:13:26 -0800 >>> +Subject: [PATCH] disable calls to getcontext() with musl >>> + >>> +Signed-off-by: Andre McCurdy >>> +--- >>> + src/client/linux/handler/exception_handler.cc | 17 + >>> + 1 file changed, 17 insertions(+) >>> + >>> +diff --git a/src/client/linux/handler/exception_handler.cc >>> b/src/client/linux/handler/exception_handler.cc >>> +index cca023f..f3e460c 100644 >>> +--- a/src/client/linux/handler/exception_handler.cc >>> b/src/client/linux/handler/exception_handler.cc >>> +@@ -495,7 +495,19 @@ bool ExceptionHandler::SimulateSignalDelivery(int >>> sig) { >>> + siginfo.si_code = SI_USER; >>> + siginfo.si_pid = getpid(); >>> + ucontext_t context; >>> ++#if defined(__GLIBC__) >>> + getcontext(&context); >>> ++#else >>> ++ // Extreme hack: Allow musl builds to compile - but don't expect them >>> to work. >>> ++ // Although musl provides a definition for getcontext() in ucontext.h >>> (which >>> ++ // enough to build libbreakpad_client) musl does not provide a >>> corresponding >>> ++ // getcontext() function, so builds will fail when attempting to link >>> anything >>> ++ // with libbreakpad_client. Disabling calls to getcontext() is a >>> temporary >>> ++ // hack. The real fix is probably to enable Breakpad's own >>> implementation of >>> ++ // getcontext() when building for musl (it's currently only enabled when >>> ++ // building for Android). >>> ++ memset (&context, 0, sizeof(context)); >>> ++#endif >>> + return HandleSignal(sig, &siginfo, &context); >>> + } >>> + >>> +@@ -680,9 +692,14 @@ bool ExceptionHandler::WriteMinidump() { >>> + sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); >>> + >>> + CrashContext context; >>> ++#if defined(__GLIBC__) >>> + int getcontext_result = getcontext(&context.context); >>> + if (getcontext_result) >>> + return false; >>> ++#else >>> ++ // Extreme hack - see comments above. >>> ++ memset (&context.context, 0, sizeof(&context.context)); >>> ++#endif >>> + >>> + #if defined(__i386__) >>> + // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is >>> retrieved >>> +-- >>> +1.9.1 >>> + >>> diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >>> b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >>> index 5f6d82c..d9773c9 100644 >>> --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >>> +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb >>> @@ -41,6 +41,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad >>> \ >>> file://0005-md2core-Replace-basename.patch \ >>> >>> file://0002-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch \ >>> file://mcontext.patch \ >>> + file://0001-disable-calls-to-getcontext-with-musl.patch \ >>> >>> file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss >>> \ >>> file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ >>> " >>> -- >>> 1.9.1 >>> >>> -- >>> ___ >>> Openembedded-devel mailing list >>> Openembedded-devel@lists.openembedded.org >>> http://lists.
Re: [oe] [meta-python][PATCH]] python-oauthlib_2.0.6.bb: Add python-oauthlib
> -Original Message- > From: openembedded-devel-boun...@lists.openembedded.org > [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of > Derek Straka > Sent: Wednesday, January 24, 2018 7:48 PM > To: Bhargava Sreekantappa Gayathri > Cc: Manjukumar Harthikote Matha ; openembeded- > devel > Subject: Re: [oe] [meta-python][PATCH]] python-oauthlib_2.0.6.bb: Add python- > oauthlib > > Any chance you can adapt it work on both python 2.7 and python3? Hi Derek, I will try your suggestion and send a v2 shortly. Thanks, Bhargav > > On Jan 24, 2018 10:34 PM, "Bhargava Sreekantappa Gayathri" < > bhargava.sreekantappa-gayat...@xilinx.com> wrote: > > This patch adds python-oauthlib. > > Signed-off-by: Bhargava Sreekantappa Gayathri gayat...@xilinx.com> > --- > .../python/python-oauthlib_2.0.6.bb| 27 > ++ > 1 file changed, 27 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/ > python-oauthlib_2.0.6.bb > > diff --git a/meta-python/recipes-devtools/python/python-oauthlib_2.0.6.bb > b/meta-python/recipes-devtools/python/python-oauthlib_2.0.6.bb > new file mode 100644 > index 000..0bcb7b8 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-oauthlib_2.0.6.bb > @@ -0,0 +1,27 @@ > +SUMMARY = "A generic, spec-compliant, thorough implementation of the > +OAuth > request-signing logic" > +HOMEPAGE = "https://github.com/idan/oauthlib"; > + > +LICENSE = "BSD" > +LIC_FILES_CHKSUM = > "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" > + > +SRC_URI = "https://pypi.python.org/packages/a5/8a/ > 212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754 > /oauthlib-${PV}.tar.gz" > +SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" > +SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9 > eacbb96d35c24d1970d2539bbc3ec70ce1" > + > +S = "${WORKDIR}/oauthlib-${PV}" > + > +inherit setuptools > + > +# The following configs & dependencies are from setuptools extras_require. > +# These dependencies are optional, hence can be controlled via > PACKAGECONFIG. > +# The upstream names may not correspond exactly to bitbake package names. > +# > +# Uncomment this line to enable all the optional features. > +#PACKAGECONFIG ?= "test signedtoken signals rsa" > +PACKAGECONFIG[test] = ",,,python-blinker python-cryptography > +python-nose > python-pyjwt" > +PACKAGECONFIG[signedtoken] = ",,,python-cryptography python-pyjwt" > +PACKAGECONFIG[signals] = ",,,python-blinker" > +PACKAGECONFIG[rsa] = ",,,python-cryptography" > + > +RDEPENDS_${PN} += "python-core python-crypt python-datetime python-json > python-lang python-logging python-math python-netclient python-re python- > unittest" > + > -- > 2.7.4 > > This email and any attachments are intended for the sole use of the named > recipient(s) and contain(s) confidential information that may be proprietary, > privileged or copyrighted under applicable law. If you are not the intended > recipient, do not read, copy, or forward this email message or any > attachments. > Delete this email message and any attachments immediately. > -- > ___ > 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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-multimedia][PATCH] rygel: Add lms PACKAGECONFIG item
On 12/22/17 6:51 AM, Changhyeok Bae wrote: Signed-off-by: Changhyeok Bae --- meta-multimedia/recipes-connectivity/rygel/rygel_0.34.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.34.0.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.34.0.bb index d2eda6b..e94c9ff 100644 --- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.34.0.bb +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.34.0.bb @@ -30,6 +30,7 @@ PACKAGECONFIG[ruih] = "--enable-ruih-plugin,--disable-ruih-plugin" PACKAGECONFIG[media-export] = "--enable-media-export-plugin,--disable-media-export-plugin" PACKAGECONFIG[gst-launch] = "--enable-gst-launch-plugin,--disable-gst-launch-plugin" PACKAGECONFIG[gtk+3] = ",--without-ui,gtk+3" +PACKAGECONFIG[lms] = "--enable-lms-plugin,--disable-lms-plugin" I guess it should add rdep on lightmediascanner too when enabled. LIBV = "2.6" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] xorgxrdp: new add
On 12/27/17 6:25 PM, Zheng, Ruoqin wrote: Hi armin Could you give me some advice about how to fix it? you probably require xorg-driver-common.inc to be included in this recipe. Thank you. -- Zheng Ruoqin Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) ADDR.: No.6 Wenzhu Road, Software Avenue, Nanjing, 210012, China MAIL : zhengrq.f...@cn.fujistu.com -Original Message- From: akuster808 [mailto:akuster...@gmail.com] Sent: Wednesday, December 27, 2017 11:18 AM To: Zheng, Ruoqin/郑 若钦 ; openembedded-devel@lists.openembedded.org Subject: Re: [oe] [meta-oe][PATCH] xorgxrdp: new add On 12/19/2017 08:11 AM, zhengrq wrote: Add a new recipe xorgxrdp_0.2.5.bb. I am seeing ERROR: xorgxrdp-0.2.5+gitAUTOINC+c122544f18-r0 do_package_qa: QA Issue: Package xorgxrdp contains Xorg driver (xrdpdev_drv.so) but no xorg-abi- dependencies [xorg-driver-abi] ERROR: xorgxrdp-0.2.5+gitAUTOINC+c122544f18-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: xorgxrdp-0.2.5+gitAUTOINC+c122544f18-r0 do_package_qa: Function failed: do_package_qa please fix. - armin Signed-off-by: Zheng Ruoqin --- meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb | 20 1 file changed, 20 insertions(+) create mode 100644 meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb diff --git a/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb b/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb new file mode 100644 index 000..b41190d --- /dev/null +++ b/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb @@ -0,0 +1,20 @@ +SUMMARY = "Xorg drivers for xrdp." + +LICENSE = "X11" +LIC_FILES_CHKSUM = +"file://COPYING;md5=a2523660329fdca3d954c0a87390e007 \ " + +inherit autotools pkgconfig + +DEPENDS = "virtual/libx11 xserver-xorg xrdp nasm-native" + +SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git \ + " + +SRCREV = "c122544f184d4031bbae1ad80fbab554c34a9427" + +PV = "0.2.5+git${SRCPV}" + +S = "${WORKDIR}/git" + +FILES_${PN} += "${libdir}/xorg/modules/*" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH v3] samba: Add packagegroup
Add packagegroup for samba, for there are too many rpms in samba and it's hard to manage. Signed-off-by: Zheng Ruoqin --- .../recipes-connectivity/samba/samba_4.7.0.bb | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb b/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb index f33c138..dd55363 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb @@ -197,7 +197,7 @@ PACKAGES =+ "${PN}-python ${PN}-pidl \ ${PN}-dsdb-modules ${PN}-testsuite registry-tools \ winbind \ ${PN}-common ${PN}-base ${PN}-ad-dc ${PN}-ctdb-tests \ - smbclient" + smbclient ${PN}-client ${PN}-server ${PN}-test" python samba_populate_packages() { def module_hook(file, pkg, pattern, format, basename): @@ -294,3 +294,27 @@ FILES_smbclient = "${bindir}/cifsdd \ RDEPENDS_${PN}-pidl_append = " perl" FILES_${PN}-pidl = "${bindir}/pidl ${datadir}/perl5/Parse" + +RDEPENDS_${PN}-client = "\ +smbclient \ +winbind \ +registry-tools \ +${PN}-pidl \ +" + +ALLOW_EMPTY_${PN}-client = "1" + +RDEPENDS_${PN}-server = "\ +${PN} \ +winbind \ +registry-tools \ +" + +ALLOW_EMPTY_${PN}-server = "1" + +RDEPENDS_${PN}-test = "\ +${PN}-ctdb-tests \ +${PN}-testsuite \ +" + +ALLOW_EMPTY_${PN}-test = "1" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] dnfdragora: fix PV
Include SRCPV in PV. Signed-off-by: Zheng Ruoqin --- meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb index 5678f73..9cd1efb 100644 --- a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb +++ b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb @@ -10,7 +10,7 @@ SRC_URI = "git://github.com/manatools/dnfdragora.git \ file://0001-Run-python-scripts-using-env.patch \ " -PV = "1.0.1+git" +PV = "1.0.1+git${SRCPV}" SRCREV = "4fef4ce889b8e4fa03191d414f63bfd50796152a" S = "${WORKDIR}/git" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel