[MacPorts] #70487: pgbouncer build fails with gcc-4.2: error: redefinition of typedef ‘PktBuf’

MacPorts noreply at macports.org
Sun Aug 4 07:42:52 UTC 2024


#70487: pgbouncer build fails with gcc-4.2: error: redefinition of typedef ‘PktBuf’
-----------------------------------------+-----------------------
 Reporter:  barracuda156                 |      Owner:  (none)
     Type:  defect                       |     Status:  new
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.9.3
 Keywords:  tiger, leopard, snowleopard  |       Port:  pgbouncer
-----------------------------------------+-----------------------
 {{{
 --->  Building pgbouncer
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_pgbouncer/pgbouncer/work/pgbouncer-1.23.1"
 && /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_databases_pgbouncer/pgbouncer/work/pgbouncer-1.23.1'
      CC       src/admin.c
      CC       src/client.c
      CC       src/hba.c
      CC       src/dnslookup.c
      CC       src/janitor.c
      CC       src/loader.c
 In file included from include/bouncer.h:167,
                  from src/client.c:23:
 include/pktbuf.h:23: error: redefinition of typedef ‘PktBuf’
 include/bouncer.h:156: error: previous declaration of ‘PktBuf’ was here
 In file included from include/bouncer.h:184,
                  from src/client.c:23:
 include/prepare.h:18: error: redefinition of typedef ‘PgPreparedStatement’
 include/bouncer.h:158: error: previous declaration of
 ‘PgPreparedStatement’ was here
 In file included from include/bouncer.h:167,
                  from src/hba.c:19:
 include/pktbuf.h:23: error: redefinition of typedef ‘PktBuf’
 include/bouncer.h:156: error: previous declaration of ‘PktBuf’ was here
 In file included from include/bouncer.h:184,
                  from src/hba.c:19:
 include/prepare.h:18: error: redefinition of typedef ‘PgPreparedStatement’
 include/bouncer.h:158: error: previous declaration of
 ‘PgPreparedStatement’ was here
 make: *** [.objs/pgbouncer/src/client.o] Error 1
 make: *** Waiting for unfinished jobs....
 make: *** [.objs/pgbouncer/src/hba.o] Error 1
 In file included from include/bouncer.h:167,
                  from src/janitor.c:23:
 include/pktbuf.h:23: error: redefinition of typedef ‘PktBuf’
 include/bouncer.h:156: error: previous declaration of ‘PktBuf’ was here
 In file included from include/bouncer.h:184,
                  from src/janitor.c:23:
 include/prepare.h:18: error: redefinition of typedef ‘PgPreparedStatement’
 include/bouncer.h:158: error: previous declaration of
 ‘PgPreparedStatement’ was here
 In file included from include/bouncer.h:167,
                  from src/admin.c:23:
 include/pktbuf.h:23: error: redefinition of typedef ‘PktBuf’
 include/bouncer.h:156: error: previous declaration of ‘PktBuf’ was here
 In file included from include/bouncer.h:184,
                  from src/admin.c:23:
 include/prepare.h:18: error: redefinition of typedef ‘PgPreparedStatement’
 include/bouncer.h:158: error: previous declaration of
 ‘PgPreparedStatement’ was here
 make: *** [.objs/pgbouncer/src/janitor.o] Error 1
 make: *** [.objs/pgbouncer/src/admin.o] Error 1
 In file included from include/bouncer.h:167,
                  from src/dnslookup.c:19:
 include/pktbuf.h:23: error: redefinition of typedef ‘PktBuf’
 include/bouncer.h:156: error: previous declaration of ‘PktBuf’ was here
 In file included from include/bouncer.h:184,
                  from src/dnslookup.c:19:
 include/prepare.h:18: error: redefinition of typedef ‘PgPreparedStatement’
 include/bouncer.h:158: error: previous declaration of
 ‘PgPreparedStatement’ was here
 make: *** [.objs/pgbouncer/src/dnslookup.o] Error 1
 In file included from include/bouncer.h:167,
                  from src/loader.c:23:
 include/pktbuf.h:23: error: redefinition of typedef ‘PktBuf’
 include/bouncer.h:156: error: previous declaration of ‘PktBuf’ was here
 In file included from include/bouncer.h:184,
                  from src/loader.c:23:
 include/prepare.h:18: error: redefinition of typedef ‘PgPreparedStatement’
 include/bouncer.h:158: error: previous declaration of
 ‘PgPreparedStatement’ was here
 make: *** [.objs/pgbouncer/src/loader.o] Error 1
 }}}

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


More information about the macports-tickets mailing list