[yocto] Using anonymous python function to define variables

2014-12-07 Thread Ulf Winberg
I'm struggling with trying to dynamically set a file name, to be used with
"require". See code below:

python () {
   TA = d.getVar('TARGET_ARCH', True)
   if TA == "arm":
   javaPkg = "oracle-jse-ejre-arm-vfp-hflt-client-headless"
   elif TA == "i586":
   javaPkg = "oracle-jse-jre-i586"
   elif TA == "x86_64":
   javaPkg = "oracle-jse-jre-x86-64"
   else:
   raise Exception("Target architecture '%s' is not supported
by the meta-oracle-java layer" %TA)
   d.setVar('JAVA_PKG', javaPkg)
}

require ${JAVA_PKG}.inc

The python function executes properly (if I print javaPkg, it shows up
correctly) but the "JAVA_PKG" variable does not become available for
"require". From what I can read in section 3.4.4 in this link
,
it seems to me it should work. Could someone please explain to me why it
doesn't?

Thank you in advance!

Ulf
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Release Candidate Build for yocto-1.8M1 now available.

2014-12-07 Thread Poky Build User

A release candidate build for yocto-1.8M1 is now available at:

 
http://autobuilder.yoctoproject.org/pub/releases/yocto-1.8M1


Please begin QA on this build as soon as possible.


Build hash information: 
meta-intel : a72da6350e7a77256ad597e8e8c40909590a2a40 
meta-fsl-arm : a593ac48d1a13067d3e4000be616e34699ea4732 
meta-minnow : 13a5f2ab84c7284647a3e067a33109c11dae0568 
meta-qt3 : 3016129d90b7ac8517a5227d819f10ad417b5b45 
meta-fsl-ppc : 486a72425f2f6e25efd9bfdbb9638fb58e90a85f 
poky : b813bdebb36501500e86fea5f7e15b4b15ea0902 


This is an automated message from
The Yocto Project Autobuilder
Git: git://git.yoctoproject.org/yocto-autobuilder
Email: elizabeth.flana...@intel.com 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [Package Report System]Upgrade recipes name list

2014-12-07 Thread package-rep...@yoctoproject.org
This mail was sent out by Package Report System.
This message list those recipes which need to be upgraded. If maintainers 
believe some of them needn't to upgrade this time, they can fill in 
RECIPE_NO_UPDATE_REASON_pn-"xxx" in upstream_tracking files to ignore this 
recipe remainder until newer upstream version was detected.
Example:
RECIPE_NO_UPDATE_REASON_pn-"xxx" = "Not upgrade to 2.0 because the new version 
is unstable"
You can check the detail information at 
http://packages.yoctoproject.org/upgradepkgname


PackageName   Version   UpVersion   
  MaintainerNoUpgradeReason 
  
chkconfig-alternatives-native 1.3.59+AUTOINC+cd437ecbd8 
1.3.59+gitAUTOINC+cd437e  Wenzong Fan
blktrace  1.0.5+gitAUTOINC+d6918c8  
1.1.0+gitAUTOINC+2cf87e6  Tom Zanussi
systemtap-uprobes 2.6+gitAUTOINC+7682e51d2e 
2.6+gitAUTOINC+c1b1844eb2 Tom Zanussi
sysprof   1.2.0+gitAUTOINC+cd44ee6  
1.2.0+gitAUTOINC+6901897  Tom Zanussi
mkelfimage4.0+gitAUTOINC+686a48a339 
4.0+gitAUTOINC+c746dcbe91 Saul Wold   
 
mtd-utils 1.5.1+gitAUTOINC+9f10713  
1.5.1+gitAUTOINC+92686f2  Saul Wold   
 
u-boot-mkimagev2014.07+gitAUTOINC+5241  
2014.10+gitAUTOINC+97cdf  Saul Wold   
 
dtc   1.4.0+gitAUTOINC+65cc4d2  
1.4.1+gitAUTOINC+302fca9  Saul Wold   
 
systemtap 2.6+gitAUTOINC+7682e51d2e 
2.6+gitAUTOINC+c1b1844eb2 Saul Wold   
 
cross-localedef-native2.20  
28+gitAUTOINC+d73ac1bb43  Saul Wold   
 
build-appliance-image 8.0   
12.0.0+gitAUTOINC+9e8bb3  Saul Wold   
 
babeltrace1.2.3+gitAUTOINC+753a40e  
1.2.4+gitAUTOINC+4fd5ac4  Saul Wold   
 
mx-1.01.4.7+gitAUTOINC+9b1db6b  
1.99.4+gitAUTOINC+24efb0  Saul Wold   
 PRS 1.99 is dev version   
update-rc.d   0.7   
0.7+gitAUTOINC+eca680ddf2 Saul Wold   
 
xf86-video-omapfb 0.1.1+gitrAUTOINC+28c006  0.1.1+gitAUTOINC+   
  Ross Burton
xf86-video-omap   0.4.2+gitrAUTOINC+ae0394  
0.4.3+gitAUTOINC+5d3d49b  Ross Burton
matchbox-panel-2  2.0+gitAUTOINC+26a3a67b41 
2.0+gitAUTOINC+1a7304d6e9 Ross Burton
piglit1.0+gitrAUTOINC+bbeff5d2  
1.0+gitAUTOINC+6f707cfea4 Ross Burton
matchbox-desktop  2.0+gitAUTOINC+71e3e6e042 
2.0+gitAUTOINC+09170f41ab Ross Burton
xinput-calibrator 0.7.5+gitAUTOINC+c01c5af  
0.4.1+gitAUTOINC+03dadf5  Ross Burton
presentproto  1.0+gitAUTOINC+24f3a56e54 
1.0+gitAUTOINC+ef84007fc4 Ross Burton
lttng-modules 2.5.0 
2.5.1+gitAUTOINC+9b9aff0  Richard Purdie 

glibc-initial 2.20  
28+gitAUTOINC+d73ac1bb43  Richard Purdie 

lttng-tools   v2.5.0
2.5.2+gitAUTOINC+27c0821  Richard Purdie 

tcf-agent 0.4.0+gitAUTOINC+4ef94ec  
8.0+gitAUTOINC+f6cfb9cb11 Richard Purdie 

btrfs-tools   3.14.2+gitAUTOINC+44cdb6  
3.17.3+gitAUTOINC+e4c122  Richard Purdie 

lttng-ust 2.5.0 
2.5.1+gitAUTOINC+e9e3e57  Richard Purdie 

glibc 2.20  
28+gitAUTOINC+d73ac1bb43  Richard Purdie 
two glibc plugins are based o...
x264  r2265+gitAUTOINC+ffc3ad4  
r2265+gitAUTOINC+24e4fed  Paul Eggleton  
opkg-utils0.1.8+gitAUTOINC+127b371  
0.1.8+gitAUTOINC+53274f0  Paul Barker
mmc-utils 0.1   
0.1+gitAUTOINC+f4eb241519 No Maintainer info
eglinfo-fb1.0   
1.0+gitAUTOINC+223817ee37 No Maintainer info
eglinfo-x11   1.0   
1.0+gitAUTOINC+223817ee37 No Maintainer info
bootchart20.14.6+gitAUTOINC+b65ed4  
0.14.6+gitAUTOINC+3ab811  No Maintainer info
gummiboot 43+gitAUTOINC+4062c51075  
43+gitAUTOINC+eb3daf2ca4  Darren Hart   
trace-cmd 2.3.2+gitAUTOIN

[yocto] [Package Report System]Manual check recipes name list

2014-12-07 Thread package-rep...@yoctoproject.org
This mail was sent out by Package Report System.
It will list all the recipes which can't check upstream version by script, and 
will show how long it is since their last mannual version check.
You can check the detail information at 
http://packages.yoctoproject.org/manuallychkinfo


PackageName  Version LastChkVersion  LastChkTime
  Maintainer  NoUpgradeReason   
ccache   3.1.9   N/A 41979 d
  Wenzong Fan = 1.10.2 needs ruby  
libxdamage   1.1.4   N/A 41979 d
  Ross BurtonNo data   
python-mako  0.9.1   N/A 41979 d
  Khem RajNo data   
python-numpy 1.7.0   N/A 41979 d
  Khem RajNo data   
python3-distribute   0.6.32  N/A 41979 d
  Khem RajNo data   
libxml-sax-perl  0.99N/A 41979 d
  Kai Kang  
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] prelink & mklibs problem

2014-12-07 Thread Jegan Chandru
Hi,

I think it has to do with the ld-linux-armhf.so.3. May be you should tell
prelink that you have hard float ARM ABI to prelink for, than ld-linux.so.3
. It means you need to add ld-linux-armhf.so.3 as a dynamic linker.
You should patch the prelink source to get this done.

HTH.

-JC



On Fri, Dec 5, 2014 at 7:41 AM, Qiang Yu  wrote:

> Hi all,
>
> I'm building a image with local.conf:
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
>
> but I think prelink does nothing on my image, because the MD5SUM is the
> same before and after
> the prelink stage. The mklibs stage is also strange not print anything.
> How to make prelink and
> mklibs really work?
>
> Here is the log of log.do_rootfs:
>
> NOTE: ## Generate images ###
> NOTE: Executing mklibs_optimize_image ...
> DEBUG: Executing shell function mklibs_optimize_image
> DEBUG: Shell function mklibs_optimize_image finished
> NOTE: Executing prelink_image ...
> DEBUG: Executing shell function prelink_image
> Size before prelinking 49304.
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/fstab-decode: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3
> as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/bootlogd: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as
> dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/killall5: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as
> dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/init.sysvinit: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3
> as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/halt.sysvinit: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3
> as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/shutdown.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /sbin/runlevel.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/sbin/dropbearmulti: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /bin/mountpoint.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /bin/busybox.suid: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3
> as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /bin/busybox.nosuid: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3
> as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/bin/utmpdump.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/bin/mesg.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/bin/last.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/bin/opkg-cl: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as
> dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/bin/bmw: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as
> dynamic linker
> /opt/yocto/rootfs/tmp/sysroots/x86_64-linux/usr/sbin/prelink:
> /usr/bin/wall.sysvinit: Using /lib/ld-linux-armhf.so.3, not
> /lib/ld-linux.so.3 as dynamic linker
> Size after prelinking 49304.
> DEBUG: Shell function prelink_image finished
>
> Regards,
> Qiang
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
JCP
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto