Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538768 - sys-devel/llvm-9999 Failed Patch: clang-3.5-gentoo-install.patch
Summary: sys-devel/llvm-9999 Failed Patch: clang-3.5-gentoo-install.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 09:12 UTC by darkbasic
Modified: 2015-02-17 14:00 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,53.30 KB, text/plain)
2015-02-04 09:13 UTC, darkbasic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkbasic 2015-02-04 09:12:19 UTC
>>> Source unpacked in /var/tmp/portage/sys-devel/llvm-9999/work
>>> Preparing source in /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999 ...
 * Applying llvm-3.2-nodoctargz.patch ...
 [ ok ]
 * Applying llvm-3.5-gcc-4.9.patch ...
 [ ok ]
 * Applying llvm-3.6-gentoo-install.patch ...
 [ ok ]
 * Applying clang-3.5-gentoo-runtime-gcc-detection-v3.patch ...
 [ ok ]
 * Applying clang-3.5-gentoo-install.patch ...

 * Failed Patch: clang-3.5-gentoo-install.patch !
 *  ( /usr/portage/sys-devel/llvm/files/clang-3.5-gentoo-install.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-devel/llvm-9999/temp/clang-3.5-gentoo-install.patch.out

 * ERROR: sys-devel/llvm-9999::gentoo failed (prepare phase):
 *   Failed Patch: clang-3.5-gentoo-install.patch!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4944:  Called epatch '/usr/portage/sys-devel/llvm/files/clang-3.5-gentoo-install.patch'
 *   environment, line 1677:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=sys-devel/llvm-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-9999::gentoo'`.
 * The complete build log is located at '/logs/sys-devel:llvm-9999:20150204-010215.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999'
 * S: '/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999'

Reproducible: Always




# emerge --info
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.19-r1, 3.19.0-rc5drm-next-3.20 x86_64)
=================================================================
System uname: Linux-3.19.0-rc5drm-next-3.20-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16317184 total,   5763684 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 03 Feb 2015 23:45:01 +0000
sh bash 4.2_p53
ld ld di GNU (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo wine-d3dstream x11 kde mrueg multimedia steam-overlay wine wine-nine qt ixit games-overlay java darkbasic
Installed sets: @kde-frameworks-live, @kde-plasma-live
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL google-chrome skype-4.0.0.7-copyright googleearth Intel-SDP Google-TOS AdobeAIRSDK Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb /var/lib/unifi/data/system.properties"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/wine-d3dstream /var/lib/layman/x11 /var/lib/layman/kde /var/lib/layman/mrueg /var/lib/layman/multimedia /var/lib/layman/steam /var/lib/layman/wine /var/lib/layman/wine-nine /var/lib/layman/qt /var/lib/layman/ixit /var/lib/layman/games-overlay /var/lib/layman/java /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm graphite gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mtp multilib ncurses nepomuk nls nptl ogg opencl opengl openmax openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 x265 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 speling 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965 radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 darkbasic 2015-02-04 09:13:19 UTC
Created attachment 395500 [details]
build.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-04 09:19:33 UTC
Not again!
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-04 10:55:22 UTC
+  04 Feb 2015; Michał Górny <mgorny@gentoo.org>
+  +files/clang-3.6-gentoo-install.patch, llvm-9999.ebuild:
+  Update clang patch, bug #538768. It looks like upstream finally fixed libdir
+  for LLVMgold.

Please test :).
Comment 4 darkbasic 2015-02-04 11:21:13 UTC
Why 3.6 and not 3.7?

P.S.
I will test the patch as soon as it will hit portage, damn mirrors!
Comment 5 darkbasic 2015-02-04 13:41:02 UTC
It compiles fine, thanks!
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-11 09:20:57 UTC
Well, the last release was 3.5 AFAICS :).
Comment 7 darkbasic 2015-02-11 11:43:39 UTC
Yes but 3.6 has been branched since quite a few time and master is currently 3.7, not 3.6 ;)
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-11 19:46:33 UTC
Ok, I'll simply bump the name if they don't backport the fix to 3.6.
Comment 9 Bernard Cafarelli gentoo-dev 2015-02-17 13:17:42 UTC
I am doing a test run of llvm 3.6.0 rc2, and it was indeed backported to 3.6 branch, so we should be good here :) (still waiting for the compîlation result though)
Comment 10 darkbasic 2015-02-17 14:00:26 UTC
Good.

P.S.
I noticed llvm-9999 doesn't compile anymore, but maybe it's just upstream which is broken today.