Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 628280

Summary: www-apps/chromedriver-bin-2.30 uses generic name for downloaded files
Product: Gentoo Linux Reporter: Oleg Akimov <akimov.shop>
Component: Current packagesAssignee: Austin English (RETIRED) <wizardedit>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: www-apps/chromedriver-bin-2.31.ebuild with fixed source name

Description Oleg Akimov 2017-08-19 10:18:43 UTC
Created attachment 489668 [details]
www-apps/chromedriver-bin-2.31.ebuild with fixed source name

Ebuild stores downloaded file without actual package version:

emerge -F =www-apps/chromedriver-bin-2.30
...
Saving to: ‘/mnt/distfiles/chromedriver_linux64.zip’
...
Saving to: ‘/mnt/distfiles/chromedriver_linux32.zip’


How to reproduce bug:
1. create ebuild with next available version in your local overlay
2. calculate digest (upsss - file is already downloaded by previous install)
3. install package
4. check chromedriver version - you will see previous version

Solution: rename source files
Comment 1 Oleg Akimov 2017-08-19 10:20:00 UTC
Comment on attachment 489668 [details]
www-apps/chromedriver-bin-2.31.ebuild with fixed source name

this ebuild will download files with path like this:
/usr/distfiles/chromedriver-bin-2.31.linux64.zip
Comment 2 Austin English (RETIRED) gentoo-dev 2017-11-29 21:37:04 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a385dddd0fe2acbfa98457a35f0578e60e9f1506

Thanks for reporting.