Bug 191954

Summary: mtools Package won't build in mock
Product: [Fedora] Fedora Reporter: Andreas Thienemann <andreas>
Component: glibc-kernheadersAssignee: David Woodhouse <dwmw2>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-18 12:24:08 UTC Type: ---
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:    
Bug Blocks: 191529    
Attachments:
Description Flags
Build Log none

Description Andreas Thienemann 2006-05-16 15:57:42 UTC
mtools-3.9.10-1.2.1 won't build in mock:

gcc  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_i686 -DVENDOR_redhat
-DOS_linux_gnu  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -fno-strict-aliasing -I.  -I.   -c devices.c
In file included from devices.c:12:
msdos.h:146: warning: 'packed' attribute ignored for field of type 'char[8]'
msdos.h:147: warning: 'packed' attribute ignored for field of type 'unsigned
char[2]'
msdos.h:151: warning: 'packed' attribute ignored for field of type 'unsigned
char[2]'
msdos.h:152: warning: 'packed' attribute ignored for field of type 'unsigned
char[2]'
In file included from devices.c:14:
devices.h:25:25: error: linux/fdreg.h: No such file or directory
In file included from devices.c:14:
devices.h: In function 'RR_SETDIRECTION':
devices.h:105: error: 'FD_READ' undeclared (first use in this function)
devices.h:105: error: (Each undeclared identifier is reported only once
devices.h:105: error: for each function it appears in.)
devices.h:108: error: 'FD_WRITE' undeclared (first use in this function)
devices.c: In function 'analyze_one_reply':
devices.c:689: error: 'ST1_WP' undeclared (first use in this function)
make: *** [devices.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.22775 (%build)

Comment 1 Andreas Thienemann 2006-05-16 15:57:43 UTC
Created attachment 129213 [details]
Build Log

Comment 2 David Woodhouse 2006-05-18 12:24:08 UTC
Fixed in tomorrow's rawhide.