Gentoo Archives: gentoo-user

From: Silvio Siefke <siefke_listen@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] llvm compile error
Date: Thu, 23 Jan 2014 21:05:15
Message-Id: 20140123220501.2c9976ef0ce74a8694e4e2a3@web.de
1 Hello,
2
3 i try to install llvm but it broke with:
4
5 -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
6 -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
7 -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
8 -- Performing Test CXX_SUPPORTS_NON_VIRTUAL_DTOR_FLAG
9 -- Performing Test CXX_SUPPORTS_NON_VIRTUAL_DTOR_FLAG - Success
10 -- Found PythonInterp: /var/tmp/portage/sys-devel/llvm-3.4/temp/python2.7/bin/python (found version "2.7.5")
11 -- Constructing LLVMBuild project information
12 CMake Error at CMakeLists.txt:332 (message):
13 Unexpected failure executing llvm-build: Usage: llvm-build [options]
14
15
16
17 llvm-build: error: invalid native target: 'X86' (not in project)
18
19
20 -- Configuring incomplete, errors occurred!
21 * ERROR: sys-devel/llvm-3.4::gentoo failed (configure phase):
22 * cmake failed
23 *
24 * Call stack:
25 * ebuild.sh, line 93: Called src_configure
26 * environment, line 4475: Called multilib-minimal_src_configure
27 * environment, line 2962: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
28 * environment, line 3168: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
29 * environment, line 2803: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
30 * environment, line 2801: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
31 * environment, line 485: Called multilib-minimal_abi_src_configure
32 * environment, line 2956: Called multilib_src_configure
33 * environment, line 3362: Called cmake_configure
34 * environment, line 1346: Called cmake-utils_src_configure
35 * environment, line 1275: Called _execute_optionaly 'src_configure'
36 * environment, line 276: Called enable_cmake-utils_src_configure
37 * environment, line 1550: Called die
38 * The specific snippet of code:
39 * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
40
41
42 gentoomobile distfiles # emerge --info =sys-devel/llvm-3.4::gentoo
43 Portage 2.2.7 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.12.4-pf i686)
44 =================================================================
45 System Settings
46 =================================================================
47 System uname: Linux-3.12.4-pf-i686-Intel-R-_Atom-TM-_CPU_N550_@_1.50GHz-with-gentoo-2.2
48 KiB Mem: 1018472 total, 105196 free
49 KiB Swap: 2097148 total, 2035108 free
50 Timestamp of tree: Wed, 22 Jan 2014 14:30:01 +0000
51 ld GNU ld (GNU Binutils) 2.23.2
52 distcc 3.1 i686-pc-linux-gnu [enabled]
53 ccache version 3.1.9 [enabled]
54 app-shells/bash: 4.2_p45
55 dev-java/java-config: 2.1.12-r1
56 dev-lang/python: 2.7.5-r3, 3.3.2-r2
57 dev-util/ccache: 3.1.9-r3
58 dev-util/cmake: 2.8.11.2
59 dev-util/pkgconfig: 0.28
60 sys-apps/baselayout: 2.2
61 sys-apps/openrc: 0.12.4
62 sys-apps/sandbox: 2.6-r1
63 sys-devel/autoconf: 2.13, 2.69
64 sys-devel/automake: 1.10.3, 1.11.6, 1.13.4
65 sys-devel/binutils: 2.23.2
66 sys-devel/gcc: 4.7.3-r1
67 sys-devel/gcc-config: 1.7.3
68 sys-devel/libtool: 2.4.2
69 sys-devel/make: 3.82-r4
70 sys-kernel/linux-headers: 3.9 (virtual/os-headers)
71 sys-libs/glibc: 2.17
72 Repositories: gentoo elementary miramir pentoo
73 ACCEPT_KEYWORDS="x86"
74 ACCEPT_LICENSE="* -@EULA"
75 CBUILD="i686-pc-linux-gnu"
76 CFLAGS="-O2 -march=i686 -pipe"
77 CHOST="i686-pc-linux-gnu"
78 CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
79 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
80 CXXFLAGS="-O2 -march=i686 -pipe"
81 DISTDIR="/usr/portage/distfiles"
82 FCFLAGS="-O2 -march=i686 -pipe"
83 FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
84 FFLAGS="-O2 -march=i686 -pipe"
85 GENTOO_MIRRORS="http://de-mirror.org/gentoo http://mirror.netcologne.de/gentoo"
86 LANG="de_DE.UTF-8"
87 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
88 MAKEOPTS="-j8"
89 PKGDIR="/usr/portage/packages"
90 PORTAGE_CONFIGROOT="/"
91 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
92 PORTAGE_TMPDIR="/var/tmp"
93 PORTDIR="/usr/portage"
94 PORTDIR_OVERLAY="/var/lib/layman/elementary /var/lib/layman/miramir /var/lib/layman/pentoo"
95 SYNC="rsync://gentoo.silviosiefke.com/gentoo-portage"
96 USE="X a52 aac acl acpi alsa berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms libnotify mad mmx mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speli
97 ng status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="af9005 usb-af9015" 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 ublox ubx" INPUT_DEVICES="evdev void synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en ar fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
98 tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
99 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
100
101
102 gentoomobile distfiles # emerge -pqv =sys-devel/llvm-3.4::gentoo
103 [ebuild N ] sys-devel/llvm-3.4 USE="clang libffi ncurses python static-analyzer xml -debug -doc -gold -multitarget -ocaml {-test} -udis86" PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6" VIDEO_CARDS="-radeon"
104 [ebuild N ] sys-devel/clang-3.4-r100 USE="python static-analyzer -debug -multitarget
105
106 Thank you for help & Nice Day
107 Silvio

Replies

Subject Author
[gentoo-user] Re: llvm compile error walt <w41ter@×××××.com>
Re: [gentoo-user] llvm compile error Silvio Siefke <siefke_listen@×××.de>
[gentoo-user] Re: llvm compile error keeper <keeperofdakeys@×××××.com>