Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 227804 - anaconda fails to build on updated FC6 system
anaconda fails to build on updated FC6 system
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: David Cantrell
Depends On:
  Show dependency treegraph
Reported: 2007-02-08 05:28 EST by Moritz Baumann
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-08 10:23:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Moritz Baumann 2007-02-08 05:28:50 EST
Description of problem:
Anaconda after yum upgrade not rebuildable anymore.
can be rebuild on a fresh installed FC6.
after a yum -y upgrade
rpmbuild --rebuild anaconda-

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpmdev-setuptree
2. cd rpmbuild/SRPMS
3. yumdownloader -e core-source --source anaconda
4. rpmbuild --rebuild anaconda-
5. <fix missing dependencies for rpmbuild>
6. rpmbuild --rebuild anaconda-

Actual results:
make[2]: Leaving directory
cc -c -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 -Werror -D_GNU_SOURCE=1
-DUSESELINUX=1 -I/usr/include/python2.4 -I.. -DHAVE_NFS -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/libdhcp -I/usr/include/dhcp4client
-I/usr/include/dhcp6client   -fPIC -o isys.lo isys.c
isys.c: In function 'doRaidStart':
isys.c:974: error: 'START_ARRAY' undeclared (first use in this function)
isys.c:974: error: (Each undeclared identifier is reported only once
isys.c:974: error: for each function it appears in.)

Expected results:
the actual files in 

Additional info:
# cd /usr/include
# grep -R START_ARRAY *
linux/raid/md_u.h:/*  0x31 was START_ARRAY  */
linux/raid/md_u.h:#define RESTART_ARRAY_RW      _IO (MD_MAJOR, 0x34)
seems the header files changed.

After changing rpmbuild/BUILD/isys/isysc.c (line 974)
START_ARRAY to RUN_ARRAY and doing a "make in that dir I get:
cc -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wall -Werror
-D_LARGEFILE64_SOURCE=1 -DUSESELINUX=1 -I/usr/include/python2.4 -I.. -DHAVE_NFS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libdhcp
-I/usr/include/dhcp4client -I/usr/include/dhcp6client   -fPIC -o wireless.lo
In file included from wireless.c:29:
/usr/include/linux/wireless.h:649: error: expected specifier-qualifier-list
before ‘__s32’
/usr/include/linux/wireless.h:662: error: expected specifier-qualifier-list
before ‘__u16’
/usr/include/linux/wireless.h:676: error: expected specifier-qualifier-list
before ‘__s32’
Comment 1 David Cantrell 2007-02-08 10:23:55 EST
The version of anaconda that shipped with FC-6 will build with the kernel that
shipped with FC-6.  The ones that have landed in FC-6 updates have changed the
header files, so the FC-6 anaconda won't rebuild correctly.

This has been fixed in anaconda CVS and is available in the rawhide anaconda.

Marking this as NOTABUG because we don't guarantee that the anaconda in release
versions will continue to build with all the updates.  If you want to work on
anaconda source trees, pull from CVS or get the source RPMS from rawhide.

Note You need to log in before you can comment on or make changes to this bug.