Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737842 - dev-php/phptal-1.3.1 fails tests
Summary: dev-php/phptal-1.3.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: PMASKED, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-08-18 11:03 UTC by Agostino Sarubbo
Modified: 2023-01-27 11:11 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,6.42 KB, text/plain)
2020-08-18 11:03 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 2020-08-18 11:03:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-php/phptal-1.3.1 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-18 11:03:40 UTC
Created attachment 655260 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-08-19 00:47:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1deabc739b3b7c493b9ec17be2a7f35ab087296a

commit 1deabc739b3b7c493b9ec17be2a7f35ab087296a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-19 00:47:04 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-19 00:47:04 +0000

    dev-php/phptal: Restrict <dev-php/phpunit-6
    
    Bug: https://bugs.gentoo.org/737842
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-php/phptal/phptal-1.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-19 00:48:23 UTC
But not compatible with PHP 7.x:

> There were 8 failures:
> 
> 1) PhptalTest::testPHPParseErrorDoesNotStopPHPTAL2
> Failed asserting that exception of type "ParseError" matches expected exception "PHPTAL_TemplateException". Message was: "syntax error, unexpect
> ed ''error test'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'" at
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL.php:659
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/PhptalTest.php:225
> .
> 
> 2) ReadableErrorTest::testSimple
> Unable to find variable 'foobarbaz' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-01.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:21
> 
> 3) ReadableErrorTest::testMacro
> Unable to find variable 'unknownvar' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-02.macro.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:26
> 
> 4) ReadableErrorTest::testAfterMacro
> Unable to find variable 'unknownvaraftermacro' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-03.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:31
> 
> 5) ReadableErrorTest::testMissingVar
> Unable to find variable 'idontexist' in current scope
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-05.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:41
> 
> 6) ReadableErrorTest::testMissingExpr
> Attempt to read property 'idontexist' from integer value
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL/Context.php' contains "input/error-07.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:52
> 
> 7) ReadableErrorTest::testMacroNotExists
> Macro 'doesnotexist' is not defined in error-02.macro.html
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL.php' contains "input/error-12.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:77
> 
> 8) ReadableErrorTest::testLocalMacroNotExists
> Macro 'doesnotexist' is not defined
> Failed asserting that '/var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/classes/PHPTAL.php' contains "input/error-13.html".
> 
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:96
> /var/tmp/portage/dev-php/phptal-1.3.1/work/PHPTAL-1.3.1/tests/ReadableErrorTest.php:82
> 
> ERRORS!
> Tests: 623, Assertions: 2286, Errors: 3, Failures: 8, Skipped: 9, Incomplete: 5.
>
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-19 00:53:08 UTC
v1.4.0 will only address 1 test failure.

Let's try to last-rite package...
Comment 5 Daniel Jakob 2020-12-02 17:10:41 UTC
Upstream seams dead for a while.
https://github.com/SC-Networks/PHPTAL is a maintained fork...
Comment 6 Larry the Git Cow gentoo-dev 2022-12-21 11:40:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418de272c5ecc63af0d8f362639750af072b0597

commit 418de272c5ecc63af0d8f362639750af072b0597
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-12-21 10:51:34 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-12-21 11:40:50 +0000

    package.mask: Last rite dev-php/phptal
    
    Bug: https://bugs.gentoo.org/737842
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2023-01-27 11:11:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e7d71255f62f6489f63b126f92395b0854125cd

commit 7e7d71255f62f6489f63b126f92395b0854125cd
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-01-27 10:46:29 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-01-27 11:07:03 +0000

    dev-php/phptal: treeclean
    
    Closes: https://bugs.gentoo.org/737842
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-php/phptal/Manifest            |  1 -
 dev-php/phptal/metadata.xml        |  8 --------
 dev-php/phptal/phptal-1.3.1.ebuild | 36 ------------------------------------
 profiles/base/package.use.mask     |  1 -
 profiles/package.mask              |  7 -------
 5 files changed, 53 deletions(-)