oi-userland icon indicating copy to clipboard operation
oi-userland copied to clipboard

php-redis - re-publish pecl for php82

Open fritzkink opened this issue 1 year ago • 5 comments

for whatever reason disappeared from repository

fritzkink avatar May 21 '24 16:05 fritzkink

I think you wants to remove this line: https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/components.ignore#L27

mtelka avatar May 21 '24 16:05 mtelka

The jenkins log presents the error that i have seen locally: https://jenkins.openindiana.aurora-opencloud.org/blue/organizations/jenkins/OpenIndiana%20Organisation%2Foi-userland/detail/PR-17266/1/pipeline

It doesn't build because there is a dublicate dir name/path here:

build/amd64/build/PHP-Parser-4.15.1/PHP-Parser-4.15.1/

hoewweken avatar May 21 '24 16:05 hoewweken

Yes. IOW, it was never published, so it didn't disappear from the package repo :-).

mtelka avatar May 21 '24 16:05 mtelka

And this happens on the build server (and mine, too) and is the reason the package is in components.ignore: x PHP-Parser-4.15.1/lib/PhpParser/PrettyPrinterAbstract.php, 61543 bytes, 121 tape blocks PHP Warning: require(/jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/PHP-Parser-4.15.1/lib/PhpParser/Lexer/Emulative.php): Failed to open stream: No such file or directory in /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/gen_stub.php on line 4653 PHP Fatal error: Uncaught Error: Failed opening required '/jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/PHP-Parser-4.15.1/lib/PhpParser/Lexer/Emulative.php' (include_path='.:/usr/php/8.2/share/PEAR') in /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/gen_stub.php:4653 Stack trace: #0 /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/gen_stub.php(3751): {closure}('PhpParser\Lexer...') #1 /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/gen_stub.php(77): parseStubFile('<?php\n\n/**\n * @...') #2 /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/gen_stub.php(4697): processStubFile('/jenkins/jobs/o...', Object(Context)) #3 {main} thrown in /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/build/gen_stub.php on line 4653 make: *** [Makefile:196: /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/redis_arginfo.h] Error 255 gmake: *** [/jenkins/jobs/oi-userland/workspace/make-rules/configure.mk:190: /jenkins/jobs/oi-userland/workspace/components/web/php/php-8_2-ext-redis/build/amd64/.installed] Error 2

AndWac avatar May 21 '24 18:05 AndWac

build/amd64/build/PHP-Parser-4.15.1/PHP-Parser-4.15.1/ I think it is reasonable to think that the dublicated dirname arrives from the extraction of the "v4.15.1.tar.gz". The first directory name within the tar should be omitted somehow, or the target dir of the extract should be one directory above... i don't yet see where this comes from, where php-parser-4.15.1.tar.gz comes linked into this stuff.. :-/

hoewweken avatar May 21 '24 20:05 hoewweken

php-8.2 has been obsoleted

AndWac avatar Aug 24 '25 14:08 AndWac