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 - dhcp-forwarder Fails To Build From Source on Fedora 17 (and Rawhide)
Summary: dhcp-forwarder Fails To Build From Source on Fedora 17 (and Rawhide)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcp-forwarder
Version: 17
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Enrico Scholz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker F17FTBFS
TreeView+ depends on / blocked
 
Reported: 2012-04-28 17:26 UTC by Niels de Vos
Modified: 2012-05-06 04:55 UTC (History)
1 user (show)

Fixed In Version: dhcp-forwarder-0.10-1700.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-06 04:55:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch (869 bytes, patch)
2012-04-28 17:28 UTC, Niels de Vos
no flags Details | Diff
build.log with the compile errors (11.57 KB, text/plain)
2012-04-28 17:30 UTC, Niels de Vos
no flags Details

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.


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