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

Issues in haiku #12896

Open
p5pRT opened this issue Apr 4, 2013 · 1 comment
Open

Issues in haiku #12896

p5pRT opened this issue Apr 4, 2013 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Apr 4, 2013

Migrated from rt.perl.org#117469 (status was 'new')

Searchable as RT117469$

@p5pRT
Copy link
Author

p5pRT commented Apr 4, 2013

From @Hugmeir

Created by @Hugmeir

Compiling on haiku gave me these warnings​:

/boot/home/perl-blead/regcomp.c​: In function `Perl_re_op_compile'​:
/boot/home/perl-blead/regcomp.c​:5767​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:5939​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​: In function `S_reg'​:
/boot/home/perl-blead/regcomp.c​:9098​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:9114​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:9202​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:9247​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​: In function `S_regbranch'​:
/boot/home/perl-blead/regcomp.c​:9451​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​: In function `S_regpiece'​:
/boot/home/perl-blead/regcomp.c​:9521​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​: In function `S_grok_bslash_N'​:
/boot/home/perl-blead/regcomp.c​:9964​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​: In function `S_regatom'​:
/boot/home/perl-blead/regcomp.c​:10242​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:10264​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:10460​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​: In function `S_handle_regex_sets'​:
/boot/home/perl-blead/regcomp.c​:11584​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:11750​: warning​: unsigned int format, long
unsigned int arg (arg 2)
/boot/home/perl-blead/regcomp.c​:11773​: warning​: unsigned int format, long
unsigned int arg (arg 2)

Which are all from calls like
  FAIL2("panic​: regbranch returned NULL, flags=%#X", flags);
Which use %#X for flags, which is I32.

The only other warning was this​:

/boot/home/perl-blead/hv.c​:1825​: warning​: `S_ptr_hash' declared inline
after being called

Which might be worth resolving before 5.18, particularly since
the fix is just moving that function around.

Also, several tests failed​:
t/run/exit .................................................... # Failed
test 7 - WIFEXITED at run/exit.t line 67
# Failed test 8 - WIFSIGNALED at run/exit.t line 68
# Failed test 9 - WEXITSTATUS at run/exit.t line 69
# got "0"
# expected "42"
# Failed test 14 - WIFEXITED at run/exit.t line 88
# Failed test 15 - WIFSIGNALED at run/exit.t line 89
# Failed test 16 - WTERMSIG at run/exit.t line 90
# got "0"
# expected "15"
FAILED at test 7

t/op/require_errors ........................................... # Failed
test 10 - special error message if the file exists but can't be opened at
op/require_errors.t line 88
# got 'Can't locate tmp20179C.pm in @​INC (you may need to install the
tmp20179C module) (@​INC contains​: .) at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
# '
# expected /(?^​:^Can\'t\ locate\ tmp20179C\.pm\​:)/
# Failed test 11 - ...even if we use a full path at op/require_errors.t
line 100
# got 'Can't locate /boot/home/perl-blead/t/tmp20179C.pm in @​INC (you
may need to install the :​:boot​::home​::perl-blead​::t​::tmp20179C module)
(@​INC contains​: .) at op/require_errors.t line 98.
# '
# expected /(?^​:^Can\'t\ locate\
\/boot\/home\/perl\-blead\/t\/tmp20179C\.pm\​:)/
FAILED at test 10

t/op/sigsystem ................................................ # Failed
test 3 - Reaped only one process at op/sigsystem.t line 41
Use of uninitialized value in numeric eq (==) at op/sigsystem.t line 42.
# Failed test 4 - Reaped the right process. at op/sigsystem.t line 42
# $VAR1 = [];
FAILED at test 3

cpan/ExtUtils-MakeMaker/t/min_perl_version .................... Problem
opening MANIFEST​: No such file or directory at
../../../../lib/ExtUtils/Manifest.pm line 347.
ok

cpan/ExtUtils-MakeMaker/t/several_authors ..................... Problem
opening MANIFEST​: No such file or directory at
../../../../lib/ExtUtils/Manifest.pm line 347.
ok

cpan/File-Path/t/Path ......................................... Can't
locate Carp.pm in @​INC (you may need to install the Carp module) (@​INC
contains​: ../../lib ../../t .) at ../../lib/File/Path.pm line 37.
Use of chdir('') or chdir(undef) as chdir() is deprecated at t/Path.t line
654.
Can't locate Carp.pm in @​INC (you may need to install the Carp module)
(@​INC contains​: ../../lib ../../t .) at ../../lib/File/Path.pm line 37.
END failed--call queue aborted at t/Path.t line 37.
# Looks like you planned 129 tests but ran 55.
# Looks like your test exited with 24579 just after 55.
FAILED--expected 129 tests, saw 55

cpan/Socket/t/socketpair ...................................... Useless use
of a constant (9) in void context at t/socketpair.t line 67.
# Failed test 'socketpair (LEFT, RIGHT, AF_UNIX, SOCK_DGRAM, PF_UNSPEC)'
# at t/socketpair.t line 174.
binmode() on closed filehandle LEFT at t/socketpair.t line 179.
binmode() on closed filehandle RIGHT at t/socketpair.t line 180.
syswrite() on closed filehandle LEFT at t/socketpair.t line 185.
# Failed test 'syswrite to left'
# at t/socketpair.t line 185.
# got​: undef
# expected​: '6'
syswrite() on closed filehandle LEFT at t/socketpair.t line 185.
# Failed test 'syswrite to left'
# at t/socketpair.t line 185.
# got​: undef
# expected​: '6'
syswrite() on closed filehandle RIGHT at t/socketpair.t line 189.
# Failed test 'syswrite to right'
# at t/socketpair.t line 189.
# got​: undef
# expected​: '5'
syswrite() on closed filehandle RIGHT at t/socketpair.t line 189.
# Failed test 'syswrite to right'
# at t/socketpair.t line 189.
# got​: undef
# expected​: '6'
sysread() on closed filehandle LEFT at t/socketpair.t line 197.
# Failed test 'read on left'
# at t/socketpair.t line 197.
# got​: undef
# expected​: '5'
# Failed test 'content what we expected?'
# at t/socketpair.t line 198.
# got​: ''
# expected​: 'perl '
sysread() on closed filehandle LEFT at t/socketpair.t line 197.
# Failed test 'read on left'
# at t/socketpair.t line 197.
# got​: undef
# expected​: '6'
# Failed test 'content what we expected?'
# at t/socketpair.t line 198.
# got​: ''
# expected​: 'rules!'
sysread() on closed filehandle RIGHT at t/socketpair.t line 203.
# Failed test 'read on right'
# at t/socketpair.t line 203.
# got​: undef
# expected​: '6'
# Failed test 'content what we expected?'
# at t/socketpair.t line 204.
# got​: ''
# expected​: 'hello '
sysread() on closed filehandle RIGHT at t/socketpair.t line 203.
# Failed test 'read on right'
# at t/socketpair.t line 203.
# got​: undef
# expected​: '6'
# Failed test 'content what we expected?'
# at t/socketpair.t line 204.
# got​: ''
# expected​: 'world
# '
shutdown() on closed socket LEFT at t/socketpair.t line 207.
# Failed test 'shutdown left for writing'
# at t/socketpair.t line 207.
sysread() on closed filehandle RIGHT at t/socketpair.t line 220.
# Failed test 'alarm should have fired'
# at t/socketpair.t line 222.
# got​: '0'
# expected​: '1'
syswrite() on closed filehandle RIGHT at t/socketpair.t line 228.
# Failed test 'syswrite to right'
# at t/socketpair.t line 228.
# got​: undef
# expected​: '1'
syswrite() on closed filehandle RIGHT at t/socketpair.t line 228.
# Failed test 'syswrite to right'
# at t/socketpair.t line 228.
# got​: undef
# expected​: '1'
sysread() on closed filehandle LEFT at t/socketpair.t line 234.
# Failed test 'read on left'
# at t/socketpair.t line 234.
# got​: undef
# expected​: '1'
# Failed test 'content what we expected?'
# at t/socketpair.t line 235.
# got​: ''
# expected​: '�'
sysread() on closed filehandle LEFT at t/socketpair.t line 234.
# Failed test 'read on left'
# at t/socketpair.t line 234.
# got​: undef
# expected​: '1'
# Failed test 'content what we expected?'
# at t/socketpair.t line 235.
# got​: ''
# expected​: '
# Failed test 'close left'
# at t/socketpair.t line 238.
# Failed test 'close right'
# at t/socketpair.t line 239.
# Looks like you failed 23 tests of 45.
FAILED at test 22

cpan/Time-Piece/t/02core ...................................... # Failed
test at t/02core.t line 61.
# got​: '0'
# expected​: '-18000'
FAILED at test 38

dist/ExtUtils-Command/t/eu_command ............................ cannot stat
current working directory for testdir​: Operation not allowed at
/boot/home/perl-blead/dist/ExtUtils-Command/../../lib/ExtUtils/Command.pm
line 134.
mkdir .​: Operation not allowed at
/boot/home/perl-blead/dist/ExtUtils-Command/../../lib/ExtUtils/Command.pm
line 288.
cannot fetch initial working directory​: Operation not allowed at
t/eu_command.t line 282.
cannot fetch initial working directory​: Operation not allowed at
t/eu_command.t line 283.
# Looks like you planned 40 tests but ran 22.
# Looks like your test exited with 15 just after 22.
FAILED--expected 40 tests, saw 22

dist/Net-Ping/t/450_service ................................... # Failed
test 'No sockets should have service on'
# at t/450_service.t line 166.
# got​: '127.0.0.1'
# expected​: undef
# Looks like you failed 1 test of 26.
FAILED at test 26

ext/POSIX/t/wrappers .......................................... # Failed
test 'child exited cleanly'
# at t/wrappers.t line 219.
# got​: '0'
# expected​: '1'
FAILED at test 87

lib/File/stat ................................................. # Failed
test 'correct overload for -A for dir with mode=0400'
# at ../lib/File/stat.t line 90.
# got​: '0'
# expected​: '-1.15740740740741e-05'
FAILED at test 2831

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.16.2:

Configured by hugmeir at Tue Nov 20 17:20:00 ART 2012.

Summary of my perl5 (revision 5 version 16 subversion 2) configuration:

  Platform:
    osname=linux, osvers=3.5.0-18-generic,
archname=x86_64-linux-thread-multi
    uname='linux naw 3.5.0-18-generic #29-ubuntu smp fri oct 19 10:26:51
utc 2012 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de
-Dprefix=/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2 -DDEBUGGING
-Dusethreads -Doptimize=-g -O0 -ggdb3 -Uversiononly -Accflags=-Wall -Wextra
-Aeval:scriptdir=/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/bin'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -Wall -Wextra -DDEBUGGING
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g -O0 -ggdb3',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -Wall -Wextra -DDEBUGGING
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    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 -L/usr/local/lib'
    libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.15'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -g -O0 -ggdb3 -L/usr/local/lib
-fstack-protector'

Locally applied patches:



@INC for perl 5.16.2:
    /home/hugmeir/.perlbrew/libs/perl-5.16.2@all
/lib/perl5/x86_64-linux-thread-multi
    /home/hugmeir/.perlbrew/libs/perl-5.16.2@all/lib/perl5

/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/x86_64-linux-thread-multi
    /home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2

/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/x86_64-linux-thread-multi
    /home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2
    .


Environment for perl 5.16.2:
    HOME=/home/hugmeir
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=/home/hugmeir/.rbenv/shims:/home/hugmeir/.rbenv/bin:/home/hugmeir/.perlbrew/libs/perl-5.16.2@all
/bin:/home/hugmeir/perl5/perlbrew/bin:/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    PERL5LIB=/home/hugmeir/.perlbrew/libs/perl-5.16.2@all/lib/perl5
    PERLBREW_BASHRC_VERSION=0.61
    PERLBREW_HOME=/home/hugmeir/.perlbrew
    PERLBREW_LIB=all
    PERLBREW_MANPATH=/home/hugmeir/.perlbrew/libs/perl-5.16.2@all
/man:/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/man
    PERLBREW_PATH=/home/hugmeir/.perlbrew/libs/perl-5.16.2@all
/bin:/home/hugmeir/perl5/perlbrew/bin:/home/hugmeir/perl5/perlbrew/perls/perl-5.16.2/bin
    PERLBREW_PERL=perl-5.16.2
    PERLBREW_ROOT=/home/hugmeir/perl5/perlbrew
    PERLBREW_VERSION=0.61
    PERL_BADLANG (unset)
    PERL_LOCAL_LIB_ROOT=/home/hugmeir/.perlbrew/libs/perl-5.16.2@all
    PERL_MB_OPT=--install_base /home/hugmeir/.perlbrew/libs/perl-5.16.2@all
    PERL_MM_OPT=INSTALL_BASE=/home/hugmeir/.perlbrew/libs/perl-5.16.2@all
    SHELL=/bin/bash

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

2 participants