Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184008 - net-dns/avahi-0.2.20 fails on gfbsd
Summary: net-dns/avahi-0.2.20 fails on gfbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 18:18 UTC by Dan Coats
Modified: 2009-04-17 19:50 UTC (History)
3 users (show)

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


Attachments
avahi-0.6.20:20070702-140248.log (avahi,105.22 KB, text/plain)
2007-07-02 18:19 UTC, Dan Coats
Details
avahi-0.6.24.ebuild.patch (avahi.patch,913 bytes, patch)
2009-02-25 15:34 UTC, Timothy Redaelli (RETIRED)
Details | Diff
files/avahi-0.6.24-cmsg_space.patch (avahi-0.6.24-cmsg_space.patch,449 bytes, patch)
2009-02-25 15:34 UTC, Timothy Redaelli (RETIRED)
Details | Diff
files/avahi-0.6.24-libintl.patch (avahi-0.6.24-libintl.patch,542 bytes, patch)
2009-02-25 15:34 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Coats 2007-07-02 18:18:14 UTC
net-dns/avahi-0.2.20 fails to build on gfbsd

Reproducible: Always

Steps to Reproduce:
1.emerge =net-dns/avahi-0.6.20
2.Fails


Actual Results:  
 i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. "-DDEBUG_TRAP=__asm__(\"int \$3\")" -O2 -mtune=i686 -pipe -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -fPIC -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -MT libavahi_core_la-response-sched.lo -MD -MP -MF .deps/libavahi_core_la-response-sched.Tpo -c response-sched.c  -fPIC -DPIC -o .libs/libavahi_core_la-response-sched.o
socket.c:559:2: warning: #warning is a GCC extension
socket.c:559:2: warning: #warning "FIXME: We need some code to set the outgoing interface/local address here if IP_PKTINFO/IP_MULTICAST_IF is not available"
socket.c: In function 'avahi_mdns_mcast_join_ipv4':
socket.c:113: error: storage size of 'mreq' isn't known
socket.c:135: error: 'IP_DROP_MEMBERSHIP' undeclared (first use in this function)
socket.c:135: error: (Each undeclared identifier is reported only once
socket.c:135: error: for each function it appears in.)
socket.c:137: error: 'IP_ADD_MEMBERSHIP' undeclared (first use in this function)
socket.c:113: warning: unused variable 'mreq'
socket.c: In function 'avahi_mdns_mcast_join_ipv6':
socket.c:159: error: 'IPPROTO_IPV6' undeclared (first use in this function)
socket.c: In function 'ipv4_pktinfo':
socket.c:227: warning: unused variable 'yes'
socket.c:226: warning: unused parameter 'fd'
socket.c: In function 'ipv6_pktinfo':
socket.c:277: error: 'IPPROTO_IPV6' undeclared (first use in this function)
socket.c: In function 'avahi_open_socket_ipv4':
socket.c:323: error: 'IP_MULTICAST_TTL' undeclared (first use in this function)
socket.c:329: error: 'IP_TTL' undeclared (first use in this function)
socket.c:335: error: 'IP_MULTICAST_LOOP' undeclared (first use in this function)
socket.c: In function 'avahi_open_socket_ipv6':
socket.c:388: error: 'IPPROTO_IPV6' undeclared (first use in this function)
socket.c: In function 'avahi_send_dns_packet_ipv4':
socket.c:469: warning: unused parameter 'interface'
socket.c:471: warning: unused parameter 'src_address'
socket.c: In function 'avahi_send_dns_packet_ipv6':
socket.c:577: warning: implicit declaration of function 'CMSG_SPACE'
socket.c:608: warning: implicit declaration of function 'CMSG_LEN'
socket.c:609: error: 'IPPROTO_IPV6' undeclared (first use in this function)
socket.c: In function 'avahi_recv_dns_packet_ipv4':
socket.c:718: error: 'IP_TTL' undeclared (first use in this function)
socket.c:633: warning: unused parameter 'ret_dst_address'
socket.c: In function 'avahi_recv_dns_packet_ipv6':
socket.c:855: error: 'IPPROTO_IPV6' undeclared (first use in this function)
socket.c: In function 'avahi_open_unicast_socket_ipv6':
socket.c:950: error: 'IPPROTO_IPV6' undeclared (first use in this function)
gmake[2]: *** [libavahi_core_la-socket.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
 i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. "-DDEBUG_TRAP=__asm__(\"int \$3\")" -O2 -mtune=i686 -pipe -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -fPIC -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -MT libavahi_core_la-response-sched.lo -MD -MP -MF .deps/libavahi_core_la-response-sched.Tpo -c response-sched.c -o libavahi_core_la-response-sched.o >/dev/null 2>&1
gmake[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.20/work/avahi-0.6.20/avahi-core'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.20/work/avahi-0.6.20'
gmake: *** [all] Error 2

Expected Results:  
complete successfully.

Portage 2.1.3_rc6 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r1, 6.2-RELEASE i386)
=================================================================
System uname: 6.2-RELEASE i386 i386
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Mon, 02 Jul 2007 17:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  6.2-r1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.2"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessability acl adns apache2 bash-completion bcmath berkdb bidi bindinst browserplugin bzip2 cairo calendar cli crypt cups curlwrappers dbus dedicated dga dlloader dri dts emacs emacs-w3 erandom ethereal expat fastcgi font ftp gd gdbm geoip glitz glut gnusetup gnutls gtkhtml hal iconv imap immqt-bc inifile innodb java java5 javascript jp2 jpeg jpeg2k libcaca libclamv libg++ live lzo midi mime ming mmap motif mpi ncurses nls nptlonly nsplugin nvidia oav objc oracle oscar oss pam pcre pdf perl php pic posix ppds python qt3support readline reflection samba session shared spl sqlite sse ssl symlink tcltktcpd tcpd test threads unicode urandom usb usepackagedmakefiles userlocales vcd vhosts x86-fbsd xml xorg xpm xprint zeroconf zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="BSD" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dan Coats 2007-07-02 18:19:56 UTC
Created attachment 123707 [details]
avahi-0.6.20:20070702-140248.log
Comment 2 Santiago M. Mola (RETIRED) gentoo-dev 2008-04-04 11:04:03 UTC
Dan, can you test if this is present in 0.6.22-r1?
Comment 3 Pacho Ramos gentoo-dev 2009-01-30 11:32:09 UTC
Still valid with 0.6.24?
Comment 4 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-25 15:34:03 UTC
Created attachment 183149 [details, diff]
avahi-0.6.24.ebuild.patch
Comment 5 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-25 15:34:24 UTC
Created attachment 183150 [details, diff]
files/avahi-0.6.24-cmsg_space.patch
Comment 6 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-25 15:34:43 UTC
Created attachment 183151 [details, diff]
files/avahi-0.6.24-libintl.patch
Comment 7 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-25 15:36:32 UTC
swegener: can you apply the patch so i can keyword it?
Comment 8 Sven Wegener gentoo-dev 2009-03-05 21:14:38 UTC
I've applied both patches to avahi-0.6.24-r1
Comment 9 Timothy Redaelli (RETIRED) gentoo-dev 2009-03-08 18:36:34 UTC
Rekeyworded thanks
Comment 10 Sven Wegener gentoo-dev 2009-04-17 19:50:50 UTC
is the libintl.patch really needed? the avahi maintainers have applied the cmsg_space patch, but don't know what the libintl patch is for.