Re: [yocto] Missing .o files.

2023-04-10 Thread Khem Raj
On Mon, Apr 10, 2023 at 11:26 PM MOHAMMED HASSAN
 wrote:
>
> On Mon, Apr 10, 2023 at 10:45 PM, Khem Raj wrote:
>
> you need to add
>
> DEPENDS += "readline ncurses"
>
> to your recipe.
>
> Hi Khem,
> Thanks for your reply. I didnt get any more errors and bitbake zigbee was a 
> success.
> The issue is in my executable is saved in 
> /amlogic/meta-c/recipes-example/zigbee/files/gecko_sdk_suite/v3.2/build/Z3GatewayHostm/build/exe
>  folder and not in the  
> /amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0 folder. I thought of 
> making changes in the makefile but not sure with the commands I need to 
> write. Can you please help.
>

you can write a install target in makefile or write do_install()
function in recipe where you copy the needed binaries into
${D}${bindir}

> Thanks and Reagrds,
> Hassan
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59671): https://lists.yoctoproject.org/g/yocto/message/59671
Mute This Topic: https://lists.yoctoproject.org/mt/98191767/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Missing .o files.

2023-04-10 Thread MOHAMMED HASSAN
On Mon, Apr 10, 2023 at 10:45 PM, Khem Raj wrote:

> 
> you need to add
> 
> DEPENDS += "readline ncurses"
> 
> to your recipe.
> 
> 

Hi Khem,
Thanks for your reply. I didnt get any more errors and bitbake zigbee was a 
success.
The issue is in my executable is saved in 
/amlogic/meta-c/recipes-example/zigbee/files/gecko_sdk_suite/v3.2/build/Z3GatewayHostm/build/exe
 folder and not in the  
/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0 folder. I thought of 
making changes in the makefile but not sure with the commands I need to write. 
Can you please help.

Thanks and Reagrds,
Hassan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59670): https://lists.yoctoproject.org/g/yocto/message/59670
Mute This Topic: https://lists.yoctoproject.org/mt/98191767/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Missing .o files.

2023-04-10 Thread Khem Raj
you need to add

DEPENDS += "readline ncurses"

to your recipe.

On Mon, Apr 10, 2023 at 10:39 PM MOHAMMED HASSAN
 wrote:
>
> Hi Khem,
> Thanks for your reply.
> I tried the changes you wanted me to make and this is the error I got.
>
> ERROR: zigbee-0.1-r0 do_compile: oe_runmake failed
> ERROR: zigbee-0.1-r0 do_compile: Execution of 
> '/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/run.do_compile.171358'
>  failed with exit code 1
> ERROR: Logfile of failure stored in: 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/log.do_compile.171358
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 4 CC=aarch64-poky-linux-gcc  -march=armv8-a+crc 
> -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security 
> -Werror=format-security 
> --sysroot=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot
>  RANLIB=aarch64-poky-linux-gcc-ranlib AR=aarch64-poky-linux-gcc-ar CFLAGS= 
> -O2 -pipe -g -feliminate-unused-debug-types 
> -fdebug-prefix-map=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0=/usr/src/debug/zigbee/0.1-r0
>  
> -fdebug-prefix-map=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot=
>  
> -fdebug-prefix-map=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native=
>   
> -I/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0 
> BUILDDIR=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0 
> all
> | aarch64-poky-linux-gcc  -march=armv8-a+crc -fstack-protector-strong  
> -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security 
> --sysroot=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot
>  build/znet-bookkeeping.o build/call-command-handler.o build/callback-stub.o 
> build/stack-handler-stub.o build/znet-cli.o build/hostforEdge3_callbacks.o 
> build/library.o build/command-interpreter2.o build/zigbee-device-common.o 
> build/zigbee-device-host.o build/event-control.o build/led-stub.o 
> build/mem-util.o build/antenna-stub.o build/buzzer-stub.o 
> build/address-table.o build/address-table-cli.o build/basic.o 
> build/color-control-server.o build/concentrator-support.o 
> build/concentrator-support-cli.o build/counters-cli.o 
> build/counters-ota-host.o build/counters-host.o build/ez-mode.o 
> build/ez-mode-cli.o build/ezsp-callbacks.o build/ezsp-enum-decode.o 
> build/ezsp-frame-utilities.o build/ezsp.o build/ezsp-host-io.o 
> build/ezsp-host-queues.o build/ezsp-host-ui.o build/serial-interface-uart.o 
> build/ash-host-ui.o build/ash-host.o build/ash-common.o 
> build/file-descriptor-dispatch.o build/gateway-support.o 
> build/backchannel-support.o build/gateway-support-cli.o 
> build/green-power-client.o build/green-power-client-cli.o 
> build/green-power-common.o build/gp-util.o build/heartbeat.o 
> build/ias-zone-client.o build/ias-zone-client-cli.o build/identify.o 
> build/identify-cli.o build/identify-feedback.o build/level-control.o 
> build/linked-list.o build/aes.o build/asn1parse.o build/asn1write.o 
> build/base64.o build/bignum.o build/ccm.o build/chacha20.o build/chachapoly.o 
> build/cipher.o build/cipher_wrap.o build/cmac.o build/ctr_drbg.o build/des.o 
> build/ecdh.o build/ecdsa.o build/ecjpake.o build/ecp.o build/ecp_curves.o 
> build/entropy.o build/error.o build/gcm.o build/md.o build/md5.o build/oid.o 
> build/pem.o build/pk.o build/pk_wrap.o build/pkparse.o build/platform_util.o 
> build/poly1305.o build/psa_crypto.o build/psa_crypto_cipher.o 
> build/psa_crypto_client.o build/psa_crypto_driver_wrappers.o 
> build/psa_crypto_ecp.o build/psa_crypto_hash.o build/psa_crypto_mac.o 
> build/psa_crypto_slot_management.o build/psa_crypto_storage.o build/rsa.o 
> build/rsa_internal.o build/sha1.o build/sha256.o build/sha512.o 
> build/ssl_cache.o build/ssl_ciphersuites.o build/ssl_cli.o build/ssl_cookie.o 
> build/ssl_msg.o build/ssl_srv.o build/ssl_ticket.o build/ssl_tls.o 
> build/threading.o build/x509.o build/x509_create.o build/x509_crl.o 
> build/x509_crt.o build/x509_csr.o build/x509write_crt.o build/x509write_csr.o 
> build/ncp-configuration.o build/network-creator.o build/network-creator-cli.o 
> build/network-creator-security.o build/network-creator-security-cli.o 
> build/network-steering.o build/network-steering-cli.o 
> build/network-steering-v2.o build/network-steering-host.o build/on-off.o 
> build/ota-common.o build/ota-server.o build/ota-server-page-request.o 
> build/ota-server-cli.o build/ota-server-dynamic-block-period.o 
> build/ota-server-policy.o build/ota-storage-common.o 
> build/ota-storage-common-cli.o build/ota-storage-linux.o 
> build/poll-control-client.o build/poll-control-client-cli.o build/reporting.o 
> build/reporting-cli.o build/reporting-default-configuration.o 
> build/scan-dispatch.o build/secure-ezsp-stub.o

Re: [yocto] [ptest-runner][PATCH 1/2] utils.c: rework pty setup

2023-04-10 Thread Ovidiu Panait

+cc Anibal's gmail account, the Linaro one seems not valid anymore.

On 3/21/23 21:21, Ovidiu Panait via lists.yoctoproject.org wrote:

The run-read bash ptest fails when it's being run by ptest-runner, but
it is successful when run manually:
  0 0 0
  0
  0
-0
+1
  timeout 1: ok
  unset or null 1
-1
+timeout 2: ok
  unset or null 2
  timeout 3: ok
  unset or null 3
FAIL: run-read

The actual testcase that is failing is:
tests/read6.sub:
read -t 0
echo $?

This failure seems to be related to how the pty setup is handled:
openpty() is called in the child process and the master/slave file
descriptors are left dangling.

To fix this:
- move the openpty() call in the parent process, before fork()-ing
- assign the slave end of the pty as the stdin for the child process
- adjust the TIOCSCTTY ioctl call to use the file descriptor of the pty file

Fixes: 59381a643e1f ("utils: ensure child can be session leader")
Signed-off-by: Ovidiu Panait 
---
  utils.c | 45 +
  1 file changed, 25 insertions(+), 20 deletions(-)

diff --git a/utils.c b/utils.c
index a67ac11..87ac20e 100644
--- a/utils.c
+++ b/utils.c
@@ -385,18 +385,9 @@ wait_child(pid_t pid)
   * fp should be writable, likely stdout/err.
   */
  static int
-setup_slave_pty(FILE *fp) {
-   int pty_master = -1;
-   int pty_slave = -1;
-   char pty_name[256];
+setup_slave_pty(FILE *fp, char *pty_name) {
struct group *gptr;
gid_t gid;
-   int slave = -1;
-
-   if (openpty(&pty_master, &pty_slave, pty_name, NULL, NULL) < 0) {
-   fprintf(fp, "ERROR: openpty() failed with: %s.\n", 
strerror(errno));
-   return -1;
-   }
  
  	if ((gptr = getgrnam(pty_name)) != 0) {

gid = gptr->gr_gid;
@@ -419,10 +410,7 @@ setup_slave_pty(FILE *fp) {
fprintf(fp, "ERROR: chmod() failed with: %s.\n", 
strerror(errno));
}
  
-	if ((slave = open(pty_name, O_RDWR)) == -1) {

-   fprintf(fp, "ERROR: open() failed with: %s.\n", 
strerror(errno));
-   }
-   return (slave);
+   return 0;
  }
  
  
@@ -441,10 +429,14 @@ run_ptests(struct ptest_list *head, const struct ptest_options opts,

int pipefd_stderr[2];
time_t sttime, entime;
time_t duration;
-   int slave;
int pgid = -1;
pthread_t tid;
  
+	int pty_master = -1;

+   int pty_slave = -1;
+   char pty_name[256];
+   int fd = -1;
+
if (opts.xml_filename) {
xh = xml_create(ptest_list_length(head), opts.xml_filename);
if (!xh)
@@ -493,15 +485,22 @@ run_ptests(struct ptest_list *head, const struct 
ptest_options opts,
fprintf(fp, "ERROR: getpgid() failed, %s\n", 
strerror(errno));
}
  
+			if (openpty(&pty_master, &pty_slave, pty_name, NULL, NULL) < 0) {

+   fprintf(fp, "ERROR: openpty() failed with: 
%s.\n", strerror(errno));
+   return -1;
+   }
+
child = fork();
if (child == -1) {
fprintf(fp, "ERROR: Fork %s\n", 
strerror(errno));
rc = -1;
break;
} else if (child == 0) {
-   close(0);
-   if ((slave = setup_slave_pty(fp)) < 0) {
-   fprintf(fp, "ERROR: could not setup pty 
(%d).", slave);
+   close(pty_master);
+   dup2(pty_slave, STDIN_FILENO);
+
+   if ((rc = setup_slave_pty(fp, pty_name)) < 0) {
+   fprintf(fp, "ERROR: could not setup pty 
(%d).", rc);
}
if (setpgid(0,pgid) == -1) {
fprintf(fp, "ERROR: setpgid() failed, 
%s\n", strerror(errno));
@@ -511,8 +510,12 @@ run_ptests(struct ptest_list *head, const struct 
ptest_options opts,
fprintf(fp, "ERROR: setsid() failed, 
%s\n", strerror(errno));
}
  
-if (ioctl(0, TIOCSCTTY, NULL) == -1) {

-   fprintf(fp, "ERROR: Unable to attach to 
controlling tty, %s\n", strerror(errno));
+   if ((fd = open(pty_name, O_RDWR)) >= 0) {
+   if (ioctl(fd, TIOCSCTTY, NULL) == -1) {
+   fprintf(fp, "ERROR: Unable to attach 
to controlling tty, %s\n", strerror(errno));
+   }
+
+   close(fd);
}
  
  run_child(p->run_ptest, pipefd_stdout[1], pipefd_stderr[1]);

@@ -549,6 +552,8 @@ run_ptests(struct ptest_list *head, 

Re: [yocto] Missing .o files.

2023-04-10 Thread MOHAMMED HASSAN
Hi Khem,
Thanks for your reply.
I tried the changes you wanted me to make and this is the error I got.

ERROR: zigbee-0.1-r0 do_compile: oe_runmake failed
ERROR: zigbee-0.1-r0 do_compile: Execution of 
'/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/run.do_compile.171358'
 failed with exit code 1
ERROR: Logfile of failure stored in: 
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/log.do_compile.171358
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 CC=aarch64-poky-linux-gcc  -march=armv8-a+crc 
-fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security 
-Werror=format-security 
--sysroot=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot
 RANLIB=aarch64-poky-linux-gcc-ranlib AR=aarch64-poky-linux-gcc-ar CFLAGS= -O2 
-pipe -g -feliminate-unused-debug-types 
-fdebug-prefix-map=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0=/usr/src/debug/zigbee/0.1-r0
                     
-fdebug-prefix-map=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot=
                     
-fdebug-prefix-map=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native=
                      
-I/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0 
BUILDDIR=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0 all
| aarch64-poky-linux-gcc  -march=armv8-a+crc -fstack-protector-strong  
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security 
--sysroot=/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot
 build/znet-bookkeeping.o build/call-command-handler.o build/callback-stub.o 
build/stack-handler-stub.o build/znet-cli.o build/hostforEdge3_callbacks.o 
build/library.o build/command-interpreter2.o build/zigbee-device-common.o 
build/zigbee-device-host.o build/event-control.o build/led-stub.o 
build/mem-util.o build/antenna-stub.o build/buzzer-stub.o build/address-table.o 
build/address-table-cli.o build/basic.o build/color-control-server.o 
build/concentrator-support.o build/concentrator-support-cli.o 
build/counters-cli.o build/counters-ota-host.o build/counters-host.o 
build/ez-mode.o build/ez-mode-cli.o build/ezsp-callbacks.o 
build/ezsp-enum-decode.o build/ezsp-frame-utilities.o build/ezsp.o 
build/ezsp-host-io.o build/ezsp-host-queues.o build/ezsp-host-ui.o 
build/serial-interface-uart.o build/ash-host-ui.o build/ash-host.o 
build/ash-common.o build/file-descriptor-dispatch.o build/gateway-support.o 
build/backchannel-support.o build/gateway-support-cli.o 
build/green-power-client.o build/green-power-client-cli.o 
build/green-power-common.o build/gp-util.o build/heartbeat.o 
build/ias-zone-client.o build/ias-zone-client-cli.o build/identify.o 
build/identify-cli.o build/identify-feedback.o build/level-control.o 
build/linked-list.o build/aes.o build/asn1parse.o build/asn1write.o 
build/base64.o build/bignum.o build/ccm.o build/chacha20.o build/chachapoly.o 
build/cipher.o build/cipher_wrap.o build/cmac.o build/ctr_drbg.o build/des.o 
build/ecdh.o build/ecdsa.o build/ecjpake.o build/ecp.o build/ecp_curves.o 
build/entropy.o build/error.o build/gcm.o build/md.o build/md5.o build/oid.o 
build/pem.o build/pk.o build/pk_wrap.o build/pkparse.o build/platform_util.o 
build/poly1305.o build/psa_crypto.o build/psa_crypto_cipher.o 
build/psa_crypto_client.o build/psa_crypto_driver_wrappers.o 
build/psa_crypto_ecp.o build/psa_crypto_hash.o build/psa_crypto_mac.o 
build/psa_crypto_slot_management.o build/psa_crypto_storage.o build/rsa.o 
build/rsa_internal.o build/sha1.o build/sha256.o build/sha512.o 
build/ssl_cache.o build/ssl_ciphersuites.o build/ssl_cli.o build/ssl_cookie.o 
build/ssl_msg.o build/ssl_srv.o build/ssl_ticket.o build/ssl_tls.o 
build/threading.o build/x509.o build/x509_create.o build/x509_crl.o 
build/x509_crt.o build/x509_csr.o build/x509write_crt.o build/x509write_csr.o 
build/ncp-configuration.o build/network-creator.o build/network-creator-cli.o 
build/network-creator-security.o build/network-creator-security-cli.o 
build/network-steering.o build/network-steering-cli.o 
build/network-steering-v2.o build/network-steering-host.o build/on-off.o 
build/ota-common.o build/ota-server.o build/ota-server-page-request.o 
build/ota-server-cli.o build/ota-server-dynamic-block-period.o 
build/ota-server-policy.o build/ota-storage-common.o 
build/ota-storage-common-cli.o build/ota-storage-linux.o 
build/poll-control-client.o build/poll-control-client-cli.o build/reporting.o 
build/reporting-cli.o build/reporting-default-configuration.o 
build/scan-dispatch.o build/secure-ezsp-stub.o build/simple-main.o 
build/simple-metering-client.o build/simple-metering-client-cli.o 
build/stack-diagnostics.o build/test-harness.o build/read-write-attributes.o 
build/test-harness-host.o build/time-server.o 
build/trust-center-nwk-key-update-broadcast.o 
build/trust-ce

Re: [yocto] Missing .o files.

2023-04-10 Thread Khem Raj
On Mon, Apr 10, 2023 at 9:46 PM MOHAMMED HASSAN
 wrote:
>
> Hi guys,
> Its my first time using yocto so I dont have much experience on this. I am 
> trying to cerate a .exe file for my target hardware. I am calling the 
> makefile using oe_runmake command but there are some missing .o files for 
> which I have no solution. If you  have any idea where I can find the related 
> .c files for this (I am still a beginner at work) then I would be grateful to 
> you. There error is shown below
>
> ute-size.o build/attribute-storage.o build/attribute-table.o 
> build/client-api.o build/message.o build/multi-network.o build/print.o 
> build/print-formatter.o build/process-cluster-message.o 
> build/process-global-message.o build/service-discovery-common.o 
> build/time-util.o build/util.o build/af-main-host.o 
> build/service-discovery-host.o  -lreadline -lncurses  -lm -lpthread -o 
> ./build/exe/hostforEdge3
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find Scrt1.o: No such file or directory
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find crti.o: No such file or directory
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find crtbeginS.o: No such file or directory
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lreadline
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lncurses
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lm
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lpthread
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lgcc
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lgcc_s
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lc
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lgcc
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find -lgcc_s
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find crtendS.o: No such file or directory
> | 
> /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
>  cannot find crtn.o: No such file or directory
> | collect2: error: ld returned 1 exit status
> | make: *** [Makefile:411: build/exe/hostforEdge3] Error 1
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
>

in the makefile set

LINKER = $(CC)
ARCHIVE = $(AR)

that might help

>
> Thanks
> Hassan
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59666): https://lists.yoctoproject.org/g/yocto/message/59666
Mute This Topic: https://lists.yoctoproject.org/mt/98191767/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Missing .o files.

2023-04-10 Thread MOHAMMED HASSAN
Hi guys,
Its my first time using yocto so I dont have much experience on this. I am
trying to cerate a .exe file for my target hardware. I am calling the
makefile using oe_runmake command but there are some missing .o files for
which I have no solution. If you  have any idea where I can find the
related .c files for this (I am still a beginner at work) then I would be
grateful to you. There error is shown below

ute-size.o build/attribute-storage.o build/attribute-table.o
build/client-api.o build/message.o build/multi-network.o build/print.o
build/print-formatter.o build/process-cluster-message.o
build/process-global-message.o build/service-discovery-common.o
build/time-util.o build/util.o build/af-main-host.o
build/service-discovery-host.o  -lreadline -lncurses  -lm -lpthread -o
./build/exe/hostforEdge3
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find Scrt1.o: No such file or directory
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find crti.o: No such file or directory
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find crtbeginS.o: No such file or directory
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lreadline
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lncurses
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lm
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lpthread
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lgcc
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lgcc_s
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lc
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lgcc
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find -lgcc_s
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find crtendS.o: No such file or directory
|
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.3.0/ld:
cannot find crtn.o: No such file or directory
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:411: build/exe/hostforEdge3] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.


Thanks
Hassan


do_compile
Description: Binary data


makefile
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59665): https://lists.yoctoproject.org/g/yocto/message/59665
Mute This Topic: https://lists.yoctoproject.org/mt/98191767/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] M+ & H bugs with Milestone Movements WW14

2023-04-10 Thread Stephen Jolley
All,

 

YP M+ or high bugs which moved to a new milestone in WW14 are listed below: 


Priority

Bug ID

Short Description

Changer

Owner

Was

Became


High

14065

Automated ptest regression testing

randy.macl...@windriver.com

alexis.loth...@bootlin.com

4.2 M4

4.3 M1


 

15089

Enabling create-spdx causes autobuilder failures

randy.macl...@windriver.com

david.re...@windriver.com

0.0.0

4.3 M1


 

15094

ctrl-c aborts bitbake immediately

randy.macl...@windriver.com

richard.pur...@linuxfoundation.org

0.0.0

4.3 M1


Medium+

14125

busybox wget ssl is exposed to MitM attack due to CVE-2018-1000500

randy.macl...@windriver.com

randy.macl...@windriver.com

4.2 M4

4.3 M1


 

15091

libarchive does't respect DISTRO_FEATURES acl and xattr for native target

randy.macl...@windriver.com

p.lob...@welotec.com

0.0.0

4.3 M1


 

15090

rust recipe zvariant is not reproducible

randy.macl...@windriver.com

frederic.martins...@gmail.com

0.0.0

4.3 M1


 

15092

Document devicetree.bbclass

randy.macl...@windriver.com

michael.opdenac...@bootlin.com

0.0.0

4.3 M1


 

15093

Add Yocto Compatible icon to Layer Index.

randy.macl...@windriver.com

unassig...@yoctoproject.org

0.0.0

4.3 M2


 

15095

recipes-devtools/go-1.20 native: not possible to build with go 1.4

randy.macl...@windriver.com

jonas.li...@gmail.com

0.0.0

4.3 M1

Thanks, 

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com  

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59664): https://lists.yoctoproject.org/g/yocto/message/59664
Mute This Topic: https://lists.yoctoproject.org/mt/98191168/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Enhancements/Bugs closed WW14!

2023-04-10 Thread Stephen Jolley
All,

 

The below were the owners of enhancements or bugs closed during the last
week!


Who

Count


geoffrey.g...@smile.fr

2


randy.macl...@windriver.com

2


ross.bur...@arm.com

2


yoann.con...@smile.fr

2


fawzi.kha...@smile.fr

1


Grand Total

9

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59663): https://lists.yoctoproject.org/g/yocto/message/59663
Mute This Topic: https://lists.yoctoproject.org/mt/98191157/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Current high bug count owners for Yocto Project 4.2

2023-04-10 Thread Stephen Jolley
All,

 

Below is the list as of top 38 bug owners as of the end of WW14 of who have
open medium or higher bugs and enhancements against YP 4.2.   There are 13
possible work days left until the final release candidates for YP 4.2 needs
to be released.


Who

Count


michael.opdenac...@bootlin.com

34


ross.bur...@arm.com

32


randy.macl...@windriver.com

28


david.re...@windriver.com

26


richard.pur...@linuxfoundation.org

26


bruce.ashfi...@gmail.com

21


jpewhac...@gmail.com

11


pa...@zhukoff.net

10


sakib.sa...@windriver.com

6


pi...@pidge.org

4


tim.orl...@konsulko.com

4


sundeep.kokko...@gmail.com

4


p.lob...@welotec.com

3


yash.shi...@windriver.com

3


alexis.loth...@bootlin.com

2


jon.ma...@arm.com

2


rybczyn...@gmail.com

2


sundeep.kokko...@windriver.com

2


frank.wo...@smile.fr

1


jens.ge...@desy.de

1


louis.ran...@syslinbit.com

1


tvgamb...@gmail.com

1


mark.asselst...@windriver.com

1


martin.ja...@gmail.com

1


fathi.bou...@linaro.org

1


thr...@amazon.de

1


pokyli...@reliableembeddedsystems.com

1


hongxu@windriver.com

1


fawzi.kha...@smile.fr

1


frederic.martins...@gmail.com

1


wen.yan@intel.com

1


jonas.li...@gmail.com

1


geissona...@yahoo.com

1


mathew.pro...@gmail.com

1


alexandre.bell...@bootlin.com

1


thomas.per...@bootlin.com

1


st...@sakoman.com

1


yashinde...@gmail.com

1


Grand Total

240

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59662): https://lists.yoctoproject.org/g/yocto/message/59662
Mute This Topic: https://lists.yoctoproject.org/mt/98191120/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2023-04-10 Thread Stephen Jolley
All,

 

The triage team is starting to try and collect up and classify bugs which a
newcomer to the project would be able to work on in a way which means people
can find them. They're being listed on the triage page under the appropriate
heading:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs  Also please
review:
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and
how to create a bugzilla account at:

https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work
on who doesn't have deep experience with the project.  If anyone can help,
please take ownership of the bug and send patches!  If anyone needs
help/advice there are people on irc who can likely do so, or some of the
more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs
reported into the Bugzilla. The number of people attending that meeting has
fallen, as have the number of people available to help fix bugs. One of the
things we hear users report is they don't know how to help. We (the triage
team) are therefore going to start reporting out the currently 426
unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out
with these.  Bugs are split into two types, "true bugs" where things don't
work as they should and "enhancements" which are features we'd want to add
to the system.  There are also roughly four different "priority" classes
right now,  "4.2", "4.3", "4.99" and "Future", the more pressing/urgent
issues being in "4.2" and then "4.3".

 

Please review this link and if a bug is something you would be able to help
with either take ownership of the bug, or send me (sjolley.yp...@gmail.com
 ) an e-mail with the bug number you would
like and I will assign it to you (please make sure you have a Bugzilla
account).  The list is at:
https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer
_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59661): https://lists.yoctoproject.org/g/yocto/message/59661
Mute This Topic: https://lists.yoctoproject.org/mt/98191106/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Need help with CMake cross compile using libxml2

2023-04-10 Thread Stephen Yu (Microchip) via lists.yoctoproject.org
Hello Community,

My CMake project needs to cross compile (.c sources) using libxml2.

  *   The CMakeLists.txt has "find_package(LibXml2)"
  *   The recipe.bb has
 *   "DEPENDS += "libxml2"
 *   "inherit cmake"

It does not work. "do_configure" returns error it cannot set 
LIBXML2_INCLUDE_DIR and LIBXML2_LIBRARY.

  *   I assume I need to add "set(CMAKE_FIND_ROOT_PATH )" 
but don't know how to specify the .
  *   Perhaps I need to specify something to EXTRA_OECMAKE but don't know what 
this is.

Greatly appreciate if someone can offer help.

Many thanks,
Stephen


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59660): https://lists.yoctoproject.org/g/yocto/message/59660
Mute This Topic: https://lists.yoctoproject.org/mt/98188210/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [meta-parsec][PATCH] Fix PACKAGECONFIG check in Parsec OEQA tests

2023-04-10 Thread Armin Kuster



On 4/10/23 2:33 PM, Anton Antonov wrote:

If PACKAGECONFIG is not defined in local.conf then
its default value is not included in cls.tc.td map.

Signed-off-by: Anton Antonov 



This gets testing working again.

Thanks,
- Armin

---
  meta-parsec/lib/oeqa/runtime/cases/parsec.py | 13 +++--
  1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/meta-parsec/lib/oeqa/runtime/cases/parsec.py 
b/meta-parsec/lib/oeqa/runtime/cases/parsec.py
index 71061db..66932ed 100644
--- a/meta-parsec/lib/oeqa/runtime/cases/parsec.py
+++ b/meta-parsec/lib/oeqa/runtime/cases/parsec.py
@@ -61,9 +61,18 @@ class ParsecTest(OERuntimeTestCase):
  
  def check_packageconfig(self, prov):

  """ Check that the require provider is included in Parsec """
-if prov not in self.tc.td['PACKAGECONFIG:pn-parsec-service']:
+
+if 'PACKAGECONFIG:pn-parsec-service' in self.tc.td.keys():
+providers = self.tc.td['PACKAGECONFIG:pn-parsec-service']
+else:
+# PACKAGECONFIG is not defined in local.conf
+# Let's use the default value
+providers = "PKCS11 MBED-CRYPTO"
+if 'tpm2' in self.tc.td['DISTRO_FEATURES']:
+providers += " TPM"
+if prov not in providers:
  self.skipTest('%s provider is not included in Parsec. Parsec PACKAGECONFIG: 
"%s"' % \
-  (prov, 
self.tc.td['PACKAGECONFIG:pn-parsec-service']))
+  (prov, providers))
  
  def check_packages(self, prov, packages):

  """ Check for the required packages for Parsec providers software backends 
"""






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59659): https://lists.yoctoproject.org/g/yocto/message/59659
Mute This Topic: https://lists.yoctoproject.org/mt/98182135/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [meta-parsec][PATCH] Fix PACKAGECONFIG check in Parsec OEQA tests

2023-04-10 Thread Anton Antonov
If PACKAGECONFIG is not defined in local.conf then
its default value is not included in cls.tc.td map.

Signed-off-by: Anton Antonov 
---
 meta-parsec/lib/oeqa/runtime/cases/parsec.py | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/meta-parsec/lib/oeqa/runtime/cases/parsec.py 
b/meta-parsec/lib/oeqa/runtime/cases/parsec.py
index 71061db..66932ed 100644
--- a/meta-parsec/lib/oeqa/runtime/cases/parsec.py
+++ b/meta-parsec/lib/oeqa/runtime/cases/parsec.py
@@ -61,9 +61,18 @@ class ParsecTest(OERuntimeTestCase):
 
 def check_packageconfig(self, prov):
 """ Check that the require provider is included in Parsec """
-if prov not in self.tc.td['PACKAGECONFIG:pn-parsec-service']:
+
+if 'PACKAGECONFIG:pn-parsec-service' in self.tc.td.keys():
+providers = self.tc.td['PACKAGECONFIG:pn-parsec-service']
+else:
+# PACKAGECONFIG is not defined in local.conf
+# Let's use the default value
+providers = "PKCS11 MBED-CRYPTO"
+if 'tpm2' in self.tc.td['DISTRO_FEATURES']:
+providers += " TPM"
+if prov not in providers:
 self.skipTest('%s provider is not included in Parsec. Parsec 
PACKAGECONFIG: "%s"' % \
-  (prov, 
self.tc.td['PACKAGECONFIG:pn-parsec-service']))
+  (prov, providers))
 
 def check_packages(self, prov, packages):
 """ Check for the required packages for Parsec providers software 
backends """
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59658): https://lists.yoctoproject.org/g/yocto/message/59658
Mute This Topic: https://lists.yoctoproject.org/mt/98182135/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [meta-security][PATCH v3] parsec-service: update from 1.1.0 to 1.2.0-rc1

2023-04-10 Thread Anton Antonov
On Mon, Apr 10, 2023 at 04:17 AM, Armin Kuster wrote:

> 
> Something in latest master may have introduced another issue, this time
> the runtime testing.  I am see this new error:
> 
> self.check_packageconfig("TS")
> File
> "/home/akuster/oss/maint/meta-security/meta-parsec/lib/oeqa/runtime/cases/parsec.py",
> line 64, in check_packageconfig
> if prov not in self.tc.td['PACKAGECONFIG:pn-parsec-service']:
> KeyError: 'PACKAGECONFIG:pn-parsec-service'
> 
> Any ideas on how to fix or what might be causing this? I thought I had a
> fix but the test hangs.

The default value of PACKAGECONFIG is not included into tc.td if it's not 
defined in local.conf for whatever reason.

I will send a fix soon.

Cheers,

Anton

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59657): https://lists.yoctoproject.org/g/yocto/message/59657
Mute This Topic: https://lists.yoctoproject.org/mt/97876594/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] configure task runs in devshell but not in bitbake #devtool #kirkstone

2023-04-10 Thread Khem Raj
On Mon, Apr 10, 2023 at 3:48 AM  wrote:
>
> I have a native tool (dotnet cli) that i use for configure/compile. It used 
> to run fine in honister but im now having issues in kirkstone after recently 
> upgrading. I can switch to a devshell and execute run.do_configure script 
> without issue. Any tips to further debug would be appreciated.

Its not clear how its failing. So please describe how you built this
tool. Is it a native recipe which provides it ? if not then are you
expecting it to
come from host. If its being run but failing then share error logs.
This might help further pinpoint the problem.

> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59656): https://lists.yoctoproject.org/g/yocto/message/59656
Mute This Topic: https://lists.yoctoproject.org/mt/98172764/21656
Mute #devtool:https://lists.yoctoproject.org/g/yocto/mutehashtag/devtool
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [meta-parsec][v2][PATCH] parsec-service: fix SRC_URI hash

2023-04-10 Thread Anton Antonov
On Sun, Apr 9, 2023 at 10:40 AM, Armin Kuster wrote:

> 
> Fixes:
> ERROR: Missing SRC_URI checksum, please add those to the recipe:
> SRC_URI[parsec-service-1.2.0.sha256sum] =
> "f58e7ba859c22cc1904dc8298b1a7d94ee1ba3b4d4808f28e4cc0c96ddb149c9"
> 
> Needed to S dir too.

Until a few days ago the S dir wasn't needed in the recipe if the crate fetcher 
was used. If it's a new fetcher behavior, then S should be defined in the cargo 
class instead, I think.

Cheers,

Anton

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59655): https://lists.yoctoproject.org/g/yocto/message/59655
Mute This Topic: https://lists.yoctoproject.org/mt/98162475/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [meta-security][PATCH v3] parsec-service: update from 1.1.0 to 1.2.0-rc1

2023-04-10 Thread Armin Kuster



On 4/6/23 8:41 AM, Anton Antonov wrote:

On Thu, Apr 6, 2023 at 05:38 AM, Armin Kuster wrote:

1.2.0 released yesterday. Is someone planning on sending  a new
series. If not, I can give it a shot.

Yes, we're testing the new recipes atm. We will send them asap.



Something in latest master may have introduced another issue, this time 
the runtime testing.  I am see this new error:



 self.check_packageconfig("TS")
  File 
"/home/akuster/oss/maint/meta-security/meta-parsec/lib/oeqa/runtime/cases/parsec.py", 
line 64, in check_packageconfig

    if prov not in self.tc.td['PACKAGECONFIG:pn-parsec-service']:
KeyError: 'PACKAGECONFIG:pn-parsec-service'


Any ideas on how to fix or what might be causing this? I thought I had a 
fix but the test hangs.


-armin


Cheers,

Anton







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59654): https://lists.yoctoproject.org/g/yocto/message/59654
Mute This Topic: https://lists.yoctoproject.org/mt/97876594/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] configure task runs in devshell but not in bitbake #devtool #kirkstone

2023-04-10 Thread douglas . cooper1
I have a native tool (dotnet cli) that i use for configure/compile. It used to 
run fine in honister but im now having issues in kirkstone after recently 
upgrading. I can switch to a devshell and execute run.do_configure script 
without issue. Any tips to further debug would be appreciated.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59653): https://lists.yoctoproject.org/g/yocto/message/59653
Mute This Topic: https://lists.yoctoproject.org/mt/98172764/21656
Mute #devtool:https://lists.yoctoproject.org/g/yocto/mutehashtag/devtool
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [PATCH 1/2] meta-parsec: Disable RSA-OAEP OEQA tests for Parsec PKCS11 backend

2023-04-10 Thread Anton Antonov
On Thu, Apr 6, 2023 at 12:04 PM, Armin Kuster wrote:

> 
> Does this apply to older versions ?

No, it's required only after upgrade parsec-tool to 0.6.0. This version 
introduces new tests which are no supported by softhsm2

Cheers,

Anton

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59652): https://lists.yoctoproject.org/g/yocto/message/59652
Mute This Topic: https://lists.yoctoproject.org/mt/98110115/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-