Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874771 - sys-apps/portage-3.0.36: consider masking version which has binpkg bugs
Summary: sys-apps/portage-3.0.36: consider masking version which has binpkg bugs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 23:19 UTC by Yury German
Modified: 2022-10-04 00:36 UTC (History)
0 users

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 Yury German Gentoo Infrastructure gentoo-dev 2022-10-03 23:19:31 UTC
Problem: sys-apps/portage-3.0.36 has an issue with binary hosts 

Detail information:
When a binary file is pulled, it creates two files one is the original file with the proper date from the web server and the correct file size. 

The second file that is created is a Zero sized file with the current time stamp. 

Example: 
-rw-r--r-- 1 root root 438862 Oct  3 15:12  nfs-utils-2.6.1-1.xpak
-rw-r--r-- 1 root root      0 Oct  3 18:56  nfs-utils-2.6.1-2.xpak

After the initial emerge any other emerge will provide warnings that the file is corrupt and needs to be deleted. 

This is for every file that gets emerged (binary). 

Solution: 

- Upgrade to sys-apps/portage-3.0.37

Recommendation:

- Mask the sys-apps/portage-3.0.36 as it will create a lot of confusion and problems for our users who also use binhosts.
Comment 1 Larry the Git Cow gentoo-dev 2022-10-04 00:34:18 UTC
The bug has been referenced in the following commit(s):

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

commit 85f3eee96c83a5a4b7f41ff4775eba5ffbfc09ea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-04 00:34:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-04 00:34:05 +0000

    profiles: mask buggy binpkg portages
    
    to encourage people to upgrade.
    
    Bug: https://bugs.gentoo.org/870283
    Bug: https://bugs.gentoo.org/874771
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 10 ++++++++++
 1 file changed, 10 insertions(+)

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

commit 4d8f8bf35a6624764492d67062cce5105b16b4c0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-04 00:31:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-04 00:32:19 +0000

    sys-apps/portage: drop 3.0.36, 3.0.38
    
    Bug: https://bugs.gentoo.org/870283
    Bug: https://bugs.gentoo.org/874771
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   2 -
 sys-apps/portage/portage-3.0.36.ebuild | 273 ---------------------------------
 sys-apps/portage/portage-3.0.38.ebuild | 273 ---------------------------------
 3 files changed, 548 deletions(-)