[yocto] Trying to add a recipe for ROOT

2015-12-09 Thread Giordon Stark
Hi all, I'm trying to add a recipe for ROOT (from CERN) but I'm running into various issues with just trying to get compilers working. Current recipe: https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb Current log:

Re: [yocto] Trying to add a recipe for ROOT

2015-12-30 Thread Giordon Stark
nfig tests think that way. Again > this components build system needs to fix that. You might be better > off using llvm provided bt meta-oe instead of internal version. > > On Wed, Dec 30, 2015 at 9:35 AM, Giordon Stark <kra...@gmail.com> wrote: > > https://gist.github.com/an

Re: [yocto] Trying to add a recipe for ROOT

2015-12-30 Thread Giordon Stark
https://gist.github.com/anonymous/adec2839deecce33702a Giordon On Wed, Dec 23, 2015 at 9:25 PM Khem Raj <raj.k...@gmail.com> wrote: > can you post output of root/6.04.12-r0/build/CMakeFiles/CMakeError.log > > On Wed, Dec 9, 2015 at 12:00 PM, Giordon Stark <kra...@gmail.com&

Re: [yocto] Trying to add a recipe for ROOT

2015-12-30 Thread Giordon Stark
I'm unable to disable the internal build. I'm working on the pkg-config however. On Wed, Dec 30, 2015 at 1:34 PM Khem Raj <raj.k...@gmail.com> wrote: > On Wed, Dec 30, 2015 at 10:27 AM, Giordon Stark <kra...@gmail.com> wrote: > > I'll look at pkg-config examples. How do

Re: [yocto] Trying to add a recipe for ROOT

2015-12-30 Thread Giordon Stark
, 2015 at 2:10 PM Giordon Stark <kra...@gmail.com> wrote: > Actually -- if you look here -- I'm already using pkg-config? > > > https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb#L9 > > Is there something wrong with the configuration then?

Re: [yocto] Trying to add a recipe for ROOT

2015-12-30 Thread Giordon Stark
Actually -- if you look here -- I'm already using pkg-config? https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb#L9 Is there something wrong with the configuration then? On Wed, Dec 30, 2015 at 2:07 PM Giordon Stark <kra...@gmail.com> wrote: > I

Re: [yocto] Trying to add a recipe for ROOT

2016-01-06 Thread Giordon Stark
Ping - any updates on this? I've tried a lot of ways to fix it, but I can't seem to get it to compile at all... On Wed, Dec 30, 2015 at 3:28 PM Giordon Stark <kra...@gmail.com> wrote: > Here's an update set of logs: > > (output) https://gist.github.com/anonymous/56f90

Re: [yocto] Trying to add a recipe for ROOT

2015-12-22 Thread Giordon Stark
Hi, I've not heard a response yet on this? Giordon On Wed, Dec 9, 2015 at 3:00 PM Giordon Stark <kra...@gmail.com> wrote: > Hi all, > > I'm trying to add a recipe for ROOT (from CERN) but I'm running into > various issues with just trying to get compilers working. > >

Re: [yocto] [Openembedded-architecture] Standalone image writer

2016-03-02 Thread Giordon Stark
Hi all, In a similar problem -- I find that the boot.bin file does not work out of the box when I copy the files over to the SDCard to boot on a Xilinx board. I end up having to open the SDK and generate a BOOT image myself using the other files that were generated (u-boot, devicetree) with the

Re: [yocto] Machine definition ?

2017-08-16 Thread Giordon Stark
Hi, You should be able to write MACHINE = "orange-pi-one" to set the machine correctly. Giordon On Wed, Aug 16, 2017 at 10:23 PM Riko wrote: > Dear Yocto Members, > > I have a question related with machine, > > If I want to use Orange Pi, how can I define my machine

Re: [yocto] LLVM linking for custom recipe

2017-06-12 Thread Giordon Stark
Hi, I'm still stuck here, assistance would be appreciated. Giordon On Thu, Jun 8, 2017 at 7:51 PM Giordon Stark <kra...@gmail.com> wrote: > Looking into more details, I don't know or where bitbake tries to look for > things as things get compiled (flags, environment, etc)... b

[yocto] LLVM linking for custom recipe

2017-06-08 Thread Giordon Stark
Hi, I have the following error message when trying to get LLVM linked up. The problem is that I'm using a widely used science software called ROOT ( https://root.cern.ch/) with the following minimal recipe at the moment (

[yocto] Best practice for updating a single recipe in meta-openembedded?

2018-06-26 Thread Giordon Stark
this additional change. Can I just cherry-pick this commit onto meta-openembedded, or should I apply these changes into my custom layer, and leave the meta-openembedded layer untouched? Thanks, Giordon -- Giordon Stark -- ___ yocto mailing list yocto

Re: [yocto] Creating a python recipe with devtool

2018-02-08 Thread Giordon Stark
nt. You need to fetch > > sources directly from github. > > > > > > Alex > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] recipe for custom python package not on pypi

2018-01-03 Thread Giordon Stark
Hi, https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/python/python-ironman_0.2.13.bb - this is an example recipe for python. You simply need to change the SRC_URI to point to where your python package is (tarball generally preferred) by something like file://path/to/tarball.tar.gz

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-17 Thread Giordon Stark
/4fb229e696659c3a905fa090e67e2d02 Giordon On Fri, Jul 13, 2018 at 10:36 AM Giordon Stark wrote: > Hi Khem, > > For meta-clang -- I'm on rocko. Is that truly too old? I'm going to switch > to sumo in the next few weeks, but I was hoping to nail some of these > recipes before I swit

Re: [yocto] Writing a recipe that allows for extra depends, depending on the extra_oemake configurations

2018-07-16 Thread Giordon Stark
Thanks all! I did mean OE_CMAKE [I'm not the best typer]. Giordon On Fri, Jul 13, 2018 at 2:53 AM Burton, Ross wrote: > On 12 July 2018 at 23:12, Giordon Stark wrote: > > Hi Ross, > > > > Thanks. I saw that but the documentation doesn't explicitly mentioned > > EXT

[yocto] LLVM: error adding symbols: File in wrong format

2018-07-10 Thread Giordon Stark
pe=OFF \ -Dbuiltin_llvm=OFF \ -Dbuiltin_glew=OFF \ -Dastiff=OFF \ -Dasimage=OFF \ -Dbuiltin_afterimage=OFF \ -Dalien=OFF \ -Dvdt=OFF \ " -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Understanding "dev package contains non-symlink"

2018-07-06 Thread Giordon Stark
nks and which are not -- given that I'm writing this recipe for a given version/configuration? Giordon On Fri, Jul 6, 2018 at 3:52 PM Andre McCurdy wrote: > On Fri, Jul 6, 2018 at 1:28 PM, Giordon Stark wrote: > > Hi, > > > > Been struggling to understand the differen

Re: [yocto] Understanding "dev package contains non-symlink"

2018-07-06 Thread Giordon Stark
ll go away. > > If you can't fix the build to install the plug-ins in another > directory, then you could keep the packaging rules over-rides that you > have already and just ignore the "dev-so" QA test (unlike the > "dev-elf" QA test, which you should never ignore

Re: [yocto] Writing a recipe that allows for extra depends, depending on the extra_oemake configurations

2018-07-12 Thread Giordon Stark
ttps://www.yoctoproject.org/docs/2.4.2/ref-manual/ref-manual.html#var-PACKAGECONFIG > > Ross > -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-12 Thread Giordon Stark
iltin_llvm=OFF -Dbuiltin_glew=OFF -Dastiff=OFF -Dasimage=OFF -Dbuiltin_afterimage=OFF -Dalien=OFF -Dvdt=OFF ${PACKAGECONFIG_CONFARGS} -Wno-dev' | ERROR: Function failed: do_configure (log file is located at /local/d4/gstark/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/root/6.14.00-r0/

[yocto] Writing a recipe that allows for extra depends, depending on the extra_oemake configurations

2018-07-12 Thread Giordon Stark
user allow for additional configuration to enable crypto/krb5 which requires extra depends and changing the oemake flags. Is this something Yocto can do, or is it better to have users provide a bbappend file to update this recipe? Thanks, Giordon -- Giordon Stark --

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-13 Thread Giordon Stark
; On Thu, Jul 12, 2018 at 1:57 PM Giordon Stark wrote: > > > > Hi Khem, > > > > I added clang, removed llvm-native -- and now I get an llvm error -- > supposedly because the llvm being used with yocto may be too old(?). > > > > kratsg@d

Re: [yocto] LLVM: error adding symbols: File in wrong format

2018-07-13 Thread Giordon Stark
you > can send the patches for the branch you are on. > > TUNE_CCARGS_remove_toolchain-clang = "-march=armv7-a" > TUNE_CCARGS_append_toolchain-clang = > "${@bb.utils.contains("TUNE_FEATURES", "armv7a", " -march=armv7a", "", >

[yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
mp/work/aarch64-poky-linux/open62541/0.3+git999-r0/open62541-0.3+git999' | CMakeFiles/Makefile2:108: recipe for target 'CMakeFiles/open62541-generator-namespace.dir/all' failed | make[1]: *** [CMakeFiles/open62541-generator-namespace.dir/all] Error 2 | make[1]: *** Waiting for unfinished jobs How do I g

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
Hi, I tried this and it didn't work. Giordon On Tue, Mar 6, 2018 at 12:43 Burton, Ross <ross.bur...@intel.com> wrote: > Add DEPENDS=python-six > > Ross > > On 6 March 2018 at 18:11, Giordon Stark <kra...@gmail.com> wrote: > >> Hi all, >> >> I'm st

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
Burton, Ross wrote: > > Add DEPENDS=python-six > > Maybe: > > DEPENDS = "python-six-native" > > Philip > > > > > Ross > > > > On 6 March 2018 at 18:11, Giordon Stark <kra...@gmail.com> wrote: > > > >> Hi all,

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
es on a target machine, rather than for the host's pythonnative. Giordon On Tue, Mar 6, 2018 at 12:50 PM Giordon Stark <kra...@gmail.com> wrote: > Hi, > > I tried this and it didn't work. > > Giordon > On Tue, Mar 6, 2018 at 12:43 Burton, Ross <ross.bur...@intel.

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
Thanks. On Tue, Mar 6, 2018 at 2:07 PM Burton, Ross <ross.bur...@intel.com> wrote: > On 6 March 2018 at 19:48, Giordon Stark <kra...@gmail.com> wrote: > >> >> where PV=0.2 (open62541_0.2.bb). And I see an error on install (full >>

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
quot;/local/d4/gstark/poky/build/tmp/work/aarch64-poky-linux/open62541/0.2-r0/build/open62541.h". So I'm wondering if I screwed up something by using the tarball instead of a clone. I thought I translated it relatively well, and the release matches the hash I was using. Giordon On Tue, Ma

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
recipe that just adds "open62541" in it's DEPENDS. Giordon On Tue, Mar 6, 2018 at 2:32 PM Burton, Ross <ross.bur...@intel.com> wrote: > On 6 March 2018 at 20:24, Giordon Stark <kra...@gmail.com> wrote: > >> You can drop the S assignment as that is the defau

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
files get installed and which don't... except for when a recipe that depends on this breaks because it can't find the header file. Giordon On Tue, Mar 6, 2018 at 4:06 PM Andre McCurdy <armccu...@gmail.com> wrote: > On Tue, Mar 6, 2018 at 1:03 PM, Giordon Stark <kra...@gmail.com> wrote

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
Is there a good recipe to follow where the normal rules apply for packaging and such? I had a hard time finding one that wasn't a rabbit-hole of *.inc files. Giordon On Tue, Mar 6, 2018 at 4:23 PM Andre McCurdy <armccu...@gmail.com> wrote: > On Tue, Mar 6, 2018 at 2:12 PM, Giordon S

Re: [yocto] Bitbake recipe using CMake that requires python-six as part of compiling?

2018-03-06 Thread Giordon Stark
<ross.bur...@intel.com> wrote: > If the cmakelists file doesn't install that (and it should) then yes > you'll need to use do_install_append. > > Ross > > On 6 March 2018 at 20:46, Giordon Stark <kra...@gmail.com> wrote: > >> Great. So when I have this recipe set up -

[yocto] Can SRC_URI look in the same place for two different machines?

2018-03-15 Thread Giordon Stark
pend_gfex-prototype2 = " \ file://skeleton.dtsi \ file://pl.dtsi \ file://zynq-7000.dtsi \ file://system.dts \ " I suspect I do something with OVERRIDES in the conf/machine/${MACHINE}.conf file but not sure... Than

Re: [yocto] Adding custom scripts to home directory and /etc/init.d/*

2018-03-06 Thread Giordon Stark
s to be needed. Thanks, Giordon On Mon, Mar 5, 2018 at 6:36 PM Anuj Mittal <anuj.mit...@intel.com> wrote: > On 03/06/2018 05:18 AM, Giordon Stark wrote: > > Hi all, > > > > I am wondering if there's a nice pattern or workflow within Yocto where > > I can add

Re: [yocto] [yocto-announce] [ANNOUNCEMENT] Yocto Project 2.4.2 (rocko-18.0.2) Released

2018-03-14 Thread Giordon Stark
ripts: don't use update-alternatives >> sysklogd: don't use update-alternatives >> install*.sh: add short sleep after parted commands >> init-install: fix grub-install command >> initramfs-module-install: Remove allarch and FILESEXTRAPATHS >> initramfs-framewor

[yocto] Setting a custom hostname using git revisions?

2018-04-04 Thread Giordon Stark
%.bbappend which is currently set to "${MACHINE}". Instead, I would like something along the lines of "${MACHINE}-${LAYER_REV}". Thanks, Giordon -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] Kernel configuration patches not persisting?

2018-04-04 Thread Giordon Stark
here ( https://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html#changing-the-configuration) but I'm not sure I want to duplicate my defconfig file into a second location to bbappend the linux-yocto. Have I done something wrong? Am I missing something else? Giordon --

Re: [yocto] Kernel configuration patches not persisting?

2018-04-04 Thread Giordon Stark
8 at 10:32 AM Stephano Cetola < stephano.cet...@linux.intel.com> wrote: > On 4/4/18 7:48 AM, Giordon Stark wrote: > > Hi all, > > > > I have a custom board with custom kernel config changes. Because of > > that, I append the u-boot recipe as well: > > > &

[yocto] python-fcntl missing in rocko?

2018-03-27 Thread Giordon Stark
Hi all, When I switched from pyro to rocko, using `python-core` -- I'm noticing that the fcntl module in python2 is missing. Is there a recipe to add to get it back? Thanks, Giordon -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] python-fcntl missing in rocko?

2018-03-28 Thread Giordon Stark
bitrary subset of the python libraries", > you'd do better by including python-modules in your image which is all > of Python. > > Or use oe-pkgdata-util to search what package contains the fcntl module. > > Ross > > On 27 March 2018 at 17:50, Giordon Stark <kra..

Re: [yocto] Can SRC_URI look in the same place for two different machines?

2018-03-16 Thread Giordon Stark
those picked up by the non-3 machines. G On Fri, Mar 16, 2018 at 11:42 AM Burton, Ross <ross.bur...@intel.com> wrote: > On 15 March 2018 at 14:07, Giordon Stark <kra...@gmail.com> wrote: > >> So for my device trees, I'm finding some files are duplicated. In >> pa

Re: [yocto] Can SRC_URI look in the same place for two different machines?

2018-03-16 Thread Giordon Stark
ot clear to me which is better or fits with the philosophy of yocto/bitbake. Giordon On Fri, Mar 16, 2018 at 11:48 AM Robert P. J. Day <rpj...@crashcourse.ca> wrote: > On Fri, 16 Mar 2018, Burton, Ross wrote: > > > On 15 March 2018 at 14:07, Giordon Stark <kra...@gmai

Re: [yocto] scipy recipe

2018-03-16 Thread Giordon Stark
fetch URL > >>>>> > https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz, > >>>>> attempting MIRRORS if available > >>>>> ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export >

Re: [yocto] scipy recipe

2018-03-16 Thread Giordon Stark
; https://layers.openembedded.org/layerindex/branch/master/recipes/?q=scipy >> >> It appears to be blocked by: >>https://github.com/scipy/scipy/issues/8226 >> but apparently that's a bitbake issue, not a spip one. >> Care to take a look? >> >> >>&

Re: [yocto] Could not invoke DNF with python package (Unable to find a match)

2018-03-17 Thread Giordon Stark
t 12:16 PM Giordon Stark <kra...@gmail.com> wrote: > Hi, > > I'm a bit confused by this error, since as far as I can tell, bitbake sees > this particular recipe I wrote... > > inc file: > https://github.com/kratsg/meta-l1calo/blob/master/recipes-python/python-iron

[yocto] Could not invoke DNF with python package (Unable to find a match)

2018-03-17 Thread Giordon Stark
recipe incorrectly? If I inherit from pypi, it should install this for me as an rpm that can be picked up by bitbake, right? Giordon -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] No module named setuptools -- even with "inherit setuptools"?

2018-03-23 Thread Giordon Stark
ols SRC_URI[md5sum] = "39407f91407138f687ea2ecf8d758a1f" SRC_URI[sha256sum] = "c23ef47fd5751d821e5c17d9b3b02d1f3c465e66b8a205b9c791c4abef747138" DEPENDS = "python python-six" RDEPENDS_${PN} += "python-lang python-shell python-six python-debugger" -- Giordon

Re: [yocto] No module named setuptools -- even with "inherit setuptools"?

2018-03-23 Thread Giordon Stark
python. > > I'd verify that it's not explicitly running /usr/bin/python at some > point, instead of the python binary in $PATH. > > Ross > > On 23 March 2018 at 18:46, Giordon Stark <kra...@gmail.com> wrote: > > Hi, > > > > I'm a bit perplexed. I do

Re: [yocto] Read Only File System

2018-03-04 Thread Giordon Stark
600 6013 > > [] (__irq_svc) from [] > (cpuidle_enter_state+0xe4/0x1b4) > [] (cpuidle_enter_state) from [] > (cpu_startup_entry+0x18c/0) > [] (cpu_startup_entry) from [<001014cc>] (0x1014cc) > > ---[ end Kernel panic - not syncing: VFS: Unable t

[yocto] Adding custom scripts to home directory and /etc/init.d/*

2018-03-05 Thread Giordon Stark
. If someone could point me in the right direction, that would be great! Giordon -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] Understanding "dev package contains non-symlink"

2018-06-28 Thread Giordon Stark
errors didn't show up the first time. And I suppose part of the confusing is about packaging vs installation. Thanks, Giordon -- Giordon Stark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto