Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554204 - x11-apps/intel-gpu-tools-1.11 should depend on sys-libs/libunwind
Summary: x11-apps/intel-gpu-tools-1.11 should depend on sys-libs/libunwind
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-08 05:22 UTC by Viktor Yu. Kovalskii
Modified: 2015-07-11 12:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,13.16 KB, text/x-log)
2015-07-08 05:23 UTC, Viktor Yu. Kovalskii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2015-07-08 05:22:11 UTC
Emerging x11-apps/intel-gpu-tools fails on configure stage:

checking for LIBUNWIND... no
configure: error: libunwind not found. Use --without-libunwind to disable libunwind support.

Reproducible: Always

Steps to Reproduce:
1. emerge -1av =x11-apps/intel-gpu-tools-1.11




emerge --info 
Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.20-r2, 3.19.8-gentoo x86_64)
=================================================================
System uname: Linux-3.19.8-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.2
KiB Mem:     2430564 total,     49668 free
KiB Swap:    3156768 total,   2469840 free
Timestamp of repository gentoo: Wed, 08 Jul 2015 00:00:01 +0000
Timestamp of repository flying: Mon, 29 Jun 2015 13:31:27 +0000
Timestamp of repository oschtan: Fri, 01 May 2015 05:25:44 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /mnt/slag/gentoo-tree
    sync-type: rsync
    sync-uri: rsync://ash.catalysis.ru/gentoo-portage/
    priority: -1000

flying
    location: /mnt/slag/layman/flying
    masters: gentoo

oschtan
    location: /mnt/slag/layman/oschtan
    sync-type: rsync
    sync-uri: rsync://oschtan.academ.org/overlay/
    masters: gentoo

rion
    location: /mnt/slag/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

science
    location: /mnt/slag/layman/science
    sync-type: laymansync
    sync-uri: http://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

Installed sets: @toolchain
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -mcx16 -mfxsr -msahf -mtune=core2 -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 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4.1 -mcx16 -mfxsr -msahf -mtune=core2 -O2 -pipe"
DISTDIR="/mnt/slag/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y --quiet-build"
FCFLAGS="-march=core2 -msse4.1 -mcx16 -mfxsr -msahf -mtune=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -msse4.1 -mcx16 -mfxsr -msahf -mtune=core2 -O2 -pipe"
GENTOO_MIRRORS="http://ash.catalysis.ru/gentoo/ ftp://linux.nsu.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/slag/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="/mnt/slag"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bs2b bzip2 cairo caps cdda cdr cli consolekit cracklib cups cxx dbus declarative djvu dri dts dvd dvdr egl emboss enca encode exceptions exif fam ffmpeg firefox flac fontconfig fortran gif gimp glamor gmp gpm gstreamer harfbuzz iconv icu jbig jit jpeg jpeg2k kde kipi latex lcms libass libnotify libsamplerate lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg multilib musepack ncurses nls nptl nsplugin ogg opengl openmp orc pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qt3support qt4 rar readline samba sdl semantic-desktop session sndfile spell sqlite sse sse2 ssl startup-notification subversion suid svg taglib tcpd theora threads tiff truetype udev udisks unicode upower usb utils vorbis wavpack webkit webp wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="intel-hda" 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="mmx mmxext sse sse2 sse3 sse4_1 ssse3" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p ibm kodak kvs1025 leo lexmark ma1509 matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp kvs20xx magicolor pnm kodakaio kvs40xx mustek_usb2" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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"
USE_PYTHON="2.7 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Viktor Yu. Kovalskii 2015-07-08 05:23:47 UTC
Created attachment 406340 [details]
build.log

Build.log for x11-apps/intel-gpu-tools-1.11 without sys-libs/libunwind installed.
Comment 2 tka 2015-07-08 05:54:49 UTC
This should work, but I tested the USE=-unwind case only.

--- intel-gpu-tools-1.11.ebuild.orig	2015-07-08 07:42:23.742029990 +0200
+++ intel-gpu-tools-1.11.ebuild	2015-07-08 07:52:30.564533379 +0200
@@ -10,7 +10,7 @@
 
 DESCRIPTION="Intel GPU userland tools"
 KEYWORDS="~amd64 ~x86"
-IUSE="python test-programs video_cards_nouveau"
+IUSE="python test-programs unwind video_cards_nouveau"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="test"
 
@@ -18,7 +18,8 @@
 	>=x11-libs/cairo-1.12.0
 	>=x11-libs/libdrm-2.4.52[video_cards_intel,video_cards_nouveau?]
 	>=x11-libs/libpciaccess-0.10
-	python? ( ${PYTHON_DEPS} )"
+	python? ( ${PYTHON_DEPS} )
+	unwind? ( sys-libs/libunwind )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {
@@ -30,6 +31,7 @@
 		$(use_enable python dumper)
 		$(use_enable video_cards_nouveau nouveau)
 		$(use_enable test-programs tests)
+		$(use_with unwind libunwind)
 	)
 	xorg-2_src_configure
 }
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2015-07-11 12:15:23 UTC
Fixed, thanks!

*intel-gpu-tools-1.11-r1 (11 Jul 2015)

  11 Jul 2015; Manuel Rüger <mrueg@gentoo.org> +intel-gpu-tools-1.11-r1.ebuild,
  -intel-gpu-tools-1.11.ebuild, metadata.xml:
  Add libunwind dependency. Fixes bug #554204. Patch by tka.