Opened 8 weeks ago

Closed 8 weeks ago

Last modified 8 weeks ago

#69543 closed defect (fixed)

db48 @4.8.30: error: Unable to find a mutex implementation

Reported by: rbeyer (Ross Beyer) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: sonoma haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: db48

Description

I have a shiney new M3 Max system and just freshly installed MacPorts. When I try and install db48, I get a configure error, here's the relevant portion of the main.log file:

:info:configure checking for mutexes... UNIX/fcntl
:info:configure configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM.
:info:configure configure: error: Unable to find a mutex implementation
:info:configure Command failed:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix" && ../dist/configure --prefix=/opt/macports --enable-cxx --includedir=\${prefix}/include/db48 --libdir=\${prefix}/lib/db48
:info:configure Exit code: 1
:error:configure Failed to configure db48: consult /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix/config.log
:error:configure Failed to configure db48: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/main.log for details.

This happens under both Xcode 15.2 and 15.3, FWIW

Attachments (1)

db48_main.log (23.7 KB) - added by rbeyer (Ross Beyer) 8 weeks ago.
main.log file from install of db48

Download all attachments as: .zip

Change History (5)

Changed 8 weeks ago by rbeyer (Ross Beyer)

Attachment: db48_main.log added

main.log file from install of db48

comment:1 Changed 8 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Keywords: sonoma added
Owner: set to jmroot
Status: newassigned
Summary: db48 4.8.30: fails to configure on M3 macdb48 @4.8.30: error: Unable to find a mutex implementation

Due to implicit int conversion errors, which are new in Xcode 15.3.

I can update the configure patch to fix these.

comment:2 Changed 8 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

comment:3 Changed 8 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 3cf072a0b442169fcf2f13ffbbc7d836303c5b66/macports-ports (master):

db48: Fix implicit int, implicit function errors

Closes: #69543

comment:4 Changed 8 weeks ago by rbeyer (Ross Beyer)

Thanks, Ryan! This works.

Note: See TracTickets for help on using tickets.