Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
1.8.1
-
Security Level: Public
-
None
-
CentOS 5.4 64-bit with custom toolchain.
Description
The removal of the "g" from the RPM version wasn't quite complete, as the dist-rpm depends on the dist target, which generates a tarball with the g in the name of the tarball and in the structure of the tarball.
I made a cursory attempt at fixing it, but it's harder to unwind. It seems we'd have to make the change at the version.m4 creation time to be clean about it.
The change was originally made in http://review.couchbase.org/#change,12213
$ make dist-rpm
{ test ! -d "libvbucket-1.8.1r_8_g279edb6" || { find "libvbucket-1.8.1r_8_g279edb6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvbucket-1.8.1r_8_g279edb6"; }; }
test -d "libvbucket-1.8.1r_8_g279edb6" || mkdir "libvbucket-1.8.1r_8_g279edb6"
test -n "" \
find "libvbucket-1.8.1r_8_g279edb6" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/config/install-sh -c -m a+r {} {} \; \ |
||
---|---|---|
chmod -R a+r "libvbucket-1.8.1r_8_g279edb6" tardir=libvbucket-1.8.1r_8_g279edb6 && /bin/sh /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/config/missing --run tar chof - "$tardir" |
GZIP=--best gzip -c >libvbucket-1.8.1r_8_g279edb6.tar.gz { test ! -d "libvbucket-1.8.1r_8_g279edb6" |
{ find "libvbucket-1.8.1r_8_g279edb6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvbucket-1.8.1r_8_g279edb6"; }; } rm -rf /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build mkdir -p /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild mkdir /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild/SOURCES mkdir /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild/BUILD mkdir /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild/RPMS mkdir /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild/SRPMS cp libvbucket-1.8.1r_8_g279edb6.tar.gz /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild/SOURCES/libvbucket-8_279edb6.tar.gz sed 's/@VERSION@/1.8.1r/g;s/@RELEASE@/8_279edb6/g' < packaging/rpm/libvbucket.spec.in > /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/libvbucket.spec (cd /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build; rpmbuild -ba libvbucket.spec) error: File /home/jenkins/workspace/libvbucket/label/centos-x64-sdk-builder-3.couchbaseqe.com/build/rpmbuild/SOURCES/libvbucket-1.8.1r_8_279edb6.tar.gz: No such file or directory make: *** [dist-rpm] Error 1 |