Package Details: php74-xml 7.4.33-9

Git Clone URL: https://aur.archlinux.org/php74.git (read-only, click to copy)
Package Base: php74
Description: xml modules for php74
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: tompear
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.001117
First Submitted: 2021-01-31 11:48 (UTC)
Last Updated: 2024-07-25 13:43 (UTC)

Pinned Comments

el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php74 is installed with php74-cli subpackage, php74 doesn't include it anymore!!!

  2. PEAR and PECL are available as php74-pear and php74-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php74 package anymore.

  4. No more extensions in php.ini itself! Separate INI files for each extension are placed in /etc/php74/conf.d They are loaded in correct order according to priority

  5. Modules: mysqlnd, mysqli and pdo_mysql are moved to single package php74-mysql

  6. php74-xsl requires php74-xml and php74-dom to be installed

  7. php74-enchant build with dependencies: libvoikko, hspell, hunspell, nuspell, aspell

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

ecognito commented on 2025-05-01 01:23 (UTC)

Having errors trying to build this, around some of the libxml parts.

/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:479:47: error: expected ‘;’, ‘,’ or ‘)’ before ‘ATTRIBUTE_UNUSED’
479 |                               int compression ATTRIBUTE_UNUSED)
|                                               ^~~~~~~~~~~~~~~~
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c: In function ‘php_libxml_shutdown’:
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:834:17: warning: ‘xmlRelaxNGCleanupTypes’ is deprecated [-Wdeprecated-declarations]
834 |                 xmlRelaxNGCleanupTypes();
|                 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:41:
/usr/include/libxml2/libxml/relaxng.h:125:21: note: declared here
125 |                     xmlRelaxNGCleanupTypes      (void);
|                     ^~~~~~~~~~~~~~~~~~~~~~
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c: In function ‘zm_startup_libxml’:
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:928:54: error: ‘php_libxml_output_buffer_create_filename’ undeclared (first use in this function); did you mean ‘php_libxml_input_buffer_create_filename’?
928 |                 xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
|                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                                                      php_libxml_input_buffer_create_filename
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:928:54: note: each undeclared identifier is reported only once for each function it appears in
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c: In function ‘zm_activate_libxml’:
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:941:54: error: ‘php_libxml_output_buffer_create_filename’ undeclared (first use in this function); did you mean ‘php_libxml_input_buffer_create_filename’?
941 |                 xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
|                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                                                      php_libxml_input_buffer_create_filename

Any ideas?

andreas_baumann commented on 2024-07-07 17:15 (UTC)

Can confirm 7.4.33-8 builds and runs fine. Thanks. :-) I'm lucky I don't need neither PECL nor PEAR modules..

el_aur commented on 2024-07-07 09:11 (UTC)

Have killed pear/pecl packages. Try now

felipec commented on 2024-07-04 05:19 (UTC)

I'm getting the same error building php74-pear.

tabun commented on 2024-06-23 08:30 (UTC)

get error File was not found /build/php74/pkg/php74-pear/etc/php74/pear.conf

for now just skip install pear

lkrms commented on 2024-06-18 12:52 (UTC)

Trying to rebuild this today and getting an error on package_php74-pear:

~/php74/src/build-cli ~/php74/src
[PEAR] Archive_Tar    - installed: 1.4.14
[PEAR] Console_Getopt - installed: 1.4.3
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util       - installed: 1.4.5
[PEAR] PEAR: Invalid tag order in <dependencies>, found <_content> expected one of "group"
[PEAR] PEAR: Parsing of package.xml from file "/tmp/pear/temp/pearE8reoa/package.xml" failed

Warning: fopen(/build/php74/pkg/php74-pear/etc/php74/pear.conf): failed to open stream: No such file or directory in /startdir/pear-config-patcher.php on line 14
File was not found /build/php74/pkg/php74-pear/etc/php74/pear.conf

el_aur commented on 2024-05-24 12:15 (UTC)

@maxrd2 thanks for the patch. Except killing litespeed it's ok :) Took CFLAGS fix from it. Made lightspeed patch by myself.

maxrd2 commented on 2024-05-21 15:16 (UTC)

I had to apply this patch today in order to compile with new ICU and gcc.

https://paste.mozilla.org/1GgWDLgS

tompear commented on 2024-05-20 07:45 (UTC)

Again libxml2 breaks compilation of package. Downgrade is bad idea now, it leads to unusable core utilities like pacman.

el_aur commented on 2023-12-05 14:08 (UTC)

@tompear patch is here now with support of modern libxml version