Package Details: php81-sqlite 8.1.29-2

Git Clone URL: https://aur.archlinux.org/php81.git (read-only, click to copy)
Package Base: php81
Description: sqlite module for php81
Upstream URL: http://www.php.net
Keywords: 8.1 php php8
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 10
Popularity: 0.001089
First Submitted: 2021-12-01 12:54 (UTC)
Last Updated: 2024-07-07 09:04 (UTC)

Dependencies (58)

Required by (0)

Sources (9)

Pinned Comments

el_aur commented on 2022-01-27 12:09 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php81/conf.d

They are loaded in correct order according to priority

Latest Comments

1 2 3 4 5 Next › Last »

namtrungtruong commented on 2024-07-13 03:50 (UTC)

Thanks for sharing, @arch-chicken

df8oe commented on 2024-07-12 12:21 (UTC)

I successfully have built it using @arch-chicken 's patch. Thanks for sharing!

arch-chicken commented on 2024-07-11 13:26 (UTC)

@df8oe there are already patches to compile c-client:

https://aur.archlinux.org/packages/c-client

arch-chicken commented on 2024-07-11 13:19 (UTC)

@birdspider with this small patch you should hopefully be able to compile this package again:

--- a/PKGBUILD 2024-07-11 15:14:05.859353324 +0200
+++ b/PKGBUILD 2024-07-11 15:13:47.835754282 +0200
@@ -484,6 +484,9 @@
     pushd "build-${_sapi}"
      ./configure ${_phpconfig} ${_commands}
     patch -p1 -i "${srcdir}/make-tests.patch"
+    if [[ $_sapi == "cli" ]]; then
+        sed -i 's/\(-Iext\/intl\/.*\)-std=c++11\(.*\)/\1-std=c++17\2/g' Makefile
+    fi

     if (($_sapi != "cli")); then
         make clean

df8oe commented on 2024-07-10 15:27 (UTC)

Additional information:

When I try to build in chroot with paru --chroot -S php81 installation of dependency c-client also fails. I cannot build c-client and so build of php81 also fails.

tspencer244 commented on 2024-07-08 01:19 (UTC)

I have the same build issue as birdspider.

Here is a pastebin of my makepkg.conf:

https://pastebin.com/AFAaJEk6

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

@birdspider can you pastebin /etc/makepkg.conf anywhere?

birdspider commented on 2024-06-27 17:15 (UTC)

I'm hitting a build issue, any idea if that c++11 is coming from my system or the package / phps source?

Error: Anmerkung: »std::enable_if_t« ist erst ab C++14 verfügbar

it seems something passes both -std=c++17 and -std=c++11 to libtool or something along those lines

/bin/sh /home/birdspider/.cache/paru/clone/php81/src/build-cli/libtool \
  ... -std=c++17 \
  ... -std=c++11 \                               
  -c /home/birdspider/.cache/paru/clone/php81/src/php-8.1.29/ext/intl/intl_convertcpp.cpp

el_aur commented on 2024-06-27 11:58 (UTC)

Built for 8.1.29. Libxml patch included

DmitrySkibitsky commented on 2024-05-30 07:18 (UTC)

Build error

makepkg -si
....
/home/dmitry/Apps/php81/src/php-8.1.28/ext/libxml/libxml.c: In function ‘zif_libxml_use_internal_errors’:
/home/dmitry/Apps/php81/src/php-8.1.28/ext/libxml/libxml.c:981:48: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  981 |         if (current_handler && current_handler == php_libxml_structured_error_handler) {
      |                                                ^~
/home/dmitry/Apps/php81/src/php-8.1.28/ext/libxml/libxml.c:999:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types]
  999 |                 xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /usr/include/libxml2/libxml/valid.h:15,
                 from /usr/include/libxml2/libxml/parser.h:19,
                 from /home/dmitry/Apps/php81/src/php-8.1.28/ext/libxml/libxml.c:32:
/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’}
  898 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/dmitry/Apps/php81/src/php-8.1.28/ext/libxml/libxml.c: In function ‘zif_libxml_get_last_error’:
/home/dmitry/Apps/php81/src/php-8.1.28/ext/libxml/libxml.c:1016:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1016 |         error = xmlGetLastError();
      |               ^
make: *** [Makefile:968: ext/libxml/libxml.lo] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...