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 <dev@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)

Reply via email to