[MacPorts] #71562: surblhost fails to build: error: conflicting types for ‘HEADER’

MacPorts noreply at macports.org
Mon Dec 16 10:49:21 UTC 2024


#71562: surblhost fails to build: error: conflicting types for ‘HEADER’
--------------------------+-----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  surblhost
--------------------------+-----------------------
 {{{
 --->  Configuring surblhost
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0"
 && ./configure --prefix=/opt/local
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... ccache /usr/bin/gcc-4.2
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether ccache /usr/bin/gcc-4.2 accepts -g... yes
 checking for ccache /usr/bin/gcc-4.2 option to accept ISO C89... none
 needed
 checking for style of include used by make... GNU
 checking dependency style of ccache /usr/bin/gcc-4.2... gcc3
 checking how to run the C preprocessor... ccache /usr/bin/gcc-4.2 -E
 checking for grep that handles long lines and -e... /opt/local/bin/ggrep
 checking for egrep... /opt/local/bin/ggrep -E
 checking for ANSI C header files... yes
 checking for an ANSI C-conforming const... yes
 checking for inline... inline
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for size_t... yes
 checking --enable-resolv... yes
 checking arpa/inet.h usability... yes
 checking arpa/inet.h presence... yes
 checking for arpa/inet.h... yes
 checking netdb.h usability... yes
 checking netdb.h presence... yes
 checking for netdb.h... yes
 checking arpa/nameser.h usability... yes
 checking arpa/nameser.h presence... yes
 checking for arpa/nameser.h... yes
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking sys/socket.h usability... yes
 checking sys/socket.h presence... yes
 checking for sys/socket.h... yes
 checking for sys/types.h... (cached) yes
 checking for sys/types.h... (cached) yes
 checking for netinet/in.h... (cached) yes
 checking for arpa/nameser.h... (cached) yes
 checking for netdb.h... (cached) yes
 checking for resolv.h... yes
 checking for resolv.h... (cached) yes
 checking nameser8_compat.h usability... yes
 checking nameser8_compat.h presence... yes
 checking for nameser8_compat.h... yes
 checking for stdlib.h... (cached) yes
 checking for GNU libc compatible malloc... yes
 checking for stdlib.h... (cached) yes
 checking for GNU libc compatible realloc... yes
 checking for main in -lnsl... no
 checking for main in -lsocket... no
 checking for res_init in -lresolv... yes
 checking for gethostbyname... yes
 checking for memset... yes
 checking for inet_ntoa... yes
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating src/Makefile
 config.status: creating config.h
 config.status: executing depfiles commands
 --->  Building surblhost
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0"
 && /usr/bin/make -j6 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0'
 /usr/bin/make  all-recursive
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0'
 Making all in src
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0/src'
 if ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include  -pipe -Os -arch ppc -MT whitelist.o -MD -MP -MF
 ".deps/whitelist.Tpo" -c -o whitelist.o whitelist.c; \
         then mv -f ".deps/whitelist.Tpo" ".deps/whitelist.Po"; else rm -f
 ".deps/whitelist.Tpo"; exit 1; fi
 if ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include  -pipe -Os -arch ppc -MT two-level-tlds.o -MD -MP -MF
 ".deps/two-level-tlds.Tpo" -c -o two-level-tlds.o two-level-tlds.c; \
         then mv -f ".deps/two-level-tlds.Tpo" ".deps/two-level-tlds.Po";
 else rm -f ".deps/two-level-tlds.Tpo"; exit 1; fi
 if ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include  -pipe -Os -arch ppc -MT surblhost.o -MD -MP -MF
 ".deps/surblhost.Tpo" -c -o surblhost.o surblhost.c; \
         then mv -f ".deps/surblhost.Tpo" ".deps/surblhost.Po"; else rm -f
 ".deps/surblhost.Tpo"; exit 1; fi
 In file included from surblhost.c:48:
 /usr/include/nameser8_compat.h:304: error: conflicting types for ‘HEADER’
 /usr/include/arpa/nameser_compat.h:99: error: previous declaration of
 ‘HEADER’ was here
 make[2]: *** [surblhost.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_surblhost/surblhost/work/surblhost-0.8.0"
 && /usr/bin/make -j6 -w all
 Exit code: 2
 Error: Failed to build surblhost: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71562>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list