Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mDNSResponder fails to compile
Date: Tue, 15 Jan 2008 09:33:20
Message-Id: 200801151127.05718.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] mDNSResponder fails to compile by Bob Young
1 On Tuesday 15 January 2008, Bob Young wrote:
2 > I'm back to building a Gentoo box after my previous Gentoo box died a
3 > hardware death about six months ago. It's mostly installed and
4 > functioning but I wanted to bring up KDE, I was surprised to find
5 > that the kde-meta emerge, failed 43 packages into the 300 or so that
6 > is kde-meta.
7 >
8 > It dies on building mDNSResponder, below is the error, if anybody is
9 > interested. It seems to be the same bug reported in Nov 2007:
10 > http://bugs.gentoo.org/show_bug.cgi?id=196349 I don't see any
11 > resolution posted for this bug, so it appears that mDNSResponder is
12 > currently broken, and it doesen't appear that anybody IS terribly
13 > interested.
14 >
15 > I'm not sure what USE flag I have included that brings in
16 > mDNSResponder, after reading the package summary, I thought it might
17 > be "zeroconf," but after adding "-zeroconf" to /etc/make.conf,
18 > "emerge -pn kde-meta" or "emerge -pn kde" still shows that
19 > mDNSResponder is going to be merged. I've tried adding
20 > "net-misc/mDNSResponder ~x86" to package keywords in hopes of getting
21 > a later version, but it appears there isn't a later version.
22 >
23 > So here I am, asking for any kind of solution anybody can provide,
24 > since it doesn't look like mDNSResponder is going to be fixed anytime
25 > soon I guess the preferred method is to remove whatever USE flag(s)
26 > are bringing it in if that's possible, but I don't know how to
27 > determine that information and would be grateful for some assistance.
28
29 Please don't post in HTML, it makes things hell to read, thanks.
30
31
32 mDNSResponder builds here OK. The latest version is the stable one:
33
34 alan@nazgul ~ $ eix mdnsresponder
35 [I] net-misc/mDNSResponder
36 Available versions: 98 (~)107.1 (~)107.5 107.6-r5 {debug doc
37 elibc_FreeBSD java}
38 Installed versions: 107.6-r5(03:25:38 PM 11/05/2007)
39 (java -debug -doc -elibc_FreeBSD)
40 Homepage:
41 http://developer.apple.com/networking/bonjour/index.html
42 Description: The mDNSResponder project is a component of
43 Bonjour, Apple's initiative for zero-configuration networking.
44
45 The USE flags that pull it in (at least the ones I'm using) are using
46 zeroconf and NOT using avahi:
47
48 alan@nazgul ~ $ equery depends mDNSResponder
49 [ Searching for packages depending on mDNSResponder... ]
50 kde-base/kdelibs-3.5.8-r2 (!avahi & !bindist? net-misc/mDNSResponder)
51 net-print/cups-1.3.5 (zeroconf & !avahi? net-misc/mDNSResponder)
52
53 I'd guess you need USE=avahi to stop kdelibs from using mDNSResponder
54
55 >
56 > Responder daemon done
57 >
58 > i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall
59 > -DPID_FILE=\"/var/run/mdnsd.pid\"
60 > -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN
61 > -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 -O2 -march=i6$
62 >
63 > i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall
64 > -DPID_FILE=\"/var/run/mdnsd.pid\"
65 > -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN
66 > -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 -O2 -march=i6$
67 >
68 > i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall
69 > -DPID_FILE=\"/var/run/mdnsd.pid\"
70 > -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN
71 > -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 -O2 -march=i6$
72 >
73 > build/debug/libdns_sd.so
74 >
75 > Client library done
76 >
77 > make[1]: Entering directory
78 > `/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work/mDNSResponder-
79 >107.6/C lients'
80 >
81 > mkdir build
82 >
83 > cc dns-sd.c -L../mDNSPosix/build/prod/ -ldns_sd -I../mDNSShared -o
84 > build/dns-sd
85 >
86 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bi
87 >n/ld: cannot find -ldns_sd
88 >
89 > collect2: ld returned 1 exit status
90 >
91 > make[1]: *** [build/dns-sd] Error 1
92 >
93 > make[1]: Leaving directory
94 > `/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work/mDNSResponder-
95 >107.6/C lients'
96 >
97 > make: *** [../Clients/build/dns-sd] Error 2
98 >
99 > *
100 >
101 > * ERROR: net-misc/mDNSResponder-107.6-r5 failed.
102 >
103 > * Call stack:
104 >
105 > * ebuild.sh, line 1701: Called dyn_compile
106 >
107 > * ebuild.sh, line 1039: Called qa_call 'src_compile'
108 >
109 > * ebuild.sh, line 44: Called src_compile
110 >
111 > * mDNSResponder-107.6-r5.ebuild, line 51: Called die
112 >
113 > * The specific snippet of code:
114 >
115 > * mdnsmake || die "make failed"
116 >
117 > * The die message:
118 >
119 > * make failed
120 >
121 > *
122 >
123 > * If you need support, post the topmost build error, and the call
124 > stack if relevant.
125 >
126 > * A complete build log is located at
127 > '/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/temp/build.log'.
128 >
129 > *
130 >
131 > !!! When you file a bug report, please include the following
132 > information:
133 >
134 > GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
135 >
136 > JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
137 >
138 > and of course, the output of emerge --info
139
140
141
142 --
143 Alan McKinnon
144 alan dot mckinnon at gmail dot com
145 --
146 gentoo-user@l.g.o mailing list