Package Details: php-igbinary 3.0.1-1

Git Clone URL: (read-only)
Package Base: php-igbinary
Description: Igbinary is a drop in replacement for the standard php serializer.
Upstream URL:
Licenses: BSD
Conflicts: php-igbinary-git
Submitter: freitafr
Maintainer: freitafr
Last Packager: freitafr
Votes: 7
Popularity: 1.068674
First Submitted: 2018-04-06 19:36
Last Updated: 2019-03-21 08:41

Latest Comments

1 2 Next › Last »

freitafr commented on 2019-03-21 08:38

Hi @toco,

I cannot reproduce the tests failures in a clean chroot. Can you give more details? Are there customization to PHP's configuration? What is the output of php --info? Are there traces indicating what assertions failed?

toco commented on 2019-03-19 10:22

make test of fails:

PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.3.3 ZEND_VERSION: 3.3.3 Exts skipped : 0 Exts tested : 29 Number of tests : 78 74 Tests skipped : 4 ( 5.1%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 2 ( 2.6%) ( 2.7%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 72 ( 92.3%) ( 97.3%) b0rked random data test [tests/igbinary_040.phpt] Don't emit zval has unknown type 0 (IS_UNDEF) [tests/igbinary_065.phpt] make: *** [Makefile:134: test] Error 1

freitafr commented on 2018-12-21 14:02

I updated the PKGBUILD, thank you for the report.

DriverX commented on 2018-12-21 13:03

arch=('any') is wrong. This package is compiled so it requires arch=('x86_64')

freitafr commented on 2018-12-13 11:12

Can you add the option "--enable-session" to the configure command if 7.3 is installed, else the module can not be loaded.

Before to turn the option on, I would like to understand what is missing. Can you give me more details about the failure?

Using the package built without --enable-session:

$ php --info | grep 'igbinary session'
igbinary session support => yes
$ php --version
PHP 7.3.0 (cli) (built: Dec  8 2018 12:11:20) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
    with Xdebug v2.7.0beta1, Copyright (c) 2002-2018, by Derick Rethans

--enable-session is absent from configure options.

$ php-config | grep configure-options
  --configure-options [--srcdir=../php-7.3.0 --config-cache --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc/php --localstatedir=/var --with-layout=GNU --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php/conf.d --disable-rpath --mandir=/usr/share/man --without-pear --enable-cgi --enable-fpm --with-fpm-systemd --with-fpm-acl --with-fpm-user=http --with-fpm-group=http --enable-embed=shared --enable-bcmath=shared --enable-calendar=shared --enable-dba=shared --enable-exif=shared --enable-ftp=shared --enable-intl=shared --enable-mbstring --enable-shmop=shared --enable-soap=shared --enable-sockets=shared --enable-sysvmsg=shared --enable-sysvsem=shared --enable-sysvshm=shared --enable-zip=shared --with-bz2=shared --with-curl=shared --with-db4=/usr --with-enchant=shared,/usr --with-freetype-dir=/usr --with-gd=shared,/usr --with-gdbm --with-gettext=shared --with-gmp=shared --with-iconv=shared --with-imap-ssl --with-imap=shared --with-kerberos=/usr --with-ldap=shared --with-ldap-sasl --with-libzip --with-mhash --with-mysql-sock=/run/mysqld/mysqld.sock --with-mysqli=shared,mysqlnd --with-openssl --with-password-argon2 --with-pcre-regex=/usr --with-pdo-dblib=shared,/usr --with-pdo-mysql=shared,mysqlnd --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-pgsql=shared --with-pdo-sqlite=shared,/usr --with-pgsql=shared --with-pspell=shared --with-readline --with-snmp=shared --with-sodium=shared --with-sqlite3=shared,/usr --with-tidy=shared --with-unixODBC=shared,/usr --with-xmlrpc=shared --with-xsl=shared --with-zlib --enable-pcntl]

julbrygd commented on 2018-12-12 15:44

Can you add the option "--enable-session" to the configure command if 7.3 is installed, else the module can not be loaded.

freitafr commented on 2018-12-11 12:14

Hi monochromec,

Can you provide details about your upgrade procedure? After upgrading your system PHP to 7.3, did you rebuild php-igbinary?

monochromec commented on 2018-12-10 22:31

Latest update failed with warning:

PHP Warning: PHP Startup: igbinary: Unable to initialize module Module compiled with module API=20170718 PHP compiled with module API=20180731

php version is 7.3.0.

freitafr commented on 2018-08-23 09:16

Hi amdg,

Sorry for the delay. Thank you for posting your configuration, that allowed me to reproduce the failures in my environment. I have been toying with upstream igbinary, but haven't been able to understand why tests are failing in that configuration. The project maintainers will likely have more insight about the issue, I think you can try opening an issue upstream.

amdg commented on 2018-07-30 08:03

Hello freitafr,

Thank you for the feedback, the tests also fails when cloning the upstream git repository.

I have a specific configuration for the session to save them in Redis instead of files:

; Save sessions to redis
session.save_handler = redis
; Redis via TCP
;session.save_path = "tcp://"
; Redis via UNIX Socket
session.save_path = "unix:///run/redis/redis.sock"

Going back to the default configuration (same as you) fix all the tests. Should we report the issue upstream ?