Opened 2 days ago

Closed 33 hours ago

#70761 closed defect (duplicate)

db48 4.8.30_5 does not build on MacOS Sequoia

Reported by: jcobleigh Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc: ATL-Flaneur (Andreas Yankopolus), bdmckay
Port: db48

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build clang++clang++: : warning: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
:info:build clang++: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
:info:build clang++: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
:info:build clang++: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
:info:build clang++: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
:info:build clang++: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
:info:build In file included from In file included from ../dist/../cxx/cxx_dbt.cpp:11In file included from ../dist/../cxx/cxx_except.cpp../dist/../cxx/cxx_logc.cpp::1111:
:info:build :
:info:build ./db_int.h./db_int.h::1616::
:info:build 10:./db_int.h:16In file included from :10: ../dist/../cxx/cxx_db.cppfatal error: :'sys/types.h' file not found11
:info:build :
:info:build ./db_int.hIn file included from :16:10: fatal error: 'sys/types.h' file not found
:info:build ../dist/../cxx/cxx_dbc.cpp:11:
:info:build ./db_int.h   :1616 | :   1016: |  #fatal error: i'sys/types.h' file not found 
:info:build nfatal error: c'sys/types.h' file not foundl
:info:build ude    <16s | y#si/   t16y | p#eisn.ch#>li
:info:build n      In file included from nu:dc../dist/../cxx/cxx_env.cpp10: fatal error: 'sys/types.h' file not found
:info:build In file included from el   u16d | e# i<c: <ssysy/st/ytn| ly../dist/../cxx/cxx_lock.cpp:11:
:info:build ./db_int.h:16:1110::
:info:build pupd         ^~~~~~~~~~~~~ 
:info:build fatal error: eesclued./db_int.he <sy:s16/t:y pe<s.sh>y
:info:build 10: 'sys/types.h' file not foundfatal error: 
:info:build 'sys/types.h' file not found
:info:build s.h   >
:info:build             |    16         ^~~~~~~~~~~~~ | 
:info:build #inc| lud         ^~~~~~~~~~~~~e16 | .
:info:build h s/ty#i>n
:info:build cpe<ss.yhs>/
:info:build t      y| p         ^~~~~~~~~~~~~e
:info:build s.h>
:info:build       |          ^~~~~~~~~~~~~
:info:build       |          ^~~~~~~~~~~~~
:info:build lude <sys/types.h>
:info:build       |          ^~~~~~~~~~~~~
:info:build 1 error generated.
:info:build 1 error generated.
:info:build 1 error generated.
:info:build 1 error generated.
:info:build 1 error generated.
:info:build make: *** [cxx_lock.lo] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [cxx_dbc.lo] Error 1
:info:build make: *** [cxx_except.lo] Error 1
:info:build make: *** [cxx_dbt.lo] Error 1
:info:build make: *** [cxx_logc.lo] Error 1
:info:build 1 error generated.
:info:build make: *** [cxx_db.lo] Error 1
:info:build 1 error generated.
:info:build make: *** [cxx_env.lo] Error 1
:info:build libtool: link: dsymutil .libs/libdb-4.8.dylib || :
:info:build warning: no debug symbols in executable (-arch arm64)
:info:build libtool: link: ar cru .libs/libdb-4.8.a  mut_pthread.o bt_compare.o bt_compress.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_method.o bt_open.o bt_put.o bt_rec.o bt_reclaim.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o bt_compact.o bt_upgrade.o btree_auto.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_meta.o hash_method.o hash_open.o hash_page.o hash_rec.o hash_reclaim.o hash_stat.o hash_upgrade.o hash_verify.o qam.o qam_auto.o qam_conv.o qam_files.o qam_method.o qam_open.o qam_rec.o qam_stat.o qam_upgrade.o qam_verify.o rep_auto.o rep_backup.o rep_elect.o rep_lease.o rep_log.o rep_method.o rep_record.o rep_region.o rep_stat.o rep_util.o rep_verify.o os_addrinfo.o repmgr_auto.o repmgr_elect.o repmgr_method.o repmgr_msg.o repmgr_net.o repmgr_posix.o repmgr_queue.o repmgr_sel.o repmgr_stat.o repmgr_util.o db_ovfl_vrfy.o db_vrfy.o db_vrfyutil.o bt_verify.o lock.o lock_deadlock.o lock_failchk.o lock_id.o lock_list.o lock_method.o lock_region.o lock_stat.o lock_timer.o lock_util.o mut_alloc.o mut_failchk.o mut_method.o mut_region.o mut_stat.o aes_method.o crypto.o mt19937db.o rijndael-alg-fst.o rijndael-api-fst.o crdel_auto.o crdel_rec.o db.o db_am.o db_auto.o db_byteorder.o db_cam.o db_cds.o db_compint.o db_conv.o db_dispatch.o db_dup.o db_err.o db_getlong.o db_idspace.o db_iface.o db_join.o db_log2.o db_meta.o db_method.o db_open.o db_overflow.o db_pr.o db_rec.o db_reclaim.o db_remove.o db_rename.o db_ret.o db_setid.o db_setlsn.o db_shash.o db_sort_multiple.o db_stati.o db_truncate.o db_upg.o db_upg_opd.o dbm.o dbreg.o dbreg_auto.o dbreg_rec.o dbreg_stat.o dbreg_util.o dbt.o env_alloc.o env_config.o env_failchk.o env_file.o env_globals.o env_method.o env_name.o env_open.o env_recover.o env_region.o env_register.o env_sig.o env_stat.o fileops_auto.o fop_basic.o fop_rec.o fop_util.o hash_func.o hmac.o hsearch.o log.o log_archive.o log_compare.o log_debug.o log_get.o log_method.o log_put.o log_stat.o mkpath.o mp_alloc.o mp_bh.o mp_fget.o mp_fmethod.o mp_fopen.o mp_fput.o mp_fset.o mp_method.o mp_mvcc.o mp_region.o mp_register.o mp_resize.o mp_stat.o mp_sync.o mp_trickle.o openflags.o os_abort.o os_abs.o os_alloc.o os_clock.o os_cpu.o os_ctime.o os_config.o os_dir.o os_errno.o os_fid.o os_flock.o os_fsync.o os_getenv.o os_handle.o os_map.o os_method.o os_mkdir.o os_open.o os_pid.o os_rename.o os_root.o os_rpath.o os_rw.o os_seek.o os_stack.o os_stat.o os_tmpdir.o os_truncate.o os_uid.o os_unlink.o os_yield.o partition.o seq_stat.o sequence.o sha1.o snprintf.o txn.o txn_auto.o txn_chkpt.o txn_failchk.o txn_method.o txn_rec.o txn_recover.o txn_region.o txn_stat.o txn_util.o zerofill.o
:info:build libtool: link: ranlib .libs/libdb-4.8.a
:info:build libtool: link: ( cd ".libs" && rm -f "libdb-4.8.la" && ln -s "../libdb-4.8.la" "libdb-4.8.la" )
:info:build rm -f libdb.a
:info:build ln -s .libs/libdb-4.8.a libdb.a
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build Failed to build db48: command execution failed
:debug:build Error code: CHILDSTATUS 46056 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/main.log for details.

Change History (13)

comment:1 Changed 2 days ago by jcobleigh

Description: modified (diff)

comment:2 Changed 2 days ago by jmroot (Joshua Root)

Does /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk actually not exist?

comment:3 in reply to:  2 Changed 2 days ago by ATL-Flaneur (Andreas Yankopolus)

Replying to jmroot:

Does /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk actually not exist?

For me, not after doing sudo rm -r /Library/Developer/CommandLineTools to get past the error in #70750.

Last edited 44 hours ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 44 hours ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added

Please attach the main.log file.

comment:5 Changed 40 hours ago by slewsys (Andrew L. Moore)

I'm not able to repeat this on Sequoia with Xcode upgraded to 16. I had to upgrade command-line tools as well:

sudo softwareupdate -i "Command Line Tools for Xcode-16.0"

comment:6 Changed 35 hours ago by bdmckay

I have the same problem in a fresh install of Macports, Xcode-16.0, and the command-line tools, after installing Sequoia.

comment:7 Changed 34 hours ago by ATL-Flaneur (Andreas Yankopolus)

Cc: ATL-Flaneur added

comment:8 Changed 34 hours ago by ryandesign (Ryan Carsten Schmidt)

Cc: bdmckay added

Someone who experiences this error with this port after having removed the command line tools and after having cleaned the port should attach the main.log file so that we can investigate.

comment:9 Changed 34 hours ago by jmroot (Joshua Root)

Owner: set to jmroot
Status: newassigned

comment:10 in reply to:  4 ; Changed 34 hours ago by ATL-Flaneur (Andreas Yankopolus)

Replying to ryandesign:

Please attach the main.log file.

This morning I followed the Uninstall MacPorts instructions and started over fresh, installing MacPorts from MacPorts-2.10.1.tar.gz. MacOS Software Update installed an update to the command-line tools, and I renamed the directory to keep it offline.

sudo port install db48 ran and installed fine after that.

We'll see how it goes with other ports.

comment:11 in reply to:  6 Changed 34 hours ago by ryandesign (Ryan Carsten Schmidt)

Replying to bdmckay:

I have the same problem in a fresh install of Macports, Xcode-16.0, and the command-line tools, after installing Sequoia.

We already know that the command line tools are faulty on Sequoia and will cause missing header errors. That's being tracked in #70750. This ticket is about that problem allegedly persisting with db48 after having removed the command line tools and cleaning the port.

comment:12 in reply to:  10 Changed 33 hours ago by bdmckay

Replying to ATL-Flaneur:

Replying to ryandesign:

Please attach the main.log file.

This morning I followed the Uninstall MacPorts instructions and started over fresh, installing MacPorts from MacPorts-2.10.1.tar.gz. MacOS Software Update installed an update to the command-line tools, and I renamed the directory to keep it offline.

sudo port install db48 ran and installed fine after that.

We'll see how it goes with other ports.

After moving /Library/Developer/CommandLineTools aside it worked if I remembered to clean it before trying the install again. I forgot that step before. So for me it is just #70750 in operation.

comment:13 Changed 33 hours ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

OK, I'l close this as a duplicate then.

Note: See TracTickets for help on using tickets.