Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381363

Summary: app-emulation/libvirt-0.9.3-r1 w/ clang-2.9 - src_configure() hangs
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: [OLD] LibraryAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: virtualization, voyageur
Priority: Normal    
Version: 10.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my emerge --info
the config.log

Description Ian Delaney (RETIRED) gentoo-dev 2011-08-31 21:13:00 UTC
Attempting to emerge libvirt-0.9.3-r1, the compiler clang stalls, hangs during configure phase

Reproducible: Always

Steps to Reproduce:
1. emerge current testing clang version
2. emerge libvirt-0.9.3-r1
3. observe configure phase.
Actual Results:  
checking whether btowc(0) is correct... ^X^Z
[5]+  Stopped                 CC=clang CXX=clang++ emerge -1 =app-emulation/libvirt-0.9.3-r1

It stalls or hangs at this point

Expected Results:  
compile && install
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-08-31 21:16:07 UTC
Created attachment 285191 [details]
my emerge --info
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-08-31 21:17:06 UTC
Created attachment 285193 [details]
the config.log
Comment 3 Aleksander Balicki 2011-08-31 21:20:21 UTC
Also happens under x86 and libvirt-0.9.4
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2011-09-14 15:57:08 UTC
From your log, the compiled conftest program generated by configure. Try to enable the AUTOTOOLIZE variable at the top of the ebuild and try again.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-09-15 04:26:35 UTC
# gentoo64 idella # grep AUTOTOOLIZE $PORTDIR/app-emulation/libvirt/libvirt-0.9.3-r1.ebuild 
AUTOTOOLIZE=yes
inherit eutils python ${AUTOTOOLIZE+autotools}
        [[ -n ${AUTOTOOLIZE} ]] && eautoreconf

eeh, looks enabled.  Started out like this.  CC=clang CXX=clang++ emerge; compiles effectively with gcc, issue is clang.  Perhaps it's not enabled.