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

How to build RPMs



Hi there.

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

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

[centos ~]$ rpm -q tito
tito-0.6.11-1.el7.noarch

[centos ~]$ git clone https://github.com/openshift/origin

[centos ~]$ cd origin

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

[centos origin]$ patch -p1 < <(curl -L https://patch-diff.githubusercontent.com/raw/openshift/origin/pull/19437.patch)

[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
OS_GIT_MINOR::7+
OS_GIT_MAJOR::3
OS_GIT_VERSION::v3.7.3-fix+325ae5d
OS_GIT_TREE_STATE::clean
OS_GIT_CATALOG_VERSION::v0.1.2
OS_GIT_COMMIT::325ae5d
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
GetupCloud.com 
We make the infrastructure invisible
Gartner Cool Vendor 2017

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