Re: build of db60-aes-6.0.30-2 failed

Scott Hannahs via Fink-users <[email protected]> Sat, 5 Oct 2024 14:53:35 -0400
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Oct 5, 2024, at 12:30 PM, Eduard Karel de Jong <[email protected]> wrote:
> 
> Thank you for the speedy reply, Hanspeter.
> 
> The configure output for TLS  in that build is "none".
> 
> running "fink list pthread" gives:
>      i   system-pkgconfig-pthread-stubs     0.4-1 [virtual pkgconfig package representing pthread-stubs]
> 
> In the mac OSX 14.5 SDK there exists a file usr/include/pthread/pthread.h with a link in usr/include
> 
> Is there more I need to look at?
> 
> Cheers
> Eduard
> 
> Hanspeter Niederstrasser wrote on 05/10/2024 12:51:
>> On 10/4/24 4:17 AM, Eduard Karel de Jong wrote:
>>> L.S.
>>> 
>>> The install fails when running:
>>>      libtool: compile:  g++ -c -I. -I../src -Os -I../lang/cxx/stl ../lang/cxx/stl/dbstl_container.cpp  -fno-common -DPIC -o .libs/dbstl_container.o
>>> with the following errors
>>> In file included from ../lang/cxx/stl/dbstl_container.h:12:
>>> ./dbstl_common.h:57:2: error: "No appropriate TLS modifier defined."
>>> In file included from ../lang/cxx/stl/dbstl_container.h:13:
>>> ../lang/cxx/stl/dbstl_resource_manager.h:145:2: error: "A multi-threaded build of STL for Berkeley DB requires thread local storage.  None is configured."
>>> 
>>> When running with multiple built jobs (12) I got 2 additional errors  in the same libtool invocation.
>>> 
>>> system info:
>>> Package manager version: 0.45.99.git
>>> Distribution version: selfupdate-rsync Sun Sep 22 15:38:40 2024, 13.0, x86_64
>>> Trees: local/main stable/main
>>> No recognized Xcode.app installed
>>> Xcode command-line tools: 16.0.0.0.1.1724870825
>>> Max. Fink build jobs:  1
>> 
>> In the build output, look for "checking for thread local storage (TLS) class" early on. What's the result of this search? On my 10.14 machine, I get "pthread".
>> 
>> Hanspeter

Just to chime in, I have the same error:
checking whether the C++ compiler supports templates for STL... yes
checking whether C++ supports the wstring class... checking for thread local storage (TLS) class... none
checking whether stat file-mode macros are broken... no

But this is with the newer Xcode and I hadn’t updated my Command Line tools yet:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Sat Oct  5 13:24:50 2024, 13.0, x86_64
Trees: local/injected local/main stable/main
Xcode.app: 16.0
Xcode command-line tools: 15.3.0.0.1.1708646388
Max. Fink build jobs:  1

-Scott

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users