All of lore.kernel.org
 help / color / mirror / Atom feed
* Integrating Ixxat SocketCAN Drivers in image
@ 2018-03-13  8:25 Vincent Daanen
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Daanen @ 2018-03-13  8:25 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3667 bytes --]

Hi,

I have to integrate Ixxat SocketCAN driver in the image which will run our system.

The organisation of the files is the following
                Yocto/MyCompany/meta-myCompany/recipes-candriver/ixxat-socketcan
This directory contains the file ixxat-socketcan.bb.
The content of this file is the following
SUMMARY = "..."
LICENSE = "CLOSED"
SRC_URI= https://www.ixxat.com/docs/librariesprovider8/default-document-library/downloads/other-drivers/socketcan.zip
SRC_URI[sha256sum] = <... >  (the sha256 sum is correct)
S="${WORKDIR}"

The problems I run into are the following:
Although the recipe is found (it appears in the output of bitbake-layer show-recipe), and that the file is processed by bitbake (if I intentionally add a typo, the build breaks), it seems to not be processed (the zip file is not downloaded) when I invoke bitbake core-image-minimal..

When I invoke bitbake -b ixxat-socketcan, it fails with the following output (sorry for the formatting of the text)

ERROR: ixxat-socketcan-1.0-r0 do_unpack: Unpack failure for URL: 'https://www.ixxat.com/docs/librariesprovider8/default-document-library/downloads/other-drivers/socketcan.zip'. Unpack command PATH="/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/rd-otx/yocto/sources/poky/scripts:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/sbin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/bin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/sbin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/bin:/home/rd-otx/yocto/sources/poky-rocko-18.0.1/bitbake/bin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/hosttools" unzip -q -o '/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/downloads/socketcan.zip' failed with return value 127
ERROR: ixxat-socketcan-1.0-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_unpack.16493
ERROR: ixxat-socketcan-1.0-r0 do_make_scripts: Function failed: do_make_scripts (log file is located at /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_make_scripts.16494)
ERROR: Task (/home/rd-otx/yocto/RCU_Yocto/meta-OtxLayer/recipes-candriver/ixxat-socketcan/ixxat-socketcan.bb:do_unpack) failed with exit code '1'
ERROR: Logfile of failure stored in: /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_make_scripts.16494

                I found on the net that the first error is sometimes due to the fact that the archive file is corrupted but this is not the case. I could unpack the file manually using unzip .

Can someone point me to information or help me to figure out what's wrong ??

Thanks

Vincent


--------------------------------------------------------------------
Vincent Daanen, PhD - System Integration Director

>>>>  New Phone Number +33 (0) 4 76 54 95 22

Orthotaxy
5 avenue du Grand Sablon
38700 La Tronche


[-- Attachment #2: Type: text/html, Size: 10713 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Integrating Ixxat SocketCAN Drivers in image
  2018-03-12 17:04 Vincent Daanen
@ 2018-03-12 17:17 ` Vincent Daanen
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Daanen @ 2018-03-12 17:17 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3437 bytes --]

Hi,

I have to integrate Ixxat SocketCAN driver in the image which will run our system.

The organisation of the files is the following
                Yocto/MyCompany/meta-myCompany/recipes-candriver/ixxat-socketcan
This directory contains the file ixxat-socketcan.bb.
The content of this file is the following
SUMMARY = “…”
LICENSE = “CLOSED”
SRC_URI= https://www.ixxat.com/docs/librariesprovider8/default-document-library/downloads/other-drivers/socketcan.zip
SRC_URI[sha256sum] = «… »  (the sha256 sum is correct)
S=”${WORKDIR}”

The problems I run into are the following:
Although the recipe is found (it appears in the output of bitbake-layer show-recipe), and that the file is processed by bitbake (if I intentionally add a typo, the build breaks), it seems to not be processed (the zip file is not downloaded) when I invoke bitbake core-image-minimal..

When I invoke bitbake -b ixxat-socketcan, it fails with the following output (sorry for the formatting of the text)

ERROR: ixxat-socketcan-1.0-r0 do_unpack: Unpack failure for URL: 'https://www.ixxat.com/docs/librariesprovider8/default-document-library/downloads/other-drivers/socketcan.zip'. Unpack command PATH="/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/rd-otx/yocto/sources/poky/scripts:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/sbin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/bin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/sbin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/bin:/home/rd-otx/yocto/sources/poky-rocko-18.0.1/bitbake/bin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/hosttools" unzip -q -o '/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/downloads/socketcan.zip' failed with return value 127
ERROR: ixxat-socketcan-1.0-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_unpack.16493
ERROR: ixxat-socketcan-1.0-r0 do_make_scripts: Function failed: do_make_scripts (log file is located at /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_make_scripts.16494)
ERROR: Task (/home/rd-otx/yocto/RCU_Yocto/meta-OtxLayer/recipes-candriver/ixxat-socketcan/ixxat-socketcan.bb:do_unpack) failed with exit code '1'
ERROR: Logfile of failure stored in: /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_make_scripts.16494

                I found on the net that the first error is sometimes due to the fact that the archive file is corrupted but this is not the case. I could unpack the file manually using unzip .

Can someone point me to information or help me to figure out what’s wrong ??

Thanks

Vincent




[-- Attachment #2: Type: text/html, Size: 8490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Integrating Ixxat SocketCAN Drivers in image
@ 2018-03-12 17:04 Vincent Daanen
  2018-03-12 17:17 ` Vincent Daanen
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Daanen @ 2018-03-12 17:04 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3471 bytes --]

Hi,

I have to integrate Ixxat SocketCAN driver in the image which will run our system.

The organisation of the files is the following
                Yocto/MyCompany/meta-myCompany/recipes-candriver/ixxat-socketcan
This directory contains the file ixxat-socketcan.bb.
The content of this file is the following
SUMMARY = "..."
LICENSE = "CLOSED"
SRC_URI= https://www.ixxat.com/docs/librariesprovider8/default-document-library/downloads/other-drivers/socketcan.zip
SRC_URI[sha256sum] = <... >  (the sha256 sum is correct)
S="${WORKDIR}"

The problems I run into are the following:

  1.  Although the recipe is found (it appears in the output of bitbake-layer show-recipe), and that the file is processed by bitbake (if I intentionally add a typo, the build breaks), it seems to not be processed (the zip file is not downloaded) when I invoke bitbake core-image-minimal..



  1.  When I invoke bitbake -b ixxat-socketcan, it fails with the following output (sorry for the formatting of the text)



ERROR: ixxat-socketcan-1.0-r0 do_unpack: Unpack failure for URL: 'https://www.ixxat.com/docs/librariesprovider8/default-document-library/downloads/other-drivers/socketcan.zip'. Unpack command PATH="/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/rd-otx/yocto/sources/poky/scripts:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/sbin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/usr/bin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/sbin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/recipe-sysroot-native/bin:/home/rd-otx/yocto/sources/poky-rocko-18.0.1/bitbake/bin:/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/hosttools" unzip -q -o '/home/rd-otx/yocto/RCU_Yocto/build-firstBoot/downloads/socketcan.zip' failed with return value 127

ERROR: ixxat-socketcan-1.0-r0 do_unpack: Function failed: base_do_unpack

ERROR: Logfile of failure stored in: /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_unpack.16493

ERROR: ixxat-socketcan-1.0-r0 do_make_scripts: Function failed: do_make_scripts (log file is located at /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_make_scripts.16494)

ERROR: Task (/home/rd-otx/yocto/RCU_Yocto/meta-OtxLayer/recipes-candriver/ixxat-socketcan/ixxat-socketcan.bb:do_unpack) failed with exit code '1'

ERROR: Logfile of failure stored in: /home/rd-otx/yocto/RCU_Yocto/build-firstBoot/tmp/work/qemux86_64-poky-linux/ixxat-socketcan/1.0-r0/temp/log.do_make_scripts.16494


                I found on the net that the first error is sometimes due to the fact that the archive file is corrupted but this is not the case. I could unpack the file manually using unzip .

Can someone point me to information or help me to figure out what's wrong ??

Thanks

Vincent


[-- Attachment #2: Type: text/html, Size: 8908 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-13 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13  8:25 Integrating Ixxat SocketCAN Drivers in image Vincent Daanen
  -- strict thread matches above, loose matches on Subject: below --
2018-03-12 17:04 Vincent Daanen
2018-03-12 17:17 ` Vincent Daanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.