Package Details: php-yaml 2.2.3-1

Git Clone URL: https://aur.archlinux.org/php-yaml.git (read-only, click to copy)
Package Base: php-yaml
Description: Support for YAML 1.1 (YAML Ain't Markup Language) serialization using the LibYAML library.
Upstream URL: http://bd808.com/pecl-file_formats-yaml/
Licenses: MIT
Submitter: mtorromeo
Maintainer: mtorromeo
Last Packager: mtorromeo
Votes: 4
Popularity: 0.000000
First Submitted: 2011-05-24 14:36 (UTC)
Last Updated: 2023-05-06 10:10 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

ronald2wing commented on 2024-07-17 23:07 (UTC) (edited on 2024-07-17 23:08 (UTC) by ronald2wing)

It does not work with the latest Arch.

/home/bigbrother/.cache/yay/php-yaml/src/yaml-2.2.3/parse.c: In function ‘handle_sequence’:
/home/bigbrother/.cache/yay/php-yaml/src/yaml-2.2.3/parse.c:534:39: error: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]
  534 |                         zval_ptr_dtor(&retval);
      |                                       ^~~~~~~
      |                                       |
      |                                       zval ** {aka struct _zval_struct **}
In file included from /usr/include/php/Zend/zend.h:36,
                 from /usr/include/php/main/php.h:31,
                 from /home/bigbrother/.cache/yay/php-yaml/src/yaml-2.2.3/php_yaml.h:46,
                 from /home/bigbrother/.cache/yay/php-yaml/src/yaml-2.2.3/parse.c:36:
/usr/include/php/Zend/zend_variables.h:79:35: note: expected ‘zval *’ {aka ‘struct _zval_struct *’} but argument is of type ‘zval **’ {aka ‘struct _zval_struct **’}
   79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
      |                             ~~~~~~^~~~~~~~
make: *** [Makefile:214: parse.lo] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: php-yaml-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
php-yaml - exit status 4

salif commented on 2024-06-24 23:54 (UTC)

I get build error:

parse.c: In function ‘handle_sequence’:
parse.c:534:39: error: passing argument 1 of ‘zval_ptr_dtor’ from incompatible pointer type [-Wincompatible-pointer-types]

cbonnissent commented on 2018-12-11 10:15 (UTC) (edited on 2018-12-11 10:16 (UTC) by cbonnissent)

Hello, The diff to have the last version (that works with php73)

diff --git a/PKGBUILD b/PKGBUILD
index ca5211a..12d338e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=php-yaml
 _extname=yaml
-pkgver=2.0.2
+pkgver=2.0.4
 pkgrel=1
 pkgdesc="Support for YAML 1.1 (YAML Ain't Markup Language) serialization using the LibYAML library."
 arch=("i686" "x86_64")
@@ -28,4 +28,4 @@ package() {
        install -m0755 -D ".libs/$_extname.so" "$pkgdir"$(php-config --extension-dir)/$_extname.so
 }

-sha256sums=('c3afb0dad47b6c3a5b7b449f57a4938df27bf974efbe188d85c4fb998eff0039')
+sha256sums=('9786b0386e648f12cc18a038358bd57bee4906e350a2e9ab776d6a5f18fc6680')

samuvuo commented on 2013-03-18 17:46 (UTC)

Stable version 1.1.0 released on 2012-04-15: pkgver: 1.1.0 md5sum: ea5d0c37a9af65cd29fe094427971641