Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177331 - sys-auth/nss-mdns-0.9-r1 build failure
Summary: sys-auth/nss-mdns-0.9-r1 build failure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-06 14:07 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-05-14 20:19 UTC (History)
1 user (show)

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


Attachments
nss-mdns-0.9-fbsd.patch (nss-mdns-0.9-fbsd.patch,19.47 KB, patch)
2007-05-06 17:17 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-06 14:07:31 UTC
f i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I. -I..    -DMDNS_ALLOW_FILE=\"/etc/mdns.allow\" -DRESOLV_CONF_FILE=\"/etc/resolv.conf\" -DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\" '-DDEBUG_TRAP=__asm__("int $3")' -O2 -march=athlon-tbird -pipe -ggdb -std=gnu99 -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 -Wno-unused-parameter -pipe -W -Wall -pedantic -std=c99 -Wno-unused-parameter -MT avahi-test.o -MD -MP -MF ".deps/avahi-test.Tpo" -c -o avahi-test.o avahi-test.c; \
        then mv -f ".deps/avahi-test.Tpo" ".deps/avahi-test.Po"; else rm -f ".deps/avahi-test.Tpo"; exit 1; fi
avahi-test.c: In function ‘main’:
avahi-test.c:32: error: ‘AF_INET’ undeclared (first use in this function)
avahi-test.c:32: error: (Each undeclared identifier is reported only once
avahi-test.c:32: error: for each function it appears in.)
distcc[54685] ERROR: compile avahi-test.c on localhost failed
gmake[2]: *** [avahi-test.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
 i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMDNS_ALLOW_FILE=\"/etc/mdns.allow\" -DRESOLV_CONF_FILE=\"/etc/resolv.conf\" -DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\" "-DDEBUG_TRAP=__asm__(\"int \$3\")" -DNSS_IPV6_ONLY=1 -DMDNS_MINIMAL -O2 -march=athlon-tbird -pipe -ggdb -std=gnu99 -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 -Wno-unused-parameter -pipe -W -Wall -pedantic -std=c99 -Wno-unused-parameter -MT libnss_mdns6_minimal_la-util.lo -MD -MP -MF .deps/libnss_mdns6_minimal_la-util.Tpo -c util.c  -fPIC -DPIC -o .libs/libnss_mdns6_minimal_la-util.o
 i686-gentoo-freebsd6.2-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMDNS_ALLOW_FILE=\"/etc/mdns.allow\" -DRESOLV_CONF_FILE=\"/etc/resolv.conf\" -DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\" "-DDEBUG_TRAP=__asm__(\"int \$3\")" -DNSS_IPV6_ONLY=1 -DMDNS_MINIMAL -O2 -march=athlon-tbird -pipe -ggdb -std=gnu99 -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 -Wno-unused-parameter -pipe -W -Wall -pedantic -std=c99 -Wno-unused-parameter -MT libnss_mdns6_minimal_la-avahi.lo -MD -MP -MF .deps/libnss_mdns6_minimal_la-avahi.Tpo -c avahi.c  -fPIC -DPIC -o .libs/libnss_mdns6_minimal_la-avahi.o
gmake[2]: Leaving directory `/var/tmp/portage/sys-auth/nss-mdns-0.9-r1/work/nss-mdns-0.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/sys-auth/nss-mdns-0.9-r1/work/nss-mdns-0.9'
gmake: *** [all] Error 2

I'll see to work on a patch, or look what the ports have, if nobody beats me to it.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-06 17:17:22 UTC
Created attachment 118360 [details, diff]
nss-mdns-0.9-fbsd.patch

This is the needed patch, it requires an eautoreconf call instead of just eautomake. All the changes are already applied by upstream (who won't release a new version just for FreeBSD and us).
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-05-14 20:19:18 UTC
Yeah, wont fix this ... use 0.10 instead (unless there is a major reason not to do so) since its already in the tree.