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

BBC: Blead Breaks Math::Pari #23143

Open
cjg-cguevara opened this issue Mar 19, 2025 · 3 comments
Open

BBC: Blead Breaks Math::Pari #23143

cjg-cguevara opened this issue Mar 19, 2025 · 3 comments
Labels
BBC Blead Breaks CPAN - changes in blead broke a cpan module(s)

Comments

@cjg-cguevara
Copy link

This is a bug report for perl from "Carlos Guevara" [email protected],
generated with the help of perlbug 1.43 running under perl 5.41.10.


BBC: Blead Breaks Math::Pari

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


Flags

  • category=core
  • severity=low

Perl configuration

Site configuration information for perl 5.41.10:

Configured by cpan at Wed Mar 19 19:07:14 EDT 2025.

Summary of my perl5 (revision 5 version 41 subversion 10) configuration:
  Commit id: abaee7c6ca652e5e74f8bc3ebffc49a92341bd65
  Platform:
    osname=linux
    osvers=5.14.0-503.31.1.el9_5.x86_64
    archname=x86_64-linux
    uname='linux cjg-rhel9 5.14.0-503.31.1.el9_5.x86_64 #1 smp preempt_dynamic thu mar 6 09:41:44 est 2025 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Dprefix=/home/cpan/bin/perl -Dscriptdir=/home/cpan/bin/perl/bin -Dusedevel -Duse64bitall'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='11.5.0 20240719 (Red Hat 11.5.0-5)'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /usr/lib64 /usr/local/lib64
    libs=-lpthread -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=/lib/../lib64/libc.so.6
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.34'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'


---
@INC for perl 5.41.10:
    /home/cpan/bin/perl/lib/site_perl/5.41.10/x86_64-linux
    /home/cpan/bin/perl/lib/site_perl/5.41.10
    /home/cpan/bin/perl/lib/5.41.10/x86_64-linux
    /home/cpan/bin/perl/lib/5.41.10

---
Environment for perl 5.41.10:
    HOME=/home/cpan
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LC_ALL=C
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/cpan/bin/perl/bin:/home/cpan/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
    PERL_BADLANG (unset)
    SHELL=/bin/bash
@jkeenan
Copy link
Contributor

jkeenan commented Mar 24, 2025

Bisecting with the following invocation:

perl Porting/bisect.pl \
--start=v5.41.9 \
--end=v5.41.10 \
--module=Math::Pari

... 1793561 was identified as the breaking commit:

179356156963a4b43629d91b6c8abc3030e76739 is the first bad commit
commit 179356156963a4b43629d91b6c8abc3030e76739
Author: Chris 'BinGOs' Williams <[email protected]>
Date:   Fri Mar 14 11:39:15 2025 +0000
Commit:     Chris 'BinGOs' Williams <[email protected]>
CommitDate: Fri Mar 14 11:44:54 2025 +0000

    Update ExtUtils-MakeMaker to CPAN version 7.72

@bingos can you take a look? Thanks.

@jkeenan jkeenan added BBC Blead Breaks CPAN - changes in blead broke a cpan module(s) and removed Needs Triage labels Mar 24, 2025
@bingos
Copy link
Contributor

bingos commented Mar 25, 2025

@mohawk2 said he would have a look

@jkeenan
Copy link
Contributor

jkeenan commented Mar 25, 2025

This is a build-time failure. Here is an extensively trimmed version of the output I get from attempting to install Math::Pari (via cpan) against an unthreaded perl built on Linux at v5.41.10-8-ge5ef137f91 (March 24).

$ ./bin/cpan Math::Pari
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/home/jkeenan/.cpan/Metadata'
  Database was generated on Mon, 24 Mar 2025 19:17:02 GMT
Running install for module 'Math::Pari'
Checksum for /home/jkeenan/.cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.030523.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring I/IL/ILYAZ/modules/Math-Pari-2.030523.tar.gz with Makefile.PL
Did not find GP/PARI build directory around.
Non-interactive session, autofetching...

Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/
Not in this directory, now chdir('unix')...
Not in this directory, now chdir('../OLD/2.3')...
Available golden versions: `2.3.2 2.3.1 2.3.0 2.3.4 2.3.5 2.3.3'
Latest supported golden is `pari-2.3.5.tar.gz'
Picking golden version 2.3.5, file pari-2.3.5.tar.gz
Downloading `ftp://megrez.math.u-bordeaux.fr/pub/pari/pari-2.3.5.tar.gz'...
Downloaded...
Extracting...
gzip -dc pari-2.3.5.tar.gz | tar -xvf -
pari-2.3.5/
pari-2.3.5/CHANGES
...
pari-2.3.5/examples/lucas.gp
pari-2.3.5/README.os2
Looking for patches for 2.3.5...
Patching...
cd pari-2.3.5 && patch -p1  < ../patches/diff_2.3.5_stderr_clobber
patching file src/language/init.c
cd pari-2.3.5 && patch -p1  < ../patches/diff_add_gnuplotNeeded
patching file src/graph/plotX.c
patching file src/graph/plotport.c
patching file src/graph/rect.h
patching file src/gp/highlvl.h
cd pari-2.3.5 && patch -p1  < ../patches/diff_add_gnuplotAdd
patching file src/graph/Gnuplot.h
patching file src/graph/plotgnuplot.c
patching file src/functions/graphic/plotterm
Finished patching...
Found GP/PARI build directory in pari-2.3.5
     (integer-formatted version 2003005).

  ### In version 2.3.* of GP/PARI library, the test t/55_intnum.t takes
  ###    significant time to complete.

Setting up Math::Pari with Perl 5.041011 on linux version 6.8.0-55-generic;
   cc=cc, gccversion=13.3.0, cccdlflags='-fPIC',
   ccflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
   optimize='-O2',
   ld=cc, ldflags=' -fstack-protector-strong -L/usr/local/lib'.
...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
...CLK_TCK not defined
Creating libPARI/paricfg.h...
Trying to find DATADIR of an installed version of GP/PARI (if such exists)...
sh: 1: gp: not found
...Processor of family `x86_64' detected
Checking if your kit is complete...
Looks good
...Processor of family `x86_64' detected
...I will use assembler build of type 'x86_64'.
...Assembler is GNU assembler
funclist needs to be autogenerated...
   ... Need to autogenerate funclist ourselves...
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Math::Pari
Writing MYMETA.yml and MYMETA.json
  ILYAZ/modules/Math-Pari-2.030523.tar.gz
  /home/jkeenan/testing/blead/bin/perl Makefile.PL -- OK
Running make for I/IL/ILYAZ/modules/Math-Pari-2.030523.tar.gz
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cp libPARI.pod blib/lib/Math/libPARI.pod
cp PariInit.pm blib/lib/Math/PariInit.pm
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2" PREFIX="/home/jkeenan/testing/blead" PASTHRU_DEFINE=' -DPARI_VERSION_EXP=2003005 -DDEBUG_PARI -DUSE_SLOW_ARRAY_ACCESS -DUSE_SLOW_NARGS_ACCESS -DLSB_in_U32=0 -Derr=pari_err -DGCC_INLINE -DHAVE_PARIPRIV ' PASTHRU_INC=' -I pari-2.3.5/src -I pari-2.3.5/src/headers -I pari-2.3.5/src -I ./libPARI '
make[1]: Entering directory '/home/jkeenan/.cpan/build/Math-Pari-2.030523-0/libPARI'
Makefile:1153: *** target file 'test_static' has both : and :: entries.  Stop.
make[1]: Leaving directory '/home/jkeenan/.cpan/build/Math-Pari-2.030523-0/libPARI'
make: *** [Makefile:1130: subdirs-make] Error 2
  ILYAZ/modules/Math-Pari-2.030523.tar.gz
  /usr/bin/make -- NOT OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BBC Blead Breaks CPAN - changes in blead broke a cpan module(s)
Projects
None yet
Development

No branches or pull requests

3 participants