Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
!!! Fetched file: file.tar.gz VERIFY FAILED!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
shanmugam
n00b
n00b


Joined: 27 Jun 2019
Posts: 4

PostPosted: Fri Jun 28, 2019 4:20 am    Post subject: !!! Fetched file: file.tar.gz VERIFY FAILED! Reply with quote

Hi All,

As am newbie to gentoo ebuilds

I am trying to keep the tar file in the files folder rather than fetching or cloning from repo, I am seeing the below issue


Code:
!!! Fetched file: file.tar.gz VERIFY FAILED!
!!! Reason: Insufficient data for checksum verification
!!! Got:
!!! Expected: BLAKE2B BLAKE2S MD5 RMD160 SHA1 SHA256 SHA512 WHIRLPOOL
 * Fetch failed for '/myfile-9999', Log file:
 *


Code:
myfile$ ls
files  myfile-9999.ebuild

My ebuild (myfile-9999.ebuild ) file looks like as below:
Code:
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

CMAKE_BUILD_TYPE="Debug"
inherit cmake-utils
RESTRICT=nomirror


DESCRIPTION="abcdfg"
KEYWORDS="*"

SRC_URI = "\
              file://file.tar.gz \
"

S="${WORKDIR}/myfile"

LICENSE="Proprietary"
SLOT="0"
IUSE=""


src_configure() {
              local mycmakeargs=(
                             -DINSTALL_DRIVER_SYSCONF=OFF
                             -DBUILD_CMRTLIB=OFF
              )

              cmake-utils_src_configure
}

Could anyone please help me in providing with your inputs or pointers for resolving this issue please?

Many Thanks in advance

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 648
Location: Italy

PostPosted: Fri Jun 28, 2019 10:32 am    Post subject: Re: !!! Fetched file: file.tar.gz VERIFY FAILED! Reply with quote

shanmugam wrote:

SRC_URI = "\
file://file.tar.gz \
"

I don't think you can do that. I recommend instead putting file.tar.gz in the /var/cache/distfiles directory. On your system you may have another DISTDIR directory, so you should check /etc/portage/make.conf to be sure.

Edit: Welcome to Gentoo!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum