Skip to content

Exporter change in bleadperl breaks an Exporter test in the previous Exporter pkg on CPAN #23206

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

Open
andk opened this issue Apr 19, 2025 · 1 comment
Labels
BBC Blead Breaks CPAN - changes in blead broke a cpan module(s)

Comments

@andk
Copy link
Contributor

andk commented Apr 19, 2025

Module: Exporter

Description

Bleadperl has Exporter 5.79 since commit v5.41.8-94-g92096305f2

CPAN still has Exporter 5.78 as the current one

If one runs the 'make test' for the TODDR/Exporter-5.78.tar.gz distro, one gets a fail like illustrated in http://www.cpantesters.org/cpan/report/1ea91aba-1b88-11f0-bebf-970cda0fe8b3 ; the question is: is this intentional or is it a regression?

Steps to Reproduce

(enter the cpan shell with e.g. PATH-TO-YOUR-5.41.10/bin/cpan, then within the shell enter)
test TODDR/Exporter-5.78.tar.gz

The above fails the test like in the link above, i.e. the output contains:

 "quux" is not defined in %Foo::EXPORT_TAGS at t/warn.t line 37.
	eval {...} called at t/warn.t line 37
t/warn.t ...... 
Failed 1/2 subtests 

Expected behavior

The test should probably produce a PASS like it did with 5.41.8. Or, if it is intentional, this should probably made clear by providing a 5.79 on CPAN with a passing test.

Perl configuration

# perl -V output goes here
Summary of my perl5 (revision 5 version 41 subversion 10) configuration:
  Commit id: 6a1cf63fc3f0e8d25b8f3837f9ca46b3bbc65885
  Platform:
    osname=linux
    osvers=6.8.12-amd64
    archname=x86_64-linux-quadmath
    uname='linux k93msid 6.8.12-amd64 #1 smp preempt_dynamic debian 6.8.12-1 (2024-05-31) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.41.10/ec94 -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Uuselongdouble -DEBUGGING=both -Dusequadmath'
    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 -DDEBUGGING -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 -g'
    cppflags='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='13.3.0'
    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='__float128'
    nvsize=16
    Off_t='off_t'
    lseeksize=8
    alignbytes=16
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64
    libs=-lpthread -ldl -lm -lcrypt -lutil -lc -lquadmath
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc -lquadmath
    libc=/lib/x86_64-linux-gnu/libc.so.6
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.38'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    DEBUGGING
    HAS_LONG_DOUBLE
    HAS_STRTOLD
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_QUADMATH
  Built under linux
  Compiled at Mar 25 2025 19:17:12
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="3811486"
    PERL5_CPAN_IS_RUNNING="3811486"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.41.10/ec94/lib/site_perl/5.41.10/x86_64-linux-quadmath
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.41.10/ec94/lib/site_perl/5.41.10
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.41.10/ec94/lib/5.41.10/x86_64-linux-quadmath
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.41.10/ec94/lib/5.41.10
    .
@haarg
Copy link
Contributor

haarg commented Apr 19, 2025

Downgrading to a module version from before the perl release won't always work. A change was made in core which required an update to Exporter. This is the expected process, so there isn't really anything wrong here.

There are a number of blead-first dists that should be released to CPAN, but that is meant for the benefit of older perl releases, not for the latest release.

@karenetheridge karenetheridge added the BBC Blead Breaks CPAN - changes in blead broke a cpan module(s) label Apr 22, 2025
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

4 participants