[Bug 228218] dns/openmdns: Build failure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 13 14:34:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228218

            Bug ID: 228218
           Summary: dns/openmdns: Build failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich at FreeBSD.org
          Reporter: brnrd at freebsd.org
          Assignee: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(jbeich at FreeBSD.org)

Building openmdns fails on missing include path

> ===> mdnsctl (all)
> echo mdnsctl: /usr/lib/libc.a /usr/lib/libutil.a >> .depend
> Warning: Object directory not changed from original /usr/ports/dns/openmdns/work/mdnsd-0.7/mdnsctl
> cc -O2 -fno-strict-aliasing -pipe -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -I/usr/ports/dns/openmdns/work/mdnsd-0.7/mdnsctl -I/usr/ports/dns/openmdns/work/mdnsd-0.7/mdnsctl/../mdnsd -march=native  -MD  -MF.depend.mdnsctl.o -MTmdnsctl.o -std=gnu99 -fstack-protector-strong    -Qunused-arguments  -c mdnsctl.c -o mdnsctl.o
> mdnsctl.c:36:10: fatal error: 'imsg.h' file not found
> #include <imsg.h>
>          ^~~~~~~~
> 1 error generated.
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/ports/dns/openmdns/work/mdnsd-0.7/mdnsctl

Even though CFLAGS is OK from the port's Makefile

> $ make -VCFLAGS
> -O2 -fno-strict-aliasing -pipe -march=native  -D__dead=__dead2 -I/usr/local/include -fstack-protector -isystem /usr/local/include

If I patch that up in the Makefiles, it will blow up on `__dead`
> --- mdnsctl.o ---
> mdnsctl.c:41:1: error: unknown type name '__dead'
>__dead void     usage(void);
>^

FreeBSD 11.1-p8 amd64 fwiw

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list