Comments (7)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/74589666.
from loggregator-release.
@zhongcy we were able to build loggregator successfully by setting our GOPATH to the loggregator main directory. What did you have GOPATH set to when you tried your build?
@DanLavine and @dliebreich
CF Community Pair
from loggregator-release.
@dliebreich I set the GOPATH to the loggregator main directory, and exe the shell in $GOPATH/bin/build.
In the beginning, build fail because that there are some package can't find, so I [go get] it. But at last, the build is also fail with the info:
loggregator/sinks/websocket
loggregator/store
../src/loggregator/store/app_service_store_watcher.go:77: cannot use event.Node (type *storeadapter.StoreNode) as type storeadapter.StoreNode in argument to appServiceFromStoreNode
../src/loggregator/store/app_service_store_watcher.go:79: cannot use event.Node (type *storeadapter.StoreNode) as type storeadapter.StoreNode in argument to w.deleteEvent
../src/loggregator/store/app_service_store_watcher.go:81: cannot use event.Node (type *storeadapter.StoreNode) as type storeadapter.StoreNode in argument to w.deleteEvent
github.com/cloudfoundry/loggregatorlib/server
from loggregator-release.
@dliebreich loggregator build success after I modify the code in /src/loggregator/store/app_service_store_watcher.go:
w.Add(appServiceFromStoreNode(event.Node)) => w.Add(appServiceFromStoreNode(_event.Node))
w.deleteEvent(event.Node) => w.deleteEvent(_event.Node)
w.deleteEvent(event.Node) => w.deleteEvent(*event.Node)
and my go version is : go1.3 linux/amd64
from loggregator-release.
@zhongcy We are wondering why the build succeeds in our build environment and fails in your build environment - what could be different?
- What is the SHA of the checked-out loggregator repository and all of its submodules?
- What is your exact GOPATH? (We had an issue where there was an incompatible version of github.com/cloudfoundry/storeadapter somewhere else in the GOPATH)
- If you go to a new directory, check out the latest code on the master branch, do a
git submodule update --init
,go get
the other required packages, and try to build, does it still fail?
@DanLavine and @dliebreich
CF Community Pair
from loggregator-release.
@zhongcy Is this still an issue? We'll assume all is well and we will close this issue in 3 days if we don't hear otherwise.
Cheers,
@krishicks && @drich10
CF Community Pair
from loggregator-release.
@drich10
@DanLavine
@dliebreich
Fially, I checked out the new version of the codes , the code in /src/loggregator/store/app_service_store_watcher.go is changed like :w.deleteEvent(event.Node) => w.deleteEvent(*event.Node), so It built success.
So you can close this issue.
from loggregator-release.
Related Issues (20)
- Trafficcontroller keeps connections open after slow consumers events HOT 2
- how to get rlp certs from another deployment? HOT 3
- doppler.outgoing_port is unused HOT 2
- Intel permission to use Intel confidential data in the Arch dependency HOT 6
- Port vulnerabilities detected HOT 5
- update loggregator-release to include prometheus 2.12.0 HOT 12
- too much dns request on cf-deployment , via loggregator 106.x HOT 19
- RLP Gateway keeps sending data to dropped connections HOT 3
- Traffic Controller emits a large number of unneeded DNS queries HOT 1
- RLP won't shut down sometimes HOT 2
- log-api memory consumption HOT 12
- Consuming logs via the V2 Firehose will show reduced performance HOT 1
- Logs should be sent in a highly available manner that is evenly spread across Dopplers HOT 2
- Bionic stemcell: "killall" behaves differently HOT 8
- The test script is outdated HOT 1
- throughputlb is deprecated HOT 2
- Branch matching in github actions isn't working HOT 3
- Feature Proposal support OpenTelemetry on syslog drains HOT 5
- Module still redirects to archived `loggregator` repo
- Bump ginkgo to v2
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 loggregator-release.