Skip Menu |

This queue is for tickets about the POSIX-1003 CPAN distribution.

Report information
The Basics
Id: 128832
Status: open
Priority: 0/
Queue: POSIX-1003

People
Owner: Nobody in particular
Requestors: daxim [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.98
  • 0.99_07
Fixed in: (no value)



Subject: crash at build time: "panic: XSUB POSIX::1003::Limit::_getrlimit (1003.c) failed to extend arg stack"
[0] 22:51 daxim@rotechili:~› cpanm --look POSIX::1003::Sysconf --> Working on POSIX::1003::Sysconf Fetching http://www.cpan.org/authors/id/M/MA/MARKOV/POSIX-1003-0.98.tar.gz ... OK Entering /home/daxim/.cpanm/work/1552513880.21559/POSIX-1003-0.98 with /bin/bash [0] 22:51 daxim@rotechili:~/.cpanm/work/1552513880.21559/POSIX-1003-0.98› perl Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for POSIX::1003 Writing MYMETA.yml and MYMETA.json [0] 22:51 daxim@rotechili:~/.cpanm/work/1552513880.21559/POSIX-1003-0.98› make cp lib/POSIX/1003/Limit.pod blib/lib/POSIX/1003/Limit.pod cp lib/POSIX/1003/User.pod blib/lib/POSIX/1003/User.pod cp lib/POSIX/1003/Errno.pm blib/lib/POSIX/1003/Errno.pm cp lib/POSIX/1003/Math.pm blib/lib/POSIX/1003/Math.pm cp lib/POSIX/1003/Locale.pod blib/lib/POSIX/1003/Locale.pod cp lib/POSIX/1003/Termios.pod blib/lib/POSIX/1003/Termios.pod cp lib/POSIX/1003/Module.pod blib/lib/POSIX/1003/Module.pod cp lib/POSIX/1003/Proc.pm blib/lib/POSIX/1003/Proc.pm cp lib/POSIX/1003/Fcntl.pod blib/lib/POSIX/1003/Fcntl.pod cp lib/POSIX/1003/Sysconf.pm blib/lib/POSIX/1003/Sysconf.pm cp lib/POSIX/1003/FdIO.pm blib/lib/POSIX/1003/FdIO.pm cp lib/POSIX/1003/Confstr.pm blib/lib/POSIX/1003/Confstr.pm cp lib/POSIX/1003/Signals.pm blib/lib/POSIX/1003/Signals.pm cp lib/POSIX/SigAction.pod blib/lib/POSIX/SigAction.pod cp lib/POSIX/1003/Time.pod blib/lib/POSIX/1003/Time.pod cp lib/POSIX/1003/Pathconf.pod blib/lib/POSIX/1003/Pathconf.pod cp lib/POSIX/1003/Module.pm blib/lib/POSIX/1003/Module.pm cp lib/POSIX/1003/Proc.pod blib/lib/POSIX/1003/Proc.pod cp lib/POSIX/1003/Termios.pm blib/lib/POSIX/1003/Termios.pm cp lib/POSIX/1003/Fcntl.pm blib/lib/POSIX/1003/Fcntl.pm cp lib/POSIX/1003/Events.pod blib/lib/POSIX/1003/Events.pod cp lib/POSIX/1003/Pathconf.pm blib/lib/POSIX/1003/Pathconf.pm cp lib/POSIX/1003/Events.pm blib/lib/POSIX/1003/Events.pm cp lib/POSIX/1003/Sysconf.pod blib/lib/POSIX/1003/Sysconf.pod cp lib/POSIX/1003/Confstr.pod blib/lib/POSIX/1003/Confstr.pod cp lib/POSIX/1003/Symbols.pm blib/lib/POSIX/1003/Symbols.pm cp lib/POSIX/1003/FdIO.pod blib/lib/POSIX/1003/FdIO.pod cp lib/POSIX/1003/Math.pod blib/lib/POSIX/1003/Math.pod cp lib/POSIX/1003/User.pm blib/lib/POSIX/1003/User.pm cp lib/POSIX/1003/Errno.pod blib/lib/POSIX/1003/Errno.pod cp lib/POSIX/1003/Limit.pm blib/lib/POSIX/1003/Limit.pm cp lib/POSIX/1003/Properties.pod blib/lib/POSIX/1003/Properties.pod cp lib/POSIX/Overview.pod blib/lib/POSIX/Overview.pod cp lib/POSIX/1003/OS.pod blib/lib/POSIX/1003/OS.pod cp lib/POSIX/1003/Time.pm blib/lib/POSIX/1003/Time.pm cp lib/POSIX/1003/FS.pm blib/lib/POSIX/1003/FS.pm cp lib/POSIX/1003.pm blib/lib/POSIX/1003.pm cp lib/POSIX/1003/Signals.pod blib/lib/POSIX/1003/Signals.pod cp lib/POSIX/1003/Properties.pm blib/lib/POSIX/1003/Properties.pm cp lib/POSIX/1003/FS.pod blib/lib/POSIX/1003/FS.pod cp lib/POSIX/SigAction.pm blib/lib/POSIX/SigAction.pm cp lib/POSIX/1003.pod blib/lib/POSIX/1003.pod cp lib/POSIX/1003/OS.pm blib/lib/POSIX/1003/OS.pm cp lib/POSIX/1003/Locale.pm blib/lib/POSIX/1003/Locale.pm cp lib/POSIX/SigSet.pod blib/lib/POSIX/SigSet.pod cp lib/POSIX/SigSet.pm blib/lib/POSIX/SigSet.pm Running Mkbootstrap for 1003 () chmod 644 "1003.bs" "/home/daxim/local/share/perlbrew/perls/perl-5.28.0/bin/perl5.28.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- 1003.bs blib/arch/auto/POSIX/1003/1003.bs 644 *** autodetect available symbols "/home/daxim/local/share/perlbrew/perls/perl-5.28.0/bin/perl5.28.0" lists.PL "/home/daxim/local/share/perlbrew/perls/perl-5.28.0/bin/perl5.28.0" "/home/daxim/local/share/perlbrew/perls/perl-5.28.0/lib/5.28.0/ExtUtils/xsubpp" -typemap '/home/daxim/local/share/perlbrew/perls/perl-5.28.0/lib/5.28.0/ExtUtils/typemap' -typemap '/home/daxim/.cpanm/work/1552513880.21559/POSIX-1003-0.98/typemap' 1003.xs > 1003.xsc mv 1003.xsc 1003.c cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/home/daxim/local/share/perlbrew/perls/perl-5.28.0/lib/5.28.0/x86_64-linux-thread-multi-ld/CORE" 1003.c 1003.c: In function ‘XS_POSIX__1003__FS_makedev’: 1003.c:946:13: warning: In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "makedev", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including <sys/types.h>. RETVAL = makedev(major, minor); ^~~~~~~~~~~~~~~~~~~~ 1003.c: In function ‘XS_POSIX__1003__FS_major’: 1003.c:965:13: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. RETVAL = major(dev); ^~~~~~~~~ 1003.c: In function ‘XS_POSIX__1003__FS_minor’: 1003.c:984:13: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. RETVAL = minor(dev); ^~~~~~~~~ rm -f blib/arch/auto/POSIX/1003/1003.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector-strong 1003.o -o blib/arch/auto/POSIX/1003/1003.so \ \ chmod 755 blib/arch/auto/POSIX/1003/1003.so *** collect all defined symbols "/home/daxim/local/share/perlbrew/perls/perl-5.28.0/bin/perl5.28.0" symbols.PL *** adding values examples to manuals "/home/daxim/local/share/perlbrew/perls/perl-5.28.0/bin/perl5.28.0" manuals.PL lib/POSIX/1003.pod lib/POSIX/1003/Confstr.pod lib/POSIX/1003/Errno.pod lib/POSIX/1003/Events.pod lib/POSIX/1003/FS.pod lib/POSIX/1003/Fcntl.pod lib/POSIX/1003/FdIO.pod lib/POSIX/1003/Limit.pod lib/POSIX/1003/Locale.pod lib/POSIX/1003/Math.pod lib/POSIX/1003/Module.pod lib/POSIX/1003/OS.pod lib/POSIX/1003/Pathconf.pod lib/POSIX/1003/Proc.pod lib/POSIX/1003/Properties.pod lib/POSIX/1003/Signals.pod lib/POSIX/1003/Sysconf.pod lib/POSIX/1003/Termios.pod lib/POSIX/1003/Time.pod lib/POSIX/1003/User.pod lib/POSIX/Overview.pod lib/POSIX/SigAction.pod lib/POSIX/SigSet.pod panic: XSUB POSIX::1003::Limit::_getrlimit (1003.c) failed to extend arg stack: base=1390ec0, sp=13910e8, hwm=13910e0 make: *** [Makefile:1254: linkext] Fehler 22
Subject: Re: [rt.cpan.org #128832] crash at build time: "panic: XSUB POSIX::1003::Limit::_getrlimit (1003.c) failed to extend arg stack"
Date: Thu, 14 Mar 2019 10:54:19 +0100
To: Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 via RT <bug-POSIX-1003 [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 via RT (bug-POSIX-1003@rt.cpan.org) [190313 22:02]: Show quoted text
> Wed Mar 13 18:01:41 2019: Request 128832 was acted upon. > Queue: POSIX-1003 > Subject: crash at build time: "panic: XSUB POSIX::1003::Limit::_getrlimit > (1003.c) failed to extend arg stack" > Broken in: 0.98, 0.99_07 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=128832 > > > --> Working on POSIX::1003::Sysconf > 1003.c:946:13: warning: In the GNU C Library, "makedev" is defined > by <sys/sysmacros.h>. For historical compatibility, it is > currently defined by <sys/types.h> as well, but we plan to > remove this soon. To use "makedev", include <sys/sysmacros.h> > directly. If you did not intend to use a system-defined macro > "makedev", you should undefine it after including <sys/types.h>. > RETVAL = makedev(major, minor); > ^~~~~~~~~~~~~~~~~~~~
Repaired Show quoted text
> panic: XSUB POSIX::1003::Limit::_getrlimit (1003.c) failed to extend arg stack: base=1390ec0, sp=13910e8, hwm=13910e0 > make: *** [Makefile:1254: linkext] Fehler 22
Fixed: need to replace PUSHs by XPUSHs. (Hopefully I find time to redo the whole compilation phase soon, using Jens' Autoconfig suite) -- Thanks, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Show quoted text
> Repaired
Show quoted text
> Fixed
Would you please push the changes? <https://github.com/markov2?tab=repositories&q=posix> I can help you by testing/confirming before a Pause upload.