mosuka / blast

Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Apache License 2.0
1.08k stars 76 forks source link

mac build not up to date #22

Closed ghost closed 5 years ago

ghost commented 5 years ago

Doing the full mac build, i think it yells because the framework files were updated on the latest MacOS. I had exactly the same problem using opengl from golang also.

It does build and does run.

The source of the bug is here: https://github.com/golang/go/issues/26073

x-MacBook-Pro:blast apple$ make build
## mac with all ext
cd /Users/apple/workspace/go/src/github.com/mosuka/blast &&  GOOS=darwin \
    CGO_LDFLAGS="-L/usr/local/opt/icu4c/lib -L/usr/local/opt/rocksdb/lib -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" \
    CGO_CFLAGS="-I/usr/local/opt/icu4c/include -I/usr/local/opt/rocksdb/include" \
    CGO_ENABLED=1 \
    BUILD_TAGS="full" \
    make build
>> building binaries
   VERSION     = 0.4.0
   GOOS        = darwin
   GOARCH      = amd64
   CGO_ENABLED = 1
   CGO_CFLAGS  = -I/usr/local/opt/icu4c/include -I/usr/local/opt/rocksdb/include
   CGO_LDFLAGS = -L/usr/local/opt/icu4c/lib -L/usr/local/opt/rocksdb/lib -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd
   BUILD_TAGS  = full
./cmd/blast
# crypto/x509
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.
./cmd/blastd
# github.com/mosuka/blast/cmd/blastd
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.