You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Yuqi Gu (Jira)" <ji...@apache.org> on 2022/12/06 16:06:00 UTC

[jira] [Created] (BIGTOP-3891) Fix build issues of Spark in Debian11/Ubuntu22 packaging

Yuqi Gu created BIGTOP-3891:
-------------------------------

             Summary: Fix build issues of Spark  in Debian11/Ubuntu22 packaging 
                 Key: BIGTOP-3891
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3891
             Project: Bigtop
          Issue Type: Sub-task
            Reporter: Yuqi Gu
            Assignee: Yuqi Gu


The Spark debian build would fail on Debian11 and Ubuntu22.04 at very beginning of the build process:


{code:java}
> Task :spark-sdeb
dpkg-buildpackage: info: source package spark
dpkg-buildpackage: info: source version 3.2.3-1
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Bigtop <de...@bigtop.apache.org>
dpkg-buildpackage: warning: debian/rules is not executable; fixing that
 dpkg-source --before-build .
dpkg-source: error: source package has two conflicting values - spark-core and spark
dpkg-buildpackage: error: dpkg-source --before-build . subprocess returned exit status 25

> Task :spark-sdeb FAILED

FAILURE: Build failed with an exception.
{code}


The root cause: 
From the latest [Debian packaging policies 4.6.1|https://www.debian.org/doc/debian-policy/ch-source.html]:
 The package name in debian/changelog is autogenerated from the bigtop package name (spark).
But 'spark-core' was named  in debian/control which caused the conflict. 




--
This message was sent by Atlassian Jira
(v8.20.10#820010)