Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

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   
Whiteboard:
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 04:55:25 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:    
Bug Blocks: 245418, 817273    
Attachments:
Description Flags
proposed patch
none
build.log with the compile errors none

Description Niels de Vos 2012-04-28 17:26:03 UTC
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.

Result:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4031278

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

Thanks!

Comment 1 Niels de Vos 2012-04-28 17:28:56 UTC
Created attachment 580986 [details]
proposed patch

Comment 2 Niels de Vos 2012-04-28 17:30:18 UTC
Created attachment 580987 [details]
build.log with the compile errors

Comment 3 Fedora Update System 2012-04-30 12:27:13 UTC
dhcp-forwarder-0.10-1700.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/dhcp-forwarder-0.10-1700.fc17

Comment 4 Enrico Scholz 2012-04-30 12:29:06 UTC
thx; I removed this compatibility hack which is not needed anymore for years.

Comment 5 Niels de Vos 2012-04-30 12:48:46 UTC
Cool, many thanks!

Comment 6 Fedora Update System 2012-04-30 18:47:28 UTC
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:
https://admin.fedoraproject.org/updates/FEDORA-2012-6935/dhcp-forwarder-0.10-1700.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-05-06 04:55:25 UTC
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.