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

POSIXLY_CORRECT=1 stops perl 5.26.0 from building due to pod/buildtoc -q not supported #16000

Closed
p5pRT opened this issue Jun 6, 2017 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 6, 2017

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

Searchable as RT131520$

@p5pRT
Copy link
Author

p5pRT commented Jun 6, 2017

From dc@genunix.com

Created by dc@genunix.com

If POSIXLY_CORRECT=1 then perl will not compile because the
option "-q" is not supported by pod/buildtoc and one must
edit Makefile(s) to change :

407c407
< $(RUN_PERL) -f pod/buildtoc -q
---

$(RUN_PERL) -f pod/buildtoc --quiet

Perl Info

Flags:
    category=install
    severity=high

Site configuration information for perl 5.26.0:

Configured by dclarke at Mon Jun  5 03:41:31 GMT 2017.

Summary of my perl5 (revision 5 version 26 subversion 0) configuration:
   
  Platform:
    osname=solaris
    osvers=2.10
    archname=sun4-solaris-64
    uname='sunos node000 5.10 generic_150400-50 sun4v sparc sunw,sparc-enterprise-t5220 '
    config_args='-Dprefix=/usr/local -Dmksymlinks -Accflags=-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1'
    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 ='-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -I/usr/local/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize=' '
    cppflags='-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -I/usr/local/include'
    ccversion='Studio 12.5 Sun C 5.14 SunOS_sparc 2016/05/31'
    gccversion=''
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=87654321
    doublekind=4
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=2
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -L/usr/lib -L/usr/ccs/lib -L/opt/developerstudio12.5/lib/compilers/staticlib/sparcv9 -L/opt/developerstudio12.5/lib/compilers/sparcvis2/sparcv9 -L/opt/developerstudio12.5/lib/compilers/sparcv9 -L/lib/64 -L/usr/local/lib -m64 '
    libpth=/usr/lib /usr/ccs/lib /opt/developerstudio12.5/lib/compilers/staticlib/sparcv9 /opt/developerstudio12.5/lib/compilers/sparcvis2/sparcv9 /opt/developerstudio12.5/lib/compilers/sparcv9 /lib/64 /usr/local/lib
    libs=-lpthread -lsocket -lnsl -ldl -lm -lc
    perllibs=-lpthread -lsocket -lnsl -ldl -lm -lc
    libc=/usr/lib/sparcv9/libc.so
    so=so
    useshrplib=true
    libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='  -R /usr/local/lib/perl5/5.26.0/sun4-solaris-64/CORE'
    cccdlflags='-KPIC'
    lddlflags=' -G -m64 -L/usr/lib -L/usr/ccs/lib -L/opt/developerstudio12.5/lib/compilers/staticlib/sparcv9 -L/opt/developerstudio12.5/lib/compilers/sparcvis2/sparcv9 -L/opt/developerstudio12.5/lib/compilers/sparcv9 -L/lib/64 -L/usr/local/lib'



@INC for perl 5.26.0:
    /usr/local/lib/perl5/site_perl/5.26.0/sun4-solaris-64
    /usr/local/lib/perl5/site_perl/5.26.0
    /usr/local/lib/perl5/5.26.0/sun4-solaris-64
    /usr/local/lib/perl5/5.26.0
    /usr/local/lib/perl5/site_perl/5.24.0
    /usr/local/lib/perl5/site_perl/5.16.2
    /usr/local/lib/perl5/site_perl


Environment for perl 5.26.0:
    HOME=/export/home/dclarke
    LANG=C
    LANGUAGE (unset)
    LC_ALL=C
    LC_COLLATE=C
    LC_CTYPE=C
    LC_MESSAGES=C
    LC_MONETARY=C
    LC_NUMERIC=C
    LC_TIME=C
    LD_LIBRARY_PATH=/usr/local/build/perl-5.26.0_SunOS_5.10.001:/usr/local/lib
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/local/sbin:/usr/local/openssl/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/developerstudio12.5/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin
    PERL=/usr/local/bin/perl
    PERL_BADLANG (unset)
    SHELL=/bin/ksh

@p5pRT
Copy link
Author

p5pRT commented Jun 6, 2017

From @mauke

On Tue, 06 Jun 2017 12​:08​:13 -0700, dc@​genunix.com wrote​:

This is a bug report for perl from dc@​genunix.com,
generated with the help of perlbug 1.40 running under perl 5.26.0.

-----------------------------------------------------------------
[Please describe your issue here]

If POSIXLY_CORRECT=1 then perl will not compile because the
option "-q" is not supported by pod/buildtoc and one must
edit Makefile(s) to change :

407c407
< $(RUN_PERL) -f pod/buildtoc -q
---

$(RUN_PERL) -f pod/buildtoc --quiet

This should be fixed by commit bb4830e.

I've opted to leave the buildtoc invocation unchanged and instead made it accept -q explicitly, even in POSIXLY_CORRECT mode.

@p5pRT
Copy link
Author

p5pRT commented Jun 6, 2017

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

@p5pRT
Copy link
Author

p5pRT commented Jun 6, 2017

@mauke - Status changed from 'open' to 'pending release'

@p5pRT
Copy link
Author

p5pRT commented Jun 23, 2018

From @khwilliamson

Thank you for filing this report. You have helped make Perl better.

With the release yesterday of Perl 5.28.0, this and 185 other issues have been
resolved.

Perl 5.28.0 may be downloaded via​:
https://metacpan.org/release/XSAWYERX/perl-5.28.0

If you find that the problem persists, feel free to reopen this ticket.

@p5pRT p5pRT closed this as completed Jun 23, 2018
@p5pRT
Copy link
Author

p5pRT commented Jun 23, 2018

@khwilliamson - Status changed from 'pending release' to 'resolved'

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

No branches or pull requests

1 participant