{"action":"opened","issue":{"url":"https://api.github.com/repos/containers/buildah/issues/2051","repository_url":"https://api.github.com/repos/containers/buildah","labels_url":"https://api.github.com/repos/containers/buildah/issues/2051/labels{/name}","comments_url":"https://api.github.com/repos/containers/buildah/issues/2051/comments","events_url":"https://api.github.com/repos/containers/buildah/issues/2051/events","html_url":"https://github.com/containers/buildah/issues/2051","id":542778782,"node_id":"MDU6SXNzdWU1NDI3Nzg3ODI=","number":2051,"title":"buildah.spec file in contrib no longer builds cleanly","user":{"login":"pixdrift","id":12966049,"node_id":"MDQ6VXNlcjEyOTY2MDQ5","avatar_url":"https://avatars2.githubusercontent.com/u/12966049?v=4","gravatar_id":"","url":"https://api.github.com/users/pixdrift","html_url":"https://github.com/pixdrift","followers_url":"https://api.github.com/users/pixdrift/followers","following_url":"https://api.github.com/users/pixdrift/following{/other_user}","gists_url":"https://api.github.com/users/pixdrift/gists{/gist_id}","starred_url":"https://api.github.com/users/pixdrift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixdrift/subscriptions","organizations_url":"https://api.github.com/users/pixdrift/orgs","repos_url":"https://api.github.com/users/pixdrift/repos","events_url":"https://api.github.com/users/pixdrift/events{/privacy}","received_events_url":"https://api.github.com/users/pixdrift/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-27T07:25:36Z","updated_at":"2019-12-27T07:25:36Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Description**\r\n`rpmbuild` using the buildah.spec in `contrib` from latest release `v1.12.0` `(6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9)`  no longer builds cleanly, due to what looks like an issue with dependencies from CNI.\r\n\r\nThere are also some issues with the changelog formatting (should not contain commas) and the date of one of the entries (shown as warning below). Once these items are cleaned up in the spec, the following error is the result.\r\n\r\n**Steps to reproduce the issue:**\r\n1. `yum-builddep -y buildah.spec`\r\n2. `rpmbuild -ba buildah.spec`\r\n\r\n\r\n**Describe the results you received:**\r\nFollowing build failure:\r\n```\r\n+ rpmbuild -ba /root/rpmbuild/SPECS/buildah.spec\r\nwarning: bogus date in %changelog: Tue Mar 28 2019 Tom Sweeney <tsweeney@redhat.com> 1.7.2-1\r\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.A3LqlU\r\n+ umask 022\r\n+ cd /root/rpmbuild/BUILD\r\n+ cd /root/rpmbuild/BUILD\r\n+ rm -rf buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9\r\n+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/buildah-6cc4656.tar.gz\r\n+ /usr/bin/tar -xf -\r\n+ STATUS=0\r\n+ '[' 0 -ne 0 ']'\r\n+ cd buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9\r\n+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .\r\n+ /usr/bin/git init -q\r\n+ /usr/bin/git config user.name rpm-build\r\n+ /usr/bin/git config user.email '<rpm-build>'\r\n+ /usr/bin/git add .\r\n+ /usr/bin/git commit -q -a --author 'rpm-build <rpm-build>' -m 'buildah-1.12.0 base'\r\n+ exit 0\r\nExecuting(%build): /bin/sh -e /var/tmp/rpm-tmp.0rdfl3\r\n+ umask 022\r\n+ cd /root/rpmbuild/BUILD\r\n+ cd buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9\r\n+ mkdir _build\r\n+ pushd _build\r\n~/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9/_build ~/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9\r\n+ mkdir -p src/github.com/containers\r\n++ dirs +1 -l\r\n+ ln -s /root/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9 src/github.com/containers/buildah\r\n+ popd\r\n~/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9\r\n+ mv vendor src\r\n++ pwd\r\n++ pwd\r\n+ export GOPATH=/root/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9/_build:/root/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9:/usr/share/gocode\r\n+ GOPATH=/root/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9/_build:/root/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9:/usr/share/gocode\r\n+ make all GIT_COMMIT=6cc4656\r\nGO111MODULE=on go build -mod=vendor -ldflags '-X main.GitCommit=6cc4656 -X main.buildInfo=1577404348 -X main.cniVersion=v0.7.1'  -o buildah -tags \"seccomp selinux    \" ./cmd/buildah\r\nbuild github.com/containernetworking/cni/pkg/version: cannot load github.com/containernetworking/cni/pkg/version: open /root/rpmbuild/BUILD/buildah-6cc46567d1c7011bc99ac99ecc6239f2d3df0aa9/vendor/github.com/containernetworking/cni/pkg/version: no such file or directory\r\nmake: *** [binary] Error 1\r\nerror: Bad exit status from /var/tmp/rpm-tmp.0rdfl3 (%build)\r\n\r\n\r\nRPM build errors:\r\n    bogus date in %changelog: Tue Mar 28 2019 Tom Sweeney <tsweeney@redhat.com> 1.7.2-1\r\n    Bad exit status from /var/tmp/rpm-tmp.0rdfl3 (%build)\r\n```\r\n\r\n**Describe the results you expected:**\r\nClean `rpmbuild` with resulting rpm binary file.\r\n"}}
{"actor":{"display_login":"pixdrift"}}