Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356653 - sys-devel/clang-9999 USE=test isn't working
Summary: sys-devel/clang-9999 USE=test isn't working
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-27 01:30 UTC by Marcin Mirosław
Modified: 2011-04-08 21:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
compressed build.log (build.log.bz2,52.94 KB, application/x-bzip2)
2011-02-27 01:31 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2011-02-27 01:30:20 UTC
USE flag "test" doesn't run tests.

/bin/rm -f /var/tmp/portage/sys-devel/clang-9999/work/llvm/Release/lib/libLTO.a
i686-pc-linux-gnu-ar cru /var/tmp/portage/sys-devel/clang-9999/work/llvm/Release/lib/libLTO.a /var/tmp/portage/sys-devel/clang-9999/work/llvm/tools/lto/Release/LTOCodeGenerator.o /var/tmp/portage/sys-devel/clang-9999/work/llvm/tools/lto/Release/LTOModule.o /var/tmp/portage/sys-devel/clang-9999/work/llvm/tools/lto/Release/lto.o
i686-pc-linux-gnu-ranlib /var/tmp/portage/sys-devel/clang-9999/work/llvm/Release/lib/libLTO.a
make[1]: Opuszczenie katalogu `/var/tmp/portage/sys-devel/clang-9999/work/llvm/tools/lto'
llvm[0]: ***** Completed Release Build
>>> Source compiled.
>>> Test phase [not enabled]: sys-devel/clang-9999

>>> Install clang-9999 into /var/tmp/portage/sys-devel/clang-9999/image/ category sys-devel
make -j2 KEEP_SYMBOLS=1 DESTDIR=/var/tmp/portage/sys-devel/clang-9999/image/ install


Reproducible: Always




Portage 2.1.9.41 (default/linux/x86/10.0/server, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.37-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 26 Feb 2011 20:15:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -fomit-frame-pointer -floop-block -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-strip-mine -s -fipa-sra"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -fomit-frame-pointer -floop-block -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-strip-mine -s -fipa-sra"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages keepwork news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O -y"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/steev /usr/portage/local/layman/portage-backup /usr/portage/local/layman/sunrise /usr/portage/local/layman/sping /usr/portage/local/layman/science /usr/local/portage/miro-overlay/staging /usr/local/portage/miro-overlay/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/"
USE="acl acpi adns aio async bash-completion bzip2 caps chroot clamav clamdtop cli crypt cxx daemon dhcp dri exiscan-acl extras fam flac ftp glibc-omitfp gmp gnutls gpm graphite iconv idn iproute2 ipv6 javascript jpeg justify logrotate logwatch lto lzo maildir mmap mmx mmxext modules mouse mudflap nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses network-cron nls nntp nptl nptlonly ogg openmp openssl optimization pam pcre pop3d pppd quotas readline samba session slang smp spell spf sse sse2 sse3 ssl ssse3 stats subtitles svg sysfs syslog theora threads threadsafe tools tordns tos unicode unzip urandom vhosts vim vim-pager vim-syntax vorbis x86 xattr xfs xmlrpc xsl xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" PHP_TARGETS="php5-2 php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="account tarpit"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Marcin Mirosław 2011-02-27 01:31:49 UTC
Created attachment 263997 [details]
compressed build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-02-27 09:49:24 UTC
In the future, please set LC_MESSAGES=C when producing build logs for bug reports.
Comment 3 Bernard Cafarelli gentoo-dev 2011-04-08 09:51:12 UTC
Hi,

the test USE-flag is only needed to add the necessary dependencies for testing, to run the test-phase, you need to enable it in FEATURES (which will enable the USE-flag automatically)

Typically this should do the trick:
# FEATURES=test emerge clang
Comment 4 Marcin Mirosław 2011-04-08 21:26:56 UTC
I'm ashamed. I should know about it.
Thanks:)