Source: libserial Version: 1.0.0-5 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
libserial still cannot be cross built from source, so I looked more thoroughly. It turns out that simply dropping python3-sip-dev makes libserial FTBFS. Bummer. However, the python bindings are not actually shipped in any binary package. It can be dropped when also passing --without-python3 to ./configure. Since libserial is normally reproducible, we can see that the resulting .debs are bit-identical to those built with python3-sip-dev on amd64. Please consider applying this patch as well. Of course when libserial packages the python bindings, it needs to revert this patch. In that case, please support the nopython build profile. Helmut
diff --minimal -Nru libserial-1.0.0/debian/changelog libserial-1.0.0/debian/changelog --- libserial-1.0.0/debian/changelog 2021-02-08 21:30:32.000000000 +0100 +++ libserial-1.0.0/debian/changelog 2021-03-08 12:25:15.000000000 +0100 @@ -1,3 +1,10 @@ +libserial (1.0.0-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Drop unused python3-sip-dev dependency. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 08 Mar 2021 12:25:15 +0100 + libserial (1.0.0-5) unstable; urgency=medium [ Helmut Grohne ] diff --minimal -Nru libserial-1.0.0/debian/control libserial-1.0.0/debian/control --- libserial-1.0.0/debian/control 2021-02-08 21:30:00.000000000 +0100 +++ libserial-1.0.0/debian/control 2021-03-08 12:25:15.000000000 +0100 @@ -7,7 +7,6 @@ Build-Depends: debhelper-compat (= 12), libgtest-dev, libboost-test-dev, - python3-sip-dev, Build-Depends-Indep: python3-sphinx, python3-sphinx-rtd-theme, Standards-Version: 4.5.0 diff --minimal -Nru libserial-1.0.0/debian/rules libserial-1.0.0/debian/rules --- libserial-1.0.0/debian/rules 2020-03-11 10:19:15.000000000 +0100 +++ libserial-1.0.0/debian/rules 2021-03-08 12:25:15.000000000 +0100 @@ -8,6 +8,9 @@ rm -rf debian/doctrees rm -rf docs/build/html docs/build/man +override_dh_auto_configure: + dh_auto_configure -- --without-python3 + override_dh_auto_build-indep: PYTHONPATH=. sphinx-build -bman docs/user_manual/ -d debian/doctrees docs/build/man PYTHONPATH=. sphinx-build -bhtml docs/user_manual/ -d debian/doctrees docs/build/html