Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724870 - media-libs/vulkan-loader-1.1.125: vk_layer_dispatch_table.h:172:5: error: unknown type name ‘PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX’
Summary: media-libs/vulkan-loader-1.1.125: vk_layer_dispatch_table.h:172:5: error: unk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 20:56 UTC by Till Schäfer
Modified: 2020-05-26 21:48 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,15.86 KB, text/x-log)
2020-05-23 21:00 UTC, Till Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2020-05-23 20:56:38 UTC
media-libs/vulkan-loader-1.1.125 fails to build with the error 

FAILED: loader/CMakeFiles/asm_offset.dir/asm_offset.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -DAPI_NAME=\"Vulkan\" -DFALLBACK_CONFIG_DIRS=\"/etc/xdg\" -DFALLBACK_DATA_DIRS=\"/usr/local/share:/usr/share\" -DHAVE_CET_H -DSYSCONFDIR=\"/etc\" -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -I/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader -I/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated -Iloader  -DNDEBUG -march=native -O2 -pipe -ftree-vectorize -ggdb -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wno-stringop-truncation -Wno-stringop-overflow -Wimplicit-fallthrough=0 -fvisibility=hidden -Wpointer-arith -MD -MT loader/CMakeFiles/asm_offset.dir/asm_offset.c.o -MF loader/CMakeFiles/asm_offset.dir/asm_offset.c.o.d -o loader/CMakeFiles/asm_offset.dir/asm_offset.c.o -c /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/asm_offset.c
In file included from /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/loader.h:38,
                 from /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/asm_offset.c:24:
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:172:5: error: unknown type name ‘PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX’
  172 |     PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX GetPhysicalDeviceGeneratedCommandsPropertiesNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/loader.h:38,
                 from /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/asm_offset.c:24:
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:518:5: error: unknown type name ‘PFN_vkCmdProcessCommandsNVX’
  518 |     PFN_vkCmdProcessCommandsNVX CmdProcessCommandsNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:519:5: error: unknown type name ‘PFN_vkCmdReserveSpaceForCommandsNVX’
  519 |     PFN_vkCmdReserveSpaceForCommandsNVX CmdReserveSpaceForCommandsNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:520:5: error: unknown type name ‘PFN_vkCreateIndirectCommandsLayoutNVX’
  520 |     PFN_vkCreateIndirectCommandsLayoutNVX CreateIndirectCommandsLayoutNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:521:5: error: unknown type name ‘PFN_vkDestroyIndirectCommandsLayoutNVX’
  521 |     PFN_vkDestroyIndirectCommandsLayoutNVX DestroyIndirectCommandsLayoutNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:522:5: error: unknown type name ‘PFN_vkCreateObjectTableNVX’
  522 |     PFN_vkCreateObjectTableNVX CreateObjectTableNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:523:5: error: unknown type name ‘PFN_vkDestroyObjectTableNVX’
  523 |     PFN_vkDestroyObjectTableNVX DestroyObjectTableNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:524:5: error: unknown type name ‘PFN_vkRegisterObjectsNVX’
  524 |     PFN_vkRegisterObjectsNVX RegisterObjectsNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_layer_dispatch_table.h:525:5: error: unknown type name ‘PFN_vkUnregisterObjectsNVX’
  525 |     PFN_vkUnregisterObjectsNVX UnregisterObjectsNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/loader.h:39,
                 from /var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/asm_offset.c:24:
/var/tmp/portage/media-libs/vulkan-loader-1.1.125/work/Vulkan-Loader-1.1.125/loader/generated/vk_loader_extensions.h:356:5: error: unknown type name ‘PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX’
  356 |     PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX GetPhysicalDeviceGeneratedCommandsPropertiesNVX;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

Reproducible: Always




# emerge --info vulkan-loader 
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.30-r8, 5.6.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.6.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.6
KiB Mem:    24605048 total,  15608584 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 23 May 2020 19:35:47 +0000
Head commit of repository gentoo: 004eb6136e7e560c30b53c39c1d730169a3a8551

Timestamp of repository audio-overlay: Sat, 23 May 2020 09:31:33 +0000
Head commit of repository audio-overlay: 35ad6617b34af1874cb4cca594170052ca739573

Timestamp of repository kde: Sat, 23 May 2020 09:32:06 +0000
Head commit of repository kde: ee05667d3705cc80bd71200fb06c8dc962ed4a26

Timestamp of repository steam-overlay: Sat, 23 May 2020 09:30:57 +0000
Head commit of repository steam-overlay: 16b95b0e44ed34a02bdad6ac632dc22a97669e87

sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

shared_overlay
    location: /opt/conf/common/var/db/repos/shared_overlay
    masters: gentoo
    priority: 100

local_overlay
    location: /var/db/repos/local_overlay
    masters: gentoo
    priority: 200

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ftree-vectorize -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/package.accept_keywords/99-autounmask /etc/portage/package.unmask/99-autounmask /etc/portage/package.use/99-autounmask /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=native -O2 -pipe -ftree-vectorize -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask=y --autounmask-write --autounmask-continue --jobs=2 --load-average=8 --backtrack=100"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
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 a52 aac acl acpi activities aes alsa amd64 apng avx avx2 bash-completion berkdb bluetooth branding brotli bzip2 cairo cdaudio cdda cddb cdparanoia cdr chm cli crypt cups dbus declarative djvu dnssec dri dts dvd dvdr elogind emboss encode epub evdev exif f16c ffmpeg flac fma3 fortran gdbm gif glib gpg gpm gstreamer gtk gzip iconv icu id3tag idn ieee1394 imagemagick inotify ipv6 irc jack jpeg jpeg2k kde kipi kwallet lame lcms ldap libnotify libsamplerate libtirpc lvm lzma mad matroska mmx mmxext mng mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses nls nptl ntp ogg opengl openmp opus otr pam pango pclmul pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt5 quicktime rar readline real rss rtc sdl seccomp semantic-desktop spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg taglib tcpd theora threads thumbnail tiff truetype twolame udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vim-syntax visualization vorbis vpx wavpack widgets wma wmf wxwidgets x264 x265 xattr xcb xinerama xml xv xvid xvidv xvmc xz zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hdsp hdspm" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-libs/vulkan-loader-1.2.137::gentoo was built with the following:
USE="X -layers -wayland" ABI_X86="32 (64) (-x32)"
Comment 1 Till Schäfer 2020-05-23 21:00:31 UTC
Created attachment 641270 [details]
build.log
Comment 2 Till Schäfer 2020-05-23 21:02:06 UTC
version 1.2.137 builds fine
Comment 3 Nick Sarnie gentoo-dev 2020-05-24 02:07:26 UTC
What is the installed version of dev-util/vulkan-headers?
Comment 4 Till Schäfer 2020-05-24 18:46:05 UTC
ups, dev-util/vulkan-headers are at 1.2.137. 


Nevertheless, there should be a blocker if they are not compatible, I guess.
Comment 5 Nick Sarnie gentoo-dev 2020-05-24 23:35:12 UTC
Yeah the dependencies should be updated. Can you confirm that everything else (or at least vulkan-headers) at 1.1.125 (or 1.1.124 if 1.1.125 doesn't exist) works?
Comment 6 Till Schäfer 2020-05-26 14:33:33 UTC
=media-libs/vulkan-loader-1.1.125 compiles for <=dev-util/vulkan-headers-1.2.133 and fails for >=1.2.336
Comment 7 Larry the Git Cow gentoo-dev 2020-05-26 21:48:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339ec5f0c3caddeb14c143f8f61612356794e536

commit 339ec5f0c3caddeb14c143f8f61612356794e536
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2020-05-26 21:47:03 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2020-05-26 21:47:42 +0000

    media-libs/vulkan-loader: Fix deps
    
    Closes: https://bugs.gentoo.org/724870
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 .../vulkan-loader/vulkan-loader-1.1.125-r1.ebuild  | 69 ++++++++++++++++++++++
 .../vulkan-loader/vulkan-loader-1.2.133.ebuild     |  2 +-
 .../vulkan-loader/vulkan-loader-1.2.135.ebuild     |  2 +-
 .../vulkan-loader/vulkan-loader-1.2.137.ebuild     |  2 +-
 4 files changed, 72 insertions(+), 3 deletions(-)