Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582430 - x11-apps/intel-gpu-tools-1.12: /tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:70: error: expected ‘)’ before ‘PRIx64’
Summary: x11-apps/intel-gpu-tools-1.12: /tmp/portage/x11-apps/intel-gpu-tools-1.12/wor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-08 09:04 UTC by PetaMem R&D
Modified: 2016-06-21 18:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2016-05-08 09:04:46 UTC
Compilation on fresh Gentoo install, Intel P530 GPU.
Probably version bump to 1.14  (see bug 580718) is the way to go.



In file included from /tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/intel_batchbuffer.h:8:0,
                 from /tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/drmtest.h:39,
                 from /tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:32:
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c: In function ‘igt_create_fb_with_bo_size’:
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:70: error: expected ‘)’ before ‘PRIx64’
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
                                                                      ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:12: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
            ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:12: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
            ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:12: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
            ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:12: warning: format ‘%x’ expects a matching ‘unsigned int’ argument [-Wformat=]
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
            ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:12: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
            ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_fb.c:427:12: warning: spurious trailing ‘%’ in format [-Wformat=]
  igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=0x%"PRIx64", size=%d\n",
            ^
/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12/lib/igt_core.h:666:64: note: in definition of macro ‘igt_debug’
 #define igt_debug(f...) igt_log(IGT_LOG_DOMAIN, IGT_LOG_DEBUG, f)
                                                                ^
Makefile:597: recipe for target 'igt_fb.lo' failed
make[4]: *** [igt_fb.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12_build/lib'
Makefile:612: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12_build/lib'
Makefile:490: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12_build/lib'
Makefile:499: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/x11-apps/intel-gpu-tools-1.12/work/intel-gpu-tools-1.12_build'
Makefile:431: recipe for target 'all' failed
make: *** [all] Error 2





Reproducible: Always




# emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.23-r2, 4.5.2-gentoo x86_64)
=================================================================
System uname: Linux-4.5.2-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1505M_v5_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16338972 total,   8296052 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 07 May 2016 13:50:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-vcs-ignore: true

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --keep-going --with-bdeps=y --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa alsa-plugin amd64 berkdb bindist bzip2 cairo cleartype cli corefonts cracklib crypt cups cxx dbus dri fontforge fortran gdbm iconv icu ipv6 jpeg lock mmx mmxext modules multilib ncurses nls nptl openmp pam pcre png pulseaudio python qt4 readline seccomp session sse sse2 ssl startup-notification subversion svg tcpd thinkpad thunar tiff truetype udev unicode vaapi xattr xml xorg xscreensaver xterm xv zlib" ABI_X86="64 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 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 avx2 fma3 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="de en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-05-17 20:01:27 UTC
confirmed at   -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-13.0-unstable_20160509-222349) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  make.conf: USE="mmx sse sse2 pax_kernel xtpax -cdinstall -oci8 -bindist -avcodec cdda cgi compat corefonts -custom-optimization egl emacs fpm -gd gif gpg gudev help imap inifile introspection isag javascript kvm mbox mng -objc ois opengl pkcs11 postproc postscript printsupport pyqt4 qml ssse3 -system-libvpx system-sqlite tcl tools truetype -uml uxa v4l v4l2 wav wxwidgets -xmp xscreensaver -zenmap zip"

  -----------------------------------------------------------------
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2016-06-19 09:17:17 UTC
Data points:

1.11-r1 fails the same
1.10 too
1.7 compiles just fine
Comment 3 SpanKY gentoo-dev 2016-06-21 18:47:52 UTC
sent fix upstream and added here:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f640a3c0f7560d0bcc23e6a3e0ff9f7346e707f1