|
From: Richard W. <wal...@gm...> - 2019-01-31 22:47:40
|
On Thu, 31 Jan 2019 at 22:37, Hanspeter Niederstrasser
<fi...@sn...> wrote:
> I've updated mongodb to the latest 4.0.5, which builds for me on
> 10.13/Xcode9.
OK, now I get a failure during configure. Exact details below,
but it seems to be caused by the same problem,
i.e. "text-based stub file ... and library file ... are out of sync",
but during configure, the warnings are treated as a failure.
Here's the end of the fink update-all output:
...
Checking if pthread_setname_np is supported... no
Using SSL Provider: apple
Checking for curl_global_init(0) in C library curl... no
Could not find <curl/curl.h> and curl lib
See /sw/src/fink.build/mongodb-4.0.5-1/mongodb-src-r4.0.5/build/scons/config.log
for details
### execution of /tmp/fink.Ny6az failed, exit code 1
### execution of /tmp/fink.oiKxg failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-mongodb-4.0.5-1
(Reading database ... 296350 files and directories currently installed.)
Removing fink-buildlock-mongodb-4.0.5-1 ...
Failed: phase compiling: mongodb-4.0.5-1 failed
...
Also include the following system information:
Package manager version: 0.44.0
Distribution version: selfupdate-rsync Fri Feb 1 09:15:06 2019, 10.13, x86_64
Trees: local/main stable/main stable/crypto local/injected
Xcode.app: 10.1
Xcode command-line tools: 10.1.0.0.1.1539992718
Max. Fink build jobs: 4
The last bit of
/sw/src/fink.build/mongodb-4.0.5-1/mongodb-src-r4.0.5/build/scons/config.log
is as follows:
scons: Configure: Checking for curl_global_init(0) in C library curl...
build/scons/opt/sconf_temp/conftest_54.c <-
|
|
|#include "curl/curl.h"
|
|int
|main() {
| curl_global_init(0);
|return 0;
|}
|
gcc -o build/scons/opt/sconf_temp/conftest_54.o -c -std=c11 -MD
-fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall
-Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2
-Wno-unused-local-typedefs -Wno-unused-function
-Wno-unused-private-field -Wno-deprecated-declarations
-Wno-tautological-constant-out-of-range-compare
-Wno-tautological-constant-compare
-Wno-tautological-unsigned-zero-compare
-Wno-tautological-unsigned-enum-zero-compare
-Wno-unused-const-variable -Wno-missing-braces
-Wno-inconsistent-missing-override
-Wno-potentially-evaluated-expression -Wno-unused-lambda-capture
-Wno-exceptions -Wunguarded-availability -fstack-protector-strong
-fno-builtin-memcmp -DNDEBUG -I/sw/include
build/scons/opt/sconf_temp/conftest_54.c
gcc -o build/scons/opt/sconf_temp/conftest_54 -Wl,-bind_at_load
-Wl,-fatal_warnings -fstack-protector-strong -stdlib=libc++
build/scons/opt/sconf_temp/conftest_54.o -L/sw/lib -lresolv -lcurl
-framework CoreFoundation -framework Security
ld: warning: text-based stub file
/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
and library file
/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation
are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file
/System/Library/Frameworks//Security.framework/Security.tbd and
library file /System/Library/Frameworks//Security.framework/Security
are out of sync. Falling back to library file for linking.
ld: fatal warning(s) induced error (-fatal_warnings)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: Configure: no
|