niel / php-yenc

Basic implementation of yEnc specification for in memory encoding/decoding.
5 stars 6 forks source link

Version for ondrej's PHP #3

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi @niel,

dpkg -I php7.0-yenc_1.2.2_amd64.deb
 new debian package, version 2.0.
 size 37608 bytes: control archive=886 bytes.
      73 bytes,     2 lines      conffiles
     284 bytes,    12 lines      control
     206 bytes,     3 lines      md5sums
     584 bytes,    18 lines   *  postinst             #!/usr/bin/env
 Package: php7.0-yenc
 Version: 1.2.2
 License: unknown
 Vendor: niel@minty
 Architecture: amd64
 Maintainer: <niel@minty>
 Installed-Size: 79
 Depends: php (>> 7.0)
 Section: default
 Priority: extra
 Homepage: https://github.com/niel/php-yenc
 Description: php-yenc extension build for PHP 7.0

Spoke to ondrej last night. He says for this package to properly work with php-yenc it needs to depend on the package php7.0 and not on the package php with a version > 7.0.

Could you compile a .deb which depends on php7.0? :-)

niel commented 7 years ago

I'll try, but it will not be 1.2.x as the next version will be 1.3. I'll make sure the latest beta is done with 7.0?

Cazpie commented 7 years ago

Hi Neil

I get the following error trying to install

`dpkg -i php7.0-yenc_1.2.2_amd64.deb Selecting previously unselected package php7.0-yenc. (Reading database ... 104311 files and directories currently installed.) Preparing to unpack php7.0-yenc_1.2.2_amd64.deb ... Unpacking php7.0-yenc (1.2.2) ... dpkg: dependency problems prevent configuration of php7.0-yenc: php7.0-yenc depends on php (>> 7.0); however: Package php is not installed. Version of php on system, provided by php7.0:all, is .

dpkg: error processing package php7.0-yenc (--install): dependency problems - leaving unconfigured Processing triggers for php7.0-cli (7.0.15-1+deb.sury.org~xenial+1) ... Errors were encountered while processing: php7.0-yenc ` My PHP version:

PHP 7.0.15-1+deb.sury.org~xenial+1 (cli) (built: Jan 20 2017 08:53:13) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.15-1+deb.sury.org~xenial+1, Copyright (c) 1999-2017, by Zend Technologies

I think this is the same problem as above ?

niel commented 7 years ago

I'll be releasing v1.3 soon, it should have this problem solved (I hope).