The configuration for Parrot don't work on the PowerPC architectur and
Fedora linux. I attached a log of the build. In the build I include
the command "perl Configure.pl --test". For my surprice all tests passes
successful but the configuration fails. Is the ppc-CPU-architectur a
platform where Parrot should run and should I open a ticket for that?

Gerd Pokorra 
Mock Version: 0.9.14
Mock Version: 0.9.14
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/parrot.spec'], False, '/var/lib/mock/dist-f10-build-394208-67361/root/', None, 86400, True, 0, 426, 102, None, logger=<mock.trace_decorator.getLog object at 0xf7c85970>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/parrot.spec']
warning: Could not canonicalize hostname: ppc8.fedora.phx.redhat.com
Building target platforms: ppc
Building for target ppc
Wrote: /builddir/build/SRPMS/parrot-0.9.1-1.src.rpm
Child returncode was: 0
LEAVE do --> 

ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/parrot.spec'], False, '/var/lib/mock/dist-f10-build-394208-67361/root/', None, 86400, True, 0, 426, 102, None, logger=<mock.trace_decorator.getLog object at 0xf7c85970>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/parrot.spec']
Building target platforms: ppc
Building for target ppc
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6m2Dha
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf parrot-0.9.1
+ /usr/bin/gzip -dc /builddir/build/SOURCES/parrot-0.9.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd parrot-0.9.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/perl -pi -e 's,"lib/,"lib/, if (/CONST_STRING\(interp,/)' src/library.c
+ /usr/bin/perl -pi -e 's,'\''/usr/lib'\'','\''/usr/lib'\'',;s,runtime/lib/,runtime/lib/,' tools/dev/install_files.pl tools/dev/mk_manifests.pl
Can't open tools/dev/mk_manifests.pl: No such file or directory, <> line 277.
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7NWzKn
+ umask 022
+ cd /builddir/build/BUILD
+ cd parrot-0.9.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ /usr/bin/perl Configure.pl --test
As you requested, we'll start with some tests of the configuration tools.
t/configure/001-options.....................ok
t/configure/002-messages....................ok
t/configure/003-steplist....................ok
t/configure/004-configure...................ok
t/configure/005-run_one_step................ok
t/configure/006-bad_step....................ok
t/configure/007-verbose_two.................ok
t/configure/008-file_based_configuration....ok
t/configure/011-no_description..............ok
t/configure/012-verbose.....................ok
t/configure/013-die.........................ok
t/configure/015-no_return...................ok
t/configure/016-no_return_but_result........ok
t/configure/017-revision_from_cache.........skipped: (no reason given)
t/configure/018-revision_to_cache...........skipped: (no reason given)
t/configure/019-version.....................ok
t/configure/020-version.....................ok
t/configure/021-version.....................ok
t/configure/022-version.....................ok
t/configure/023-version.....................ok
t/configure/024-version.....................ok
t/configure/025-options_test................ok
t/configure/026-options_test................ok
t/configure/027-option_or_data..............ok
t/configure/028-option_or_data..............ok
t/configure/029-option_or_data..............ok
t/configure/030-option_or_data..............ok
t/configure/031-base........................ok
t/configure/032-data........................ok
t/configure/033-step........................ok
t/configure/034-step........................ok
t/configure/035-step........................ok
t/configure/037-run_single_step.............ok
t/configure/038-run_single_step.............ok
t/configure/039-run_single_step.............ok
t/configure/041-return_undef................ok
t/configure/042-list_of_steps...............ok
t/configure/043-verbose_step................ok
t/configure/044-slurp_file..................ok
t/configure/045-generated_file_header.......ok
t/configure/046-inter.......................ok
t/configure/047-inter.......................ok
t/configure/048-return_result_undef.........ok
t/configure/049-options_test................ok
t/configure/050-fatal.......................ok
t/configure/051-fatal_step..................ok
t/configure/059-silent......................ok
t/configure/061-revision_from_cache.........skipped: (no reason given)
t/steps/init_manifest-01....................ok
t/steps/init_defaults-01....................ok
t/steps/init_install-01.....................ok
t/steps/init_hints-01.......................ok
t/steps/init_headers-01.....................ok
t/steps/inter_progs-01......................ok
t/steps/inter_progs-02......................ok
t/steps/inter_progs-03......................ok
t/steps/inter_progs-04......................ok
t/steps/inter_make-01.......................ok
t/steps/inter_lex-01........................ok
t/steps/inter_lex-02........................ok
t/steps/inter_lex-03........................ok
t/steps/inter_yacc-01.......................ok
t/steps/inter_yacc-02.......................ok
t/steps/auto_gcc-01.........................ok
t/steps/auto_glibc-01.......................ok
t/steps/auto_backtrace-01...................ok
t/steps/auto_fink-01........................skipped: fink is Darwin only
t/steps/auto_macports-01....................skipped: Macports is Darwin only
t/steps/auto_macports-02....................skipped: Macports is Darwin only
t/steps/auto_msvc-01........................ok
t/steps/auto_attributes-01..................ok
t/steps/auto_warnings-01....................ok
t/steps/init_optimize-01....................ok
t/steps/inter_shlibs-01.....................ok
t/steps/inter_libparrot-01..................ok
t/steps/inter_charset-01....................ok
t/steps/inter_encoding-01...................ok
t/steps/inter_types-01......................ok
t/steps/auto_ops-01.........................ok
t/steps/auto_pmc-01.........................ok
t/steps/auto_alignptrs-01...................ok
t/steps/auto_alignptrs-02...................ok
t/steps/auto_headers-01.....................ok
t/steps/auto_sizes-01.......................ok
t/steps/auto_byteorder-01...................ok
t/steps/auto_va_ptr-01......................ok
t/steps/auto_format-01......................ok
t/steps/auto_isreg-01.......................ok
t/steps/auto_arch-01........................ok
t/steps/auto_jit-01.........................ok
t/steps/auto_cpu-01.........................ok
t/steps/auto_funcptr-01.....................ok
t/steps/auto_cgoto-01.......................ok
t/steps/auto_inline-01......................ok
t/steps/auto_gc-01..........................ok
t/steps/auto_memalign-01....................ok
t/steps/auto_signal-01......................ok
t/steps/auto_socklen_t-01...................ok
t/steps/auto_neg_0-01.......................ok
t/steps/auto_env-01.........................ok
t/steps/auto_gmp-01.........................ok
t/steps/auto_readline-01....................ok
t/steps/auto_readline-02....................ok
t/steps/auto_gdbm-01........................ok
t/steps/auto_pcre-01........................ok
t/steps/auto_opengl-01......................ok
t/steps/auto_crypto-01......................ok
t/steps/auto_gettext-01.....................ok
t/steps/auto_snprintf-01....................ok
t/steps/auto_perldoc-01.....................ok
t/steps/auto_pod2man-01.....................ok
t/steps/auto_ctags-01.......................ok
t/steps/auto_revision-01....................ok
t/steps/auto_icu-01.........................ok
t/steps/gen_config_h-01.....................ok
t/steps/gen_core_pmcs-01....................ok
t/steps/gen_crypto-01.......................ok
t/steps/gen_parrot_include-01...............ok
t/steps/gen_opengl-01.......................ok
t/steps/gen_call_list-01....................ok
t/steps/gen_languages-01....................ok
t/steps/gen_makefiles-01....................ok
t/steps/gen_platform-01.....................ok
t/steps/gen_config_pm-01....................ok
All tests successful.
Files=124, Tests=2824, 27 wallclock secs ( 1.09 usr  0.30 sys + 23.04 cusr  3.89 csys = 28.32 CPU)
Result: PASS
I just ran some tests to demonstrate that
Parrot's configuration tools will work as intended.
124 t/configure and t/step tests took 27 seconds.
Parrot Version 0.9.1 Configure 2.0
Copyright (C) 2001-2009, Parrot Foundation.
Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case I'll prompt you for a few
pieces of info.
Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.
init::manifest -      Check MANIFEST.....................................done.
init::defaults -      Set Configure's default values.....................done.
init::install -       Set up installation paths..........................done.
init::hints -         Load platform and local hints files................done.
init::headers -       Find header files distributed with Parrot..........done.
inter::progs -        Determine what C compiler and linker to use........done.
inter::make -         Is make installed...................................yes.
inter::lex -          Is lex installed................................skipped.
inter::yacc -         Is yacc installed...............................skipped.
auto::gcc -           Is your C compiler actually gcc................yes, 4.3.
auto::glibc -         Is GNU libc installed...............................yes.
auto::backtrace -     Does libc have the backtrace* functions.............yes.
auto::fink -          Determine Fink location on Darwin...............skipped.
auto::macports -      Determine Macports location on Darwin...........skipped.
auto::msvc -          Is your C compiler actually Visual C++..........skipped.
auto::attributes -    Detect compiler attributes.........................done.
auto::warnings -      Detect supported compiler warnings..........set for gcc.
init::optimize -      Enable optimization..................................no.
inter::shlibs -       Determine flags for building shared libraries.....-fPIC.
inter::libparrot -    Should parrot link against a shared library.........yes.
inter::charset -      Which charset files should be compiled in..........done.
inter::encoding -     Which encoding files should be compiled in.........done.
inter::types -        What types should Parrot use.......................done.
auto::ops -           Which opcode files should be compiled in...........done.
auto::pmc -           Which pmc files should be compiled in..............done.
auto::alignptrs -     Determine your minimum pointer alignment........ 1 byte.
auto::headers -       Probe for C headers................................done.
auto::sizes -         Determine some sizes...............................done.
auto::byteorder -     Compute native byteorder for wordsize........big-endian.
auto::va_ptr -        Test the type of va_ptr........................register.
auto::format -        What formats should be used for sprintf............done.
auto::isreg -         Does your C library have a working S_ISREG..........yes.
auto::arch -          Determine CPU architecture and OS..................done.
auto::jit -           Determine JIT capability............................yes.
auto::cpu -           Generate CPU specific stuff........................done.
auto::funcptr -       Does compiler support function pointer casts........yes.
auto::cgoto -         Does your compiler support computed goto............yes.
auto::inline -        Does your compiler support inline...................yes.
auto::gc -            Determine allocator to use.........................done.
auto::memalign -      Does your C library support memalign................yes.
auto::signal -        Determine some signal stuff........................done.
auto::socklen_t -     Determine whether there is socklen_t................yes.
auto::neg_0 -         Determine whether negative zero can be printed......yes.
auto::env -           Does your C library have setenv / unsetenv.........both.
auto::gmp -           Does your platform support GMP......................yes.
auto::readline -      Does your platform support readline.................yes.
auto::gdbm -          Does your platform support gdbm.....................yes.
auto::pcre -          Does your platform support pcre....................done.
auto::opengl -        Does your platform support OpenGL....................no.
auto::crypto -        Does your platform support crypto..................done.
auto::gettext -       Does your configuration include gettext.............yes.
auto::snprintf -      Test snprintf......................................done.
auto::perldoc -       Is perldoc installed................................yes.
auto::pod2man -       Is pod2man installed................................yes.
auto::ctags -         Is (exuberant) ctags installed.......................no.
auto::revision -      Determine Parrot's revision........................done.
auto::icu -           Is ICU installed....................................yes.
gen::config_h -       Generate C headers.................................done.
gen::core_pmcs -      Generate core pmc list.............................done.
gen::crypto -         Generate Digest PMC files.......................skipped.
gen::parrot_include - Generate runtime/parrot/include....................done.
gen::opengl -         Generating OpenGL bindings......................skipped.
gen::call_list -      Generate NCI signature list........................done.
gen::languages -      Configure languages................................done.
gen::makefiles -      Generate makefiles and other build files...........done.
gen::platform -       Move platform files into place.....................done.
gen::config_pm -      Record configuration data for later retrieval......done.
As you requested, I will now run some tests of the build tools.
t/postconfigure/01-options.....................ok
t/postconfigure/02-data_get_PConfig............ok
t/postconfigure/05-trace.......................skipped: Tests irrelevant unless configuration completed with tracing requested
t/postconfigure/06-data_get_PConfig_Temp.......ok
t/tools/pmc2cutils/00-qualify..................ok
t/tools/pmc2cutils/01-pmc2cutils...............ok
t/tools/pmc2cutils/02-find_file................ok
t/tools/pmc2cutils/03-dump_vtable..............ok
t/tools/pmc2cutils/04-dump_pmc.................ok
t/tools/pmc2cutils/05-gen_c....................ok
t/tools/pmc2cutils/07-open_file................ok
t/tools/pmc2cutils/08-pmc-pm...................ok
t/tools/ops2cutils/01-new......................ok
t/tools/ops2cutils/02-usage....................ok
t/tools/ops2cutils/03-print_c_header_file......ok
t/tools/ops2cutils/04-print_c_source_top.......ok
t/tools/ops2cutils/05-print_c_source_bottom....ok
t/tools/ops2cutils/06-dynamic..................ok
t/tools/ops2cutils/07-make_incdir..............ok
t/tools/ops2cutils/08-nolines..................ok
t/tools/ops2cutils/09-dynamic_nolines..........ok
t/tools/ops2cutils/10-print_c_source_file......ok
t/tools/ops2pm/00-qualify......................ok
t/tools/ops2pm/01-ops2pm.......................ok
t/tools/ops2pm/02-usage........................ok
t/tools/ops2pm/03-new..........................ok
t/tools/ops2pm/04-prepare_ops..................ok
t/tools/ops2pm/05-renum_op_map_file............ok
t/tools/ops2pm/06-load_op_map_files............ok
t/tools/ops2pm/07-no_ops_skip..................ok
t/tools/ops2pm/08-sort_ops.....................skipped: Requires DEVELOPING file
t/tools/ops2pm/09-prepare_real_ops.............ok
t/tools/ops2pm/10-print_module.................ok
t/tools/ops2pm/11-print_h......................ok
t/pharness/01-default_tests....................ok
t/pharness/02-get_test_prog_args...............ok
t/pharness/03-handle_long_options..............ok
t/pharness/04-Usage............................ok
All tests successful.
Files=38, Tests=910, 40 wallclock secs ( 0.38 usr  0.12 sys + 36.39 cusr  1.16 csys = 38.05 CPU)
Result: PASS
Okay, we're done!
You can now use `gmake' to build your Parrot.
After that, you can use `gmake test' to run the test suite.
Happy Hacking,
        The Parrot Team
+ /usr/bin/perl Configure.pl --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --cc=gcc --cxx=g++ '--optimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -maccumulate-outgoing-args' --parrot_is_shared --lex=/usr/bin/flex --yacc=/usr/bin/yacc '--libs=-lcurses -lm'
Parrot Version 0.9.1 Configure 2.0
Copyright (C) 2001-2009, Parrot Foundation.
Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case I'll prompt you for a few
pieces of info.
Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.
init::manifest -      Check MANIFEST.....................................done.
init::defaults -      Set Configure's default values.....................done.
init::install -       Set up installation paths..........................done.
init::hints -         Load platform and local hints files................done.
init::headers -       Find header files distributed with Parrot..........done.
inter::progs -        Determine what C compiler and linker to use........done.
inter::make -         Is make installed...................................yes.
inter::lex -          Is lex installed...........................user defined.
inter::yacc -         Is yacc installed..........................user defined.
auto::gcc -           Is your C compiler actually gcc................yes, 4.3.
auto::glibc -         Is GNU libc installed...............................yes.
auto::backtrace -     Does libc have the backtrace* functions.............yes.
auto::fink -          Determine Fink location on Darwin...............skipped.
auto::macports -      Determine Macports location on Darwin...........skipped.
auto::msvc -          Is your C compiler actually Visual C++..........skipped.
auto::attributes -    Detect compiler attributes.........................done.
auto::warnings -      Detect supported compiler warnings..........set for gcc.
init::optimize -      Enable optimization.................................yes.
inter::shlibs -       Determine flags for building shared libraries.....-fPIC.
inter::libparrot -    Should parrot link against a shared library.........yes.
inter::charset -      Which charset files should be compiled in..........done.
inter::encoding -     Which encoding files should be compiled in.........done.
inter::types -        What types should Parrot use.......................done.
auto::ops -           Which opcode files should be compiled in...........done.
auto::pmc -           Which pmc files should be compiled in..............done.
auto::alignptrs -     Determine your minimum pointer alignment...
step auto::alignptrs died during execution: C compiler failed (see test_15591.cco) at lib/Parrot/Configure/Compiler.pm line 104
    Parrot::Configure::Compiler::cc_build('Parrot::Configure=HASH(0x10208360)') called at config/auto/alignptrs.pm line 51
    auto::alignptrs::runstep('auto::alignptrs=HASH(0x1054ea98)', 'Parrot::Configure=HASH(0x10208360)') called at lib/Parrot/Configure.pm line 412
    eval {...} called at lib/Parrot/Configure.pm line 412
    Parrot::Configure::_run_this_step('Parrot::Configure=HASH(0x10208360)', 'HASH(0x1044dba8)') called at lib/Parrot/Configure.pm line 267
    Parrot::Configure::runsteps('Parrot::Configure=HASH(0x10208360)') called at Configure.pl line 75
 at Configure.pl line 75
auto::headers -       Probe for C headers................................done.
auto::sizes -         Determine some sizes...
step auto::sizes died during execution: C compiler failed (see test_15591.cco) at lib/Parrot/Configure/Compiler.pm line 104
    Parrot::Configure::Compiler::cc_build('Parrot::Configure=HASH(0x10208360)') called at config/auto/sizes.pm line 36
    auto::sizes::runstep('auto::sizes=HASH(0x1057cc38)', 'Parrot::Configure=HASH(0x10208360)') called at lib/Parrot/Configure.pm line 412
    eval {...} called at lib/Parrot/Configure.pm line 412
    Parrot::Configure::_run_this_step('Parrot::Configure=HASH(0x10208360)', 'HASH(0x10546410)') called at lib/Parrot/Configure.pm line 267
    Parrot::Configure::runsteps('Parrot::Configure=HASH(0x10208360)') called at Configure.pl line 75
 at Configure.pl line 75
auto::byteorder -     Compute native byteorder for wordsize...
step auto::byteorder died during execution: C compiler failed (see test_15591.cco) at lib/Parrot/Configure/Compiler.pm line 104
    Parrot::Configure::Compiler::cc_build('Parrot::Configure=HASH(0x10208360)') called at config/auto/byteorder.pm line 44
    auto::byteorder::_probe_for_byteorder('Parrot::Configure=HASH(0x10208360)') called at config/auto/byteorder.pm line 34
    auto::byteorder::runstep('auto::byteorder=HASH(0x1057e8e8)', 'Parrot::Configure=HASH(0x10208360)') called at lib/Parrot/Configure.pm line 412
    eval {...} called at lib/Parrot/Configure.pm line 412
    Parrot::Configure::_run_this_step('Parrot::Configure=HASH(0x10208360)', 'HASH(0x1044dbb8)') called at lib/Parrot/Configure.pm line 267
    Parrot::Configure::runsteps('Parrot::Configure=HASH(0x10208360)') called at Configure.pl line 75
 at Configure.pl line 75
auto::va_ptr -        Test the type of va_ptr...
step auto::va_ptr died during execution: Unknown va_ptr type at config/auto/va_ptr.pm line 42.
 at Configure.pl line 75
auto::format -        What formats should be used for sprintf...value for 'i_limits' in config/auto/format/intval_maxmin_c.in is undef at lib/Parrot/Configure/Compiler.pm line 537, <$in> line 4.
.........done.
auto::isreg -         Does your C library have a working S_ISREG...........no.
auto::arch -          Determine CPU architecture and OS..................done.
auto::jit -           Determine JIT capability............................yes.
auto::cpu -           Generate CPU specific stuff........................done.
auto::funcptr -       Does compiler support function pointer casts...Although it is not required by the ANSI C standard,
Parrot requires the ability to cast from void pointers to function
pointers for its JIT support.
Your compiler does not appear to support this behavior with the
flags you have specified.  You must adjust your settings in order
to use the JIT code.
If you wish to continue without JIT support, please re-run this script
With the '--jitcapable=0' argument.
error: Bad exit status from /var/tmp/rpm-tmp.7NWzKn (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.7NWzKn (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/parrot.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do
    raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/parrot.spec']
LEAVE do --> EXCEPTION RAISED

_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to