Hi Experts, Please help with the issue , it's been months of trying to run ann import origin locally.
On Mon, Nov 4, 2019 at 6:40 PM Digvijay Singh <digsi...@redhat.com> wrote: > Hi Experts, > > I was trying to import and build openshift origin project (master branch) > from github on my IDE(GoLand) and followed the steps written on - > https://github.com/openshift/origin/blob/master/CONTRIBUTING.adoc. > > (O.S used mac os) > > Step 1:- Cloned repository- https://github.com/openshift/origin.git > Step 2:- Downloaded go 1.9 and Docker CE 17.09.1 and did the setup > step3: imported origin to Goland > Step 4:-Tried to run command- hack/env hack/build-base-images.sh > > After Step 4:- > > I was not able to build it locally and getting the below error- > > /usr/local/go/pkg/tool/linux_amd64/link: signal: killed > [ERROR] hack/lib/build/binaries.sh:224: `GOOS=${platform%/*} > GOARCH=${platform##*/} go install -tags "${OS_GOFLAGS_TAGS-} > ${!platform_gotags_envvar:-}" -ldflags="${local_ldflags}" > "${goflags[@]:+${goflags[@]}}" -gcflags "${gogcflags}" "${nonstatics[@]}"` > exited with status 1. > [ERROR] hack/lib/build/binaries.sh:138: `local -a binaries=("$@")` exited > with status 1. > make[1]: *** [build-cross] Error 1 > make[1]: Leaving directory > `/tmp/openshift/build-rpms/rpm/BUILD/openshift-4.1.0' > error: Bad exit status from /var/tmp/rpm-tmp.sozRbd (%build) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.sozRbd (%build) > [ERROR] hack/build-rpms.sh:80: `rpmbuild -b${srpm} "${OS_RPM_SPECFILE}" > --define "skip_dist ${SKIP_DIST:-1}" --define "make_redistributable > ${make_redistributable}" --define "version ${OS_RPM_VERSION}" --define > "release ${OS_RPM_RELEASE}" --define "commit ${OS_GIT_COMMIT}" --define > "os_git_vars ${OS_RPM_GIT_VARS}" --define "_topdir ${rpm_tmp_dir}"` exited > with status 1. > [ERROR] hack/build-rpms.sh exited with code 1 after 00h 13m 44s > make: *** [build-rpms] Error 1 > [WARNING] Copying _output/local/bin from the container failed! > [WARNING] Error: No such container:path: > d711eb3995eef91c16e26c88dc177b8f1b2c732155c074fdca4b800658ea6075:/go/src/ > github.com/openshift/origin/_output/local/bin > [WARNING] Copying _output/local/releases from the container failed! > [WARNING] Error: No such container:path: > d711eb3995eef91c16e26c88dc177b8f1b2c732155c074fdca4b800658ea6075:/go/src/ > github.com/openshift/origin/_output/local/releases > [ERROR] hack/lib/build/environment.sh:177: `return "${exitcode}"` exited > with status 2. > > > Please suggest and help how can i run and build locally openshift origin > project > And also I am using GoLand right now, if there is any other recommended > ide for openshift project please suggest the same. > > -- > Thanks & Regards, > > Digvijay Singh > > Associate Consultant > > Red Hat India <https://www.redhat.com/> > > digsi...@redhat.com | M: +91-9650938605 > <https://www.redhat.com/> > -- Thanks & Regards, Digvijay Singh Associate Consultant Red Hat India <https://www.redhat.com/> digsi...@redhat.com | M: +91-9650938605 <https://www.redhat.com/>
_______________________________________________ dev mailing list dev@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/dev