Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764908 - www-apps/davical-1.1.9.3 fails tests with >=dev-lang/php-8
Summary: www-apps/davical-1.1.9.3 fails tests with >=dev-lang/php-8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Till Schäfer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-11 07:22 UTC by Agostino Sarubbo
Modified: 2021-03-01 08:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.02 KB, text/plain)
2021-01-11 07:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-11 07:22:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-apps/davical-1.1.9.3 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-11 07:22:53 UTC
Created attachment 682336 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-11 07:22:54 UTC
Possible context of error(s):

PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in inc/check_UTF8.php on line 70
Comment 3 Till Schäfer 2021-01-11 11:35:40 UTC
Fails for PHP>=8
Comment 4 Larry the Git Cow gentoo-dev 2021-01-15 12:13:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd8ae038471798b36790a8e71f674aa8cfd4058

commit 3cd8ae038471798b36790a8e71f674aa8cfd4058
Author:     Till Schäfer <till2.schaefer@uni-dortmund.de>
AuthorDate: 2021-01-11 12:26:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-15 12:13:29 +0000

    www-apps/davical: rdepend on <dev-lang/php-8
    
    >=dev-lang/php-8 is incompatible with davical
    
    Closes: https://bugs.gentoo.org/764908
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de>
    Closes: https://github.com/gentoo/gentoo/pull/19030
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-apps/davical/davical-1.1.9.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 5 Till Schäfer 2021-02-26 09:51:16 UTC
upstream provides a patch for php-8 compatibility now (not yet released): https://gitlab.com/davical-project/davical/-/merge_requests/77
Comment 6 Larry the Git Cow gentoo-dev 2021-03-01 08:26:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b1b056deb43fe70a81c54c1bb7c4feb976b1fc

commit 04b1b056deb43fe70a81c54c1bb7c4feb976b1fc
Author:     Till Schäfer <till2.schaefer@uni-dortmund.de>
AuthorDate: 2021-02-26 08:39:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-03-01 08:25:56 +0000

    www-apps/davical: support php8
    
    add upstream patch for php8 compatibility
    
    Bug: https://bugs.gentoo.org/764908
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de>
    Closes: https://github.com/gentoo/gentoo/pull/19664
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-apps/davical/davical-1.1.9.3-r1.ebuild         | 73 ++++++++++++++++++++++
 .../files/davical-1.1.9.3-php8_compatibility.patch | 58 +++++++++++++++++
 2 files changed, 131 insertions(+)