[Pkg-php-pecl] Bug#887353: php-ast: FTBS when installing docs

Antoine Musso hashar at free.fr
Mon Jan 15 12:17:12 UTC 2018


Package: php-ast
Version: 0.1.5-1
Severity: important

Dear Maintainer,

cp: cannot stat 'README.md': No such file or directory
dh_installdocs: cp --reflink=auto -a README.md
debian/php-ast/usr/share/doc/php-ast returned exit code 1
/usr/share/dh-php/pkg-pecl.mk:45: recipe for target 'binary' failed

760f04d65 imported upstream version 0.1.5 which moves the files to a
subdirectory:

  README.md => ast-0.1.5/README.md

The .docs file had not been updated to reflect that.

-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable'), (90, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-ast depends on:
ii  libapache2-mod-php7.0 [phpapi-20151012]  7.0.27-0+deb9u1
ii  libc6                                    2.24-11+deb9u1
ii  php-common                               1:49
ii  php7.0-cli [phpapi-20151012]             7.0.27-0+deb9u1

php-ast recommends no packages.

php-ast suggests no packages.
-------------- next part --------------
>From 98b8df1591b44a13b37ef25e146570ddf416a27f Mon Sep 17 00:00:00 2001
From: Antoine Musso <hashar at free.fr>
Date: Mon, 15 Jan 2018 12:56:06 +0100
Subject: [PATCH 1/2] Fix FTBS when installing docs

cp: cannot stat 'README.md': No such file or directory
dh_installdocs: cp --reflink=auto -a README.md
debian/php-ast/usr/share/doc/php-ast returned exit code 1
/usr/share/dh-php/pkg-pecl.mk:45: recipe for target 'binary' failed

760f04d65 imported upstream version 0.1.5 which moves the files to a
subdirectory:

  README.md => ast-0.1.5/README.md

The .docs file had not been updated to reflect that.

Change-Id: If2eea854c79abae2e86a141584d424a586f4d72b
---
 debian/changelog    | 7 +++++++
 debian/php-ast.docs | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 63f519f..c03a42a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+php-ast (0.1.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix path to README.md which broke dh_installdocs
+
+ -- Antoine Musso <hashar at free.fr>  Mon, 15 Jan 2018 13:11:50 +0100
+
 php-ast (0.1.5-1) unstable; urgency=medium
 
   * Change debian/watch to PECL
diff --git a/debian/php-ast.docs b/debian/php-ast.docs
index b43bf86..349fa20 100644
--- a/debian/php-ast.docs
+++ b/debian/php-ast.docs
@@ -1 +1 @@
-README.md
+ast-0.1.5/README.md
-- 
2.11.0



More information about the Pkg-php-pecl mailing list