all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* PHP fails to build on aarch64
@ 2021-11-29 23:05 Ricardo Wurmus
  2021-11-30 13:05 ` Efraim Flashner
  2021-12-07 16:06 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2021-11-29 23:05 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

on core-updates-frozen some of the PHP tests keep failing on 
aarch64.  Last time I ran it there were 7 failing tests.  PHP is 
needed for libsoup-minimal, which is an input to gtk 3.

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Concatenating many small strings should not slowdown allocations 
[Zend/tests/concat_003.phpt]
Bug #66731: file: extensive backtraking, with pcre.jit=0 
[ext/fileinfo/tests/cve-2014-3538-nojit.phpt]
Bug #66731: file: extensive backtraking 
[ext/fileinfo/tests/cve-2014-3538.phpt]
Test interoperability of password_hash('argon2i') 
[ext/sodium/tests/php_password_hash_argon2i.phpt]
Test interoperability of password_hash('argon2id') 
[ext/sodium/tests/php_password_hash_argon2id.phpt]
Test interoperability of password_verify() 
[ext/sodium/tests/php_password_verify.phpt]
file upload greater than 2G [sapi/cli/tests/upload_2G.phpt]
=====================================================================

What can we do here?  (It’s a little ugly to need PHP to build 
GTK, but at least it’s just a build time input…)

-- 
Ricardo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PHP fails to build on aarch64
  2021-11-29 23:05 PHP fails to build on aarch64 Ricardo Wurmus
@ 2021-11-30 13:05 ` Efraim Flashner
  2021-11-30 13:07   ` Ricardo Wurmus
  2021-12-07 16:06 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2021-11-30 13:05 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1724 bytes --]

On Tue, Nov 30, 2021 at 12:05:19AM +0100, Ricardo Wurmus wrote:
> Hi Guix,
> 
> on core-updates-frozen some of the PHP tests keep failing on aarch64.  Last
> time I ran it there were 7 failing tests.  PHP is needed for
> libsoup-minimal, which is an input to gtk 3.
> 
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Concatenating many small strings should not slowdown allocations
> [Zend/tests/concat_003.phpt]
> Bug #66731: file: extensive backtraking, with pcre.jit=0
> [ext/fileinfo/tests/cve-2014-3538-nojit.phpt]
> Bug #66731: file: extensive backtraking
> [ext/fileinfo/tests/cve-2014-3538.phpt]
> Test interoperability of password_hash('argon2i')
> [ext/sodium/tests/php_password_hash_argon2i.phpt]
> Test interoperability of password_hash('argon2id')
> [ext/sodium/tests/php_password_hash_argon2id.phpt]
> Test interoperability of password_verify()
> [ext/sodium/tests/php_password_verify.phpt]
> file upload greater than 2G [sapi/cli/tests/upload_2G.phpt]
> =====================================================================
> 
> What can we do here?  (It’s a little ugly to need PHP to build GTK, but at
> least it’s just a build time input…)

When I build it on aarch64 only the pcre.jit test is failing for me. I
tried cherry-picking the php update patch to core-updates but it still
failed for me, still with only the one test failing.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PHP fails to build on aarch64
  2021-11-30 13:05 ` Efraim Flashner
@ 2021-11-30 13:07   ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2021-11-30 13:07 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel


Efraim Flashner <efraim@flashner.co.il> writes:

> [[PGP Signed Part:Undecided]]
> On Tue, Nov 30, 2021 at 12:05:19AM +0100, Ricardo Wurmus wrote:
>> Hi Guix,
>> 
>> on core-updates-frozen some of the PHP tests keep failing on 
>> aarch64.  Last
>> time I ran it there were 7 failing tests.  PHP is needed for
>> libsoup-minimal, which is an input to gtk 3.
>> 
>> =====================================================================
>> FAILED TEST SUMMARY
>> ---------------------------------------------------------------------
>> Concatenating many small strings should not slowdown 
>> allocations
>> [Zend/tests/concat_003.phpt]
>> Bug #66731: file: extensive backtraking, with pcre.jit=0
>> [ext/fileinfo/tests/cve-2014-3538-nojit.phpt]
>> Bug #66731: file: extensive backtraking
>> [ext/fileinfo/tests/cve-2014-3538.phpt]
>> Test interoperability of password_hash('argon2i')
>> [ext/sodium/tests/php_password_hash_argon2i.phpt]
>> Test interoperability of password_hash('argon2id')
>> [ext/sodium/tests/php_password_hash_argon2id.phpt]
>> Test interoperability of password_verify()
>> [ext/sodium/tests/php_password_verify.phpt]
>> file upload greater than 2G [sapi/cli/tests/upload_2G.phpt]
>> =====================================================================
>> 
>> What can we do here?  (It’s a little ugly to need PHP to build 
>> GTK, but at
>> least it’s just a build time input…)
>
> When I build it on aarch64 only the pcre.jit test is failing for 
> me. I
> tried cherry-picking the php update patch to core-updates but it 
> still
> failed for me, still with only the one test failing.

I’m building it again right now.  Previously only one of the tests 
failed.

-- 
Ricardo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PHP fails to build on aarch64
  2021-11-29 23:05 PHP fails to build on aarch64 Ricardo Wurmus
  2021-11-30 13:05 ` Efraim Flashner
@ 2021-12-07 16:06 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2021-12-07 16:06 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

> on core-updates-frozen some of the PHP tests keep failing on aarch64.
> Last time I ran it there were 7 failing tests.  PHP is needed for
> libsoup-minimal, which is an input to gtk 3.

I have since removed PHP from libsoup’s dependencies, in commit
90570b5e9f3da11a63e7c7865d44daddf2e366b5.  A quick grep on the latest
version of libsoup suggested that it’s not used at all.

I think we’d rather not have those low-level libraries depend on big and
frequently-updated packages.

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-07 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 23:05 PHP fails to build on aarch64 Ricardo Wurmus
2021-11-30 13:05 ` Efraim Flashner
2021-11-30 13:07   ` Ricardo Wurmus
2021-12-07 16:06 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.