Bug 817292

Summary: dhcp-forwarder Fails To Build From Source on Fedora 17 (and Rawhide)
Product: [Fedora] Fedora Reporter: Niels de Vos <ndevos>
Component: dhcp-forwarderAssignee: Enrico Scholz <rh-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 17CC: rh-bugzilla
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: dhcp-forwarder-0.10-1700.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-06 00:55:25 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 245418, 817273    
Description Flags
proposed patch
build.log with the compile errors none

Description Niels de Vos 2012-04-28 13:26:03 EDT
Description of problem:
It is not possible to build dhcp-forwarder anymore. The following build error causes the build to fail:

In file included from ./compat/if_packet.h:26:0,
                 from src/main.c:39:
/usr/include/linux/if_packet.h:176:2: error: unknown type name '__aligned_u64'

A full log of the failed build (http://koji.fedoraproject.org/koji/taskinfo?taskID=4031107) is attached.

It seems that the type '__aligned_u64' is not available in /usr/include/asm/types.h or /usr/include/linux/types.h anymore. The attached patch fixes the build by defining '__aligned_u64' in the compat-layer if it is not defined already.


Please apply the attached patch and push a new build to the master (Rawhide) and Fedora 17 branches.

Comment 1 Niels de Vos 2012-04-28 13:28:56 EDT
Created attachment 580986 [details]
proposed patch
Comment 2 Niels de Vos 2012-04-28 13:30:18 EDT
Created attachment 580987 [details]
build.log with the compile errors
Comment 3 Fedora Update System 2012-04-30 08:27:13 EDT
dhcp-forwarder-0.10-1700.fc17 has been submitted as an update for Fedora 17.
Comment 4 Enrico Scholz 2012-04-30 08:29:06 EDT
thx; I removed this compatibility hack which is not needed anymore for years.
Comment 5 Niels de Vos 2012-04-30 08:48:46 EDT
Cool, many thanks!
Comment 6 Fedora Update System 2012-04-30 14:47:28 EDT
Package dhcp-forwarder-0.10-1700.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dhcp-forwarder-0.10-1700.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 7 Fedora Update System 2012-05-06 00:55:25 EDT
dhcp-forwarder-0.10-1700.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.