Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130369 - net-wireless/wpa_supplicant-0.5.2 doesn't compile on Gentoo/FreeBSD
Summary: net-wireless/wpa_supplicant-0.5.2 doesn't compile on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All GNU/kFreeBSD
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-04-18 07:55 UTC by Stefano Takekawa
Modified: 2006-04-22 09:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Takekawa 2006-04-18 07:55:40 UTC
Steps to reproduce:
1) emerge wpa_supplicant

i686-gentoo-freebsd6.0-gcc -mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer -I. -I../utils -I../hostapd -DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DEAP_TLS_OPENSSL -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_READLINE -DCONFIG_STAKEY   -c -o l2_packet_linux.o l2_packet_linux.c
l2_packet_linux.c:17:30: netpacket/packet.h: No such file or directory
l2_packet_linux.c: In function `l2_packet_send':
l2_packet_linux.c:56: error: storage size of 'll' isn't known
l2_packet_linux.c:58: error: `AF_PACKET' undeclared (first use in this function)
l2_packet_linux.c:58: error: (Each undeclared identifier is reported only once
l2_packet_linux.c:58: error: for each function it appears in.)
l2_packet_linux.c: In function `l2_packet_receive':
l2_packet_linux.c:77: error: storage size of 'll' isn't known
l2_packet_linux.c: In function `l2_packet_init':
l2_packet_linux.c:101: error: storage size of 'll' isn't known
l2_packet_linux.c:112: error: `PF_PACKET' undeclared (first use in this function)
l2_packet_linux.c:126: error: structure has no member named `ifr_ifindex'
l2_packet_linux.c:130: error: structure has no member named `ifr_ifindex'
l2_packet_linux.c:139: error: `SIOCGIFHWADDR' undeclared (first use in this function)
l2_packet_linux.c:145: error: structure has no member named `ifr_hwaddr'
gmake: *** [l2_packet_linux.o] Error 1

!!! ERROR: net-wireless/wpa_supplicant-0.5.2 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  wpa_supplicant-0.5.2.ebuild, line 96:   Called die


# emerge --info
Portage 2.1_pre7-r5 (default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r1, 6.0-RELEASE i386)
=================================================================
System uname: 6.0-RELEASE i386 i386
Gentoo Base System version 20060414
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.0
ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.0"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer"
CHOST="i686-gentoo-freebsd6.0"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer"
DISTDIR="/mnt/distfiles"
FEATURES="autoconfig candy ccache collision-protect distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://192.168.0.1 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay /usr/local/portage/portage-twominds"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86-fbsd 3dnow X a52 acpi apm arts audiofile bzip2 cdr cups dvd dvdr dvdread ffmpeg fortran gdbm gif glitz gs gtk jpeg kde lzo mad mjpeg mmx mp3 mpeg musicbrainz ncurses nls offensive ogg opengl oss pam perl pic png ppds profile python qt quicktime readline sdl sndfile sse sse2 ssl suid theora threads tiff truetype unicode usb vorbis xcomposite xml xmms xv xvid zlib elibc_FreeBSD input_devices_mouse input_devices_keyboard kernel_FreeBSD userland_BSD video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev video_cards_none"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Henrik Brix Andersen 2006-04-22 09:32:49 UTC
Fixed in net-wireless/wpa_supplicant-0.5.2. Thanks to Flameeyes for compile-testing.

I would appreciate if someone would test the functionality of the package on Gentoo FreeBSD as well, and report back to me :)