[MacPorts] #68238: libplist fails to build on 10.6: error: redefinition of typedef 'node_t'

MacPorts noreply at macports.org
Sun Sep 24 18:01:43 UTC 2023


#68238: libplist fails to build on 10.6: error: redefinition of typedef 'node_t'
----------------------------------+--------------------------
 Reporter:  barracuda156          |      Owner:  JacksonIsaac
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.1
 Keywords:  snowleopard, leopard  |       Port:  libplist
----------------------------------+--------------------------
 {{{
 Making all in libcnary
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libplist/libplist/work/libplist-2.3.0/libcnary'
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99
 -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -Wall -Wextra -Wredundant-
 decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-
 unused-parameter -Wno-strict-aliasing -fvisibility=hidden
 -I../libcnary/include -pipe -Os -arch ppc -MT node.lo -MD -MP -MF
 .deps/node.Tpo -c -o node.lo node.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99
 -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -Wall -Wextra -Wredundant-
 decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-
 unused-parameter -Wno-strict-aliasing -fvisibility=hidden
 -I../libcnary/include -pipe -Os -arch ppc -MT node_list.lo -MD -MP -MF
 .deps/node_list.Tpo -c -o node_list.lo node_list.c
 libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-
 arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-
 aliasing -fvisibility=hidden -I../libcnary/include -pipe -Os -arch ppc -MT
 node.lo -MD -MP -MF .deps/node.Tpo -c node.c  -fno-common -DPIC -o
 .libs/node.o
 libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-
 arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-
 aliasing -fvisibility=hidden -I../libcnary/include -pipe -Os -arch ppc -MT
 node_list.lo -MD -MP -MF .deps/node_list.Tpo -c node_list.c  -fno-common
 -DPIC -o .libs/node_list.o
 In file included from node_list.c:28:
 ../libcnary/include/node.h:33: error: redefinition of typedef 'node_t'
 ../libcnary/include/node_list.h:29: error: previous declaration of
 'node_t' was here
 In file included from node.c:27:
 ../libcnary/include/node.h:33: error: redefinition of typedef 'node_t'
 ../libcnary/include/node_list.h:29: error: previous declaration of
 'node_t' was here
 make[2]: *** [node_list.lo] Error 1
 }}}

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


More information about the macports-tickets mailing list