pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: net/mDNSResponder is broken under NetBSD



from Rui-Xiang Guo <rxg%lavabit.com@localhost>:

> Hi, all.
> The error messages as below -
> [...]
> cc dns-sd.c ClientCommon.c -L../mDNSPosix/build/prod/ -ldns_sd -L/usr/lib 
> -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -I../mDNSShared -Wall -o build/dns-sd
> dns-sd.c: In function 'RegisterService':
> dns-sd.c:1010: warning: array subscript has type 'char'
> dns-sd.c:1010: warning: array subscript has type 'char'
> dns-sd.c: In function 'main':
> dns-sd.c:1043: error: 'kFilePathSep' undeclared (first use in this function)
> dns-sd.c:1043: error: (Each undeclared identifier is reported only once
> dns-sd.c:1043: error: for each function it appears in.)
> ClientCommon.c: In function 'GetNextLabel':
> ClientCommon.c:55: warning: array subscript has type 'char'
> ClientCommon.c:55: warning: array subscript has type 'char'
> ClientCommon.c:55: warning: array subscript has type 'char'
> gmake[1]: *** [build/dns-sd] Error 1
> gmake[1]: Leaving directory 
> `/usr/pkgsrc/net/mDNSResponder/work/mDNSResponder-258.14/Clients'
> gmake: *** [../Clients/build/dns-sd] Error 2
> *** Error code 2

> It seems caused by the patch for dns-sd.c -
> [...]
>     172 #ifdef __linux__
>     173         static const char kFilePathSep = '/';
>     174         static size_t _sa_len(const struct sockaddr *addr)
> [...]

> BTW, why the patch name not to follow the patch-xx rule?

> -rxg

Now I don't need to post the error message I got trying to build 
emulators/dosbox under NetBSD, because I got just the same error message that 
you got,
where net/mDNSResponder is a dependency:

Stop.
make: stopped in /usr/pkgsrc/net/mDNSResponder
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/mDNSResponder
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/cups
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/arts
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/SDL
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/SDL_sound
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/dosbox

(end)
A lot of things depend on mDNSResponder, so I hope somebody comes up with a fix.

I never heard of mDNSResponder, have no such package on my Linux (Slackware) 
system, even though I have SDL, cups and was successful building dosbox from 
source in Linux.

Tom



Home | Main Index | Thread Index | Old Index