make test fails on openbsd #8

Closed
petdance opened this Issue May 22, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@petdance
Owner

petdance commented May 22, 2012

This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--

Dear Andy Lester,

This is a computer-generated error report created automatically by
CPANPLUS, version 0.9129. Testers personal comments may appear
at the end of this report.


Thank you for uploading your work to CPAN.  However, it appears that
there were some problems testing your distribution.

TEST RESULTS:

Below is the error stack from stage 'make test':

PERL_DL_NONLAZY=1 /home/cpan/pit/bare/perl-5.8.9/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing File::Next 1.08, Perl 5.008009, /home/cpan/pit/bare/perl-5.8.9/bin/perl
t/00-load.t ............... ok
t/api.t ................... ok
t/basic.t ................. ok
t/dirs.t .................. ok
t/dot.t ................... ok
t/everything.t ............ ok
t/follow.t ................ ok
t/from_file.t ............. ok
t/from_stdin.t ............ ok
t/methods.t ............... ok
t/parms.t ................. ok
t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.04 required for testing POD
t/pod.t ................... skipped: Test::Pod 1.14 required for testing POD

#   Failed test 'passing a named pipe created by a bash process substitution should yield that filename'
#   at t/process-substitution.t line 19.
#          got: '256'
#     expected: '0'
# Looks like you failed 1 test of 1.
t/process-substitution.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/sort.t .................. ok
t/zero.t .................. ok

Test Summary Report
-------------------
t/process-substitution.t (Wstat: 256 Tests: 1 Failed: 1)
 Failed test:  1
 Non-zero exit status: 1
Files=16, Tests=73,  1 wallclock secs ( 0.02 usr  0.08 sys +  0.31 cusr  0.28 csys =  0.69 CPU)
Result: FAIL
Failed 1/16 test programs. 1/73 subtests failed.
*** Error code 255

Stop in /home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08 (line 844 of Makefile).


PREREQUISITES:

Here is a list of prerequisites you specified and versions we
managed to load:

      Module Name                        Have     Want
      ExtUtils::MakeMaker                6.62        0
      File::Spec                         3.33        0
      Test::More                         0.98        0

Perl module toolchain versions installed:
    Module Name                        Have
    CPANPLUS                         0.9129
    CPANPLUS::Dist::Build              0.62
    Cwd                                3.33
    ExtUtils::CBuilder             0.280205
    ExtUtils::Command                  1.16
    ExtUtils::Install                  1.54
    ExtUtils::MakeMaker                6.62
    ExtUtils::Manifest                 1.60
    ExtUtils::ParseXS                  3.15
    File::Spec                         3.33
    Module::Build                      0.40
    Test::Harness                      3.23
    Test::More                         0.98
    version                            0.99

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************

Additional comments:


This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.80.
Powered by minismokebox version 0.54

------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

   AUTOMATED_TESTING = 1
   PATH = /home/cpan/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
   PERL5LIB = :/home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08/blib/lib:/home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08/blib/arch
   PERL5_CPANPLUS_IS_RUNNING = 6764
   PERL5_CPANPLUS_IS_VERSION = 0.9129
   PERL5_MINISMOKEBOX = 0.54
   PERL5_YACSMOKE_BASE = /home/cpan/pit/bare/conf/perl-5.8.9
   PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
   PERL_MM_USE_DEFAULT = 1
   SHELL = /usr/local/bin/bash
   TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

   Perl: $^X = /home/cpan/pit/bare/perl-5.8.9/bin/perl
   UID:  $<  = 1001
   EUID: $>  = 1001
   GID:  $(  = 1001 1001
   EGID: $)  = 1001 1001


-------------------------------


--

Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
 Platform:
   osname=openbsd, osvers=5.1, archname=OpenBSD.i386-openbsd
   uname='openbsd oatcake.bingosnet.co.uk 5.1 generic#160 i386 '
   config_args='-des -Dprefix=/home/cpan/pit/bare/perl-5.8.9'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
   usemymalloc=y, bincompat5005=undef
 Compiler:
   cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include',
   optimize='-O2',
   cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
   ccversion='', gccversion='4.2.1 20070719 ', gccosandvers='openbsd5.1'
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
   alignbytes=4, prototype=define
 Linker and Libraries:
   ld='cc', ldflags ='-Wl,-E  -L/usr/local/lib'
   libpth=/usr/local/lib /usr/lib
   libs=-lgdbm -lm -lutil -lc
   perllibs=-lm -lutil -lc
   libc=/usr/lib/libc.so.62.0, so=so, useshrplib=false, libperl=libperl.a
   gnulibc_version=''
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
   cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC  -L/usr/local/lib'


Characteristics of this binary (from libperl): 
 Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_FAST_STDIO
                       USE_LARGE_FILES USE_PERLIO
 Built under openbsd
 Compiled at May  3 2012 17:43:18
 %ENV:
   PERL5LIB=":/home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08/blib/lib:/home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08/blib/arch"
   PERL5_CPANPLUS_IS_RUNNING="6764"
   PERL5_CPANPLUS_IS_VERSION="0.9129"
   PERL5_MINISMOKEBOX="0.54"
   PERL5_YACSMOKE_BASE="/home/cpan/pit/bare/conf/perl-5.8.9"
   PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
   PERL_MM_USE_DEFAULT="1"
 @INC:
   /home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08/blib/lib
   /home/cpan/pit/bare/conf/perl-5.8.9/.cpanplus/5.8.9/build/File-Next-1.08/blib/arch
   /home/cpan/pit/bare/perl-5.8.9/lib/5.8.9/OpenBSD.i386-openbsd
   /home/cpan/pit/bare/perl-5.8.9/lib/5.8.9
   /home/cpan/pit/bare/perl-5.8.9/lib/site_perl/5.8.9/OpenBSD.i386-openbsd
   /home/cpan/pit/bare/perl-5.8.9/lib/site_perl/5.8.9
   .
@hoelzro

This comment has been minimized.

Show comment Hide comment
@hoelzro

hoelzro Jul 17, 2012

Contributor

Andy, to follow up on our discussion about process substitution:

 Process Substitution
   Process substitution is supported on systems that support named pipes (FIFOs) or the /dev/fd method of naming open files.  It takes the form of <(list) or >(list).  The process list is run with its input  or
   output  connected  to  a FIFO or some file in /dev/fd.  The name of this file is passed as an argument to the current command as the result of the expansion.  If the >(list) form is used, writing to the file 
   will provide input for list.  If the <(list) form is used, the file passed as an argument should be read to obtain the output of list.

   When available, process substitution is performed simultaneously with parameter and variable expansion, command substitution, and arithmetic expansion.

So it seems that any file that is a FIFO or is under /dev/fd should be treated specially?

Contributor

hoelzro commented Jul 17, 2012

Andy, to follow up on our discussion about process substitution:

 Process Substitution
   Process substitution is supported on systems that support named pipes (FIFOs) or the /dev/fd method of naming open files.  It takes the form of <(list) or >(list).  The process list is run with its input  or
   output  connected  to  a FIFO or some file in /dev/fd.  The name of this file is passed as an argument to the current command as the result of the expansion.  If the >(list) form is used, writing to the file 
   will provide input for list.  If the <(list) form is used, the file passed as an argument should be read to obtain the output of list.

   When available, process substitution is performed simultaneously with parameter and variable expansion, command substitution, and arithmetic expansion.

So it seems that any file that is a FIFO or is under /dev/fd should be treated specially?

@hoelzro hoelzro referenced this issue in beyondgrep/ack2 Oct 9, 2012

Closed

Build fails on openbsd #114

@petdance

This comment has been minimized.

Show comment Hide comment
@petdance

petdance Dec 22, 2012

Owner

This should be fixed with the 1.12 release.

Owner

petdance commented Dec 22, 2012

This should be fixed with the 1.12 release.

@petdance petdance closed this Dec 22, 2012

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