Package: libdfp
Version: 1.0.13-2
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Hi Frédéric,

In libdfp 1.0.13-2 you've ported the package to use python3 by default
instead of python (thanks!), but you do not have a build-dependency on
python3.  Therefore the package fails to build:

[...]
   dh_auto_test -a
        make -j8 check VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
[...]
/usr/bin/env: 'python3': No such file or directory
make[1]: *** [Makefile:388: libdfp-test-ulps.h] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j8 check VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: build-arch] Error 2
[...]

  
(https://buildd.debian.org/status/fetch.php?pkg=libdfp&arch=ppc64el&ver=1.0.13-2&stamp=1548954631&raw=0)

This is fixable by adding python3 to the Build-Depends, since python3 is not
guaranteed to be installed in the build environment by default.  See
attached patch.

Even after fixing this bug however, the package still fails to build in
Ubuntu with the following error:

[...]
LC_ALL=C gawk -f scripts/localplt.awk libdfp.so.jmprel | \
  LC_ALL=C gawk -f scripts/check-localplt.awk ./sysdeps/generic/localplt.data - 
\
  > check-localplt.out
make[1]: *** [Makefile:445: check-localplt.out] Error 1
make[1]: *** Waiting for unfinished jobs....
[...]

  (https://launchpad.net/ubuntu/+source/libdfp/1.0.13-2ubuntu1)

I haven't investigated any further.

Hope that helps,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru libdfp-1.0.13/debian/control libdfp-1.0.13/debian/control
--- libdfp-1.0.13/debian/control        2019-01-31 07:40:39.000000000 -0800
+++ libdfp-1.0.13/debian/control        2019-02-01 10:32:24.000000000 -0800
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Frédéric Bonnard <fre...@debian.org>
 Uploaders: Matthias Klose <d...@ubuntu.com>, Dimitri John Ledkov 
<x...@ubuntu.com>
-Build-Depends: debhelper (>= 11~), gawk
+Build-Depends: debhelper (>= 11~), gawk, python3
 Standards-Version: 4.3.0
 Homepage: https://github.com/libdfp/libdfp
 Vcs-Git: https://salsa.debian.org/debian/libdfp.git

Reply via email to