db46 compile failure on mavericks
Blair Zajac
blair at orcaware.com
Wed Jan 1 13:56:05 PST 2014
[cc’ing and.damore at macports.org for db_select]
On Jan 1, 2014, at 1:30 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Jan 1, 2014, at 15:15, Blair Zajac wrote:
>>
>> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c:228:24: error: no member named 'seq' in 'struct __db'
>
> Same problem reported here:
>
> https://trac.macports.org/ticket/41350
>
> Also here:
>
> https://trac.macports.org/ticket/35570
>
> Same here:
>
> https://trac.macports.org/ticket/18113
>
> Do you have an old version of db.h in /opt/local/include or /usr/local/include?
I don’t have a /usr/local. There was only the previous version of db46 and db46-java installed previously.
Looking at the build, it is picking up db.h from db_select:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46/work/db-4.6.21/build_unix# /usr/bin/clang -E -pipe -Os -arch x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/.. -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c -fno-common -DPIC|grep ^# | grep /opt/local
# 1 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c"
# 1 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 10 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c"
# 15 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 17 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 18 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 19 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 20 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 21 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 22 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/work/db-4.6.21/dist/../db_dump185/db_dump185.c" 2
# 1 "/opt/local/include/db.h" 1
# 25 "/opt/local/include/db.h"
# 26 "/opt/local/include/db.h" 2
# 28 "/opt/local/include/db.h" 2
# 30 "/opt/local/include/db.h" 2
# 31 "/opt/local/include/db.h" 2
# 110 "/opt/local/include/db.h”
Blair
More information about the macports-dev
mailing list