Skip to content
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

perl 5.40.1 and 5.38.3 builds #231

Open
7 of 8 tasks
shawnlaffan opened this issue Jan 17, 2025 · 6 comments
Open
7 of 8 tasks

perl 5.40.1 and 5.38.3 builds #231

shawnlaffan opened this issue Jan 17, 2025 · 6 comments

Comments

@shawnlaffan
Copy link
Contributor

shawnlaffan commented Jan 17, 2025

List of tasks for the upcoming point releases.

Extlibs:

Perl::Dist::Strawberry

@shawnlaffan
Copy link
Contributor Author

shawnlaffan commented Jan 22, 2025

XML::LibXML has issues with recent versions of libxml2: https://rt.cpan.org/Public/Bug/Display.html?id=157693

Update: Worked around by using a slightly older version that is not affected by the CVE.

@shawnlaffan
Copy link
Contributor Author

shawnlaffan commented Jan 23, 2025

PDL::IO::DBI fails some of its tests. PDL is 2.099 (latest on CPAN). It also fails with SP 5.40.0 when PDL is built using current git HEAD.

Passes when built against PDL 2.089.

Disabling for now.

Building and testing PDL-IO-DBI-0.012 ... cp lib/PDL/IO/DBI.pm blib\lib\PDL\IO\DBI.pm
"C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/compile.t ........ ok
t/db-odbc-mssql.t .. skipped: PDL_IO_DBI_ODBC_MSSQL_TEST_DSN not set
t/db-postgresql.t .. skipped: PDL_IO_DBI_PG_TEST_DSN not set
# no PDL::DateTime
t/db-sqlite.t ...... ok
Trying to upd_data but datasv now length 20 instead of 0 at C:\strawberry_build\env\AppDataRoaming\.cpanm\work\1737637280.6864\PDL-IO-DBI-0.012\blib\lib/PDL/IO/DBI.pm line 188.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 37.
t/reuse_sth.t ......
Dubious, test returned 2 (wstat 512, 0x200)
All 37 subtests passed

Update:
This can be attributed to a recent change in PDL. PDLPorters/pdl@5f6c93b
The fix needs to be in PDL::IO::DBI so will leave it disabled until then.

Update 2: Reported to kmx/pdl-io-dbi#3

@shawnlaffan
Copy link
Contributor Author

@wesQ3
Copy link

wesQ3 commented Jan 24, 2025

Hi, thanks for your work on Strawberry Perl.

Dev build is looking good on my end so far.

@twata1
Copy link

twata1 commented Jan 26, 2025

It seems to me that fail to build Math::Pari again.

Please see http://fast-matrix.cpantesters.org/?dist=Math-Pari%202.030523

@shawnlaffan
Copy link
Contributor Author

shawnlaffan commented Jan 26, 2025

It seems to me that fail to build Math::Pari again.

Please see http://fast-matrix.cpantesters.org/?dist=Math-Pari%202.030523

The same build failures occur with SP 5.40.0.1 so this seems not to be a new problem. I can also reproduce locally with 5.40.0.1. See error below.

In file included from C:\perls\5.40.0.1_PDL\perl\lib\CORE/inline.h:1506,
                 from C:\perls\5.40.0.1_PDL\perl\lib\CORE/perl.h:7866,
                 from Pari.xs:51:
pari-2.3.5/src64/headers/parigen.h:21:14: error: conflicting types for 'llabs'; have 'long int(long int)'
   21 | #define labs llabs
      |              ^~~~~
In file included from C:/perls/5.40.0.1_PDL/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include/mm_malloc.h:27,
                 from C:/perls/5.40.0.1_PDL/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include/xmmintrin.h:34,
                 from C:/perls/5.40.0.1_PDL/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include/immintrin.h:31,
                 from C:/perls/5.40.0.1_PDL/c/lib/gcc/x86_64-w64-mingw32/13.2.0/include/x86intrin.h:32,
                 from C:/perls/5.40.0.1_PDL/c/x86_64-w64-mingw32/include/winnt.h:1658,
                 from C:/perls/5.40.0.1_PDL/c/x86_64-w64-mingw32/include/minwindef.h:163,
                 from C:/perls/5.40.0.1_PDL/c/x86_64-w64-mingw32/include/windef.h:9,
                 from C:/perls/5.40.0.1_PDL/c/x86_64-w64-mingw32/include/windows.h:69,
                 from Pari.xs:3:
C:/perls/5.40.0.1_PDL/c/x86_64-w64-mingw32/include/stdlib.h:735:52: note: previous definition of 'llabs' with type 'long long int(long long int)'
  735 |   __MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(long long _j) { return (_j >= 0 ? _j : -_j); }
      |                                                    ^~~~~
gmake: *** [makefile:352: Pari.o] Error 1

With SP 5.38.0.1 it gets into an infinite loop reporting patching file src/language/init.c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants