LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2022, 05:43 AM   #1
saswati
LQ Newbie
 
Registered: Sep 2022
Posts: 1

Rep: Reputation: 0
want to add .deb file for cmake3.13


Hello ,

i want to add .deb file for cmake . so i took "http://ftp.cn.debian.org/debian/pool/main/c/cmake/cmake_3.13.4-1_armel.deb" debian file.
Now i geting all these errors below, after integrating the deb file into a folder in layer and done IMAGE_INSTALL_APPEND also.

The errors are

ERROR: Function failed: Unpack failure for URL: 'http://ftp.tw.debian.org/debian/pool/main/c/cmake/cmake_3.13.4-1_armel.deb'. Unpack command PATH="/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/scripts:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/apq8053-32/usr/bin/crossscripts:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/scripts:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" ar -p /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/downloads/cmake_3.13.4-1_armel.deb data.tar.gz | zcat | tar --no-same-owner -xpf - failed with return value 2
ERROR: Logfile of failure stored in: /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/cmake/3.13-r0/temp/log.do_unpack.15423
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| NOTE: Unpacking /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/downloads/cmake_3.13.4-1_armel.deb to /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/cmake/3.13-r0/
| no entry data.tar.gz in archive
|
| gzip: stdin: unexpected end of file
| tar: This does not look like a tar archive
| tar: Exiting with failure status due to previous errors
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Unpack failure for URL: 'http://ftp.tw.debian.org/debian/pool/main/c/cmake/cmake_3.13.4-1_armel.deb'. Unpack command PATH="/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/scripts:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/apq8053-32/usr/bin/crossscripts:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/sbin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/bin:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/scripts:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" ar -p /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/build/downloads/cmake_3.13.4-1_armel.deb data.tar.gz | zcat | tar --no-same-owner -xpf - failed with return value 2
ERROR: Task 0 (/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/meta-yocto/recipes-core/cmake_3.13/cmake_3.13.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 374 tasks of which 373 didn't need to be rerun and 1 failed.
No currently running tasks (344 of 385)

Summary: 1 task failed:
/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/test/SC60_SC600_Linux_R09_r038/poky/meta-yocto/recipes-core/cmake_3.13/cmake_3.13.bb, do_unpack
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
 
Old 09-26-2022, 05:56 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,398

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
cmake should be available already as a .deb and making those packages is best left to the distros. You need all the dependencies listed in the format of the package (from that distro) that supplies them.
 
Old 09-26-2022, 09:48 AM   #3
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Why are you manually installing a file and not using apt?
Code:
apt install cmake
This will download the version for your system and any dependencies.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
have "deb http://... " details; want to 'apt-add-repository' not manual edit SaintDanBert Linux - Software 9 08-04-2015 04:01 AM
How do you check for a list of .deb dependencies without installing the deb file arthur_makowah Linux - Newbie 3 07-23-2014 11:04 PM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 10:02 AM
Is "kernel-image-x_i386.deb or i586.deb the right image for P4 processor? davidas Debian 1 04-06-2004 03:50 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration