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

Bug 874771

Summary: sys-apps/portage-3.0.36: consider masking version which has binpkg bugs
Product: Gentoo Linux Reporter: Yury German <blueknight>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=870283
Whiteboard:
Package list:
Runtime testing required: ---

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(-)