Kubernetes install gen_deepcopy permission denied - makefile

From a fresh clone of the repo, upon running make release I greeted with this error:
./hack/run-in-gopath.sh: line 33: _output/bin/deepcopy-gen: Permission denied
!!! Error in ./hack/run-in-gopath.sh:33
'"${#}"' exited with status 1
Call stack:
1: ./hack/run-in-gopath.sh:33 main(...)
Exiting with status 1
make: *** [Makefile.generated_files:201: gen_deepcopy] Error 1

A bunch of stuff changed with the build recently, so please first try 'sudo make clean' and if you still get errors, let me know.

Related

Requirements file didn't install

i have an error when i want to install package_name
they didn't want to install, like when i want to install a pakhage like instabot i say an error when it installing, it say you have an error like this:
error: could not create 'C:\Python311\LICENSE': Permission denied
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> huepy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
so that;s the error, and when i want to fix it i tried to install requirements.txt again but they say you have an error again again again...
that when i put:
pip install -r requirements.txt
the error say:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
can anyone plz give an advice

make: *** [Makefile:43: user_proj_example] Error 1

When I call the `make user_proj_example` command to the caravel user project in the openlane folder, I encounter such an error.
I have applied the solutions from all the sources I can find on the internet, but the problem still persists.

Jenkins GO run fails with git 128

Folks, am trying to run some go tests. Seems to be a failure with git configuration on the box?
Am running git version 1.8.3.1 before someone asks... go version 1.13.1
Builds pass for me locally on my mac and linux... but seem to fail in Jenkins
go test -v ./... -tags=unit
go: bitbucket.org/xxxxxxx/yyyyyyy#v1.0.82 requires
cloud.google.com/go/storage#v1.6.0 requires
cloud.google.com/go#v0.53.0 requires
cloud.google.com/go/bigquery#v1.3.0 requires
golang.org/x/exp#v0.0.0-20191030013958-a1ab85dbe136: invalid version: git fetch --unshallow -f https://go.googlesource.com/exp in /var/lib/jenkins/go/pkg/mod/cache/vcs/879ce674f4d9f0a3a3f207a6503e782bb2113f1a3d0c1f8049cc523b96d9aa9e: exit status 128:
fatal: git fetch-pack: expected shallow list
make[1]: *** [unit-test] Error 1
make[1]: Leaving directory `/var/lib/jenkins/workspace/xxxxxx/yyyyy'
make: *** [test] Error 2
Build step 'Execute shell' marked build as failure
[Slack Notifications] found #1 as previous completed, non-aborted build
[Slack Notifications] will send OnEveryFailureNotification because build matches and user preferences allow it
Finished: FAILURE
Solution was simple, bump up the version of git in GCP

when executing the go get command to install fabric-ca, I'm getting an error

when executing
go get -u github.com/hyperledger/fabric-ca/cmd/
from the fabric-ca guide, I get the following error:
# cd /home/pi/go/src/github.com/hyperledger/fabric-ca; git pull --ff-only
error: cannot open .git/FETCH_HEAD: Permission denied
package github.com/hyperledger/fabric-ca/cmd: exit status 1`
I tried git cloning and it downloaded everything from the fabric-ca repository, then I tried installing fabric-server and client by myself like this:
sudo make fabric-ca-server
this also produced the following error:
Building fabric-ca-server in bin directory ...
/bin/sh: 1: go: not found
Makefile:91: recipe for target 'bin/fabric-ca-server' failed
make: *** [bin/fabric-ca-server] Error 127
Looks like your GOPATH is set to /home/pi/go and appears that you do not have access to somewhere along the path to /home/pi/go/src/github.com/hyperledger/fabric-ca.
I'd check make sure that the user you are running go get with has R/W access to /home/pi/go/src

GODI installation error

I'm running Fedora 9 x86_64 and am more or less a Linux newbie (not using it, but installing and such). The error occurs in the second stage of the bootstrap (i.e. "./bootstrap_stage2").
It does a whole lot fo stuff and then these errors start happening:
Fatal error: exception Out_of_memory
make[8]: *** [odoc_html.cmo] Error 2
make[8]: Leaving directory `/home/matthew/godi/build/godi/godi-ocaml/work/ocaml/ocamldoc'
make[7]: *** [ocamldoc] Error 2
make[7]: Leaving directory `/home/matthew/godi/build/godi/godi-ocaml/work/ocaml'
Error: Exec error: File /home/matthew/godi/build/godi/godi-ocaml/./../../mk/bsd.pkg.mk, line 1039: Command returned with non-zero exit code
Error: Exec error: File /home/matthew/godi/build/godi/godi-ocaml/./../../mk/bsd.pkg.mk, line 1378: Command returned with non-zero exit code
Error: Command fails with code 1: godi_console
Failure!
I've run it monitoring my memory and can say that I definately have not run out (using about 500 and I've got 3).
So anyone know what the issue is? I've searched the net, but the only other similar thing I found was the other thread on here (but it had a different error)
Any help would be much appreciated, because last time I installed it, it worked flawlessly.
This looks like a known problem with old OCaml (<3.11) on 64-bit platforms likely triggered by heap randomization, which is enabled on Fedora. It's been fixed so far as I know in recent releases (3.11 at least, possibly 3.10.2). Up-to-date GODI running out of section 3.11 should work if this is the case.

Resources