[bug-notifications] [perl 0004103]: Sun Studio Compiler PATH in Config.pm/Config_heavy.pl and config.h

Mantis Bug Tracker noreply at opencsw.org
Tue Aug 10 18:11:32 CEST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4103 
====================================================================== 
Reported By:                rrossi33
Assigned To:                bonivart
====================================================================== 
Project:                    perl
Issue ID:                   4103
Category:                   other
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-12-29 10:41 CET
Last Modified:              2010-08-10 18:11 CEST
====================================================================== 
Summary:                    Sun Studio Compiler PATH  in
Config.pm/Config_heavy.pl and config.h
Description: 
Wrong hard coded cc path in Config.pm/ Config_heavy.pl and config.h


cc => ´/opt/studio/SOS11/SUNWspro/bin/cc',

on Machine:

/opt/SUNWspro/bin/cc


Result:

/opt/csw/bin/perl -MCPAN -e shell
CPAN Module Compiling  - Entry in Makefile.pl:

/opt/studio/SOS11/SUNWspro/bin/cc

error in compiling 





====================================================================== 

---------------------------------------------------------------------- 
 (0008188) hudesd (reporter) - 2010-08-10 18:11
 https://www.opencsw.org/mantis/view.php?id=4103#c8188 
---------------------------------------------------------------------- 
Script started on Tue Aug 10 12:03:12 2010
# cpan

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[2]>o conf
$CPAN::Config options from '/opt/csw/share/perl/5.10.1/CPAN/Config.pm':
    commit             [Commit changes to disk]
    defaults           [Reload defaults from disk]
    help               [Short help about 'o conf' usage]
    init               [Interactive setting of all options]

    applypatch         []
    auto_commit        [1]
    build_cache        [100]
    build_dir          [/export/home/dhudes/.cpan/build]
    build_dir_reuse    [0]
    build_requires_install_policy [ask/yes]
    bzip2              [/opt/csw/bin/bzip2]
    cache_metadata     [1]
    check_sigs         [0]
    colorize_debug     undef
    colorize_output    undef
    colorize_print     undef
    colorize_warn      undef
    commandnumber_in_prompt [1]
    commands_quote     undef
    connect_to_internet_ok [1]
    cpan_home          [/export/home/dhudes/.cpan]
    curl               []
    dontload_hash      undef
    dontload_list      undef
    ftp                [/usr/bin/ftp]
    ftp_passive        [1]
    ftp_proxy          []
    ftpstats_period    undef
    ftpstats_size      undef
    getcwd             [cwd]
    gpg                [/opt/csw/bin/gpg]
    gzip               [/usr/bin/gzip]
    halt_on_failure    [0]
    histfile           [/export/home/dhudes/.cpan/histfile]
    histsize           [100]
    http_proxy         []
    inactivity_timeout [0]
    index_expire       [1]
    inhibit_startup_message [0]
    keep_source_where  [/export/home/dhudes/.cpan/sources]
    load_module_verbosity [v]
    lynx               []
    make               [/usr/bin/dmake]
    make_arg           []
    make_install_arg   []
    make_install_make_command [/usr/bin/dmake]
    makepl_arg         []
    mbuild_arg         []
    mbuild_install_arg []
    mbuild_install_build_command [./Build]
    mbuildpl_arg       []
    ncftp              undef
    ncftpget           []
    no_proxy           []
    pager              [/usr/bin/less]
    password           undef
    patch              [/usr/bin/patch]
    patches_dir        undef
    perl5lib_verbosity [v]
    prefer_installer   [MB]
    prefs_dir          [/export/home/dhudes/.cpan/prefs]
    prerequisites_policy [follow]
    proxy_pass         undef
    proxy_user         undef
    randomize_urllist  undef
    scan_cache         [atstart]
    shell              [/usr/bin/bash]
    show_unparsable_versions [0]
    show_upload_date   [0]
    show_zero_versions [0]
    tar                [/opt/csw/bin/gtar]
    tar_verbosity      [v]
    term_is_latin      [1]
    term_ornaments     [1]
    test_report        [0]
    trust_test_report_history [0]
    unzip              [/usr/bin/unzip]
    urllist
        0 [http://cpan.ux.hra.nycnet]
    use_sqlite         [0]
    username           undef
    wait_list          undef
    wget               [/opt/csw/bin/wget]
    yaml_load_code     [0]
    yaml_module        [YAML]

cpan[3]>install ExtUtils::CBuilder
CPAN: Storable loaded ok (v2.21)
Going to read '/export/home/dhudes/.cpan/Metadata'
  Database was generated on Mon, 09 Aug 2010 04:37:22 GMT
Running install for module 'ExtUtils::CBuilder'
CPAN: YAML loaded ok (v0.71)
Running make for D/DA/DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for
/export/home/dhudes/.cpan/sources/authors/id/D/DA/DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
ok
Scanning cache /export/home/dhudes/.cpan/build for sizes
............................................................................DONE
CPAN: Archive::Tar loaded ok (v1.66)
ExtUtils-CBuilder-0.2703
ExtUtils-CBuilder-0.2703/MANIFEST
ExtUtils-CBuilder-0.2703/META.yml
ExtUtils-CBuilder-0.2703/README
ExtUtils-CBuilder-0.2703/Makefile.PL
ExtUtils-CBuilder-0.2703/Changes
ExtUtils-CBuilder-0.2703/INSTALL
ExtUtils-CBuilder-0.2703/t
ExtUtils-CBuilder-0.2703/t/01-basic.t
ExtUtils-CBuilder-0.2703/t/00-have-compiler.t
ExtUtils-CBuilder-0.2703/t/02-link.t
ExtUtils-CBuilder-0.2703/t/03-cplusplus.t
ExtUtils-CBuilder-0.2703/lib
ExtUtils-CBuilder-0.2703/lib/ExtUtils
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Base.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/VMS.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/darwin.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Unix.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/aix.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/os2.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/cygwin.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build D/DA/DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::CBuilder
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc
file.
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> Job output
cp lib/ExtUtils/CBuilder.pm blib/lib/ExtUtils/CBuilder.pm
cp lib/ExtUtils/CBuilder/Platform/Windows.pm
blib/lib/ExtUtils/CBuilder/Platform/Windows.pm
cp lib/ExtUtils/CBuilder/Platform/aix.pm
blib/lib/ExtUtils/CBuilder/Platform/aix.pm
cp lib/ExtUtils/CBuilder/Platform/cygwin.pm
blib/lib/ExtUtils/CBuilder/Platform/cygwin.pm
cp lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
blib/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
cp lib/ExtUtils/CBuilder/Platform/VMS.pm
blib/lib/ExtUtils/CBuilder/Platform/VMS.pm
cp lib/ExtUtils/CBuilder/Platform/Unix.pm
blib/lib/ExtUtils/CBuilder/Platform/Unix.pm
cp lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
blib/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
cp lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
blib/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
cp lib/ExtUtils/CBuilder/Platform/darwin.pm
blib/lib/ExtUtils/CBuilder/Platform/darwin.pm
cp lib/ExtUtils/CBuilder/Platform/os2.pm
blib/lib/ExtUtils/CBuilder/Platform/os2.pm
cp lib/ExtUtils/CBuilder/Platform/dec_osf.pm
blib/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
cp lib/ExtUtils/CBuilder/Base.pm blib/lib/ExtUtils/CBuilder/Base.pm
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> Job output
Manifying blib/man3/ExtUtils::CBuilder::Platform::Windows.3perl
Manifying blib/man3/ExtUtils::CBuilder.3perl
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
  DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
  /usr/bin/dmake -- OK
Running make test
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc
file.
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
PERL_DL_NONLAZY=1 /opt/csw/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
sunldap01.ux.hra.nycnet --> Job output
PERL_DL_NONLAZY=1 /opt/csw/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-have-compiler.t .. ok
t/01-basic.t .......... ok
cc: Warning: illegal option -norunpath
ld.so.1: compilet: fatal: libperl.so: open failed: No such file or
directory

#   Failed test 'got expected exit code from executable'
#   at t/02-link.t line 69.
#          got: '0'
#     expected: '11'
# Unexpected exit code '0'
# Looks like you failed 1 test of 8.
t/02-link.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
cc: Warning: illegal option -x
cc: No input file specified, no output generated
cc: Warning: illegal option -x
cc: No input file specified, no output generated
t/03-cplusplus.t ...... skipped: no compiler available for testing

Test Summary Report
-------------------
t/02-link.t         (Wstat: 256 Tests: 8 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
Files=4, Tests=26,  3 wallclock secs ( 0.16 usr  0.16 sys +  1.82 cusr 
0.64 csys =  2.78 CPU)
Result: FAIL
Failed 1/4 test programs. 1/26 subtests failed.
*** Error code 255
dmake: Fatal error: Command failed for target `test_dynamic'
  DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
  /usr/bin/dmake test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz     : make_test NO

  cpan[5]> o conf
$CPAN::Config options from '/opt/csw/share/perl/5.10.1/CPAN/Config.pm':
    commit             [Commit changes to disk]
    defaults           [Reload defaults from disk]
    help               [Short help about 'o conf' usage]
    init               [Interactive setting of all options]

    applypatch         []
    auto_commit        [1]
    build_cache        [100]
    build_dir          [/export/home/dhudes/.cpan/build]
    build_dir_reuse    [0]
    build_requires_install_policy [ask/yes]
    bzip2              [/opt/csw/bin/bzip2]
    cache_metadata     [1]
    check_sigs         [0]
    colorize_debug     undef
    colorize_output    undef
    colorize_print     undef
    colorize_warn      undef
    commandnumber_in_prompt [1]
    commands_quote     undef
    connect_to_internet_ok [1]
    cpan_home          [/export/home/dhudes/.cpan]
    curl               []
    dontload_hash      undef
    dontload_list      undef
    ftp                [/usr/bin/ftp]
    ftp_passive        [1]
    ftp_proxy          []
    ftpstats_period    undef
    ftpstats_size      undef
    getcwd             [cwd]
    gpg                [/opt/csw/bin/gpg]
    gzip               [/usr/bin/gzip]
    halt_on_failure    [0]
    histfile           [/export/home/dhudes/.cpan/histfile]
    histsize           [100]
    http_proxy         []
    inactivity_timeout [0]
    index_expire       [1]
    inhibit_startup_message [0]
    keep_source_where  [/export/home/dhudes/.cpan/sources]
    load_module_verbosity [v]
    lynx               []
    make               [/usr/bin/dmake]
    make_arg           []
    make_install_arg   []
    make_install_make_command [/usr/bin/dmake]
    makepl_arg         []
    mbuild_arg         []
    mbuild_install_arg []
    mbuild_install_build_command [./Build]
    mbuildpl_arg       []
    ncftp              undef
    ncftpget           []
    no_proxy           []
    pager              [/usr/bin/less]
    password           undef
    patch              [/usr/bin/patch]
    patches_dir        undef
    perl5lib_verbosity [v]
    prefer_installer   [MB]
    prefs_dir          [/export/home/dhudes/.cpan/prefs]
    prerequisites_policy [follow]
    proxy_pass         undef
    proxy_user         undef
    randomize_urllist  undef
    scan_cache         [atstart]
    shell              [/usr/bin/bash]
    show_unparsable_versions [0]
    show_upload_date   [0]
    show_zero_versions [0]
    tar                [/opt/csw/bin/gtar]
    tar_verbosity      [v]
    term_is_latin      [1]
    term_ornaments     [1]
    test_report        [0]
    trust_test_report_history [0]
    unzip              [/usr/bin/unzip]
    urllist
        0 [http://cpan.ux.hra.nycnet]
    use_sqlite         [0]
    username           undef
    wait_list          undef
    wget               [/opt/csw/bin/wget]
    yaml_load_code     [0]
    yaml_module        [YAML]


cpan[6]>exit
Lockfile removed.
# which perl
/opt/csw/bin/perl
# perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
  Commit id: f85d4e829029c81add2e34feda7d9138c798b1d6
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi
    uname='sunos current9s 5.9 generic_virtual sun4u sparc
sunw,sparc-enterprise-t5220'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -xO3 -m32 -xarch=v8
-xnorunpath -I/opt/csw/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-xO3 -m32 -xarch=v8 -xnorunpath',
    cppflags='-D_REENTRANT -xO3 -m32 -xarch=v8 -xnorunpath
-I/opt/csw/include'
    ccversion='Sun C 5.9 SunOS_sparc Patch 124867-14 2010/03/30',
gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/opt/SUNWspro/bin/cc', ldflags ='-m32 -xarch=v8 -norunpath
-L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib
-L/usr/ccs/lib -L/opt/studio/SOS12/SUNWspro/prod/lib/sparc
-L/opt/studio/SOS12/SUNWspro/prod/lib -L/lib'
    libpth=/usr/lib /usr/ccs/lib /opt/studio/SOS12/SUNWspro/prod/lib/sparc
/opt/studio/SOS12/SUNWspro/prod/lib /lib /opt/csw/lib
    libs=-lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc -lperl
    perllibs=-lsocket -lnsl -ldb-4.8 -ldl -lm -lpthread -lc -lperl
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.5.10.1
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/opt/csw/lib'
    cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/lib -L/opt/csw/bdb48/lib
-L/usr/lib -L/usr/ccs/lib -L/opt/studio/SOS12/SUNWspro/prod/lib/sparc
-L/opt/studio/SOS12/SUNWspro/prod/lib -L/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
                        USE_SITECUSTOMIZE
  Built under solaris
  Compiled at Aug  4 2010 21:19:09
  @INC:
    /opt/csw/lib/perl/5.10.1
    /opt/csw/share/perl/5.10.1
    /opt/csw/lib/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/lib/perl/csw
    /opt/csw/share/perl/csw
    /opt/csw/share/perl/csw
    .
# exit
exit

script done on Tue Aug 10 12:04:56 2010



More information about the bug-notifications mailing list