PHP remnants

Christian Ehrhardt christian.ehrhardt at canonical.com
Wed Mar 25 11:38:04 UTC 2020


On Wed, Mar 25, 2020 at 3:54 AM Bryce Harrington <
bryce.harrington at canonical.com> wrote:

> Christian, would you mind looking into this one?
>

Sure, taking a look ...


> On Tue, Mar 24, 2020 at 07:14:02PM -0700, Bryce Harrington wrote:
> > > > php-league-commonmark
> > > >   - League\CommonMark\Tests\Functional\BinTest::testStdin
> > > >     Failed asserting that 1 matches expected 0.
> > > >   - 1.3.1-1 could be sync'd from debian
> > > >   - syncpackage -V 1.3.1-1 -d unstable -r focal-proposed
> php-league-commonmark
> > > >   - Sync Done
> > > >   - Yet php-defaults still showing as built against
> > > >     php-league-commonmark 1.3.0-1...?
> > > >   - Guessing needs a retrigger?
> > >
> > > 1.3.1-1 is still failing the same way.  The test result needs to be
> > > analyzed and a patch figured out.  This might be HW specific to s390.
> >
> > Still needs figured out
>
> This appears to be something peculiar to s390x, which I'm guessing you
> know a way to run checks on?
>
> From the test it looks like it's simply doing:
>
> $ bin/commonmark ./tests/functional/data/atx_heading.md
>

In an unbuilt tree this fails for sure:
root at f-php:~/php-league-commonmark-1.3.1# bin/commonmark
./tests/functional/data/atx_heading.md
PHP Fatal error:  Uncaught Error: Class
'League\CommonMark\CommonMarkConverter' not found in
/root/php-league-commonmark-1.3.1/bin/commonmark:84
Stack trace:
#0 {main}
 thrown in /root/php-league-commonmark-1.3.1/bin/commonmark on line 84
Fatal error: Uncaught Error: Class 'League\CommonMark\CommonMarkConverter'
not found in /root/php-league-commonmark-1.3.1/bin/commonmark:84
Stack trace:
#0 {main}
 thrown in /root/php-league-commonmark-1.3.1/bin/commonmark on line 84

If I build it on s390x it runs the tests as well and they all work.
WARNINGS!
Tests: 2773, Assertions: 3341, Warnings: 92.

The warnings are mostly deprecation warnings.
Running the same in the build dir or as autopkgtest returns the same result
(working)

Running commonmark itself also works just fine.
TL;DR: not reproducible outside of launchpad test env :-/

I might later on check if different package levels (I ran all proposed)
might change anything.

<h1>H1</h1>
> <h2>H2</h2>
> <h3>H3</h3>
> <h4>H4</h4>
> <h5>H5</h5>
> <h6>H6</h6>
> <h1>H1</h1>
> <h2>H2</h2>
> <h3>H3</h3>
> <h4>H4</h4>
> <h5>H5</h5>
> <h6>H6</h6>
>
> For some unclear reason, on s390x this is resulting in an exitcode of
> 1.  Can you check and see if you can reproduce that, and if so look at
> what might be going on?
>
> Thanks,
> Bryce
>


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20200325/eddd2448/attachment.html>


More information about the ubuntu-server mailing list