Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953777 - dev-build/scons-4.9.1 filesize mismatch
Summary: dev-build/scons-4.9.1 filesize mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-13 09:59 UTC by junkmailnotread
Modified: 2025-04-15 06:13 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,6.26 KB, text/plain)
2025-04-13 10:01 UTC, junkmailnotread
Details

Note You need to log in before you can comment on or make changes to this bug.
Description junkmailnotread 2025-04-13 09:59:40 UTC
dev-build/scons-4.9.1 build fails because of SCons-4.9.1.tar.gz filesize mismatch.

Reproducible: Always

Steps to Reproduce:
1. emerge --quiet --update --newuse --deep @world
2.
3.
Actual Results:  
!!! Fetched file: SCons-4.9.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      3252098
!!! Expected: 3252106
Refetching... File renamed to '/var/cache/distfiles/SCons-4.9.1.tar.gz._checksum_failure_.zdtddid3'

!!! Couldn't download 'SCons-4.9.1.tar.gz'. Aborting.
Comment 1 junkmailnotread 2025-04-13 10:01:15 UTC
Created attachment 924626 [details]
build.log
Comment 2 fatalerrors@geoffray-levasseur.org 2025-04-14 19:52:43 UTC
Same problem here:
>>> Emerging (1 of 2) dev-build/scons-4.9.1::gentoo
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
>>> Downloading 'http://tux.rainside.sk/gentoo/distfiles/73/SCons-4.9.1.tar.gz'
--2025-04-14 21:45:20--  http://tux.rainside.sk/gentoo/distfiles/73/SCons-4.9.1.tar.gz
Resolving tux.rainside.sk... 212.89.225.155
Connecting to tux.rainside.sk|212.89.225.155|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-04-14 21:45:20 ERROR 404: Not Found.

>>> Downloading 'ftp://tux.rainside.sk/gentoo/distfiles/73/SCons-4.9.1.tar.gz'
pathconf: Permission denied
--2025-04-14 21:45:20--  ftp://tux.rainside.sk/gentoo/distfiles/73/SCons-4.9.1.tar.gz
=> '/local/distfiles/SCons-4.9.1.tar.gz.__download__'
Resolving tux.rainside.sk... 212.89.225.155
Connecting to tux.rainside.sk|212.89.225.155|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /gentoo/distfiles/73 ... done.
==> SIZE SCons-4.9.1.tar.gz ... done.

==> PASV ... done.    ==> RETR SCons-4.9.1.tar.gz ...
No such file 'SCons-4.9.1.tar.gz'.

>>> Downloading 'https://downloads.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz'
--2025-04-14 21:45:21--  https://downloads.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz
Resolving downloads.sourceforge.net... 104.18.12.149, 104.18.13.149, 2606:4700::6812:d95, ...
Connecting to downloads.sourceforge.net|104.18.12.149|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://freefr.dl.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz?viasf=1 [following]
--2025-04-14 21:45:21--  https://freefr.dl.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz?viasf=1
Resolving freefr.dl.sourceforge.net... 213.36.253.136, 2a01:e0d:1:8:58bf:fa88:0:1
Connecting to freefr.dl.sourceforge.net|213.36.253.136|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3252098 (3.1M) [application/x-gzip]
Saving to: '/local/distfiles/SCons-4.9.1.tar.gz.__download__'

/local/distfiles/SC 100%[===================>]   3.10M  5.97MB/s    in 0.5s

2025-04-14 21:45:22 (5.97 MB/s) - '/local/distfiles/SCons-4.9.1.tar.gz.__download__' saved [3252098/3252098]

!!! Fetched file: SCons-4.9.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      3252098
!!! Expected: 3252106
Refetching... File renamed to '/local/distfiles/SCons-4.9.1.tar.gz._checksum_failure_.0qmjhnfb'

!!! Couldn't download 'SCons-4.9.1.tar.gz'. Aborting.
Comment 3 fatalerrors@geoffray-levasseur.org 2025-04-14 21:04:54 UTC
Fixed problem changing mirror
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-04-15 04:13:00 UTC
So... the problem was with sourceforge mirror?  Can't do anything about that.  Use Gentoo mirrors.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-15 04:17:35 UTC
```
$ GENTOO_MIRRORS="" DISTDIR=/tmp e scons-4.9.1.ebuild clean fetch
Appending /home/sam/git/gentoo to PORTDIR_OVERLAY...
>>> Downloading 'https://downloads.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz'
--2025-04-15 05:17:16--  https://downloads.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz
Resolving downloads.sourceforge.net... 104.18.12.149, 104.18.13.149, 2606:4700::6812:c95, ...
Connecting to downloads.sourceforge.net|104.18.12.149|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://deac-fra.dl.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz?viasf=1 [following]
--2025-04-15 05:17:17--  https://deac-fra.dl.sourceforge.net/project/scons/scons/4.9.1/SCons-4.9.1.tar.gz?viasf=1
Resolving deac-fra.dl.sourceforge.net... 37.203.33.33
Connecting to deac-fra.dl.sourceforge.net|37.203.33.33|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3252098 (3.1M) [application/x-gzip]
Saving to: ‘/tmp/SCons-4.9.1.tar.gz.__download__’

/tmp/SCons-4.9.1.tar.gz.__download__           100%[==================================================================================================>]   3.10M  8.00MB/s    in 0.4s

2025-04-15 05:17:18 (8.00 MB/s) - ‘/tmp/SCons-4.9.1.tar.gz.__download__’ saved [3252098/3252098]

!!! Fetched file: SCons-4.9.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      3252098
!!! Expected: 3252106
Refetching... File renamed to '/tmp/SCons-4.9.1.tar.gz._checksum_failure_.rjub_eo9'

!!! Couldn't download 'SCons-4.9.1.tar.gz'. Aborting.
```

Seems like upstream reuploaded it?
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-15 04:18:46 UTC
(In reply to Sam James from comment #5)
> 
> Seems like upstream reuploaded it?

LHS being the sourceforge one, RHS being the gentoo mirrored one:
```
[...]
│ │ @@ -1,9 +1,9 @@
│ │  __version__="4.9.1"
│ │  __copyright__="Copyright (c) 2001 - 2025 The SCons Foundation"
│ │  __developer__="bdbaddog"
│ │ -__date__="Fri, 28 Mar 2025 15:25:00 -0700"
│ │ +__date__="Thu, 27 Mar 2025 11:44:24 -0700"
│ │  __buildsys__="M1Dog2021"
│ │ -__revision__="dfd6b7e45985eb73462d2efa878651c92745099c"
│ │ -__build__="dfd6b7e45985eb73462d2efa878651c92745099c"
│ │ +__revision__="39a12f34d532ab2493e78a7b73aeab2250852790"
│ │ +__build__="39a12f34d532ab2493e78a7b73aeab2250852790"
│ │  # make sure compatibility is always in place
│ │  import SCons.compat  # noqa
```
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-04-15 04:47:28 UTC
Heh.  Funny enough, the first sourceforge mirror I hit had the old file.  I see that the new file is more popular, though, so I'll rehash.  Sigh.
Comment 8 Larry the Git Cow gentoo-dev 2025-04-15 06:13:26 UTC
The bug has been closed via the following commit(s):

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

commit c6d1f2b3016d261984ea7e9b1e7b6b3a4868e29a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-04-15 04:50:30 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-04-15 06:13:09 +0000

    dev-build/scons: Rehash for meaningless upstream reupload
    
    Closes: https://bugs.gentoo.org/953777
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-build/scons/Manifest           | 2 +-
 dev-build/scons/scons-4.9.1.ebuild | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)