Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438942 - net-misc/dhcpcd-5.6.2 build fails on Gentoo/FreeBSD
Summary: net-misc/dhcpcd-5.6.2 build fails on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL: http://roy.marples.name/projects/dhcp...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 15:22 UTC by Yuta SATOH
Modified: 2012-10-24 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for dhcpcd-5.6.2.ebuild (438942.patch,274 bytes, patch)
2012-10-24 16:21 UTC, Yuta SATOH
Details | Diff
files/dhcpcd-5.6.2-if-bsd.patch (changeset_4d6bbabd08d1a1696f5db67af60c9883c4c367f4.diff,696 bytes, patch)
2012-10-24 16:24 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2012-10-19 15:22:23 UTC
RTF_CLONING has been removed from /usr/include/net/route.h.
However, dhcpcd seems to need it.

FYI,
http://svnweb.freebsd.org/base/stable/9/sys/net/route.h?r1=185747&r2=186119



Reproducible: Always

Steps to Reproduce:
1. emerge dhcpcd
2.
3.


Actual Results:  
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-5.6.2/work/dhcpcd-5.6.2 ...
gmake -j1
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c arp.c -o arp.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c bind.c -o bind.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c common.c -o common.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c control.c -o control.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c dhcp.c -o dhcp.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c dhcpcd.c -o dhcpcd.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c duid.c -o duid.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c eloop.c -o eloop.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c configure.c -o configure.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c if-options.c -o if-options.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c if-pref.c -o if-pref.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c ipv4ll.c -o ipv4ll.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c net.c -o net.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c signals.c -o signals.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c ipv6.c -o ipv6.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c ipv6rs.c -o ipv6rs.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c ipv6ns.c -o ipv6ns.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c bpf.c -o bpf.o
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic  -c if-bsd.c -o if-bsd.o
if-bsd.c: In function 'if_route6':
if-bsd.c:366:24: error: 'RTF_CLONING' undeclared (first use in this function)
if-bsd.c:366:24: note: each undeclared identifier is reported only once for each function it appears in
gmake: *** [if-bsd.o] Error 1



I've changed the section dhcpcd to emerge '<net-misc/dhcpcd-5.6' on the wiki.
Comment 1 Yuta SATOH 2012-10-19 17:14:11 UTC
I reported to the upstream.
Added to the field URL.
Comment 2 Yuta SATOH 2012-10-24 16:21:29 UTC
Created attachment 327306 [details, diff]
patch for dhcpcd-5.6.2.ebuild
Comment 3 Yuta SATOH 2012-10-24 16:24:24 UTC
Created attachment 327308 [details, diff]
files/dhcpcd-5.6.2-if-bsd.patch

Issue has been resolved in the upstream.
Please apply the patch if you want to use dhcpcd-5.6.2.

Taken from
http://roy.marples.name/projects/dhcpcd/changeset/4d6bbabd08d1a1696f5db67af60c9883c4c367f4#file0
Comment 4 Alexis Ballier gentoo-dev 2012-10-24 19:40:28 UTC
applied, thanks