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

Bug 565830

Summary: Wrong manifest for sys-apps/busybox
Product: Gentoo Linux Reporter: Johan Ymerson <johan>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: asl, bugs.gentoo.org, clemente.aguiar, genlinux, mike.desimone, via-gentoo, whissi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: "Incorrect" 8493-byte ebuild file

Description Johan Ymerson 2015-11-15 11:04:19 UTC
Commit a88ace55b415065fd71800db672557e54e065969 broke the manifest for sys-apps/busybox.

Please update the manifest for busybox.


Reproducible: Always

Steps to Reproduce:
1. emerge -1 sys-apps/busybox
2.
3.
Actual Results:  
!!! Digest verification failed:
!!! /usr/portage/sys-apps/busybox/busybox-9999.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 8493
!!! Expected: 8580
Comment 1 Alex Miller 2015-11-15 11:17:49 UTC
I can confirm that I am also affected by this problem.
Comment 2 Arnaud Launay 2015-11-15 12:19:36 UTC
Confirmed, but on another ebuild:

** Rebuilding sys-apps/busybox-1.23.1-r1
!!  Digest verification failed:
!!  /usr/portage/sys-apps/busybox/busybox-1.24.1.ebuild
!!  Reason: Filesize does not match recorded size
!!  Got: 8577
!!  Expected: 8579
!! sys-apps/busybox-1.23.1-r1 failed to install.
sys-apps/busybox-1.23.1-r1 failed to install
Comment 3 Pavel Goran 2015-11-15 13:12:29 UTC
I'm affected by this as well. Probably anyone trying to build any version of busybox won't be able to do it, which makes this a major problem.

The obvious work-around is:

ebuild /usr/portage/sys-apps/busybox/busybox-9999.ebuild manifest
Comment 4 Mike DeSimone 2015-11-15 15:54:07 UTC
Created attachment 417022 [details]
"Incorrect" 8493-byte ebuild file

Same problem here, and I'm getting it via emerge world. BTW, I can't figure out why busybox is being rebuilt:

[ebuild   R    ] sys-apps/busybox-1.23.1-r1::gentoo  USE="ipv6 math static -debug -livecd -make-symlinks -mdev -pam* -savedconfig (-selinux) -sep-usr -syslog -systemd" 0 KiB

It looks like the "pam" USE flag is being added as disabled when there's no "-pam" in package.use or make.conf:

# euse -i pam
WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
global use flags (searching: pam)
************************************************************
[+  D   ] pam - Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip

(Those PORTDIR messages are bug #505160, which has been open for a year and a half.)

Attaching the ebuild I'm getting if someone Gentoo-side wants to compare it to any "correct" 8580-byte version they might have.
Comment 5 Richard Gray 2015-11-15 16:53:36 UTC
I'm having the same problem. I'm also baffled by the pam USE flag issue.
Comment 6 Mike DeSimone 2015-11-15 17:22:49 UTC
Every ebuild up to busybox-1.23.2.ebuild has "-pam" in IUSE. busybox-1.24.1.ebuild and busybox-9999.ebuild have "pam" in IUSE.
Comment 7 Anton Bolshakov 2015-11-16 01:57:45 UTC
Adding Mike so he could help to fix it ASAP.

The stable ebuild has been broken for 3 days. 

https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/busybox?id=a88ace55b415065fd71800db672557e54e065969
Comment 8 SpanKY gentoo-dev 2015-11-16 04:09:34 UTC

*** This bug has been marked as a duplicate of bug 565694 ***