Comments (11)
Hello,
I have quickly tested the different versions for linux/amd64 on CentOS 7.
We definitively have the issue reported by @max-k as from version 1.11.
But build and tests pass with all go version of the 1.10 branch, including 1.10.5 released last Friday.
Thanks to the good work of @Yamilquery , we know that the problem (that is not related to the first one) comes from the notify
TP library from rjeczalik and his specific to the latest version of MacOS.
We will have a closer look and give feedback.
from cells.
Hello @max-k thanks for this! we're on it, probably a lib to update in vendor
from cells.
Yes. It also can not be built using version 1.11.2
and even also with go version go1.10.5 darwin/amd64
in Mac OS X
go build\
-tags dev\
-ldflags "-X github.com/pydio/cells/common.version=0.2.0\
-X github.com/pydio/cells/common.BuildStamp=2018-01-01T00:00:00\
-X github.com/pydio/cells/common.BuildRevision=dev"\
-o cells\
.
# github.com/pydio/cells/vendor/github.com/rjeczalik/notify
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:51:216: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:165:47: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCStringNoCopy
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:166:225: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
make: *** [dev] Error 2
from cells.
In this Issue they suggest me to execute the following command to convert nil
to 0
:
go tool fix -r cftype ./
However it doesn't work for me.
After execute the above code I'm still getting the same error:
➜ cells git:(master) go tool fix -r cftype ./
warning: no cgo types: exit status 1
warning: no cgo types: exit status 1
warning: no cgo types: exit status 1
warning: no cgo types: exit status 1
➜ cells git:(master) go test
# github.com/pydio/cells/vendor/github.com/rjeczalik/notify
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:51:216: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:165:47: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCStringNoCopy
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:166:225: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
➜ cells git:(master)
from cells.
@bsinou can you check this ticket please?
from cells.
@max-k @bsinou are there any updates about how to fix this issue on Mac OS X Mojave?
We've encountered the same issue in etheriumproject/go-etherium
and go tool fix -r cftype
does not work either.
from cells.
hi guys
1/ notify issue is fixed in the master branch => build for 1.10.5
2/ The 1.11 issue is different (github.com/pydio/cells/vendor/golang.org/x/crypto/blake2b.supportsAVX2: relocation target runtime.support_avx2 not defined)
I did not check where it comes from yet
charles
from cells.
and for notify => we had to update the notify lib in the vendor folder.
from cells.
Hi,
I think you only have to update these dependencies:
- x/sys/cpu
- x/crypto/blake2b
They seem unused in your code, so perhaps you could simply remove them.
from cells.
Actually I just retested : the master branch does build on 1.11 since we updated the minio-srv inside vendor! See https://travis-ci.org/pydio/cells/jobs/457886544
These dependencies are used by underlying libs (minio)
Can you try to pull the last version from master?
from cells.
Building for Travis with go 1.11.2
from cells.
Related Issues (20)
- [4.2] Public Link for directory is broken if "enable search in minisite is turned on" HOT 7
- Pydio Cells на russian
- Error “Pydio is not defined” when run build-core command in gui.ajax folder HOT 9
- Cannot login on `dev-next` docker image
- Error when Install via Helm HOT 2
- Charset / utf8mb4 related trouble running cells configure
- Password change fails when forcing MFA at the same time HOT 1
- Enhancement: language support for collabaro (editor libreoffice) HOT 1
- docker image: variable for database location and database passord
- cannot install (cells.exe configure) HOT 2
- Docs for k8s installs HOT 12
- writing files to webdav share / mountpoint of public links creates empty files (locking enabled)
- Remember me feature is not available
- WebDAV directory listing is too slow HOT 5
- docker image does not recognise timezone appropriately HOT 2
- Policy applied on shared cell is also affecting own cell HOT 1
- Web Interface Menu point of return to main page from cells console are missed if turn off home section HOT 2
- The circle that allows the user to navigate through an audio file during preview disappear HOT 4
- Impossible to make Pydio work with collabora online HOT 2
- Typo? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cells.