develooper Front page | perl.perl5.porters | Postings from April 2014

Build failed in Jenkins: perl5-threaded #3651

Thread Next
April 21, 2014 16:20
Build failed in Jenkins: perl5-threaded #3651
Message ID:
See <>

[...truncated 509 lines...]
Some systems have different model sizes.  On most systems they are called
small, medium, large, and huge.  On the PDP11 they are called unsplit and
split.  If your system doesn't support different memory models, say "none".
If you wish to force everything to one memory model, say "none" here and
put the appropriate flags later when it asks you for other cc and ld flags.
Venix systems may wish to put "none" and let the compiler figure things out.
(In the following question multiple model names should be space separated.)

Which memory models are supported? [none]  
Hmm...  Looks kind of like a Version 7 system, but we'll see...
Congratulations.  You aren't running Eunice.
It's not Xenix...
Nor is it Venix...
Use which C compiler? [ccache gcc]  
Checking for GNU cc in disguise and/or its version number...
You are using GNU cc 4.4.7 20120313 (Red Hat 4.4.7-4).
Hmm...  Doesn't look like a MIPS system.

Some systems have incompatible or broken versions of libraries.  Among
the directories listed in the question below, please remove any you
know not to be holding relevant libraries, and add any that are needed.
Say "none" for none.

Directories to use for library searches? [/usr/local/lib /lib /usr/lib]  

On some systems, shared libraries may be available.  Answer 'none' if
you want to suppress searching of shared libraries for the remaining
of this configuration.

What is the file extension used for shared libraries? [so]  
Checking for optional libraries...
No -lc_s.
Some versions of Unix support shared libraries, which make executables smaller
but make load time slightly longer.

On some systems, mostly System V Release 3's, the shared library is included
by putting the option "-lc_s" as the last thing on the cc command line when
linking.  Other systems use shared libraries by default.  There may be other
libraries needed to compile perl on your machine as well.  If your system
needs the "-lc_s" option, include it here.  Include any other special libraries
here as well.  Say "none" for none.
Any additional libraries? [none]  
Now, how can we feed standard input to your C preprocessor...
Maybe "ccache gcc -E" will work...
Nope...maybe "ccache gcc -E -" will work...
Yup, it does.

Some C compilers have problems with their optimizers.  By default, perl
compiles with the -O flag to use the optimizer.  Alternately, you might want
to use the symbolic debugger, which uses the -g flag (on traditional Unix
systems).  Either flag can be specified here.  To use neither flag, specify
the word "none".

What optimizer/debugger flag should be used? [-O2]  

Your C compiler may want other flags.  For this question you should include
-I/whatever and -DWHATEVER flags and any other flags used by the C compiler,
but you should NOT include libraries or ld flags like -lwhatever.  If you
want perl to honor its debug switch, you should include -DDEBUG here.

To use no flags, specify the word "none".

Any additional cc flags? [-I/usr/local/include]  
Let me guess what the preprocessor flags are...
They appear to be: -I/usr/local/include

Your C linker may need flags.  For this question you should
include -L/whatever and any other flags used by the C linker, but you
should NOT include libraries like -lwhatever.

Make sure you include the appropriate -L/path flags if your C linker
does not normally search all of the directories you specified above,
	/usr/local/lib /lib /usr/lib
To use no flags, specify the word "none".

Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]  
Checking your choice of C compiler and flags for coherency...
OK, that should do.
Checking for GNU C Library...
You are not using the GNU C Library

I can use 'nm' to extract the symbols from your C libraries. This is a time
consuming task which may generate huge output on the disk (up to 3 megabytes)
but that should make the symbols extraction faster. The alternative is to skip
the 'nm' extraction part and to compile a small test program instead to
determine whether each symbol is present. If you have a fast C compiler and/or
if your 'nm' output cannot be parsed, this may be the best solution.
You shouldn't let me use 'nm' if you have the GNU C Library.

Shall I use nm to extract C symbols from the libraries? [n]  
bcopy() found.
bzero() found.
Your sprintf() returns (int).
crypt() NOT found.
rename() found.
select() found.
stat() found.
Computing filename position in cpp output for #include directives...
Your cpp writes the filename in the third field of the line.
Your stat() doesn't know about block sizes.
Checking how std your stdio is...
Your stdio doesn't appear very std.
Using <string.h> instead of <strings.h>.
strchr() found.
Checking to see if your C compiler can copy structs...
Yup, it can.
symlink() found.
system() found.
<sys/times.h> found.
times() found.
What type is returned by times() on this system? [clock_t]  
You have struct tm defined in <time.h> rather than <sys/time.h>.
vfork() found.
Some systems have problems with vfork().  Do you want to use it? [y]  
I can't determine whether signal handler returns void or int...
What type does your signal handler return? [void]  
Checking to see how well your C compiler groks the void type...
  Support flag bits are:
    1: basic void declarations.
    2: arrays of pointers to functions returning void.
    4: operations between pointers to and addresses of void functions.
    8: generic void pointers.
It appears to support void to the level perl wants (15).
However, you might get some warnings that look like this:
try.c: In function ‘sub’:
try.c:17: warning: incompatible implicit declaration of built-in function ‘exit’
try.c:20: warning: incompatible implicit declaration of built-in function ‘exit’
No nm library found--the normal math library will have to do.
<malloc.h> found.
<stdlib.h> found.
Do you wish to attempt to use the malloc that comes with perl? [n]  
Checking out function prototypes...
Your C compiler appears to support function prototypes.
Your stdio uses signed chars.
End of configuration questions.
Hmm...You had some extra variables I don't know about...I'll try to keep 'em...
    Propagating recommended variable $ccflags_uselargefiles...
    Propagating recommended variable $d_lstat...
    Propagating recommended variable $d_suidsafe...
    Propagating recommended variable $ignore_versioned_solibs...
    Propagating recommended variable $libswanted...
Doing variable substitutions on .SH files...
Extracting Makefile (with variable substitutions)
Extracting config.h (with variable substitutions)
Extracting makedepend (with variable substitutions)
Extracting makedir (with variable substitutions)
Extracting x2p/Makefile (with variable substitutions)

Now you need to generate make dependencies by running "make depend".
You might prefer to run it in background: "make depend > makedepend.out &"
It can take a while, so you might not want to run it right now.

Run make depend now? [y]  
make[1]: Entering directory `<'>
echo arg.c array.c cmd.c dump.c form.c hash.c  search.c stab.c str.c util.c version.c | tr ' ' '\012' >.clist
make[1]: Leaving directory `<'>
Finding dependencies for arg.o.
Finding dependencies for array.o.
Finding dependencies for cmd.o.
Finding dependencies for dump.o.
Finding dependencies for form.o.
Finding dependencies for hash.o.
Finding dependencies for search.o.
Finding dependencies for stab.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for version.o.
make[1]: Entering directory `<'>
echo Makefile.SH makedepend.SH | tr ' ' '\012' >.shlist
make[1]: Leaving directory `<'>
Updating Makefile...
Now you must run a make.
[perl5-threaded] $ /bin/bash -xe /tmp/
+ make -j8
ccache gcc -c -I/usr/local/include -O  arg.c
ccache gcc -c -I/usr/local/include -O  array.c
ccache gcc -c -I/usr/local/include -O  cmd.c
ccache gcc -c -I/usr/local/include -O  dump.c
ccache gcc -c -I/usr/local/include -O  form.c
ccache gcc -c -I/usr/local/include -O  hash.c
ccache gcc -c -I/usr/local/include -O  search.c
ccache gcc -c -I/usr/local/include -O  stab.c
ccache gcc -c -I/usr/local/include -O  str.c
ccache gcc -c -I/usr/local/include -O  util.c
stab.c: In function ‘stabset’:
stab.c:265: warning: passing argument 2 of ‘signal’ from incompatible pointer type
/usr/include/signal.h:101: note: expected ‘__sighandler_t’ but argument is of type ‘int (*)()’
ccache gcc -c -I/usr/local/include -O  version.c
Expect 2 shift/reduce errors...
yacc perl.y
version.c: In function ‘version’:
version.c:17: warning: incompatible implicit declaration of built-in function ‘printf’
make: yacc: Command not found
make: *** [perl.c] Error 127
make: *** Waiting for unfinished jobs....
Build step 'Execute shell' marked build as failure

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About