Can't update to the latest version
Error: Failed to prepare transaction: target not found: php73
Git Clone URL: | https://aur.archlinux.org/php73.git (read-only, click to copy) |
---|---|
Package Base: | php73 |
Description: | simplexml module for php73 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | matth |
Maintainer: | matth (el_aur) |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.000839 |
First Submitted: | 2019-12-24 17:08 (UTC) |
Last Updated: | 2024-05-24 12:36 (UTC) |
Can't update to the latest version
Error: Failed to prepare transaction: target not found: php73
I found a problem in check(), where it is looking for /usr/bin/sendmail. My path has /bin first, and so /bin/sendmail is found, which does not match the grep. I looked for any documentation suggesting that /usr/bin should be before /bin, and could not find anything. I've had this for probably decades. I think it should be okay to just grep for /bin/sendmail. postfix puts sendmail in both locations.
tunght13488 and jonquan
You just need to rebuild your php73 package so it builds against your installed icu version. https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages
Quote from the wiki:
If packages in the official repositories are updated, you will need to rebuild any AUR packages that depend on those libraries.
tunght13488 I have the same issue as you.
[jon@archlinux ~]$ php73
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php73/modules/intl (/usr/lib/php73/modules/intl: cannot open shared object file: No such file or directory), /usr/lib/php73/modules/intl.so (/usr/lib/php73/modules/intl.so: undefined symbol: _ZTIN6icu_6817StringEnumerationE)) in Unknown on line 0
Broken after icu-69.1-1. I can't figure out how to downgrade without breaking the system. Symlink to .69 files won't work. Any help is much appreciated
brackenhill-mob I'm not sure what would be causing that error. The package builds just fine in a clean chroot for me using extra-x86_64-build
I'm getting a build error in /home/arch/.cache/yay/php73/src/php-7.3.27/ext/fileinfo/libmagic/apprentice.c
{standard input}: Assembler messages:
{standard input}:3946: Warning: end of file not at end of a line; newline inserted
{standard input}:5550: Error: no such instruction: `j'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1011: ext/fileinfo/libmagic/apprentice.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Any chance of a fix? I'm migrating a invoicing package which is built against PHP7.3 from an Ubuntu server and my company needs this urgently
TIA
@yolosan It looks like you don't have gpg configured to use a keyserver.
You can use something like
gpg --keyserver pool.sks-keyservers.net --receive-keys D66C9593118BCCB6
Hi. I'm getting the following error:
==> Validating source files with sha256sums...
php-7.3.26.tar.xz ... Passed
php-7.3.26.tar.xz.asc ... Skipped
apache.patch ... Passed
apache.conf ... Passed
php-fpm.patch ... Passed
php-fpm.tmpfiles ... Passed
php.ini.patch ... Passed
enchant-2.patch ... Passed
freetype.patch ... Passed
==> Verifying source file signatures with gpg...
php-7.3.26.tar.xz ... FAILED (unknown public key D66C9593118BCCB6)
==> ERROR: One or more PGP signatures could not be verified!
:: Unable to build php73 - makepkg exited with code: 1
Doing
$ gpg --recv-key D66C9593118BCCB6
gpg: keyserver receive failed: No name
Pinned Comments
el_aur commented on 2022-02-02 09:14 (UTC) (edited on 2022-02-04 11:29 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):
Then run the following as root
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 7.3 packages with:el_aur commented on 2022-01-27 12:08 (UTC) (edited on 2022-01-27 15:18 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php73
is installed withphp73-cli
subpackage,php73
doesn't include it anymore!!!PEAR and PECL are available as
php73-pear
andphp73-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php73
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php73/conf.d
They are loaded in correct order according to priority