Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625644 - media-video/handbrake-1.07 fetch fails. Page asking to accept cookie policy.
Summary: media-video/handbrake-1.07 fetch fails. Page asking to accept cookie policy.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Whyman (thev00d00) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 15:59 UTC by ehrich.weiss
Modified: 2018-07-29 08:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehrich.weiss 2017-07-19 15:59:26 UTC
If you read the file that's actually downloaded it's the page asking for you to accept their cookie policy. I've not even the slightest idea how to work around this. I tried downloading the file, putting it in DISTFILES and then trying "emerge --resume" but it still attempts to download it. 



>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/handbrake-1.0.7::gentoo
>>> Downloading 'http://handbrake.fr/rotation.php?file=HandBrake-1.0.7.tar.bz2'
--2017-07-19 11:47:44--  http://handbrake.fr/rotation.php?file=HandBrake-1.0.7.tar.bz2
Resolving handbrake.fr... 46.105.55.28
Connecting to handbrake.fr|46.105.55.28|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://handbrake.fr/rotation.php?file=HandBrake-1.0.7.tar.bz2 [following]
--2017-07-19 11:47:45--  https://handbrake.fr/rotation.php?file=HandBrake-1.0.7.tar.bz2
Connecting to handbrake.fr|46.105.55.28|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5961 (5.8K) [text/html]
Saving to: ‘/usr/portage/distfiles/handbrake-1.0.7.tar.bz2’

/usr/portage/distfi 100%[===================>]   5.82K  --.-KB/s    in 0s      

2017-07-19 11:47:45 (1.13 GB/s) - ‘/usr/portage/distfiles/handbrake-1.0.7.tar.bz2’ saved [5961/5961]

!!! Fetched file: handbrake-1.0.7.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      5961
!!! Expected: 12650549
Refetching... File renamed to '/usr/portage/distfiles/handbrake-1.0.7.tar.bz2._checksum_failure_.IAOGKW'

!!! Couldn't download 'handbrake-1.0.7.tar.bz2'. Aborting.
 * Fetch failed for 'media-video/handbrake-1.0.7', Log file:
 *  '/var/tmp/portage/media-video/handbrake-1.0.7/temp/build.log'

>>> Failed to emerge media-video/handbrake-1.0.7, Log file:

>>>  '/var/tmp/portage/media-video/handbrake-1.0.7/temp/build.log'

 * Messages for package media-video/handbrake-1.0.7:

 * Fetch failed for 'media-video/handbrake-1.0.7', Log file:
 *  '/var/tmp/portage/media-video/handbrake-1.0.7/temp/build.log'
Comment 1 Jonas Stein gentoo-dev 2017-07-19 17:34:43 UTC
strange. 
works for me. 


/usr/portage/media-video/handbrake$ ebuild handbrake-1.0.7.ebuild fetch 

>>> Downloading 'http://mirror.netcologne.de/gentoo/distfiles/handbrake-1.0.7.tar.bz2'
[..]

/usr/portage/distfi 100%[===================>]  12.06M  1.90MB/s    in 6.4s
Comment 2 ehrich.weiss 2017-07-19 20:55:56 UTC
That's odd. Yours is using a mirror, mine is downloading from handbrake.fr. I don't even have a mirror listed in my ebuild. WEIRD.
Comment 3 ehrich.weiss 2017-07-19 21:04:10 UTC
Ok, I figured the problem with no mirrors out. Was a bad url for the mirrors in my make.conf. Fixed that.

That said, maybe someone should figure out a way to deal with the given url in case someone doesn't have any mirrors listed. Maybe point directly to a mirror?
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2017-07-25 15:12:28 UTC
(In reply to ehrich.weiss from comment #3)
> Ok, I figured the problem with no mirrors out. Was a bad url for the mirrors
> in my make.conf. Fixed that.
> 
> That said, maybe someone should figure out a way to deal with the given url
> in case someone doesn't have any mirrors listed. Maybe point directly to a
> mirror?

Pointing directly to a mirror isn't something really supported (AFAIK), and if it was, it'd be a portage feature.
Comment 5 Jonas Stein gentoo-dev 2017-07-25 18:53:46 UTC
But we should update the SRC_URI, in a way that it works without mirrors too.