Package Details: php-pear 1:1.10.21-2

Git Clone URL: https://aur.archlinux.org/php-pear.git (read-only, click to copy)
Package Base: php-pear
Description: PHP Extension and Application Repository
Upstream URL: https://pear.php.net/package/pearweb_phars/
Licenses: PHP
Submitter: Pierre
Maintainer: amish
Last Packager: amish
Votes: 41
Popularity: 0.005457
First Submitted: 2016-01-03 12:32 (UTC)
Last Updated: 2022-02-01 05:37 (UTC)

Pinned Comments

Latest Comments

n00dl3 commented on 2020-11-03 10:08 (UTC)

Using ubuntu keyserver indeed works

gpg --keyserver hkps://keyserver.ubuntu.com/ --recv-keys 10F68CF73F8AA426F617752972A321BAC245F175

ibrudiiv commented on 2020-09-19 14:42 (UTC) (edited on 2020-09-19 14:46 (UTC) by ibrudiiv)

Posting a new thread on the forums but wanted to see if the package maintainer can update us on the status of his key.

gpg --keyserver hkps://keys.openpgp.org/ --recv-keys 10F68CF73F8AA426F617752972A321BAC245F175
gpg: key 72A321BAC245F175: no user ID
gpg: Total number processed: 1

Update: Using Ubuntu's keyserver worked! Never mind and thank you

amish commented on 2020-05-23 05:32 (UTC)

Your system is not able to fetch (receive) the keys

Try this: gpg --search-keys 10F68CF73F8AA426F617752972A321BAC245F175

If all fails then please post on Archlinux forums. https://bbs.archlinux.org/

teafix commented on 2020-05-22 12:36 (UTC)

Had to do some rebuilding then reinstall this module. Tried: php-pear]$ gpg --recv-keys 72A321BAC245F175 && makepkg -si gpg: keyserver receive failed: General error after makepkg -si failed due to ==> ERROR: One or more PGP signatures could not be verified! ( PKGBUILD looked to have a new key in since last time, so tried that first)

So the question is, where do I find a new key when the old one proves incorrect?

neimheadh commented on 2020-05-20 10:39 (UTC) (edited on 2020-05-20 10:41 (UTC) by neimheadh)

Hello everybody,

You have an error when you do your "makepkg -si" from a path included spaces :

➜  php-pear git:(e0ebd27) pwd
/home/neim/User Files/Downloads/php-pear
➜  php-pear git:(e0ebd27) LANG=en_US makepkg -si
==> Making package: php-pear 1:1.10.19-1 (Wed 20 May 2020 12:38:29 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found install-pear-nozlib-1.10.19.phar
  -> Found install-pear-nozlib-1.10.19.phar.sig
==> Validating source files with sha256sums...
    install-pear-nozlib-1.10.19.phar ... Passed
    install-pear-nozlib-1.10.19.phar.sig ... Skipped

==> Verifying source file signatures with gpg...
    install-pear-nozlib-1.10.19.phar ... Passed
==> Extracting sources...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
[PEAR] Archive_Tar    - installed: 1.4.9
[PEAR] Console_Getopt - installed: 1.4.3
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util       - installed: 1.4.5
warning: pear/PEAR requires package "pear/Archive_Tar" (recommended version 1.4.4)
warning: pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.1.1)
warning: pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.4.3)
warning: pear/PEAR requires package "pear/XML_Util" (recommended version 1.4.5)
[PEAR] PEAR           - installed: 1.10.12
Wrote PEAR system config file at: /home/neim/User Files/Downloads/php-pear/pkg/php-pear//etc/php/pear.conf
You may want to add: /usr/share/pear to your php.ini include_path
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> ERROR: Dotfile found in package root '/home/neim/User Files/Downloads/php-pear/pkg/php-pear/.channels'
==> ERROR: Dotfile found in package root '/home/neim/User Files/Downloads/php-pear/pkg/php-pear/.depdb'
==> ERROR: Dotfile found in package root '/home/neim/User Files/Downloads/php-pear/pkg/php-pear/.depdblock'
==> ERROR: Dotfile found in package root '/home/neim/User Files/Downloads/php-pear/pkg/php-pear/.filemap'
==> ERROR: Dotfile found in package root '/home/neim/User Files/Downloads/php-pear/pkg/php-pear/.lock'
==> ERROR: Dotfile found in package root '/home/neim/User Files/Downloads/php-pear/pkg/php-pear/.registry'

Here the simple diff correcting it :

diff --git a/PKGBUILD b/PKGBUILD
index 4c08e1a..ffb7e63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,5 +23,5 @@ package() {
                        -d /usr/share/pear \
                        -b /usr/bin

-       rm -rf ${pkgdir}{/usr/share/pear/,/}.{channels,depdb,depdblock,filemap,lock,registry}
+       rm -rf "${pkgdir}"{/usr/share/pear/,/php-pear/,/}.{channels,depdb,depdblock,filemap,lock,registry}
 }

amish commented on 2020-04-21 07:40 (UTC)

@teafix - Second post after your post already has answer.

teafix commented on 2020-04-20 16:10 (UTC)

Package flagged as having been updated today at 01:00 but on running mkpkg -si got: ==> ERROR: One or more PGP signatures could not be verified!

It must be reasonably easy to get an up to date signature. Would somebody please point me to something that tells me how to do it? Then I can help both myself and the community. Thanks.

marco.righi commented on 2020-03-08 23:06 (UTC) (edited on 2020-03-08 23:07 (UTC) by marco.righi)

ERROR

yay -Suy php-pear |tee tmp/logphppear.txt

:: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... there is nothing to do :: Searching databases for updates... :: Searching AUR for updates... :: There are 5 providers available for php-pear: :: Repository AUR 1) php-pear 2) php-pear-src 3) php53-pear 4) php55-pear 5) php56-pear

Enter a number (default=1): :: Checking for conflicts... :: Checking for inner conflicts... [Aur: 1] php-pear-1:1.10.17-1

1 php-pear (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==>

:: PKGBUILD up to date, Skipping (1/1): php-pear 1 php-pear (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==>

:: Parsing SRCINFO (1/1): php-pear ==> ERROR: Cannot find the strip binary required for object file stripping. Error downloading sources: php-pear

spiderus commented on 2019-11-24 00:16 (UTC)

Nice! I just had to import the key 72A321BAC245F175 to my keyring and run makepkg -srci

that is: gpg --recv-keys 72A321BAC245F175 && makepkg -srci

donotdont commented on 2019-06-14 12:52 (UTC) (edited on 2019-06-14 12:53 (UTC) by donotdont)

i run this command, it's working :

gpg --recv-keys 72A321BAC245F175 && sudo pacman -Syyu && yaourt php-pear

bugsmanagement commented on 2019-03-23 04:35 (UTC)

unknown public key 72A321BAC245F175 One or more PGP signatures could not be verified!

Means you need to import the GPG key into your keyring. Eg, search for it on keyservers and verify the fingerprint with the owner of the file.

EricT commented on 2019-03-20 08:07 (UTC) (edited on 2019-03-20 08:07 (UTC) by EricT)

Hello,

==> Making package: php-pear 1:1.10.12-2 (Wed Mar 20 09:04:44 2019)

==> Checking runtime dependencies...

==> Checking buildtime dependencies...

==> Retrieving sources...

-> Downloading install-pear-nozlib-1.10.12.phar... ... -> Downloading install-pear-nozlib-1.10.12.phar.sig... ...

==> Validating source files with sha256sums...

install-pear-nozlib-1.10.12.phar ... Passed

install-pear-nozlib-1.10.12.phar.sig ... Skipped

==> Verifying source file signatures with gpg...

install-pear-nozlib-1.10.12.phar ... FAILED (unknown public key 72A321BAC245F175)

==> ERROR: One or more PGP signatures could not be verified!

==> ERROR: Makepkg was unable to build php-pear.

Same again

heapifyman commented on 2019-02-14 12:48 (UTC)

Verion 1:1.10.12-1 fails to build. Incorrect SHASUM of "install-pear-nozlib.phar"?

Erstelle php-pear... ==> Erstelle Paket: php-pear 1:1.10.12-1 (Do 14 Feb 2019 13:34:01 CET) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> install-pear-nozlib.phar gefunden -> install-pear-nozlib.phar.sig gefunden ==> Überprüfe source Dateien mit sha256sums... install-pear-nozlib.phar ... FEHLGESCHLAGEN install-pear-nozlib.phar.sig ... Übersprungen ==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung!

Pierre commented on 2019-01-24 17:19 (UTC)

Good news, I just got confirmation that the AUR package did not fetch the tainted PEAR installer. See https://mobile.twitter.com/pear/status/1088484966898585601

stutz commented on 2019-01-23 09:32 (UTC)

according to the wiki this package should provide pecl as well, it doesn't though.

kmvan commented on 2019-01-23 05:47 (UTC)

Cloning php-pear build files... Failed to prepare transaction: target not found: php-pear

boppy commented on 2018-12-23 14:13 (UTC)

Same Checksum problem over here... Tried it 5 times. Also deleted the temp path manually.

Wanted checksum is b6720f79742324c745ea61d4fe412949b98aa81ea59e0875e72dc2e57a12dcd1, while files checksum is 96eb42707944630552a76865aec8645c0fd4c32698ad34f1b29946affeed1485

Also true for the direct download of the file:

curl https://pear.php.net/install-pear-nozlib.phar | sha256sum -

This also gives 96eb...

twheel commented on 2018-12-19 14:06 (UTC)

I had the same issue as dschrempf. Redownloading fixed it.

Pierre commented on 2018-12-15 12:34 (UTC)

The checksum is fine. You probably downloaded a broken file.

dschrempf commented on 2018-12-14 11:04 (UTC)

Hello!

I cannot install this package:

==> Making package: php-pear 1:1.10.7-1 (Fri 14 Dec 2018 12:03:44 PM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found install-pear-nozlib.phar ==> Validating source files with sha256sums... install-pear-nozlib.phar ... FAILED ==> ERROR: One or more files did not pass the validity check!

Is it possible that the checksums have not been updated?

nemaniarjun commented on 2018-07-08 15:04 (UTC)

Can we have the change in the PKGBUILD file? I want to install this in a script and this causes it to fail.

tantalum commented on 2018-06-14 10:42 (UTC)

thanks Roultabie, works.

Roultabie commented on 2018-06-06 10:15 (UTC) (edited on 2018-06-06 10:15 (UTC) by Roultabie)

@tantalum in PKGBUILD replace this line:

rm -rf ${pkgdir}/usr/share/pear/.{channels,depdb,depdblock,filemap,lock,registry}

by

rm -rf ${pkgdir}/.{channels,depdb,depdblock,filemap,lock,registry}

tantalum commented on 2018-06-06 10:08 (UTC) (edited on 2018-06-06 10:09 (UTC) by tantalum)

==> ERROR: Dotfile found in package root '/tmp/aurget/php-pear/pkg/php-pear/.channels'
==> ERROR: Dotfile found in package root '/tmp/aurget/php-pear/pkg/php-pear/.depdb'
==> ERROR: Dotfile found in package root '/tmp/aurget/php-pear/pkg/php-pear/.depdblock'
==> ERROR: Dotfile found in package root '/tmp/aurget/php-pear/pkg/php-pear/.filemap'
==> ERROR: Dotfile found in package root '/tmp/aurget/php-pear/pkg/php-pear/.lock'
==> ERROR: Dotfile found in package root '/tmp/aurget/php-pear/pkg/php-pear/.registry'
==> ERROR: A failure occurred in package().
Aborting...

PreparationH67 commented on 2017-09-26 15:54 (UTC) (edited on 2017-09-26 16:18 (UTC) by PreparationH67)

Installation is, again, failing silently due to issues with the PKGBUILD file not writing files to the correct directory. Please re-read the PKGBUILD documentation and test package updates more thoroughly.

YogliB commented on 2017-07-05 13:00 (UTC)

I'm also getting: ==> Validating source files with md5sums... install-pear-nozlib.phar ... FAILED ==> ERROR: One or more files did not pass the validity check! :: failed to verify php-pear integrity

Scimmia commented on 2017-06-26 14:48 (UTC)

amish, Pierre knows what he's doing. You don't. The epoch is there to stay.

lilmike commented on 2017-05-02 03:49 (UTC)

Looks like the latest install-pear-nozlib.phar isn't passing the validity check.

helirexi commented on 2017-04-26 20:06 (UTC) (edited on 2017-04-26 20:08 (UTC) by helirexi)

Actual md5 checksum "f932351ea1562343c8f25b71cb88f328" for "install-php-pear-nozlib.phar" as 4 today. Corr it in PKGBUILD and i'll fine.

imrea commented on 2017-03-11 14:00 (UTC)

Unable to install it due to some validity check. It seems the md5sums field needs to be updated in the PKGBUILD. At the moment the actual md5 checksum is "0c3206e8d443c32ae5b938f2d7fa4589" for install-php-pear-nozlib.phar.

PreparationH67 commented on 2016-04-29 18:48 (UTC)

The PKGBUILD as written isn't installing correctly to the pkgdir and is silently failing to install to the actual root FS in the package function. The following changes allowed the package to build successfully. INSTALL_ROOT=$pkgdir/ \ php -n ${srcdir}/install-pear-nozlib.phar \ -d usr/share/pear \ -b usr/bin rm -rf ${pkgdir}/.{channels,depdb,depdblock,filemap,lock,registry}

chetwisniewski commented on 2016-04-26 22:20 (UTC)

I had to do: sudo touch /usr/share/pear/.lock to get it to install.

mitchhentges commented on 2016-03-29 08:08 (UTC) (edited on 2016-03-29 08:09 (UTC) by mitchhentges)

I had to follow http://stackoverflow.com/a/10253935/5226004 to get this working with `phing`. Other packages probably don't work as well, but `phing` is the only php tool I know of through PEAR (so far ;). Perhaps this should add a file `pear.ini` to `/etc/php/conf.d/` with the following configuration: ``` include_path = ".:/usr/share/pear" ``` That fixed it for me.

Enverex commented on 2016-01-07 22:51 (UTC)

Yeah, this doesn't appear to work at all right now. It thinks it has installed but hasn't.

tarasis commented on 2016-01-07 15:17 (UTC)

Trying to upgrade to this version and getting this on the console: ==> Starting package()... Notice: Undefined variable: metadata_dir in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/index.php on line 255 Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] Archive_Tar: Unknown channel "pear.php.net" [PEAR] Archive_Tar: Parsing of package.xml from file "/tmp/pear/temp/pearzaf3MA/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] Console_Getopt: Unknown channel "pear.php.net" [PEAR] Console_Getopt: Parsing of package.xml from file "/tmp/pear/temp/pearp8VKcv/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] Structures_Graph: Unknown channel "pear.php.net" [PEAR] Structures_Graph: Parsing of package.xml from file "/tmp/pear/temp/pearPQ12Dp/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] XML_Util: Unknown channel "pear.php.net" [PEAR] XML_Util: Parsing of package.xml from file "/tmp/pear/temp/pearR0X76j/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] PEAR: Unknown channel "pear.php.net" [PEAR] PEAR: Parsing of package.xml from file "/tmp/pear/temp/pear9AxnEe/package.xml" failed I have checked in /usr/share/pear and there is no lock file. Is the package safe to install despite that warning?