docker/docker-registry issues
PATCH 1/1 docker/docker-registry issues
- go 1.4 has bugs in sqlite, forcing build with go 1.3
- upreving python-greenlet - instability issues
PATCH 1/7 docker: needs go 1.3
The current version of docker (1.6.2) requires go 1.3
See go 1.4 sqlite issue:
https://github.com/docker/docker/issues/9649
--- .../go-cross/files/bsd_svid_source.patch | 37 ++++++ recipes-devtools/go-cross/files/ccache.patch | 147 +++++++++++++++++++++ recipes-devtools/go-cross/go-cross_1.3.bb | 65 +++++++++ 3 files changed, 249 insertions(+) create mode 100644 recipes-devtools/go-cross/files/bsd_svid_source.patch create mode 100644 recipes-devtools/go-cross/files/ccache.patch create mode 100644 recipes-devtools/go-cross/go-cross_1.3.bb
recipes-devtools/go-cross/files/bsd_svid_source.patch new file +37 -0
@@ -0,0 +1,37 @@ +golang-cross: do_compile fails cc1: all warnings being treated as errors + +glibc 2.20 deprecates _BSD_SOURCE and _SVID_SOURCE and emits an error +message. From patch 16632: + libc [PATCH] BZ #16632: Disable _SVID_SOURCE/_BSD_SOURCE warning + if _DEFAULT_SOURCE is defined + +Since we also need to support glibc before 2.20, from the release notes +for glibc 2.20, the recommended fix is to define _DEFAULT_SOURCE + +(fixed upstream) +https://groups.google.com/forum/#!topic/golang-codereviews/S4TARFCxu2k + +Signed-off-by: Amy Fong <[email protected]> +--- + include/u.h | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/include/u.h ++++ b/include/u.h +@@ -38,6 +38,16 @@ + # define __MAKECONTEXT_V2_SOURCE 1 + # endif + #endif ++/** ++ * in glibc >= 2.20, _BSD_SOURCE and _SVID_SOURCE causes warning ++ * messages if _DEFAULT_SOURCE is not defined. ++ * ++ * From glibc 2.20 release notes, since this application needs _BSD_SOURCE ++ * and/or _SVID_SOURCE and we must support glibc < 2.19 and ++ * glibc >= 2.20, then define all 3 (_DEFAULT_SOURCE, _BSD_SOURCE, ++ * and _SVID_SOURCE) unconditionally ++ */ ++#define _DEFAULT_SOURCE 1 + #define _BSD_SOURCE 1 + #define _NETBSD_SOURCE 1 /* NetBSD */ + #define _SVID_SOURCE 1
recipes-devtools/go-cross/files/ccache.patch new file +147 -0
147 lines not on this page · raw message
recipes-devtools/go-cross/go-cross_1.3.bb new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.5.3
PATCH 2/7 Backport go-cross: fix the bug of cross building error
In reply to Amy Fongsubmitted to upstream https://github.com/errordeveloper/oe-meta-go
--- recipes-devtools/go-cross/go-cross_1.3.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
recipes-devtools/go-cross/go-cross_1.3.bb +4 -2
@@ -5,6 +5,8 @@ DESCRIPTION = "\ HOMEPAGE = "https://golang.org/" LICENSE = "BSD-3-Clause" +DEPENDS = "virtual/${TARGET_PREFIX}gcc" + SRC_URI = "http://golang.org/dl/go${PV}.src.tar.gz" S = "${WORKDIR}/go/"
@@ -44,8 +46,8 @@ do_compile() { ## TODO: consider setting GO_EXTLINK_ENABLED export CC="${BUILD_CC}" - export CC_FOR_TARGET="${CC}" - export CXX_FOR_TARGET="${CXX}" + export CC_FOR_TARGET="${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" + export CXX_FOR_TARGET="${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" export GO_CCFLAGS="${HOST_CFLAGS}" export GO_LDFLAGS="${HOST_LDFLAGS}"
Signature · 1 line
2.5.3
PATCH 3/7 Backport go-cross: fix the building failed for quark bsp
In reply to Amy Fongsubmitted to upstream https://github.com/errordeveloper/oe-meta-go
--- recipes-devtools/go-cross/go-cross_1.3.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-devtools/go-cross/go-cross_1.3.bb +3 -0
@@ -30,8 +30,11 @@ do_compile() { export GOOS="linux" export GOARCH="${TARGET_ARCH}" + # golang only support 386, amd64 and arm architecture. if [ "${TARGET_ARCH}" = "x86_64" ]; then export GOARCH="amd64" + elif [ "${TARGET_ARCH}" = "i586" ]; then + export GOARCH="386" fi if [ "${TARGET_ARCH}" = "arm" ] then
Signature · 1 line
2.5.3
PATCH 4/7 Backport go-cross: set alignment for the .rel.plt section on 32-bit architectures
In reply to Amy Fongsubmitted to upstream https://github.com/errordeveloper/oe-meta-go
--- ...alignment-for-the-.rel.plt-section-on-32-.patch | 30 ++++++++++++++++++++++ recipes-devtools/go-cross/go-cross_1.3.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch
recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 855145d5c03c4b4faf60736c38d7a299c682af4a Mon Sep 17 00:00:00 2001 +From: Shenghou Ma <[email protected]> +Date: Sat, 7 Feb 2015 14:06:02 -0500 +Subject: [PATCH] cmd/ld: set alignment for the .rel.plt section on 32-bit + architectures + +Fixes #9802. + +Change-Id: I22c52a37bdb23a14cc4615c9519431bb14ca81ca +Reviewed-on: https://go-review.googlesource.com/4170 +Reviewed-by: Ian Lance Taylor <[email protected]> +--- + src/cmd/ld/elf.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/cmd/ld/elf.c b/src/cmd/ld/elf.c +index 12ced98..97ed4bd 100644 +--- a/src/cmd/ld/elf.c ++++ b/src/cmd/ld/elf.c +@@ -1363,6 +1363,7 @@ asmbelf(vlong symo) + sh->type = SHT_REL; + sh->flags = SHF_ALLOC; + sh->entsize = ELF32RELSIZE; ++ sh->addralign = 4; + sh->link = elfshname(".dynsym")->shnum; + shsym(sh, linklookup(ctxt, ".rel.plt", 0)); + +-- +1.9.1 +
recipes-devtools/go-cross/go-cross_1.3.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI[sha256sum] = "eb983e6c5b2b9838f482c5442b1ac1856f610f2b21f3c123b3fedb48ff SRC_URI += "\ file://bsd_svid_source.patch \ file://ccache.patch \ + file://0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch \ " do_compile() {
Signature · 1 line
2.5.3
PATCH 5/7 Enable go-cross 1.3 to coexist with later versions
In reply to Amy FongSince we need go 1.3 to co-exist with later versions (ie 1.4), package go-cross_1.3 as go-cross-1.3_1.3.
go 1.3 will be installed to a different path than go-cross, this requires go packages needing go 1.3 to set its PATH to:
export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH---
recipes-containers/docker/docker_git.bb | 4 +++-
.../go-cross/{go-cross_1.3.bb => go-cross-1.3_1.3.bb} | 11 ++++++-----
2 files changed, 9 insertions(+), 6 deletions(-)
rename recipes-devtools/go-cross/{go-cross_1.3.bb => go-cross-1.3_1.3.bb} (88%)recipes-containers/docker/docker_git.bb +3 -1
@@ -36,7 +36,7 @@ S = "${WORKDIR}/git" DOCKER_VERSION = "1.6.2" PV = "${DOCKER_VERSION}+git${SRCREV}" -DEPENDS = "go-cross \ +DEPENDS = "go-cross-1.3 \ go-cli \ go-pty \ go-context \
@@ -65,6 +65,8 @@ do_configure() { } do_compile() { + export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH + export GOARCH="${TARGET_ARCH}" # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then
recipes-devtools/go-cross/go-cross-1.3_1.3.bb renamed from recipes-devtools/go-cross/go-cross_1.3.bb +6 -5
@@ -25,7 +25,7 @@ SRC_URI += "\ do_compile() { ## Setting `$GOBIN` doesn't do any good, looks like it ends up copying binaries there. - export GOROOT_FINAL="${SYSROOT}${libdir}/go" + export GOROOT_FINAL="${SYSROOT}${libdir}/go-1.3" export GOHOSTOS="linux" export GOOS="linux"
@@ -61,11 +61,12 @@ do_compile() { do_install() { ## It should be okay to ignore `${WORKDIR}/go/bin/linux_arm`... ## Also `gofmt` is not needed right now. - install -d "${D}${bindir}" - install -m 0755 "${WORKDIR}/go/bin/go" "${D}${bindir}" - install -d "${D}${libdir}/go" + install -d "${D}${bindir}/go-1.3" + install -m 0755 "${WORKDIR}/go/bin/go" "${D}${bindir}/go-1.3/" + install -d "${D}${libdir}/go-1.3" + ## TODO: use `install` instead of `cp` for dir in include lib pkg src test - do cp -a "${WORKDIR}/go/${dir}" "${D}${libdir}/go/" + do cp -a "${WORKDIR}/go/${dir}" "${D}${libdir}/go-1.3/" done }
Signature · 1 line
2.5.3
PATCH 6/7 docker: fix paths for cross compile
In reply to Amy FongSome of the cgo variables were pointing to host paths and not target Fix install rules - binaries can be installed to a subdirectory.
--- recipes-containers/docker/docker_git.bb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
recipes-containers/docker/docker_git.bb +9 -3
@@ -83,10 +83,12 @@ do_compile() { export GOPATH="${S}/.gopath:${S}/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" cd - + export CGO_ENABLED="1" + # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries - export CGO_CFLAGS="${BUILD_CFLAGS}" - export CGO_LDFLAGS="${BUILD_LDFLAGS}" + export CGO_CFLAGS="${BUILDSDK_CFLAGS}" + export CGO_LDFLAGS="${BUILDSDK_LDFLAGS}" # this is the unsupported built structure # that doesn't rely on an existing docker
@@ -124,7 +126,11 @@ do_install() { install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init fi - cp ${S}/vendor/bin/nsinit ${D}/${bindir} + if [ -d ${S}/vendor/bin/linux_* ]; then + cp ${S}/vendor/bin/linux_*/* ${D}/${bindir} + else + cp ${S}/vendor/bin/* ${D}/${bindir} + fi mkdir -p ${D}/usr/share/docker/ cp ${WORKDIR}/hi.Dockerfile ${D}/usr/share/docker/
Signature · 1 line
2.5.3
PATCH 7/7 python-greenlet: uprev to 0.4.9
In reply to Amy Fongpython-greenlet bugfixes from 0.3.4 - unstable issues. This resulted in the docker-registry (in some build scenarios) crashing repeatedly.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 193, in init_process
super(GeventWorker, self).init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/base.py", line 120, in init_process
self.run()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 117, in run
gevent.sleep(1.0)
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 75, in sleep
hub.wait(loop.timer(seconds, ref=ref))
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 341, in wait
result = waiter.get()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 568, in get
return self.hub.switch()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 331, in switch
return greenlet.switch(self)
SystemError: NULL result without error in PyObject_Call
<repeat>
--- recipes-devtools/python/python-greenlet_0.4.9.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-devtools/python/python-greenlet_0.4.9.bb
recipes-devtools/python/python-greenlet_0.4.9.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Python lightweight in-process concurrent programming" +HOMEPAGE = "http://pypi.python.org/pypi/greenlet" +SECTION = "devel/python" +LICENSE = "MIT & PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ + file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" +SRC_URI = "http://pypi.python.org/packages/source/g/greenlet/greenlet-${PV}.tar.gz" +SRC_URI[md5sum] = "00bb1822d8511cc85f052e89d1fd919b" +SRC_URI[sha256sum] = "79f9b8bbbb1c599c66aed5e643e8b53bae697cae46e0acfc4ee461df48a90012" + +S = "${WORKDIR}/greenlet-${PV}" + +inherit distutils +
Signature · 1 line
2.5.3
Re: [PATCH 7/7] python-greenlet: uprev to 0.4.9
meta-python already has 0.4.7. Is there any reason why that version shouldn't work here ? .. versus carrying a meta-virt specific version.
Bruce
Quoted 58 lines · Amy Fong
python-greenlet bugfixes from 0.3.4 - unstable issues. This resulted in the docker-registry (in some build scenarios) crashing repeatedly.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gunicorn/arbiter.py", line 507, inspawn_worker
worker.init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 193, ininit_process
super(GeventWorker, self).init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/base.py", line 120, ininit_process
self.run()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 117, in run
gevent.sleep(1.0)
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 75, in sleep
hub.wait(loop.timer(seconds, ref=ref))
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 341, in wait
result =waiter.get()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 568, in get
returnself.hub.switch()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 331, in switch
returngreenlet.switch(self)
SystemError: NULL result without error inPyObject_Call<repeat>
Signed-off-by Amy Fong <[email protected]>--- recipes-devtools/python/python-greenlet_0.4.9.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-devtools/python/python-greenlet_0.4.9.bbrecipes-devtools/python/python-greenlet_0.4.9.bb new file +14
-1@@ -0,0 +1,14 @@ +SUMMARY = "Python lightweight in-process concurrent programming" +HOMEPAGE = "http://pypi.python.org/pypi/greenlet" +SECTION = "devel/python" +LICENSE = "MIT & PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ + file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" +SRC_URI = "http://pypi.python.org/packages/source/g/greenlet/greenlet-${PV}.tar.gz" +SRC_URI[md5sum] = "00bb1822d8511cc85f052e89d1fd919b" +SRC_URI[sha256sum] = "79f9b8bbbb1c599c66aed5e643e8b53bae697cae46e0acfc4ee461df48a90012" + +S = "${WORKDIR}/greenlet-${PV}" + +inherit distutils + --2.5.3
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 7/7] python-greenlet: uprev to 0.4.9
I'll have to test to verify this one (no changelog in the src)....
Amy
Quoted 70 lines · Bruce Ashfield
meta-python already has 0.4.7. Is there any reason why that version shouldn't work here ? .. versus carrying a meta-virt specific version.
Bruce
Quoted 58 lines · Amy Fong
python-greenlet bugfixes from 0.3.4 - unstable issues. This resulted in the docker-registry (in some build scenarios) crashing repeatedly.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gunicorn/arbiter.py", line 507, inspawn_worker
worker.init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 193, ininit_process
super(GeventWorker, self).init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/base.py", line 120, ininit_process
self.run()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 117, in run
gevent.sleep(1.0)
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 75, in sleep
hub.wait(loop.timer(seconds, ref=ref))
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 341, in wait
result =waiter.get()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 568, in get
returnself.hub.switch()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 331, in switch
returngreenlet.switch(self)
SystemError: NULL result without error inPyObject_Call<repeat>
Signed-off-by Amy Fong <[email protected]>--- recipes-devtools/python/python-greenlet_0.4.9.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-devtools/python/python-greenlet_0.4.9.bbrecipes-devtools/python/python-greenlet_0.4.9.bb new file +14
-1@@ -0,0 +1,14 @@ +SUMMARY = "Python lightweight in-process concurrent programming" +HOMEPAGE = "http://pypi.python.org/pypi/greenlet" +SECTION = "devel/python" +LICENSE = "MIT & PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ + file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" +SRC_URI = "http://pypi.python.org/packages/source/g/greenlet/greenlet-${PV}.tar.gz" +SRC_URI[md5sum] = "00bb1822d8511cc85f052e89d1fd919b" +SRC_URI[sha256sum] = "79f9b8bbbb1c599c66aed5e643e8b53bae697cae46e0acfc4ee461df48a90012" + +S = "${WORKDIR}/greenlet-${PV}" + +inherit distutils + --2.5.3
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualizationSignature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 7/7] python-greenlet: uprev to 0.4.9
It appears that 0.4.7 works.
Amy
Quoted 75 lines · Amy Fong
I'll have to test to verify this one (no changelog in the src)....
Amy
Quoted 70 lines · Bruce Ashfield
meta-python already has 0.4.7. Is there any reason why that version shouldn't work here ? .. versus carrying a meta-virt specific version.
Bruce
Quoted 58 lines · Amy Fong
python-greenlet bugfixes from 0.3.4 - unstable issues. This resulted in the docker-registry (in some build scenarios) crashing repeatedly.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gunicorn/arbiter.py", line 507, inspawn_worker
worker.init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 193, ininit_process
super(GeventWorker, self).init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/base.py", line 120, ininit_process
self.run()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 117, in run
gevent.sleep(1.0)
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 75, in sleep
hub.wait(loop.timer(seconds, ref=ref))
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 341, in wait
result =waiter.get()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 568, in get
returnself.hub.switch()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 331, in switch
returngreenlet.switch(self)
SystemError: NULL result without error inPyObject_Call<repeat>
Signed-off-by Amy Fong <[email protected]>--- recipes-devtools/python/python-greenlet_0.4.9.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-devtools/python/python-greenlet_0.4.9.bbrecipes-devtools/python/python-greenlet_0.4.9.bb new file +14
-1@@ -0,0 +1,14 @@ +SUMMARY = "Python lightweight in-process concurrent programming" +HOMEPAGE = "http://pypi.python.org/pypi/greenlet" +SECTION = "devel/python" +LICENSE = "MIT & PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ + file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" +SRC_URI = "http://pypi.python.org/packages/source/g/greenlet/greenlet-${PV}.tar.gz" +SRC_URI[md5sum] = "00bb1822d8511cc85f052e89d1fd919b" +SRC_URI[sha256sum] = "79f9b8bbbb1c599c66aed5e643e8b53bae697cae46e0acfc4ee461df48a90012" + +S = "${WORKDIR}/greenlet-${PV}" + +inherit distutils + --2.5.3
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualizationSignature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 7/7] python-greenlet: uprev to 0.4.9
Quoted 2 lines · Amy Fong
It appears that 0.4.7 works.
ok good. I'll merge the series, minus the greenlet patch!
Bruce
Quoted 78 lines
Amy
Quoted 75 lines · Amy Fong
I'll have to test to verify this one (no changelog in the src)....
Amy
Quoted 70 lines · Bruce Ashfield
meta-python already has 0.4.7. Is there any reason why that version shouldn't work here ? .. versus carrying a meta-virt specific version.
Bruce
Quoted 53 lines · Amy Fong
python-greenlet bugfixes from 0.3.4 - unstable issues. This resulted in the docker-registry (in some build scenarios) crashing repeatedly.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gunicorn/arbiter.py", line 507, inspawn_worker
worker.init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 193, ininit_process
super(GeventWorker, self).init_process()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/base.py", line 120, ininit_process
self.run()
File "/usr/lib64/python2.7/site-packages/gunicorn/workers/ggevent.py", line 117, in run
gevent.sleep(1.0)
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 75, in sleep
hub.wait(loop.timer(seconds, ref=ref))
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 341, in wait
result =waiter.get()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 568, in get
returnself.hub.switch()
File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 331, in switch
returngreenlet.switch(self)
SystemError: NULL result without error inPyObject_Call<repeat>
Signed-off-by Amy Fong <[email protected]>--- recipes-devtools/python/python-greenlet_0.4.9.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+)create mode 100644 recipes-devtools/python/python-greenlet_0.4.9.bb
recipes-devtools/python/python-greenlet_0.4.9.bb new file +14
-1@@ -0,0 +1,14 @@ +SUMMARY = "Python lightweight in-process concurrent programming" +HOMEPAGE = "http://pypi.python.org/pypi/greenlet" +SECTION = "devel/python" +LICENSE = "MIT & PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ + file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" +SRC_URI = "http://pypi.python.org/packages/source/g/greenlet/greenlet-${PV}.tar.gz" +SRC_URI[md5sum] = "00bb1822d8511cc85f052e89d1fd919b" +SRC_URI[sha256sum] = "79f9b8bbbb1c599c66aed5e643e8b53bae697cae46e0acfc4ee461df48a90012" + +S = "${WORKDIR}/greenlet-${PV}" + +inherit distutils + --2.5.3
Quoted 5 lines
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 3 lines · Amy Fong
- go 1.4 has bugs in sqlite, forcing build with go 1.3
- upreving python-greenlet - instability issues
Uhhh ignore, wrong set of patches.