pkgsrc-Bugs archive

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

pkg/32352: Python 2.4 doesn't compile on NetBSD-alpha 2.1



>Number:         32352
>Category:       pkg
>Synopsis:       Python 2.4 doesn't compile on NetBSD-alpha 2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 21 11:35:00 +0000 2005
>Originator:     jaapb%kerguelen.org@localhost
>Release:        NetBSD 2.1_STABLE
>Organization:
>Environment:
        
        
System: NetBSD courbet.kerguelen.org 2.1_STABLE NetBSD 2.1_STABLE (COURBET) #1: 
Mon Nov 28 12:20:52 CET 2005 
root%courbet.kerguelen.org@localhost:/usr/obj/sys/arch/alpha/compile/COURBET 
alpha
Architecture: alpha
Machine: alpha
>Description:
        I'm trying to compile lang/python24 from pkgsrc, but there is a 
segfault:
--begin paste--
case $MAKEFLAGS in  *-s*) 
LD_LIBRARY_PATH=/usr/pkgsrc/lang/python24/work/Python-2.4.2: CC='cc' 
LDSHARED='cc -shared -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' OPT='-DNDEBUG -O2 -O2 -pipe -mcpu=ev56 
-mieee -I/usr/include' ./python -E ./setup.py -q build;;  *) 
LD_LIBRARY_PATH=/usr/pkgsrc/lang/python24/work/Python-2.4.2: CC='cc' 
LDSHARED='cc -shared -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' OPT='-DNDEBUG -O2 -O2 -pipe -mcpu=ev56 
-mieee -I/usr/include' ./python -E ./setup.py build;;  esac
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
--end paste--
A backtrace of the core dump (the 'python' executable):
--begin paste--
#0  0x0000000160283c70 in std::ostreambuf_iterator<char, std::char_traits<char> 
> std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > 
>::_M_convert_float<long double>(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, char, long double) const ()
   from /usr/lib/libstdc++.so.5
#0  0x0000000160283c70 in std::ostreambuf_iterator<char, std::char_traits<char> 
> std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > 
>::_M_convert_float<long double>(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, char, long double) const ()
   from /usr/lib/libstdc++.so.5
#1  0x000000016029f940 in std::locale::_Impl::_Impl(std::locale::facet**, 
unsigned long, bool) () from /usr/lib/libstdc++.so.5
#2  0x00000001602a2c7c in std::locale::classic() ()
   from /usr/lib/libstdc++.so.5
#3  0x00000001602a0d48 in std::locale::locale() () from /usr/lib/libstdc++.so.5
#4  0x000000016028fd98 in std::basic_filebuf<char, std::char_traits<char> 
>::basic_filebuf() () from /usr/lib/libstdc++.so.5
#5  0x00000001602945fc in __gnu_cxx::stdio_filebuf<char, std::char_traits<char> 
>::stdio_filebuf(__sFILE*, std::_Ios_Openmode, unsigned long) ()
   from /usr/lib/libstdc++.so.5
#6  0x00000001602a3b70 in std::ios_base::Init::_S_ios_create(bool) ()
   from /usr/lib/libstdc++.so.5
#7  0x00000001602a3f7c in std::ios_base::Init::Init() ()
   from /usr/lib/libstdc++.so.5
#8  0x0000000160293ee4 in std::basic_filebuf<char, std::char_traits<char> 
>::_M_underflow_common(bool) () from /usr/lib/libstdc++.so.5
#9  0x000000016026525c in _init () from /usr/lib/libstdc++.so.5
#10 0x0000000160265198 in _init () from /usr/lib/libstdc++.so.5
#11 0x0000000160015790 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#12 0x0000000160015790 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#13 0x0000000160015784 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#14 0x0000000160015784 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#15 0x0000000160015784 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#16 0x0000000160015784 in _rtld_call_init_functions ()
   from /usr/libexec/ld.elf_so
#17 0x0000000160015f34 in _rtld () from /usr/libexec/ld.elf_so
#18 0x000000016001501c in _rtld_start () from /usr/libexec/ld.elf_so
(rule #18 repeated indefinitely)
--end paste---

I'm running NetBSD 2.1 on an Alphaserver 800 5/333. In my /etc/mk.conf, I've
put -mcpu=ev56 and -O2 -pipe as C flags; both the NetBSD distribution and
some packages have been compiled with these flags, but there haven't been any
problems so far.
>How-To-Repeat:
        cd /usr/pkgsrc/lang/python24
        make install
>Fix:
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index