[MacPorts] #70093: apr-util cannot find db48 on Sonoma with XCode 15.4

MacPorts noreply at macports.org
Tue May 28 20:31:59 UTC 2024


#70093: apr-util cannot find db48 on Sonoma with XCode 15.4
-----------------------+------------------------
  Reporter:  blair     |      Owner:  danielluke
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  apr-util  |
-----------------------+------------------------

Comment (by danielluke):

 {{{
 configure:17425: checking for Berkeley DB 4.8 in /opt/local/include and
 /opt/local/lib/db48
 configure:17427: result:
 configure:17439: checking for db48/db.h
 configure:17439: /usr/bin/clang -c -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
 x86_64 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include conftest.c >&5
 configure:17439: $? = 0
 configure:17439: result: yes
 configure:17453: checking for -ldb-4.8
 configure:17517: /usr/bin/clang -o conftest -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
 x86_64 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 -arch x86_64 -L/opt/local/lib/db48 conftest.c  -ldb-4.8 >&5
 conftest.c:23:1: error: type specifier missing, defaults to 'int'; ISO C99
 and later do not support implicit int [-Wimplicit-int]
 main ()
 ^
 int
 }}}

 The tiny change to build/dbm.m4 that you would expect fixes this, does
 indeed fix it.

 I'll get a fixed port submitted shortly (we should probably also consider
 using newer bdb, but I've been avoiding thinking about the license change
 implications post-oracle acquisition).

-- 
Ticket URL: <https://trac.macports.org/ticket/70093#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list