Re: Checking sstate mirror is hanging at 100%
vineeth chowdary
From: Andre McCurdy [mailto:armccurdy@...]Yes, I see continuous retry of wget of same sstate files. With -DD I see the below messages for every try: DEBUG: checkstatus: trying again DEBUG: checkstatus: trying again DEBUG: checkstatus: trying again DEBUG: checkstatus: trying again DEBUG: checkstatus: trying again Or are you just seeingNo fetch failure error, Just hanging at 100%. I did some more analysis: My network needs proxy to access any site. To validate a URL, bitbake/lib/bb/fetch2/__init__.py: urllib.parse.urlparse(uri) and checking for netloc. This is returning true without proxy being set, but the same uri is not establishing connection without proxies. bitbake is thinking it as a valid and keep retrying without any errors. Thanks Vineeth
|
|
Re: Can't run "-c devshell" - "Must be connected to a terminal"
On Mon, Oct 30, 2017 at 1:49 PM, Adam Lee <adam.yh.lee@...> wrote:
Hello everyone, I have this strange issue where I can't run "-c devshell"what changed ? Has anyone seen this:
|
|
Re: Using site.conf
On Fri, Oct 27, 2017 at 11:59 AM, Michael Habibi <mikehabibi@...> wrote:
I'm a bit confused about the usage of site.conf. I see a sample in the pokyyes, you need to do that as part of workspace setup.
|
|
Re: about add python3 modules
Burton, Ross <ross.burton@...>
Hi, 1.7.1 is pretty old, there were some packaging problems. Try adding python3-misc to the image too. If that doesn't work, use 'oe-pkgdata-util list-pkg-files -r python3' to list all the files built by the python3 recipe and to find out what files are missing. Ross
On 30 October 2017 at 20:36, Lai Y.C. <yclai017@...> wrote:
|
|
Re: [layerindex-web][patch v3 1/1] Send email notification on publication
Paul Eggleton
On Wednesday, 25 October 2017 10:49:42 AM NZDT Amanda Brindle wrote:
When publishing a layer, send an email notification to all of that++- templates/layerindex/publishemail.txt | 9 ++++++++HttpResponseForbidden, Http404 from django.core.urlresolvers import reverse, reverse_lazy, resolverequest.user.has_perm('layerindex.publish_layer')): raise PermissionDeniedargs=(layerbranch.branch, layeritem.name))) + maintainers = get_list_or_404(LayerMaintainer, layerbranch=layerbranch)Just to follow up here, I've merged this with a change to the above lines to only include staff/superusers. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre
|
|
Can't run "-c devshell" - "Must be connected to a terminal"
Adam Lee <adam.yh.lee@...>
Hello everyone, I have this strange issue where I can't run "-c devshell" any longer. This worked until a day ago. I am on Morty, and running in a Docker container. Has anyone seen this: Currently 1 running tasks (100 of 100) 99% |############################################################################################################################################################################################################################################# | 0: cmem-4.14.00.00+gitAUTOINC+b514a99ac4-r1 do_devshell - 0s (pid 20279) Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. Trying to run: screen -r devshell_20279 Must be connected to a terminal. WARNING: Screen started. Please connect in another terminal with "screen -r devshell_20279" Thank you, Adam
|
|
about add python3 modules
Lai Y.C. <yclai017@...>
Hi, I need to include python3 and some modules on my board. We are using yocto 1.7.1 . Python3 is able to run but there are problems with the modules. //Ying
|
|
Re: Checking sstate mirror is hanging at 100%
Andre McCurdy <armccurdy@...>
On Mon, Oct 30, 2017 at 2:37 AM, Alexander Kanavin
<alexander.kanavin@...> wrote: On 10/30/2017 07:54 AM, Vineeth Karumanchi wrote:It looks like the logic in the wget fetcher retries once, so if it'sIn this case i would expect bitbake to "check for sstate mirrors" for someThe approach is to fix your infrastructure so that fetching from network getting stuck then that seems like a genuine bug. Vineeth, are you sure it's really continuously retrying? Or are you just seeing timeouts for many fetches (which will eventually complete)? Note that you can reduce the wget timeout by setting your own value for "FETCHCMD_wget". See bitbake/lib/bb/fetch2/wget.py for the default value - use that as a starting point for your modification.
|
|
Re: [PATCH] poky: LICENSE in packagegroup makes no sense - removed
Burton, Ross <ross.burton@...>
On 30 October 2017 at 16:02, Khem Raj <raj.khem@...> wrote: On Mon, Oct 30, 2017 at 6:51 AM, Robert Berger The commit message is misleading: it doesn't make no sense as every recipe needs a LICENSE assignment, but the packagegroup class sets a default value. Robert, please rephrase the message, fix the formatting ('nativesdk-packagegroup-sdk-host: remove redundant LICENSE' is a reasonable shortlog), and post to the correct list. Ross
|
|
Re: /etc/resolv.conf symlink
Marc Ferland
FWIW, I'm using pyro and had to cherry-pick: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=00e4662e55f66570cae29240c22b4d74b79d3ca5
On Mon, Oct 30, 2017 at 11:54 AM, Alexander Kanavin <alexander.kanavin@...> wrote: On 10/30/2017 05:37 PM, Anders Montonen wrote:
|
|
Re: [PATCH] poky: LICENSE in packagegroup makes no sense - removed
On Mon, Oct 30, 2017 at 6:51 AM, Robert Berger
<yocto.user.mailinglist@...> wrote: this might fail some QA checks. what issues do you see with this in. inherit packagegroup nativesdk
|
|
Re: /etc/resolv.conf symlink
Alexander Kanavin <alexander.kanavin@...>
On 10/30/2017 05:37 PM, Anders Montonen wrote:
I'm hoping someone could clarify how the symlink generation from /etc/resolv.conf to systemd's runtime /run/systemd/resolve/resolv.conf is supposed to work when resolved is not enabled.I think we have a bug for it: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11969 Please comment, propose patches etc. Alex
|
|
/etc/resolv.conf symlink
Anders Montonen
Hi,
I'm hoping someone could clarify how the symlink generation from /etc/resolv.conf to systemd's runtime /run/systemd/resolve/resolv.conf is supposed to work when resolved is not enabled. In the systemd do_install(), a directive for generating this symlink is inserted into /usr/lib/tmpfiles.d/etc.conf: if ! ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'true', 'false', d)}; then echo 'L! ${sysconfdir}/resolv.conf - - - - ../run/systemd/resolve/resolv.conf' >>${D}${exec_prefix}/lib/tmpfiles.d/etc.conf However, systemd also pulls in volatile-binds, which installs an override for etc.conf pointing to /dev/null, thereby preventing this link from being created: # Suppress attempts to process some tmpfiles that are not temporary. # install -d ${D}${sysconfdir}/tmpfiles.d ${D}/var/cache ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/etc.conf ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/home.conf Have I understood this correctly, and is this supposed to work? Regards, Anders
|
|
Yocto Project Status WW44’17
Jolley, Stephen K <stephen.k.jolley@...>
Current Dev Position: YP 2.5 Planning and M1 development Next Deadline: YP 2.5 M1 cut off of 12/4/17
SWAT team rotation: Saul -> Ross on Oct. 27, 2017. SWAT team rotation: Ross -> Leo on Nov. 3, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team
Key Status/Updates: · YP 2.4 (Rocko) Final was released on Thursday Oct. 26th. It contained a number of key new features including; upgrades to the kernel, gcc, glibc, and many other recipes; improved go support, Python 3 improvements, wic improvements, devtool enhancements, Bitbake server improvements and significant improvements to automated QA testing, both in coverage and performance. · See the full release notes for YP 2.4 at: http://downloads.yoctoproject.org/releases/yocto/yocto-2.4/RELEASENOTES · We will likely open up master for new changes during this week. Unfortunately the feature freeze window was not respected by a significant number of people and this means we now have a huge backlog of patches to deal with. · YP 2.5 Planning is not complete yet. We have some idea of the immediate priorities but if you have other suggestions please ensure they’re in the bugzilla (as ever). · There are stability issues on the stable branches, particularly in getting older releases working on the newer autobuilder workers. We have a final point release for morty (2.2.3) planned however this depends on having stable builds. · Armin has kindly volunteered to help with the stable branch for 2.4, if there is any other interest please talk to RP/Armin as we could do with spreading load. · The OpenEmbedded Developer meeting in Prague seemed to go well, as did the Yocto Project BoF at ELC-E and the booth was well attended, as ever! Thanks to all those who helped out and/or attended.
Planned upcoming dot releases: YP 2.2.3 is planned and should be out in the next few weeks. YP 2.3.3 is planned, but date TBD during YP 2.5 planning. YP 2.4.1 is planned, but date TBD during YP 2.5 planning.
Key YP 2.5 Dates are: YP 2.5 M1 cut off of 12/4/17 YP 2.5 M1 release of 12/15/17 YP 2.5 M2 cut off of 1/15/18 YP 2.5 M2 release of 1/26/18 YP 2.5 M3 cut off of 2/19/18 YP 2.5 M3 release of 3/2/18 YP 2.5 M4 cut off of 4/2/18 YP 2.5 M4 release of 4/27/18
Tracking Metrics: WDD 2623 (last week 2579) (https://wiki.yoctoproject.org/charts/combo.html)
Key Status Links for YP: https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.4_Status https://wiki.yoctoproject.org/wiki/Yocto_2.4_Schedule https://wiki.yoctoproject.org/wiki/Yocto_2.4_Features https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.5_Status https://wiki.yoctoproject.org/wiki/Yocto_2.5_Schedule https://wiki.yoctoproject.org/wiki/Yocto_2.5_Features [If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager INTEL, MS JF1-255, 2111 N.E. 25th Avenue, Hillsboro, OR 97124 ( Work Telephone: (503) 712-0534 ( Cell: (208) 244-4460 * Email: stephen.k.jolley@...
|
|
Re: [PATCH] poky: LICENSE in packagegroup makes no sense - removed
Alexander Kanavin <alexander.kanavin@...>
On 10/30/2017 03:51 PM, Robert Berger wrote:
a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbThis patch should go to oe-core mailing list. Alex
|
|
[PATCH] poky: LICENSE in packagegroup makes no sense - removed
Robert Berger <yocto.user.mailinglist@...>
Signed-off-by: Robert Berger <robert.berger@...>
--- meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index 2ca6392..aee4a03 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -4,7 +4,6 @@ SUMMARY = "Host packages for the standalone SDK or external toolchain" PR = "r12" -LICENSE = "MIT" inherit packagegroup nativesdk -- 2.7.4
|
|
Re: Checking sstate mirror is hanging at 100%
Alexander Kanavin <alexander.kanavin@...>
On 10/30/2017 07:54 AM, Vineeth Karumanchi wrote:
In this case i would expect bitbake to "check for sstate mirrors" for some time and rebuild from scratch. Is there any approach to over come this ?The approach is to fix your infrastructure so that fetching from network doesn't fail. We've gotten a similar request recently for enabling 'soft sstate cache failure', and RP is firmly against it: http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141593.html Alex
|
|
[meta-oracle-java][PATCH V2 2/2] Fix do_populate_sysroot: sstate found an absolute path symlink
Vincent Prince
Signed-off-by: Vincent Prince <vincent.prince.fr@...>
--- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc index a7210d9..84772e6 100644 --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc @@ -16,8 +16,8 @@ do_install_class-native() { cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} install -d ${D}${bindir} - ln -sf ${JDK_HOME}/bin/java ${D}${bindir} - ln -sf ${JDK_HOME}/bin/javac ${D}${bindir} + ln -sf ../lib/jvm/${JDK_DIR}/bin/java ${D}${bindir} + ln -sf ../lib/jvm/${JDK_DIR}/bin/javac ${D}${bindir} install -d ${D}${JDK_HOME}/bin ln -sf javah ${D}${JDK_HOME}/bin/gjavah -- 2.7.4
|
|
[meta-oracle-java][PATCH V2 1/2] On headless arm, do_package() complains about missing libX11.so.6 provider.
Vincent Prince
Full JRE created by jrecreate contains awt/swing dynamic libraries linked to libX11.
We patch binaries to remove libX11 dependencies Signed-off-by: Vincent Prince <vincent.prince.fr@...> --- recipes-devtools/oracle-java/oracle-jse-ejre.inc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-ejre.inc b/recipes-devtools/oracle-java/oracle-jse-ejre.inc index d7a4b33..114a7dc 100644 --- a/recipes-devtools/oracle-java/oracle-jse-ejre.inc +++ b/recipes-devtools/oracle-java/oracle-jse-ejre.inc @@ -11,7 +11,7 @@ DESCRIPTION = "This is the proprietary JRE from Sun/Oracle, with the Hotspot JVM JDK_JRE = "ejre" require oracle-jse.inc -DEPENDS = "virtual/java-native" +DEPENDS = "virtual/java-native patchelf-native" LIC_FILES_CHKSUM = "\ file://${LICENSE_DIR}/COPYRIGHT;md5=3dc1bfbd5bed75d650ad0506a0df5930 \ @@ -22,4 +22,16 @@ do_compile() { DEST=${S}/${JDK_JRE}${PV}_${PV_UPDATE} rm -rf ${DEST} JAVA_HOME=${STAGING_DIR_NATIVE}/${JDK_HOME} ejdk${PV}_${PV_UPDATE}/bin/jrecreate.sh --dest ${DEST} + + PATCHELF_DIR=${STAGING_DIR_NATIVE}/usr/bin + ${PATCHELF_DIR}/patchelf --remove-needed libX11.so.6 ${DEST}/bin/policytool + + ${PATCHELF_DIR}/patchelf --remove-needed libX11.so.6 \ + --remove-needed libXext.so.6 ${DEST}/lib/arm/libsplashscreen.so + + ${PATCHELF_DIR}/patchelf --remove-needed libX11.so.6 \ + --remove-needed libXrender.so.1 \ + --remove-needed libXtst.so.6 \ + --remove-needed libXi.so.6 \ + --remove-needed libXext.so.6 ${DEST}/lib/arm/libawt_xawt.so } -- 2.7.4
|
|
Checking sstate mirror is hanging at 100%
Vineeth Karumanchi <vineethchowz.chowdary@...>
Hi All, I am running sstate mirrors on a web server. My network has proxy, sstate is sharing well with proxies, . But, without proxies, bitbake is hanging at "Checking sstate
mirror object #######100%". Is there a way to change
timeout of sstate mirror checking. I did some debugging with "-DD" and I see bitbake is trying to
fetch the sstate objects, failing and keep on re-trying.
DEBUG: checkstatus: trying again
In this case i would expect bitbake to "check for sstate mirrors"
for some time and rebuild from scratch. Is there any approach to
over come this ?
Thanks in Advance Vineeth
|
|