[pkg-php-pear] Bug#838786: debpear: error 'cp: target ‘yaml-1.2.0.orig.tar.gz’ is not a directory'

rohieb at bogomir.stratum0.org rohieb at bogomir.stratum0.org
Sat Sep 24 20:21:02 UTC 2016


Package: debpear
Version: 0.4
Severity: normal

Dear Maintainer,

I tried installing php-yaml from PECL, but the script errored out with the error
message given above.  I'm lost and I don't know (yet) what to do.

Here is what happens when I run the script with set -x:

-------------------------------------- 8< --------------------------------------
$ debpear -c pecl yaml
+ PHPPKGINFO=/usr/share/pkg-php-tools/scripts/phppkginfo
+ DO_INSTALL=no
+ PEAR_CHANNEL=pear.php.net
+ BUILD_DIR=./build-area
+ VERBOSE=no
+ [ -z pecl ]
+ grep -w ^pecl.txt
+ cut -d/ -f7
+ grep .alias/
+ dpkg -L pear-channels
+ [ -z  -a pecl != pecl -a pecl != pear ]
+ PEAR_CHANNEL=pecl
+ shift
+ shift
+ [ 1 != 1 ]
+ PEAR_PKG_NAME=yaml
+ [ -z yaml ]
+ echoIfVerbose debpear ===> Preparing build area in ./build-area
+ [ no = yes ]
+ /usr/share/pkg-php-tools/scripts/phppkginfo debian_pkgname pecl yaml
+ DEB_PKG_NAME=php-yaml
+ [ -d ./build-area ]
+ [ -n  ]
+ cd ./build-area
+ [ -z  ]
+ [ -z pecl ]
+ pear download pecl/yaml
downloading yaml-1.2.0.tgz ...
Starting to download yaml-1.2.0.tgz (38,606 bytes)
..........done: 38,606 bytes
File /home/rohieb/php-yaml-2.0.0~rc8+1.3.0~b1/build-area/yaml-1.2.0.tgz downloaded
+ grep yaml
+ ls
+ DOWNLOADED_PEAR_PKG=php-yaml-1.2.0
php-yaml_1.2.0.orig.tar.gz
yaml-1.2.0.tgz
+ awk {printf length($0)}
+ echo php-yaml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.tgz
+ FILENAME_LEN=56
+ awk {printf length($0)}
+ echo yaml
+ PEAR_PKG_NAME_LEN=4
+ VERSION_START=6
+ VERSION_LEN=47
+ awk {printf substr($0,6,47)}
+ echo php-yaml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.tgz
+ VERSION_STRING=aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0
+ DEB_SRC_FOLDER=php-yaml-aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0
+ DEB_PKG_RESULT=php-yaml_aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0-1_all.deb
+ DEB_BIN_PKG_NAME=php-yaml
+ cp php-yaml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.tgz php-yaml_aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.orig.tar.gz
cp: target ‘yaml-1.2.0.orig.tar.gz’ is not a directory

-------------------------------------- >8 --------------------------------------


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debpear depends on:
ii  build-essential  11.7
ii  devscripts       2.15.3+deb8u1
ii  fakeroot         1.20.2-1
ii  pear-channels    0~20141011-1
ii  php-pear         5.6.24+dfsg-0+deb8u1
ii  pkg-php-tools    1.28

debpear recommends no packages.

debpear suggests no packages.

-- no debconf information



More information about the pkg-php-pear mailing list