[MacPorts] #47921: db46 @4.6.21_10 does not build on Snow Leopard, Mac OS X 10.6.8, because DB is missing members

MacPorts noreply at macports.org
Mon Jun 1 11:40:00 PDT 2015


#47921: db46 @4.6.21_10 does not build on Snow Leopard, Mac OS X 10.6.8, because DB
is missing members
-----------------------------+--------------------------------
 Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.3
 Keywords:                   |       Port:  db46
-----------------------------+--------------------------------
 {{{
 /bin/sh ./libtool --mode=compile /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch
 x86_64
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c
 /bin/sh ./libtool --mode=compile /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_archive/db_archive.c
 /bin/sh ./libtool --mode=compile /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../common/util_sig.c
 /bin/sh ./libtool --mode=compile /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_checkpoint/db_checkpoint.c
  /usr/bin/llvm-g++-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../cxx/cxx_seq.cpp
 -fno-common -DPIC -o .libs/cxx_seq.o
  /usr/bin/llvm-g++-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../cxx/cxx_multi.cpp
 -o cxx_multi.o >/dev/null 2>&1
  /usr/bin/llvm-gcc-4.2 -c -pipe -Os -arch x86_64
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c
 -fno-common -DPIC -o .libs/db_dump185.o
  /usr/bin/llvm-g++-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../cxx/cxx_txn.cpp
 -fno-common -DPIC -o .libs/cxx_txn.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:
 In function 'main':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:211:
 warning: assignment makes pointer from integer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:213:
 warning: assignment makes pointer from integer without a cast
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:
 error: 'DB' has no member named 'seq'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:
 error: 'R_NEXT' undeclared (first use in this function)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:
 error: (Each undeclared identifier is reported only once
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:
 error: for each function it appears in.)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:233:
 error: 'DB' has no member named 'seq'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:
 In function 'db_hash':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:261:
 error: 'DB' has no member named 'internal'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:263:
 error: 'DB' has no member named 'internal'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:
 In function 'db_btree':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:288:
 error: 'DB' has no member named 'internal'
 make: *** [db_dump185.lo] Error 1
 make: *** Waiting for unfinished jobs....
  /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_archive/db_archive.c
 -fno-common -DPIC -o .libs/db_archive.o
  /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../common/util_sig.c
 -fno-common -DPIC -o .libs/util_sig.o
  /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../common/util_sig.c
 -o util_sig.o >/dev/null 2>&1
  /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_archive/db_archive.c
 -o db_archive.o >/dev/null 2>&1
  /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_checkpoint/db_checkpoint.c
 -fno-common -DPIC -o .libs/db_checkpoint.o
  /usr/bin/llvm-gcc-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../db_checkpoint/db_checkpoint.c
 -o db_checkpoint.o >/dev/null 2>&1
  /usr/bin/llvm-g++-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../cxx/cxx_txn.cpp
 -o cxx_txn.o >/dev/null 2>&1
  /usr/bin/llvm-g++-4.2 -c -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/..
 -I/opt/local/include -pipe -Os -arch x86_64
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/dist/../cxx/cxx_seq.cpp
 -o cxx_seq.o >/dev/null 2>&1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/build_unix'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/build_unix"
 && /usr/bin/make -j8 -w all
 Exit code: 2
 }}}

 To me this seems to be a bug in the UNIX sources because DB has these
 "internal" related members (taken from /opt/local/include/db46/db.h):

 {{{
 1648         /* API-private structure: used by DB 1.85, C++, Java, Perl
 and Tcl */
 1649         void    *api_internal;
 1650
 1651         /* Subsystem-private structure. */
 1652         void    *bt_internal;           /* Btree/Recno access method.
 */
 1653         void    *h_internal;            /* Hash access method. */
 1654         void    *q_internal;            /* Queue access method. */
 1655         void    *xa_internal;           /* XA. */
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47921>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list