Re: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'

2017-04-27 Thread Giuseppe Di Guglielmo
I am pretty sure I changed the correct files. If I do not do so, it
complains about the nonexisting "gitenterprise" URL. I could wait until May
5th, but I am on a deadline, and the earlier I workaround the issue, the
better.


classes/xsctapp.bbclass b/classes/xsctapp.bbclass

-EMBEDDEDSW_REPO ?= "git://
gitenterprise.xilinx.com/embeddedsw/embeddedsw.git;protocol=https"
+EMBEDDEDSW_REPO ?= "
https://github.com/Xilinx/embeddedsw/embeddedsw.git;protocol=https;

recipes-bsp/device-tree/device-tree-generation_git.bb
b/recipes-bsp/device-tree/device-tree-generation_git.bb

-SRC_URI = "git://
gitenterprise.xilinx.com/Linux/device-tree-xlnx.git;protocol=https;branch=${BRANCH}
"
+SRC_URI = "git://
github.com/Xilinx/device-tree-xlnx.git;protocol=https;branch=${BRANCH}"

Giuseppe

On Thu, Apr 27, 2017 at 7:41 AM, Jean-Francois Dagenais <
jeff.dagen...@gmail.com> wrote:

>
> On Apr 26, 2017, at 21:44, Giuseppe Di Guglielmo <
> giuseppe.diguglie...@gmail.com> wrote:
>
> Updating the URLs to github.com/Xilinx generates the following errors
> that I do not know how to fix. Do you have any idea?
>
> It may be a proble with the revision numbers coded in the *.bb files.
>
> Giuseppe
> 
> ERROR: An uncaught exception occurred in runqueue
> | ETA:  0:00:03
> Traceback (most recent call last):
>   File 
> "/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/runqueue.py",
> line 948, in RunQueueData.p
> repare():
>  (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
> >self.runtaskentries[tid].hash =
> bb.parse.siggen.get_taskhash(taskfn, taskname, procdep,
> self.dataCaches[mc])
>  task = self.runtaskentries[tid].task
>   File 
> "/home/giuseppe/research/projects/zynq/yocto/poky/meta/lib/oe/sstatesig.py",
> line 139, in SignatureGenerat
> orOEBasicHash.get_taskhash(fn='/home/giuseppe/research/
> projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb',
> task='do_fetch', deps=[], dataCache= 0x7fe5b4301ba8>):
>  def get_taskhash(self, fn, task, deps, dataCache):
> >h = super(bb.siggen.SignatureGeneratorBasicHash,
> self).get_taskhash(fn, task, deps, dataCache)
>
>
> Are you sure you changed the URL on the right .bb file? It looks like it's
> the fsbl recipe that is failing it's "do_fetch" step (fsbl_git.bb in your
> error log)
>
> If that still doesn't work, disregard my advice and see with the "real"
> xilinx guys to chime in ;) Yocto has a steep learning slope. Deciphering
> these error logs can be a pain, especially in the beginning.
>
>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'

2017-04-27 Thread Jean-Francois Dagenais

> On Apr 26, 2017, at 21:44, Giuseppe Di Guglielmo 
>  wrote:
> 
> Updating the URLs to github.com/Xilinx  generates 
> the following errors that I do not know how to fix. Do you have any idea? 
> 
> It may be a proble with the revision numbers coded in the *.bb files.
> 
> Giuseppe
> 
> ERROR: An uncaught exception occurred in runqueue 
> | ETA:  0:00:03
> Traceback (most recent call last):
>   File 
> "/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/runqueue.py",
>  line 948, in RunQueueData.p
> repare():
>  (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
> >self.runtaskentries[tid].hash = 
> bb.parse.siggen.get_taskhash(taskfn, taskname, procdep,
> self.dataCaches[mc])
>  task = self.runtaskentries[tid].task
>   File 
> "/home/giuseppe/research/projects/zynq/yocto/poky/meta/lib/oe/sstatesig.py", 
> line 139, in SignatureGenerat
> orOEBasicHash.get_taskhash(fn='/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb
>  ', task='do_fetch', deps=[], dataCache= object at 0x7fe5b4301ba8>):
>  def get_taskhash(self, fn, task, deps, dataCache):
> >h = super(bb.siggen.SignatureGeneratorBasicHash, 
> self).get_taskhash(fn, task, deps, dataCache)
> 

Are you sure you changed the URL on the right .bb file? It looks like it's the 
fsbl recipe that is failing it's "do_fetch" step (fsbl_git.bb in your error log)

If that still doesn't work, disregard my advice and see with the "real" xilinx 
guys to chime in ;) Yocto has a steep learning slope. Deciphering these error 
logs can be a pain, especially in the beginning.

-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'

2017-04-26 Thread Giuseppe Di Guglielmo
Updating the URLs to github.com/Xilinx generates the following errors that
I do not know how to fix. Do you have any idea?

It may be a proble with the revision numbers coded in the *.bb files.

Giuseppe

ERROR: An uncaught exception occurred in runqueue
  | ETA:  0:00:03
Traceback (most recent call last):
  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/runqueue.py",
line 948, in RunQueueData.p
repare():
 (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
>self.runtaskentries[tid].hash =
bb.parse.siggen.get_taskhash(taskfn, taskname, procdep,
self.dataCaches[mc])
 task = self.runtaskentries[tid].task
  File
"/home/giuseppe/research/projects/zynq/yocto/poky/meta/lib/oe/sstatesig.py",
line 139, in SignatureGenerat
orOEBasicHash.get_taskhash(fn='/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsb
l_git.bb', task='do_fetch', deps=[], dataCache=):
 def get_taskhash(self, fn, task, deps, dataCache):
>h = super(bb.siggen.SignatureGeneratorBasicHash,
self).get_taskhash(fn, task, deps, dataCache)

  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/siggen.py",
line 207, in SignatureGenerat
orOEBasicHash.get_taskhash(fn='/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsb
l_git.bb', task='do_fetch', deps=[], dataCache=):
 else:
>checksums =
bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename)
 for (f,cs) in checksums:
  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/fetch2/__init__.py",
line 1146, in get_fi
le_checksums(filelist='${@base_set_filespath(["/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/reci
pes-bsp/fsbl/fsbl-2016.4+git${SRCPV}",
"/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp
/fsbl/fsbl",
"/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/files"],
d)}/app.tcl
:False
/home/giuseppe/research/projects/zynq/yocto/build/downloads/app.tcl:False
 ', pn='fsbl'):
 """
>return _checksum_cache.get_checksums(filelist, pn)

  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/checksum.py",
line 111, in FileChecksumCa
che.get_checksums(filelist='${@base_set_filespath(["/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools
/recipes-bsp/fsbl/fsbl-2016.4+git${SRCPV}",
"/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsbl",
"/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/files"],
d)}/app.tcl:False
/home/giuseppe/research/projects/zynq/yocto/build/downloads/app.tcl:False
 ', pn='fsbl'):
 for pth in filelist.split():
>exist = pth.split(":")[1]
 if exist == "False":
IndexError: list index out of range

ERROR: Running idle function
Traceback (most recent call last):
  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/runqueue.py",
line 948, in RunQueueData.prepare():
 (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
>self.runtaskentries[tid].hash =
bb.parse.siggen.get_taskhash(taskfn, taskname, procdep, self.dataCaches[mc])
 task = self.runtaskentries[tid].task
  File
"/home/giuseppe/research/projects/zynq/yocto/poky/meta/lib/oe/sstatesig.py",
line 139, in
SignatureGeneratorOEBasicHash.get_taskhash(fn='/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/
fsbl_git.bb', task='do_fetch', deps=[], dataCache=):
 def get_taskhash(self, fn, task, deps, dataCache):
>h = super(bb.siggen.SignatureGeneratorBasicHash,
self).get_taskhash(fn, task, deps, dataCache)

  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/siggen.py",
line 207, in
SignatureGeneratorOEBasicHash.get_taskhash(fn='/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/
fsbl_git.bb', task='do_fetch', deps=[], dataCache=):
 else:
>checksums =
bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename)
 for (f,cs) in checksums:
  File
"/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/lib/bb/fetch2/__init__.py",
line 1146, in
get_file_checksums(filelist='${@base_set_filespath(["/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsbl-2016.4+git${SRCPV}",
"/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/fsbl",
"/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/fsbl/files"],
d)}/app.tcl:False
/home/giuseppe/research/projects/zynq/yocto/build/downloads/app.tcl:False
 ', pn='fsbl'):
 """
>return _checksum_cache.get_checksums(filelist, pn)

  File

Re: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'

2017-04-26 Thread Jean-Francois Dagenais

> On Apr 26, 2017, at 16:58, Giuseppe Di Guglielmo 
>  wrote:
> 
> I think the patch solved that issue, but now I am getting this new error. The 
> URL git://gitenterprise.xilinx.com/Linux/device-tree-xlnx.git (or https) does 
> not exist.
> 
> How can I fix the issue? 

Just a guess: Maybe change the gitenterprise URL for this one: 
https://github.com/Xilinx/device-tree-xlnx.git in the failing recipe 
(device-tree-generation-xilinx_*.bb)
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'

2017-04-26 Thread Giuseppe Di Guglielmo
I think the patch solved that issue, but now I am getting this new error.
The URL git://gitenterprise.xilinx.com/Linux/device-tree-xlnx.git (or
https) does not exist.

How can I fix the issue?

WARNING: device-tree-generation-xilinx+gitAUTOINC+fed9a2dcdb-r0 do_fetch:
Failed to fetch URL git://
gitenterprise.xilinx.com/Linux/device-tree-xlnx.git;protocol=https;branch=master,
attempting MIRRORS if available
ERROR: device-tree-generation-xilinx+gitAUTOINC+fed9a2dcdb-r0 do_fetch:
Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-QDRRp46kS4,guid=8b6fcee3fc828a331c465de658e254db";
export SSH_AGENT_PID="16651"; export
SSH_AUTH_SOCK="/tmp/ssh-ufMVzZUc3v4r/agent.16537"; export
PATH="/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/python3-native:/home/giuseppe/research/projects/zynq/yocto/poky/scripts:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/zc702-zynq7/usr/bin/crossscripts:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/x86_64-linux/usr/bin:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/x86_64-linux/sbin:/home/giuseppe/research/projects/zynq/yocto/build/tmp/sysroots/x86_64-linux/bin:/usr/cad/xilinx/SDK/2017.1//bin:/home/giuseppe/research/projects/zynq/yocto/poky/scripts:/home/giuseppe/research/projects/zynq/yocto/poky/bitbake/bin:/opt/leon/mklinuximg-2.6.36-2.0.3:/opt/leon/sparc-linux/usr/bin:/opt/leon/sparc-elf-4.4.2/bin:/opt/grmon/grmon/linux/bin:/opt/leon/mklinuximg-2.6.36-2.0.3:/opt/leon/sparc-linux/usr/bin:/opt/leon/sparc-elf-4.4.2/bin:/opt/grmon/grmon/linux/bin:/home/giuseppe/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/giuseppe/bin:/home/giuseppe/bin";
export HOME="/home/giuseppe"; LANG=C git -c core.fsyncobjectfiles=0 clone
--bare --mirror https://gitenterprise.xilinx.com/Linux/device-tree-xlnx.git
/home/giuseppe/research/projects/zynq/yocto/build/downloads/git2/gitenterprise.xilinx.com.Linux.device-tree-xlnx.git
--progress failed with exit code 128, output:
Cloning into bare repository
'/home/giuseppe/research/projects/zynq/yocto/build/downloads/git2/gitenterprise.xilinx.com.Linux.device-tree-xlnx.git'...
fatal: unable to access '
https://gitenterprise.xilinx.com/Linux/device-tree-xlnx.git/': Could not
resolve host: gitenterprise.xilinx.com

ERROR: device-tree-generation-xilinx+gitAUTOINC+fed9a2dcdb-r0 do_fetch:
Fetcher failure for URL: 'git://
gitenterprise.xilinx.com/Linux/device-tree-xlnx.git;protocol=https;branch=master'.
Unable to fetch URL from any source.
ERROR: device-tree-generation-xilinx+gitAUTOINC+fed9a2dcdb-r0 do_fetch:
Function failed: base_do_fetch
ERROR: Logfile of failure stored in:
/home/giuseppe/research/projects/zynq/yocto/build/tmp/work/zc702_zynq7-poky-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+fed9a2dcdb-r0/temp/log.do_fetch.32656
ERROR: Task
(/home/giuseppe/research/projects/zynq/yocto/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_fetch)
failed with exit code '1'

Giuseppe

On Tue, Apr 25, 2017 at 8:16 PM, Manjukumar Harthikote Matha <
manjukumar.harthikote-ma...@xilinx.com> wrote:

>
>
> > -Original Message-
> > From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-
> > boun...@yoctoproject.org] On Behalf Of Giuseppe Di Guglielmo
> > Sent: Tuesday, April 25, 2017 5:03 PM
> > To: meta-xilinx@yoctoproject.org
> > Subject: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'
> >
> > I am using
> > - meta-xilinx and meta-xilinx-tools @ branch 2017.1
> > - meta-openembedded, poky @ branch morty
> >
> > When I bitbake core-image-minimal I get the following error. Can you
> suggest me a
> > solution?
> >
> Need a patch on meta- openembedded to support python3-pyyaml
> A patch was provided by Pascal, but it was not applied to morty branch on
> meta-openembedded
> We added this patch to our release trunk for now
> https://github.com/Xilinx/meta-petalinux/commit/
> bcf7db85b3a03c015d70e4a9860be62bb0b24994
>
> Thanks
> Manju
>
> > 
> > ERROR: Nothing PROVIDES 'python3-pyyaml-native'. Close matches:
> >   python-pyyaml-native
> >   python3-py-native
> >   python-py-native
> > ERROR: Required build target 'core-image-minimal' has no buildable
> providers.
> > Missing or unbuildable dependency chain was: ['core-image-minimal',
> > 'virtual/bootloa

Re: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'

2017-04-25 Thread Manjukumar Harthikote Matha


> -Original Message-
> From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-
> boun...@yoctoproject.org] On Behalf Of Giuseppe Di Guglielmo
> Sent: Tuesday, April 25, 2017 5:03 PM
> To: meta-xilinx@yoctoproject.org
> Subject: [meta-xilinx] Nothing PROVIDES 'python3-pyyaml-native'
>
> I am using
> - meta-xilinx and meta-xilinx-tools @ branch 2017.1
> - meta-openembedded, poky @ branch morty
>
> When I bitbake core-image-minimal I get the following error. Can you suggest 
> me a
> solution?
>
Need a patch on meta- openembedded to support python3-pyyaml
A patch was provided by Pascal, but it was not applied to morty branch on 
meta-openembedded
We added this patch to our release trunk for now
https://github.com/Xilinx/meta-petalinux/commit/bcf7db85b3a03c015d70e4a9860be62bb0b24994

Thanks
Manju

> 
> ERROR: Nothing PROVIDES 'python3-pyyaml-native'. Close matches:
>   python-pyyaml-native
>   python3-py-native
>   python-py-native
> ERROR: Required build target 'core-image-minimal' has no buildable providers.
> Missing or unbuildable dependency chain was: ['core-image-minimal',
> 'virtual/bootloader', 'virtual/dtb', 'python3-pyyaml-native']
> 
>
> Thank you,
> Giuseppe


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.

-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx