<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'm asking about how to enable PACKAGECONFIG feature from local.conf file, let's say that i have the following pacakgeconfig in a recipe<br>
PACKAGECONFIG = " f1 f2 "<br>
PACKAGECONFIG[f1] = "-DENABLE_f1=ON,-DENABLE_f1=OFF,f1,"<br>
<br>
so i need to add line in local.conf file to enable this feature for my image? <br>
I tried to use the following line to loca.conf but it does not help:<br>
<br>
PACKAGECONFIG_pn-<my-recipe-name>_append = "-DENABLE_f1=ON"<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of yocto-request@yoctoproject.org <yocto-request@yoctoproject.org><br>
<b>Sent:</b> Tuesday, December 11, 2018 11:57 AM<br>
<b>To:</b> yocto@yoctoproject.org<br>
<b>Subject:</b> yocto Digest, Vol 99, Issue 26</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Send yocto mailing list submissions to<br>
yocto@yoctoproject.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br>
or, via email, send a message with subject or body 'help' to<br>
yocto-request@yoctoproject.org<br>
<br>
You can reach the person managing the list at<br>
yocto-owner@yoctoproject.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of yocto digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Using multilib to build 32-bit glibc on 64-bit target<br>
platform (Nicholas Tsirakis)<br>
2. Raspberry pi with Yocto os sd card is not working with<br>
Raspbian os sd card (AKASH BHARDWAJ)<br>
3. Do rootfs fail when switch from rpm to deb (Jonas Andersson)<br>
4. Lib update (Peter Balazovic)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 10 Dec 2018 15:37:19 -0500<br>
From: Nicholas Tsirakis <niko.tsirakis@gmail.com><br>
To: yocto@yoctoproject.org<br>
Subject: [yocto] Using multilib to build 32-bit glibc on 64-bit target<br>
platform<br>
Message-ID:<br>
<CAFqpmVLj_54Ou1N=+YdjAqtcGGDLsWoH-85+89nQ=NJLUhPDpA@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
I'm having trouble understanding the proper usage of multilib within the<br>
Yocto project. I've read through Yocto's documentation, but I think I am<br>
missing something crucial. Here are the steps I've taken:<br>
<br>
1. Added the following to my local.conf:<br>
require conf/multilib.conf<br>
MULTILIBS = "multilib:lib32"<br>
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"<br>
<br>
2. Attempted to build lib32-glibc with bitbake. Received the following<br>
errors for lib32-glib-initial (shortened for brevity):<br>
<br>
| <stdin>:10:36: error: 'REG_RBP' undeclared (first use in this function)<br>
| <stdin>:9:26: note: in expansion of macro 'ucontext'<br>
| <stdin>:10:20: note: in expansion of macro 'mcontext'<br>
| <stdin>:11:61: note: in expansion of macro 'mreg'<br>
| <stdin>:10:36: note: each undeclared identifier is reported only once for<br>
each function it appears in<br>
| <stdin>:9:26: note: in expansion of macro 'ucontext'<br>
| <stdin>:10:20: note: in expansion of macro 'mcontext'<br>
| <stdin>:11:61: note: in expansion of macro 'mreg'<br>
| <stdin>:10:36: error: 'REG_RSP' undeclared (first use in this function)<br>
| <stdin>:9:26: note: in expansion of macro 'ucontext'<br>
| <stdin>:10:20: note: in expansion of macro 'mcontext'<br>
| <stdin>:12:61: note: in expansion of macro 'mreg'<br>
...<br>
| <stdin>:5:73: error: 'La_x86_64_xmm' undeclared (first use in this<br>
function)<br>
...<br>
| <stdin>:10:87: error: invalid use of undefined type 'struct<br>
La_x86_64_regs'<br>
...<br>
<br>
3. At this point it appeared to me like it was attempting to build a 64-bit<br>
version of glibc in a 32-bit environment, so I tried building the<br>
lib32-linux-libc-headers by adding the following to its recipe:<br>
<br>
do_install_prepend() {<br>
if [ "${MLPREFIX}" == "lib32-" ]; then<br>
ARCH="x86"<br>
fi<br>
}<br>
<br>
This was more a shot in the dark than anything else and still yielded the<br>
same result. Can someone clear up the proper usage of multilib and tell me<br>
if I'm doing something wrong? Please note that my project currently uses<br>
OE's pyro branches.<br>
<br>
Thank you for your time.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.yoctoproject.org/pipermail/yocto/attachments/20181210/bef1ca7f/attachment-0001.html">http://lists.yoctoproject.org/pipermail/yocto/attachments/20181210/bef1ca7f/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 11 Dec 2018 07:57:35 +0530<br>
From: AKASH BHARDWAJ <akash12bhardwaj@gmail.com><br>
To: yocto@yoctoproject.org<br>
Subject: [yocto] Raspberry pi with Yocto os sd card is not working<br>
with Raspbian os sd card<br>
Message-ID:<br>
<CALYZMn=_AhWPbX1Hx=7o=mhoGEU==jnCBJhiQ0v5Y6gL4f0H9A@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Few months ago,I built an custom image for Raspberrypi using Yocto<br>
Project,flashed it in a sd card and was able to boot<br>
raspberrypi.Presently,I am trying to use a different sd card with raspbian<br>
os in same Raspberrypi.But it is not able to boot Raspberrypi.How can I<br>
rectify this problem?This is my code which I used few years back to<br>
generate yocto image.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
PACKAGE_CLASSES ?= "package_rpm package_deb"<br>
><br>
><br>
> EXTRA_IMAGE_FEATURES ?= "debug-tweaks dbg-pkgs dev-pkgs tools-sdk<br>
> tools-debug eclipse-debug "<br>
><br>
><br>
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"<br>
><br>
><br>
><br>
><br>
> BB_DISKMON_DIRS ??= "\<br>
> STOPTASKS,${TMPDIR},1G,100K \<br>
> STOPTASKS,${DL_DIR},1G,100K \<br>
> STOPTASKS,${SSTATE_DIR},1G,100K \<br>
> STOPTASKS,/tmp,100M,100K \<br>
> ABORT,${TMPDIR},100M,1K \<br>
> ABORT,${DL_DIR},100M,1K \<br>
> ABORT,${SSTATE_DIR},100M,1K \<br>
> ABORT,/tmp,10M,1K"<br>
><br>
><br>
><br>
><br>
><br>
> CONF_VERSION = "1"<br>
> MACHINE = "raspberrypi3"<br>
> PREFERRED_VERSION_linux-raspberrypi = "4.%"<br>
> DISTRO_FEATURES_remove = "x11 wayland"<br>
> DISTRO_FEATURES_append = " systemd"<br>
> VIRTUAL-RUNTIME_init_manager = "systemd"<br>
> IMAGE_INSTALL_append = " git apt dpkg opkg rpm sudo wiringpi wiringpi-dev<br>
> connman connman-client tzdata i2c-tools i2c-tools-dev glibc-utils rpm<br>
> dhcp-server bluez5 python-smbus bridge-utils hostapd apache2 openvpn<br>
> iptables nano"<br>
> IMAGE_INSTALL += "wiringpi"<br>
> ENABLE_UART="1"<br>
> ENABLE_SPI_BUS= "1"<br>
> ENABLE_I2C = "1"<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/d89aff52/attachment-0001.html">http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/d89aff52/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 11 Dec 2018 10:10:29 +0100<br>
From: Jonas Andersson <jonaskgandersson@gmail.com><br>
To: yocto@yoctoproject.org<br>
Subject: [yocto] Do rootfs fail when switch from rpm to deb<br>
Message-ID:<br>
<CAKpuFdeEtgn9SFt6OsTca7zHFKDc32ORmbn69EO01P+YdybVDw@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi<br>
<br>
We have an recipe based on microservicebus-node npm package created with<br>
devtool.<br>
<br>
When we build with PACKAGE_CLASSES = "package_rpm" it builds but when<br>
switching to package_deb do_rootfs fails.<br>
What can I do to get more information about the packages that is reported<br>
as broken, are there any known issues with npm and deb?<br>
<br>
Here is my build output<br>
_______________________________________________________________________________________________________<br>
Build Configuration:<br>
BB_VERSION = "1.38.0"<br>
BUILD_SYS = "x86_64-linux"<br>
NATIVELSBSTRING = "universal"<br>
TARGET_SYS = "arm-poky-linux-gnueabi"<br>
MACHINE = "raspberrypi3"<br>
DISTRO = "poky"<br>
DISTRO_VERSION = "2.5.1"<br>
TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4<br>
callconvention-hard cortexa7"<br>
TARGET_FPU = "hard"<br>
meta<br>
meta-poky<br>
meta-yocto-bsp = "sumo:36d5cee56bd389ecbe66dbfad9e5d57c13b56b95"<br>
meta-oe = "sumo:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"<br>
meta-microservicebus<br>
meta-example-msb-rpi = "dev:be586f405a92a563ff49b8adf9ef7a9da5cc7192"<br>
meta-raspberrypi = "sumo:2d40b000021bc8a9ef7f329ed0ad410f8d227b97"<br>
meta-rauc = "sumo:40a5890478a50ad80e404be5d9de197dd9a79d44"<br>
<br>
NOTE: Executing SetScene Tasks<br>
NOTE: Executing RunQueue Tasks<br>
NOTE: Running task 2864 of 3398<br>
(/home/jonas/git/devtool/meta-microservicebus-node/meta-example-msb-rpi/recipes-core/images/msb-image-rauc.bb:<br>
do_rootfs)<br>
NOTE: recipe msb-image-rauc-1.0-r0: task do_rootfs: Started<br>
ERROR: msb-image-rauc-1.0-r0 do_rootfs: Unable to install packages. Command<br>
'/home/jonas/git/devtool/build-deb/tmp/work/raspberrypi3-poky-linux-gnueabi/msb-image-rauc/1.0-r0/recipe-sysroot-native/usr/bin/apt-get<br>
install --force-yes --allow-unauthenticated microservicebus-node<br>
packagegroup-core-boot psplash-raspberrypi packagegroup-base-extended<br>
packagegroup-core-ssh-openssh run-postinsts' returned 100:<br>
Reading package lists...<br>
Building dependency tree...<br>
Reading state information...<br>
Some packages could not be installed. This may mean that you have<br>
requested an impossible situation or if you are using the unstable<br>
distribution that some required packages have not yet been created<br>
or been moved out of Incoming.<br>
The following information may help to resolve the situation:<br>
<br>
The following packages have unmet dependencies:<br>
microservicebus-node : Depends: microservicebus-node-npm but it is not<br>
going to be installed<br>
Depends: microservicebus-node-npm-JSONStream but it<br>
is not installable<br>
Depends:<br>
microservicebus-node-npm-JSONStream-jsonparse but it is not installable<br>
Depends:<br>
microservicebus-node-npm-JSONStream-through but it is not installable<br>
E: Unable to correct problems, you have held broken packages.<br>
<br>
ERROR: msb-image-rauc-1.0-r0 do_rootfs: Function failed: do_rootfs<br>
ERROR: Logfile of failure stored in:<br>
/home/jonas/git/devtool/build-deb/tmp/work/raspberrypi3-poky-linux-gnueabi/msb-image-rauc/1.0-r0/temp/log.do_rootfs.7424<br>
NOTE: recipe msb-image-rauc-1.0-r0: task do_rootfs: Failed<br>
ERROR: Task<br>
(/home/jonas/git/devtool/meta-microservicebus-node/meta-example-msb-rpi/recipes-core/images/msb-image-rauc.bb:do_rootfs)<br>
failed with exit code '1'<br>
NOTE: Tasks Summary: Attempted 3391 tasks of which 3390 didn't need to be<br>
rerun and 1 failed.<br>
_______________________________________________________________________________________________________<br>
<br>
/Jonas<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/ab6fe374/attachment-0001.html">http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/ab6fe374/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 11 Dec 2018 10:57:14 +0100<br>
From: Peter Balazovic <balazovic.peter@gmail.com><br>
To: Yocto list discussion <yocto@yoctoproject.org>,<br>
eclipse-yocto@yoctoproject.org<br>
Subject: [yocto] Lib update<br>
Message-ID:<br>
<CAFq4t4jdGXQnytzXjW-Op=NVdy1s1yAO=U6v9G8NXGd-OX4F0w@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I am developing library (set of libraries) which at first are built and<br>
part of build image & my SDK.<br>
Now I would need to update the libs so SDK and as well target remote image<br>
are updated. I want to avoid rebuild whole image and flash SD-Card again<br>
and generated SDK over again. I use SDK cross-compiler, Eclipse, ADT plugin<br>
to develop cmake-based application.<br>
What is the correct procedure?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/84c549da/attachment.html">http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/84c549da/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
-- <br>
_______________________________________________<br>
yocto mailing list<br>
yocto@yoctoproject.org<br>
<a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br>
<br>
End of yocto Digest, Vol 99, Issue 26<br>
*************************************<br>
</div>
</span></font></div>
</body>
</html>