pkgsrc-Bugs archive

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

pkg/45307: lang/gcc46 compilation fails in 2nd stage



>Number:         45307
>Category:       pkg
>Synopsis:       lang/gcc46 compilation fails in 2nd stage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 29 14:35:00 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compilation of lang/gcc46 on Solaris using Sun Studio fails in the second stage:

ld.so.1: xgcc: fatal: libiconv.so.2: open failed: No such file or directory
/bin/bash: line 1:  7436 Killed                  
/pkgsrc/source/pkgsrc/lang/gcc46/work.pkgsrc-i86/obj/./gcc/xgcc 
-B/pkgsrc/source/pkgsrc/lang/gcc46/work.pkgsrc-i86/obj/./gcc/ -dumpspecs 
>tmp-specs
gmake[3]: *** [specs] Error 137

$ cat work/obj/stage_current
stage2

BUILDLINK_PREFIX.libiconv seems to be unset:

$ bmake show-var VARNAME=BUILDLINK_PREFIX.libiconv
$

The first stage still worked:

$ ldd ./work/obj/prev-gcc/xgcc
        libiconv.so.2 =>         /pkgsrc/gcc46-ld/lib/libiconv.so.2
        libc.so.1 =>     /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index