Bug 1105776

Summary: Missing on secondary arch ppc64.
Product: [Fedora] Fedora Reporter: Thomas Moschny <thomas.moschny>
Component: busyboxAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, dvlasenk, hamzy, normand
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-02 09:46:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1122714    
Bug Blocks:    

Description Thomas Moschny 2014-06-07 14:28:56 UTC
Description of problem:
busybox is missing on Fedora 20 / ppc64. Seems it was available on Fedora 19.

This causes dependency problems elsewhere, see bug 1097697.

Comment 1 Michel Normand 2014-07-17 14:20:59 UTC
The problem is still alive for ppc64 or ppc64le as reported in scratchbuild.
(details below)
I do not know how to solve. any suggestions ?


http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=252748
=== extracted lines
scripts/kconfig/mconf.c: In function 'init_wsize':
scripts/kconfig/mconf.c:291:17: error: storage size of 'ws' isn't known
  struct winsize ws;
                 ^
In file included from /usr/include/asm/ioctl.h:11:0,
                 from /usr/include/asm/ioctls.h:4,
                 from /usr/include/bits/ioctls.h:23,
                 from /usr/include/sys/ioctl.h:26,
                 from scripts/kconfig/mconf.c:13:
scripts/kconfig/mconf.c:294:27: error: invalid application of 'sizeof' to incomplete type 'struct winsize'
===

* a grep of 'struct winsize' in /usr/include identify 3 different headers
  that define this struct.
  Looking at preprocessor output the  bits/termios.h one is used
  but __USE_MISC probably not defined.
===
$grep -Hnr winsize /usr/include/
...
/usr/include/asm-generic/termios.h:14:struct winsize {
/usr/include/bits/term__USE_MISCios.h:265:struct winsize {
/usr/include/asm/termios.h:45:struct winsize {
===

Comment 2 Mark Hamzy 2014-07-23 14:59:51 UTC
FYI xorg-x11-apps-7.7-8.fc21 also fails the same way

http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=238929

Comment 3 Michel Normand 2014-09-02 09:46:44 UTC
with correction of referenced bug 1122714, able to scratch build busybox on ppc64 and ppc64le. so bug to be closed.

for FC20: (ppc64)
http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=253415
for FC21: (ppc64 & ppc64le)
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2066627