Package Details: php-yaml 2.2.4-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 (eklausmeier)
Last Packager: eklausmeier
Votes: 4
Popularity: 0.000000
First Submitted: 2011-05-24 14:36 (UTC)
Last Updated: 2024-11-08 20:13 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

eklausmeier commented on 2024-11-07 20:19 (UTC)

Building this package with the version 2.2.4 poses no problem:

Build complete.
Don't forget to run 'make test'.

==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Copying source files needed for debug symbols...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "php-yaml"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: php-yaml 2.2.4-1

Do you need a co-maintainer?

PhotonX commented on 2024-07-29 19:21 (UTC)

There is a fix for this issue at https://aur.archlinux.org/packages/gftp

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