-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev-php/pecl-parallel: New package: v1.1.4 #20348
Conversation
Pull Request assignmentSubmitter: @jkroonza dev-php/pecl-parallel: @gentoo/proxy-maint (new package) Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. New packagesThis Pull Request appears to be introducing new packages only. Due to limited manpower, adding new packages is considered low priority. This does not mean that your Pull Request will not receive any attention, however, it might take quite some time for it to be reviewed. In the meantime, your new ebuild might find a home in the GURU project repository: the ebuild repository maintained collaboratively by Gentoo users. GURU offers your ebuild a place to be reviewed and improved by other Gentoo users, while making it easy for Gentoo users to install it and enjoy the software it adds. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2021-04-12 13:40 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
dev-php/pecl-parallel/Manifest
Outdated
@@ -0,0 +1 @@ | |||
DIST parallel-1.1.4.tgz 58783 BLAKE2B 942c767ff4838c13e70829d6ac6599cee3185afaf71e9dc430064835102d31a3e50b99694e1632be652c6a019934a13ba0f5139041bba39d486a20615478b910 SHA512 6693f01b0d43de5153aa0953f90580717e519cfbe8ca5b0ba6abd9cc681e0efe9d7c6fcc601da98f74b570b5810dffdbf5100bedc8ab86c1f4bc61d48955ae77 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an easy way to rename this as ${PN}
? I'd really prefer that. Rest looks good, as always...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see why ... doesn't look like there is a simple way no, this is as per the php-ext-pecl-r3 eclass.
So fortunately it doesn't look like there are any probable collisions in the tree (dev-ruby/parallel uses .tar.gz not .tgz and sys-process/parallel uses .tar.bz2). Confusing yes ...
Perhaps we should consider updating the eclass to rename on download?
51 if [[ -z "${PHP_EXT_PECL_FILENAME}" ]] ; then
52 SRC_URI="https://pecl.php.net/get/${PHP_EXT_PECL_PKG_V}.tgz"
53 else
54 SRC_URI="https://pecl.php.net/get/${PHP_EXT_PECL_FILENAME}"
55 fi
-> ${P}.tgz and -> ${P}.${PHP_EXT_PECL_FILENAME##*.} respectively? Although, the latter would need more care for double extensions such as .tar.${comp}
Alternatively a PHP_EXT_PECL_DOWNLOADED_FILENAME which if not set we default to ${P}.tgz if PHP_EXT_PECL_FILENAME is not set, or ${P}.${detected_ext} ... where detected_ext is tar.${PHP_EXT_PECL_FILENAME##*.} or simply ${PHP_EXT_PECL_FILENAME##*.} ... but this gets nasty no matter how you look at it.
Pull request CI reportReport generated at: 2021-04-14 09:40 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2021-04-14 10:40 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't compile for me with +php_targets_php8-0
, could you try?
[ERROR] >>> Not all runs were successful.
atom: =dev-php/pecl-parallel-1.1.4, USE flags: 'php_targets_php7-3 php_targets_php7-4 php_targets_php8-0'
atom: =dev-php/pecl-parallel-1.1.4, USE flags: '-php_targets_php7-3 php_targets_php7-4 php_targets_php8-0'
atom: =dev-php/pecl-parallel-1.1.4, USE flags: 'php_targets_php7-3 -php_targets_php7-4 php_targets_php8-0'
atom: =dev-php/pecl-parallel-1.1.4, USE flags: '-php_targets_php7-3 -php_targets_php7-4 php_targets_php8-0'
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/channel.c:386:34: error: 'zend_object_handlers' {aka 'struct _zend_object_handlers'} has no member named 'compare_objects'
386 | php_parallel_channel_handlers.compare_objects = php_parallel_channel_compare;
| ^
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/check.c:129:85: warning: implicit declaration of function 'ZEND_TYPE_IS_CLASS'; did you mean 'ZEND_TYPE_HAS_CLASS'? [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]]
129 | if (ZEND_TYPE_IS_SET(it->type) && (ZEND_TYPE_CODE(it->type) == IS_OBJECT || ZEND_TYPE_IS_CLASS(it->type))) {
| ^~~~~~~~~~~~~~~~~~
| ZEND_TYPE_HAS_CLASS
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/check.c:139:15: error: 'zend_arg_info' {aka 'struct _zend_arg_info'} has no member named 'pass_by_reference'
139 | if (it->pass_by_reference) {
| ^~
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/check.c:165:15: error: 'zend_arg_info' {aka 'struct _zend_arg_info'} has no member named 'pass_by_reference'
165 | if (it->pass_by_reference) {
| ^~
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/cache.c:276:30: warning: implicit declaration of function 'ZEND_TYPE_ENCODE_CLASS'; did you mean 'ZEND_TYPE_INIT_CLASS'? [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]]
276 | info->type = ZEND_TYPE_ENCODE_CLASS(name, nulls);
| ^~~~~~~~~~~~~~~~~~~~~~
| ZEND_TYPE_INIT_CLASS
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/cache.c:276:30: error: incompatible types when assigning to type 'zend_type' from type 'int'
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/check.c: In function 'php_parallel_check_class_inline':
/var/tmp/portage/dev-php/pecl-parallel-1.1.4/work/php8.0/src/check.c:538:13: warning: implicit declaration of function 'ZEND_TYPE_IS_CE'; did you mean 'ZEND_TYPE_IS_SET'? [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]]
538 | if (ZEND_TYPE_IS_CE(info->type)) {
| ^~~~~~~~~~~~~~~
| ZEND_TYPE_IS_SET
make: *** [Makefile:230: src/channel.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:228: src/cache.lo] Error 1
make: *** [Makefile:224: src/check.lo] Error 1
* ERROR: dev-php/pecl-parallel-1.1.4::gentoo failed (compile phase):
* emake failed
|
||
inherit php-ext-pecl-r3 | ||
|
||
SRC_URI="${SRC_URI} -> ${P}.tgz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not exactly what I had in mind, but hey, if it works it's fine.
(I'd just replicated the eclass line,
SRC_URI="https://pecl.php.net/get/${PHP_EXT_NAME}-${PV/_/}.tgz"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your call. Or perhaps at least a comment above:
# php-ext-pecl will set SRC_URI to the download URI, so just rename
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Pull request CI reportReport generated at: 2021-04-14 12:20 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
||
inherit php-ext-pecl-r3 | ||
|
||
SRC_URI="${SRC_URI} -> ${P}.tgz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah let's replicate the eclass URL here.
I doubt the eclass will ever drop or modify that URL, but just in case it does...
^ well my intention was to do |
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jaco Kroon jaco@uls.co.za