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

Blead Breaks CPAN: LEONT/App-a2p-1.009.tar.gz #16383

Closed
p5pRT opened this issue Jan 25, 2018 · 6 comments
Closed

Blead Breaks CPAN: LEONT/App-a2p-1.009.tar.gz #16383

p5pRT opened this issue Jan 25, 2018 · 6 comments

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Jan 25, 2018

Migrated from rt.perl.org#132769 (status was 'resolved')

Searchable as RT132769$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 25, 2018

From @eserte

This is a bug report for perl from slaven@​rezic.de,
generated with the help of perlbug 1.41 running under perl 5.27.8.


With perl 5.27.6 (did not bisect the exact commit) and later 5.27.x
it's not possible to compile App-a2p-1.009 anymore​:

...
cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.009\" -DXS_VERSION=\"1.009\" -fPIC "-I/opt/perl-5.27.8t/lib/5.27.8/x86_64-linux-thread-multi/CORE" util.c
...
util.c​: In function 'Myfatal'​:
util.c​:175​:24​: error​: 'a1' undeclared (first use in this function)
  fprintf(stderr,pat,a1,a2,a3,a4);
  ^
util.c​:175​:24​: note​: each undeclared identifier is reported only once for each function it appears in
util.c​:175​:27​: error​: 'a2' undeclared (first use in this function)
  fprintf(stderr,pat,a1,a2,a3,a4);
  ^
util.c​:175​:30​: error​: 'a3' undeclared (first use in this function)
  fprintf(stderr,pat,a1,a2,a3,a4);
  ^
util.c​:175​:33​: error​: 'a4' undeclared (first use in this function)
  fprintf(stderr,pat,a1,a2,a3,a4);
  ^
...

I cannot find a matching perl5276delta entry for this problem.



Flags​:
  category=core
  severity=low


Site configuration information for perl 5.27.8​:

Configured by eserte at Sat Jan 20 09​:22​:10 CET 2018.

Summary of my perl5 (revision 5 version 27 subversion 8) configuration​:
 
  Platform​:
  osname=linux
  osvers=3.16.0-4-amd64
  archname=x86_64-linux
  uname='linux cabulja 3.16.0-4-amd64 #1 smp debian 3.16.51-3 (2017-12-13) x86_64 gnulinux '
  config_args='-ds -e -Dprefix=/opt/perl-5.27.8 -Dusedevel -Dusemallocwrap=no -Dcf_email=srezic@​cpan.org'
  hint=recommended
  useposix=true
  d_sigaction=define
  useithreads=undef
  usemultiplicity=undef
  use64bitint=define
  use64bitall=define
  uselongdouble=undef
  usemymalloc=n
  default_inc_excludes_dot=define
  bincompat5005=undef
  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='4.9.2'
  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/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
  libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
  perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
  libc=libc-2.19.so
  so=so
  useshrplib=false
  libperl=libperl.a
  gnulibc_version='2.19'
  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.27.8​:
  /opt/perl-5.27.8/lib/site_perl/5.27.8/x86_64-linux
  /opt/perl-5.27.8/lib/site_perl/5.27.8
  /opt/perl-5.27.8/lib/5.27.8/x86_64-linux
  /opt/perl-5.27.8/lib/5.27.8


Environment for perl 5.27.8​:
  HOME=/home/eserte
  LANG=en_US.UTF-8
  LANGUAGE (unset)
  LD_LIBRARY_PATH (unset)
  LOGDIR (unset)
  PATH=/usr/local/bin​:/usr/bin​:/bin​:/usr/local/sbin​:/usr/sbin​:/sbin​:/home/eserte/bin/linux-gnu​:/home/eserte/bin/sh​:/home/eserte/bin​:/home/eserte/bin/pistachio-perl/bin​:/usr/games​:/home/eserte/devel
  PERLDOC=-MPod​::Perldoc​::ToTextOverstrike
  PERL_BADLANG (unset)
  SHELL=/bin/zsh

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 25, 2018

From @jkeenan

On Thu, 25 Jan 2018 19​:08​:09 GMT, slaven@​rezic.de wrote​:

This is a bug report for perl from slaven@​rezic.de,
generated with the help of perlbug 1.41 running under perl 5.27.8.

-----------------------------------------------------------------
With perl 5.27.6 (did not bisect the exact commit) and later 5.27.x
it's not possible to compile App-a2p-1.009 anymore​:

...
cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.009\"
-DXS_VERSION=\"1.009\" -fPIC "-I/opt/perl-5.27.8t/lib/5.27.8/x86_64-
linux-thread-multi/CORE" util.c
...
util.c​: In function 'Myfatal'​:
util.c​:175​:24​: error​: 'a1' undeclared (first use in this function)
fprintf(stderr,pat,a1,a2,a3,a4);
^
util.c​:175​:24​: note​: each undeclared identifier is reported only once
for each function it appears in
util.c​:175​:27​: error​: 'a2' undeclared (first use in this function)
fprintf(stderr,pat,a1,a2,a3,a4);
^
util.c​:175​:30​: error​: 'a3' undeclared (first use in this function)
fprintf(stderr,pat,a1,a2,a3,a4);
^
util.c​:175​:33​: error​: 'a4' undeclared (first use in this function)
fprintf(stderr,pat,a1,a2,a3,a4);
^
...

I cannot find a matching perl5276delta entry for this problem.

Bisection points to​:
#####
edee246 is the first bad commit
commit edee246
Author​: Aaron Crane <arc@​cpan.org>
Date​: Thu Oct 12 17​:56​:12 2017 +0200

  Rely on C89 vprintf()
#####

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 25, 2018

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 26, 2018

From @Leont

On Thu, Jan 25, 2018 at 10​:23 PM, James E Keenan via RT
<perlbug-followup@​perl.org> wrote​:

Bisection points to​:
#####
edee246 is the first bad commit
commit edee246
Author​: Aaron Crane <arc@​cpan.org>
Date​: Thu Oct 12 17​:56​:12 2017 +0200

Rely on C89 vprintf\(\)

#####

Yeah, it seems a2p still relies on that code (and in particular,
assumes HAS_VPRINTF is still defined). Easy solution is to just remove
the pre-ANSI C compatibility from a2p.

Leon

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Apr 20, 2018

From @iabyn

On Fri, Jan 26, 2018 at 01​:30​:50AM +0100, Leon Timmermans wrote​:

On Thu, Jan 25, 2018 at 10​:23 PM, James E Keenan via RT
<perlbug-followup@​perl.org> wrote​:

Bisection points to​:
#####
edee246 is the first bad commit
commit edee246
Author​: Aaron Crane <arc@​cpan.org>
Date​: Thu Oct 12 17​:56​:12 2017 +0200

Rely on C89 vprintf\(\)

#####

Yeah, it seems a2p still relies on that code (and in particular,
assumes HAS_VPRINTF is still defined). Easy solution is to just remove
the pre-ANSI C compatibility from a2p.

I see you've made a new release of App-a2p which passes under blead,
so I'll close this ticket.

--
In economics, the exam questions are the same every year.
They just change the answers.

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Apr 20, 2018

@iabyn - Status changed from 'open' to 'resolved'

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

1 participant