Bug 142684 - Rebuild of dhcpd impossible with gcc
Rebuild of dhcpd impossible with gcc
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2004-12-12 12:40 EST by Niels Basjes
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 3.4.2-9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-12 15:05:48 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 Niels Basjes 2004-12-12 12:40:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
I have gcc-3.4.2-6.fc3 and downloaded the Fedora Core 3 dhcp sources

Now I do 
   rpmbuild --rebuild dhcp-3.0.1-11.src.rpm
I get a lot of messages regarding the build process (all fine) until I

Making all in common
make[2]: Entering directory
cc -g  -I/usr/src/redhat/BUILD/dhcp-3.0.1 
-I/usr/src/redhat/BUILD/dhcp-3.0.1/includes -DLINUX_MAJOR=2
-DLINUX_MINOR=6  -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -fpic 
 -c -o raw.o raw.c
In file included from raw.c:53:
/usr/src/redhat/BUILD/dhcp-3.0.1/includes/dhcpd.h:309: error: mode
`byte' applied to inappropriate type
/usr/src/redhat/BUILD/dhcp-3.0.1/includes/dhcpd.h:310: error: mode
`byte' applied to inappropriate type
/usr/src/redhat/BUILD/dhcp-3.0.1/includes/dhcpd.h:311: error: mode
`byte' applied to inappropriate type
make[2]: *** [raw.o] Error 1
make[2]: Leaving directory
make[1]: *** [all] Error 1
make[1]: Leaving directory
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.35487 (%build)

After searching the internet for what might cause this I found this:
The strange thing is that according to this bug report it should not
occur in gcc 3.4.2 (which I have), then again I don't know what
patches have been included in the FC3 specific release of gcc-3.4.2. 

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

How reproducible:

Steps to Reproduce:
As described above.

Actual Results:  error: mode `byte' applied to inappropriate type

Expected Results:  No errors.

Additional info:

I also downloaded the vanilla 
ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.1.tar.gz and the error message is
the same when I try to compile that.

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