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

Bug 866395

Summary: media-libs/mlt - mlt-7.8.0.tar.gz changed upstream
Product: Gentoo Linux Reporter: Wilson M. Michaels <thebitpit>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: floppym, kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Wilson M. Michaels 2022-08-24 19:54:00 UTC
Clean mlt from system because it failed to verify previously.
Sync system using eix-sync and emerge -u media-libs/mlt-7.8.0.
tar file is downloaded and fails size check.

Reproducible: Always

Steps to Reproduce:
1. Delete all media-libs/mlt directories discovered by 'find / -name mlt' on system.
2. Delete all mlt-7.8.0* files found on system.
3. eix-sync
4. emerge -ua media-libs/mlt
Actual Results:  
saxophone /var/cache/distfiles # emerge -va mlt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] media-libs/mlt-7.8.0:0/7::gentoo [7.4.0:0/7::gentoo] USE="ffmpeg frei0r gtk opengl python qt5 rubberband sdl xml -debug -jack -libsamplerate -opencv -rtaudio -test (-vdpau) -vidstab -xine" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 1,193 KiB

Total: 1 package (1 upgrade), Size of downloads: 1,193 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-libs/mlt-7.8.0::gentoo
>>> Failed to emerge media-libs/mlt-7.8.0, Log file:
>>>  '/var/log/portage/media-libs:mlt-7.8.0:20220824-193519.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.84, 0.73, 0.52
>>> Downloading 'https://github.com/mltframework/mlt/releases/download/v7.8.0/mlt-7.8.0.tar.gz'
--2022-08-24 14:35:19--  https://github.com/mltframework/mlt/releases/download/v7.8.0/mlt-7.8.0.tar.gz
Resolving github.com... 140.82.113.4
Connecting to github.com|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/4019052/60b6cc9a-f7f5-4d9f-9b3e-77884a327f86?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220824%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220824T193519Z&X-Amz-Expires=300&X-Amz-Signature=b5c907e9b7166d0fcbeb8e812aeda9dce649d15065062cb2ba86b1b73f90900f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=4019052&response-content-disposition=attachment%3B%20filename%3Dmlt-7.8.0.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-08-24 14:35:19--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/4019052/60b6cc9a-f7f5-4d9f-9b3e-77884a327f86?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220824%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220824T193519Z&X-Amz-Expires=300&X-Amz-Signature=b5c907e9b7166d0fcbeb8e812aeda9dce649d15065062cb2ba86b1b73f90900f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=4019052&response-content-disposition=attachment%3B%20filename%3Dmlt-7.8.0.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1458730 (1.4M) [application/octet-stream]
Saving to: ‘/var/cache/distfiles/mlt-7.8.0.tar.gz.__download__’

     0K .......... .......... .......... .......... ..........  3% 2.28M 1s
    50K .......... .......... .......... .......... ..........  7% 1.97M 1s
   100K .......... .......... .......... .......... .......... 10% 7.21M 0s
   150K .......... .......... .......... .......... .......... 14% 9.41M 0s
   200K .......... .......... .......... .......... .......... 17% 15.9M 0s
   250K .......... .......... .......... .......... .......... 21% 3.27M 0s
   300K .......... .......... .......... .......... .......... 24% 24.4M 0s
   350K .......... .......... .......... .......... .......... 28% 20.5M 0s
   400K .......... .......... .......... .......... .......... 31% 23.2M 0s
   450K .......... .......... .......... .......... .......... 35% 22.1M 0s
   500K .......... .......... .......... .......... .......... 38% 24.3M 0s
   550K .......... .......... .......... .......... .......... 42% 45.5M 0s
   600K .......... .......... .......... .......... .......... 45% 4.10M 0s
   650K .......... .......... .......... .......... .......... 49% 46.6M 0s
   700K .......... .......... .......... .......... .......... 52% 9.59M 0s
   750K .......... .......... .......... .......... .......... 56% 10.9M 0s
   800K .......... .......... .......... .......... .......... 59% 28.0M 0s
   850K .......... .......... .......... .......... .......... 63% 24.6M 0s
   900K .......... .......... .......... .......... .......... 66% 3.93M 0s
   950K .......... .......... .......... .......... .......... 70% 25.6M 0s
  1000K .......... .......... .......... .......... .......... 73% 27.2M 0s
  1050K .......... .......... .......... .......... .......... 77% 25.5M 0s
  1100K .......... .......... .......... .......... .......... 80% 27.6M 0s
  1150K .......... .......... .......... .......... .......... 84% 25.8M 0s
  1200K .......... .......... .......... .......... .......... 87%  170M 0s
  1250K .......... .......... .......... .......... .......... 91% 26.0M 0s
  1300K .......... .......... .......... .......... .......... 94% 28.6M 0s
  1350K .......... .......... .......... .......... .......... 98% 36.0M 0s
  1400K .......... .......... ....                            100%  284M=0.1s

2022-08-24 14:35:19 (9.85 MB/s) - ‘/var/cache/distfiles/mlt-7.8.0.tar.gz.__download__’ saved [1458730/1458730]

!!! Fetched file: mlt-7.8.0.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1458730
!!! Expected: 1221406
Refetching... File renamed to '/var/cache/distfiles/mlt-7.8.0.tar.gz._checksum_failure_.s4jd9cix'

!!! Couldn't download 'mlt-7.8.0.tar.gz'. Aborting.
 * Fetch failed for 'media-libs/mlt-7.8.0', Log file:
 *  '/var/log/portage/media-libs:mlt-7.8.0:20220824-193519.log'

 * Messages for package media-libs/mlt-7.8.0:
 * Log file: /var/log/portage/media-libs:mlt-7.8.0:20220824-193519.log

 * Fetch failed for 'media-libs/mlt-7.8.0', Log file:
 *  '/var/log/portage/media-libs:mlt-7.8.0:20220824-193519.log'


Expected Results:  
An updated version of mlt installed on my system.

This has been failing for about a month or two.
Comment 1 Mike Gilbert gentoo-dev 2022-08-24 20:06:40 UTC
The file on gentoo mirrors has the expected size/checksum. Upstream probably uploaded a different file.

Please ensure you have GENTOO_MIRRORS set properly, or just remove it from make.conf entirely to use the default value (http://distfiles.gentoo.org).
Comment 2 Wilson M. Michaels 2022-08-24 20:18:45 UTC
I commented out GENTOO_MIRRORS="" and that fixed it.
Comment 3 Mike Gilbert gentoo-dev 2022-08-24 20:29:46 UTC
Upstream still changed the file, so there is an issue to be addressed here.
Comment 4 Larry the Git Cow gentoo-dev 2022-09-14 16:28:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ab65770817d2d560013b667bcd8132149bf55c

commit e6ab65770817d2d560013b667bcd8132149bf55c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-14 16:05:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-14 16:28:04 +0000

    media-libs/mlt: Tarball respun upstream in place
    
    ...big sigh...
    
    Ebuild also changed in place because changes have been reviewed and
    are solely in places disabled by our ebuild.
    
    Closes: https://bugs.gentoo.org/866395
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/mlt/Manifest         | 2 +-
 media-libs/mlt/mlt-7.8.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)