[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to build RPMs

It looks like it is trying to push tags, maybe that is failing.  You may need to add -x to hack/build-rpms.sh

On May 4, 2018, at 10:30 AM, Mateus Caruccio <mateus caruccio getupcloud com> wrote:

Hi there.

I'm having a hard time trying to build RPMs for 3.7.x
What am I missing here?

[centos ~]$ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)

[centos ~]$ rpm -q tito

[centos ~]$ cd origin

[centos origin]$ git checkout -b fix-3.7 remotes/origin/release-3.7

[centos origin]$ git cherry-pick 3cb1da1445729ffb0b008dbb50c9a59ddb0b1746

[centosorigin]$ git tag v3.7.3-fix

[centosorigin]$ sudo make build-rpms
OS_ONLY_BUILD_PLATFORMS='linux/amd64' hack/build-rpm-release.sh
[INFO] [14:21:46+0000] Building Origin release RPMs with tito...
Creating output directory: /tmp/tito
Tagging new version of origin: 0.0.1 -> 3.7.3-0.fix.0.325ae5d

Created tag: v3.7.3
   View: git show HEAD
   Undo: tito tag -u
   Push: git push --follow-tags origin
Creating output directory: /tmp/openshift/build-rpm-release/tito
ERROR: Tag does not exist locally: [v3.7.3-0.fix.0.325ae5d]
[ERROR] [14:21:52+0000] PID 1619: hack/build-rpm-release.sh:35: `tito build --offline --srpm --rpmbuild-options="--define 'dist .el7'" --output="${tito_tmp_dir}"` exited with status 1.
[INFO] [14:21:52+0000] Stack Trace:
[INFO] [14:21:52+0000]   1: hack/build-rpm-release.sh:35: `tito build --offline --srpm --rpmbuild-options="--define 'dist .el7'" --output="${tito_tmp_dir}"`
[INFO] [14:21:52+0000]   Exiting with code 1.
[ERROR] [14:21:52+0000] hack/build-rpm-release.sh exited with code 1 after 00h 00m 06s
make: *** [build-rpms] Error 1

Mateus Caruccio / Master of Puppets
We make the infrastructure invisible
Gartner Cool Vendor 2017
dev mailing list
dev lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]