You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Mariusz Strzelecki (JIRA)" <ji...@apache.org> on 2015/02/18 11:56:11 UTC

[jira] [Created] (BIGTOP-1679) Deb build fails if RELEASE_VERSION is other than 1

Mariusz Strzelecki created BIGTOP-1679:
------------------------------------------

             Summary: Deb build fails if RELEASE_VERSION is other than 1
                 Key: BIGTOP-1679
                 URL: https://issues.apache.org/jira/browse/BIGTOP-1679
             Project: Bigtop
          Issue Type: Bug
            Reporter: Mariusz Strzelecki
            Priority: Minor


If you change RELEASE_VERSION in bigtop.mk to value other than "1" packaging to deb will fail, because dpkg-source uses wrong variable to build SRCDEB.

For example, after changing to "2":
{noformat}
:hive-sdeb
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package hive
dpkg-buildpackage: source version 1.0.0-2
dpkg-buildpackage: source changed by Bigtop <de...@bigtop.apache.org>
 dpkg-source --before-build hive-1.0.0
 debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b hive-1.0.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building hive using existing ./hive_1.0.0.orig.tar.gz
dpkg-source: info: building hive in hive_1.0.0-2.debian.tar.gz
dpkg-source: info: building hive in hive_1.0.0-2.dsc
 dpkg-genchanges -sa -S >../hive_1.0.0-2_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build hive-1.0.0
dpkg-buildpackage: full upload (original source is included)
:hive-deb
dpkg-source: error: cannot open hive_1.0.0-1.dsc: No such file or directory
:hive-deb FAILED

FAILURE: Build failed with an exception.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)