On 01/08/13 15:10, Petr Salinger wrote:
> But it suffices to add #include <netinet/ether.h>
> and segfault of ifconfig is gone.

Strange that this only breaks on 9.1, but the above fix makes sense
because build log checks already showed:

http://qa.debian.org/bls/packages/f/freebsd-utils.html
> W implicit-declaration af_link.c:68 (kfreebsd-i386)

and a few similar issues.

https://buildd.debian.org/status/fetch.php?pkg=freebsd-utils&arch=kfreebsd-i386&ver=9.1-2&stamp=1374530954
> cc -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE -D__va_list=__builtin_va_list 
> -isystem /usr/include/tirpc -D__FreeBSD_version=__FreeBSD_kernel_version -O2 
> -isystem /usr/include/freebsd -I/«PKGBUILDDIR»/debian/local/include 
> -I/«PKGBUILDDIR»/include -lbsd  -DINET6 -DINET -Wall -Wmissing-prototypes 
> -Wcast-qual -Wwrite-strings -Wnested-externs -Wall -g -pipe -fPIC -I. 
> -D_GNU_SOURCE -D__va_list=__builtin_va_list -isystem /usr/include/tirpc 
> -D__FreeBSD_version=__FreeBSD_kernel_version -O2 -std=gnu99 -fstack-protector 
> -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c af_link.c
> af_link.c: In function 'link_status':
> af_link.c:68:8: warning: implicit declaration of function 'ether_ntoa' 
> [-Wimplicit-function-declaration]
>         ether_ntoa((struct ether_addr *)LLADDR(sdl)));
>         ^

> cc -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE -D__va_list=__builtin_va_list 
> -isystem /usr/include/tirpc -D__FreeBSD_version=__FreeBSD_kernel_version -O2 
> -isystem /usr/include/freebsd -I/«PKGBUILDDIR»/debian/local/include 
> -I/«PKGBUILDDIR»/include -lbsd  -DINET6 -DINET -Wall -Wmissing-prototypes 
> -Wcast-qual -Wwrite-strings -Wnested-externs -Wall -g -pipe -fPIC -I. 
> -D_GNU_SOURCE -D__va_list=__builtin_va_list -isystem /usr/include/tirpc 
> -D__FreeBSD_version=__FreeBSD_kernel_version -O2 -std=gnu99 -fstack-protector 
> -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c ifieee80211.c
> ifieee80211.c: In function 'list_scan':
> ifieee80211.c:3184:4: warning: implicit declaration of function 'ether_ntoa' 
> [-Wimplicit-function-declaration]

> cc -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE -D__va_list=__builtin_va_list 
> -isystem /usr/include/tirpc -D__FreeBSD_version=__FreeBSD_kernel_version -O2 
> -isystem /usr/include/freebsd -I/«PKGBUILDDIR»/debian/local/include 
> -I/«PKGBUILDDIR»/include -lbsd  -DINET6 -DINET -Wall -Wmissing-prototypes 
> -Wcast-qual -Wwrite-strings -Wnested-externs -Wall -g -pipe -fPIC -I. 
> -D_GNU_SOURCE -D__va_list=__builtin_va_list -isystem /usr/include/tirpc 
> -D__FreeBSD_version=__FreeBSD_kernel_version -O2 -std=gnu99 -fstack-protector 
> -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c ifbridge.c
> ifbridge.c: In function 'bridge_addresses':
> ifbridge.c:241:3: warning: implicit declaration of function 'ether_ntoa' 
> [-Wimplicit-function-declaration]

> cc -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE -D__va_list=__builtin_va_list 
> -isystem /usr/include/tirpc -D__FreeBSD_version=__FreeBSD_kernel_version -O2 
> -isystem /usr/include/freebsd -I/«PKGBUILDDIR»/debian/local/include 
> -I/«PKGBUILDDIR»/include -lbsd  -DINET6 -DINET -Wall -Wmissing-prototypes 
> -Wcast-qual -Wwrite-strings -Wnested-externs -Wall -g -pipe -fPIC -I. 
> -D_GNU_SOURCE -D__va_list=__builtin_va_list -isystem /usr/include/tirpc 
> -D__FreeBSD_version=__FreeBSD_kernel_version -O2 -std=gnu99 -fstack-protector 
> -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign  -o ifconfig 
> ifconfig.o af_link.o af_inet.o af_inet6.o af_atalk.o af_nd6.o ifclone.o 
> ifmedia.o ifvlan.o ifgre.o ifgif.o ifieee80211.o regdomain.o ifcarp.o 
> ifgroup.o ifbridge.o iflagg.o af_ipx.o -lexpat -lsbuf -lipx -lbsd 
> ../../lib/linkaddr.o

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to