Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Verify failed for lcms
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
guimera
n00b
n00b


Joined: 24 May 2009
Posts: 34

PostPosted: Tue Jun 25, 2019 2:13 pm    Post subject: [SOLVED] Verify failed for lcms Reply with quote

Hello,

I've had many problems switching to the 17.1 profiles. I'm not sure whether it is related to this, but when trying to emerge lcms i get the following error message:
Code:
emerge -1a lcms

Quote:
!!! Fetched file: lcms2-2.9.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 10974649
!!! Expected: 10953949
Refetching... File renamed to '/usr/portage/distfiles/lcms2-2.9.tar.gz._checksum_failure_.if4qkvxr'

!!! Couldn't download 'lcms2-2.9.tar.gz'. Aborting.

I've downloaded the source from several different places, including manually, and I always get the same, so the problem seems to be in the Manifest.

I've also tried to rebuild the Manifest with
Code:
ebuild --force lcms-2.9.ebuild manifest

but then I get a different error when emerge tries to apply a patch and fails (I can provide more details on this if necessary).

Any ideas on what is going on will be much appreciated!


Last edited by guimera on Wed Jun 26, 2019 7:13 am; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Jun 25, 2019 3:00 pm    Post subject: Reply with quote

That's bug 683426
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Jun 25, 2019 3:03 pm    Post subject: Reply with quote

Please show me the output of
Code:
ls -la /usr/portage/distfiles/lcms2-2.9.tar.gz

It should be:
Code:
-rw-rw-r-- 1 portage portage 10953949 Nov 14  2017 /usr/portage/distfiles/lcms2-2.9.tar.gz

If the file size is NOT 10953949 bytes, then try
Code:
cd /tmp
wget http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/lcms2-2.9.tar.gz
ls -la lcms2-2.9.tar.gz     # Does this file have a size of 10953949 bytes?
cp lcms2-2.9.tar.gz /usr/portage/distfiles/
chown portage:portage /usr/portage/distfiles/lcms2-2.9.tar.gz
chmod oug+r /usr/portage/distfiles/lcms2-2.9.tar.gz
ls -la /usr/portage/distfiles/lcms2-2.9.tar.gz
Back to top
View user's profile Send private message
guimera
n00b
n00b


Joined: 24 May 2009
Posts: 34

PostPosted: Tue Jun 25, 2019 3:22 pm    Post subject: Reply with quote

OK! So the version from:
Quote:
http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/lcms2-2.9.tar.gz

does indeed have the right size and signatures, and compiles without problems. So I guess this solves the problem, thank you so much, Mike!

Now, why was I having problems with versions from other repositories?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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