pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38913: lang/perl5-5.8.8nb8 trips up 'transform-mipspro-cc' wrapper



>Number:         38913
>Category:       pkg
>Synopsis:       lang/perl5-5.8.8nb8 trips up 'transform-mipspro-cc' wrapper
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 09 10:40:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX 6.5.30f; MIPSpro Compilers: Version 7.4.4m
>Description:

Whist previous releases of perl built cleanly, the latest version errors-out 
with:

=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> _flavor-check-vulnerable [perl-5.8.8nb8] ===> Checking for vulnerabilities 
in perl-5.8.8nb8
=> Checksum SHA1 OK for perl-5.8.8.tar.bz2
=> Checksum RMD160 OK for perl-5.8.8.tar.bz2
===> depends-message [perl-5.8.8nb8] ===> Installing dependencies for 
perl-5.8.8nb8
=> Build dependency bzip2>=0.9.0b: found bzip2-1.0.5
=> Build dependency patch>=2.2: found patch-2.5.4nb2
===> tools-message [perl-5.8.8nb8] ===> Overriding tools for perl-5.8.8nb8
===> extract-message [perl-5.8.8nb8] ===> Extracting for perl-5.8.8nb8
===> patch-message [perl-5.8.8nb8] ===> Patching for perl-5.8.8nb8
=> Applying pkgsrc patches for perl-5.8.8nb8
=> Substituting "dirmode" in installhtml installman installperl          
lib/ExtUtils/Install.pm
INFO: [subst.mk:dirmode] Nothing changed in ./installhtml.
INFO: [subst.mk:dirmode] Nothing changed in ./lib/ExtUtils/Install.pm.
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> _flavor-check-vulnerable [perl-5.8.8nb8] ===> Checking for vulnerabilities 
in perl-5.8.8nb8
===> wrapper-message [perl-5.8.8nb8] ===> Creating toolchain wrappers for 
perl-5.8.8nb8
===> configure-message [perl-5.8.8nb8] ===> Configuring for perl-5.8.8nb8
hintdir="/usr/bsd/var/tmp/lang/perl5/work/perl-5.8.8/hints";
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /usr/bsd/var/tmp/lang/perl5/work/.tools/bin/echo 
and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
Which of these apply, if any? [irix_6]  
Operating system name? [irix]  
Operating system version? [6.5]  
Build Perl for SOCKS? [n]  
Use the PerlIO abstraction layer? [y]  
Build a threading Perl? [y]  
Use the newer interpreter-based ithreads? [y]  
Use which C compiler? [cc]  
ERROR: [transform-mipspro-cc] Wrong ABI argument -32 for ABI 32.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/lang/perl5
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/lang/perl5

>How-To-Repeat:

This can be worked-around by invoking 'CC="cc -n32" bmake configure' - but no 
other package requires this.

(Note that I may have altered transform-mipspro-cc to make the error message 
more intuitive: My line 44 reads:

                transform_fail "Wrong ABI argument $arg for ABI $wrapper_abi."

I believe that "$arg" was originally "$1" - but this is unset if either -32 or 
-o32 are passed to the wrapper, making the resulting error message very 
confusing).

>Fix:

Does the irix_6 rules file need updating in order not to pass '-32' (if that's 
where it comes from) or does the package Makefile need to explicitly redefine 
$CC based on the mk.conf ABI value?



Home | Main Index | Thread Index | Old Index