[Pkg-dns-devel] Bug#821847: Bug#821847: Bug#821847: dnsval: FTBFS on kFreeBSD: undefined reference to `getprogname'

Ondřej Surý ondrej at sury.org
Tue Apr 19 21:10:22 UTC 2016


Aaron,

could you please check on kFreeBSD if something from those are defined
on kFreeBSD?

#define getprogname() program_invocation_short_name
#endif
#ifdef solaris2
#define getprogname() getexecname()
#endif
#ifdef WIN32
#define getprogname() NULL
#endif
#ifdef __OpenBSD__
#define getprogname() NULL
#endif
#ifdef eabi
#define getprogname() NULL
#endif

I will redefine it to NULL on kFreeBSD,  but it would be better to have
a real function here :).

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

On Tue, Apr 19, 2016, at 22:57, Ondřej Surý wrote:
> Aw, crap. The upstream use of autotools is quite creative, so it's
> probably some underlinking. I'll look into that tomorrow (could you
> please remind me if you don't hear from me withing a week? thanks)
> 
> O.
> -- 
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> 
> On Tue, Apr 19, 2016, at 22:14, Aaron M. Ucko wrote:
> > Source: dnsval
> > Version: 2.2-2
> > Severity: important
> > Justification: fails to build from source (but built successfully in the
> > past)
> > 
> > Thanks for taking care of #821746 promptly!  Alas, another error
> > turned up:
> > 
> >   ../libval/.libs/libval-threads.so: undefined reference to `getprogname'
> >   collect2: error: ld returned 1 exit status
> >   Makefile:131: recipe for target 'dt-validate' failed
> > 
> > Could you please look into it as well?
> > 
> > Thanks!
> > 
> > _______________________________________________
> > pkg-dns-devel mailing list
> > pkg-dns-devel at lists.alioth.debian.org
> > https://lists.alioth.debian.org/mailman/listinfo/pkg-dns-devel
> 
> _______________________________________________
> pkg-dns-devel mailing list
> pkg-dns-devel at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/pkg-dns-devel



More information about the pkg-dns-devel mailing list