Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878079 - dev-util/nvidia-cuda-toolkit-11.8.0[profiler]: should install new sub package cuda_profiler_api
Summary: dev-util/nvidia-cuda-toolkit-11.8.0[profiler]: should install new sub package...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-23 09:09 UTC by Ao Shen
Modified: 2022-10-23 19:57 UTC (History)
0 users

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


Attachments
Proposed patch (nvidia-cuda-toolkit-11.8.0.ebuild.patch,593 bytes, patch)
2022-10-23 09:09 UTC, Ao Shen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ao Shen 2022-10-23 09:09:26 UTC
With 11.8.0 release of CUDA toolkit, there is a new sub package cuda_profiler_api containing two headers `cudaProfiler.h` and `cuda_profiler_api.h` originally included in the cuda_nvprof sub package. Without these two headers some application may fail to compile, including sci-libs/caffe2-1.12.0 in the main tree.

Reproducible: Always

Steps to Reproduce:
1. USE=profiler emerge -1 '=dev-util/nvidia-cuda-toolkit-11.8.0'
2. emerge -1 '=sci-libs/caffe2-1.12.0'
Actual Results:  
caffe2 failed to build

The build log shows missing header cuda_profiler_api.h


Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r8, 5.19.0-pf6-Satori x86_64)
=================================================================
System uname: Linux-5.19.0-pf6-Satori-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.35
KiB Mem:    65776740 total,   1930672 free
KiB Swap:   12444992 total,  12431100 free
Timestamp of repository gentoo: Sun, 23 Oct 2022 01:45:01 +0000
Head commit of repository gentoo: 659f068492aff6728274489ee2b58628e995a48e
Timestamp of repository audio-overlay: Thu, 20 Oct 2022 06:32:22 +0000
Head commit of repository audio-overlay: 37b53f73598b6e7c4ed724ae2a5aadd43826f1d2

Timestamp of repository gentoo-zh: Sat, 22 Oct 2022 15:16:47 +0000
Head commit of repository gentoo-zh: cd5483ccf752f8661bf7dd598b1933c5d91687b0

Timestamp of repository guru: Fri, 21 Oct 2022 23:01:56 +0000
Head commit of repository guru: afbe8ecaf776b282dc3a64f0bcf4eb7660476cc4

Head commit of repository librewolf: 527afdb1afee74187a6d989c7bc444600c8fc60f

Timestamp of repository lto-overlay: Mon, 10 Oct 2022 21:05:21 +0000
Head commit of repository lto-overlay: 8a5844bd63d2785ee3f446533082f915ed70421f

Timestamp of repository mv: Thu, 20 Oct 2022 06:32:12 +0000
Head commit of repository mv: ab19d6f0e57761a12a4ba1c17ae736e70f159225

Timestamp of repository pentoo: Fri, 21 Oct 2022 23:01:53 +0000
Head commit of repository pentoo: 6ffc03001243aefe414409e91c22c4bd99c622d2

Timestamp of repository pf4public: Sat, 22 Oct 2022 17:31:43 +0000
Head commit of repository pf4public: 4add6288d0c1fad06b1665a86d1c5bf3f8bc2d29

Timestamp of repository steam-overlay: Thu, 20 Oct 2022 06:32:14 +0000
Head commit of repository steam-overlay: f40a22632e77a46be0153821f4a7f7847029533b

Timestamp of repository vapoursynth: Thu, 20 Oct 2022 06:32:16 +0000
Head commit of repository vapoursynth: 9c383286f9c139a94d77f2465e03ff063e9feddd

Timestamp of repository wine: Thu, 20 Oct 2022 06:32:23 +0000
Head commit of repository wine: 53226f9831ff79fc09e9dd6e611047a410822a2c

sh dash 0.5.11.5
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.8.13_p8::gentoo, 3.9.15::gentoo, 3.10.8::gentoo
dev-lang/rust:             1.64.0-r1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6-r1::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

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

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

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo

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

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

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

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.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

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

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

crossdev
    location: /var/db/repos/localrepo-crossdev
    masters: gentoo
    priority: 10

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 10

Installed sets: @extern-deps
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 /etc/vmware-installer"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=24.0 --ask-enter-invalid"
ENV_UNSET="CARGO_HOME CARGO_TARGET_DIR DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live buildsyspkg cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=24 --load-average=24.0"
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"
SHELL="/bin/zsh"
USE="X acl alsa amd64 bzip2 cairo cdda cli crypt cuda dri dvd eselect-ldso fontconfig fortran gdbm gif iconv icu ipv6 jack jpeg lcms libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre png readline seccomp split-usr ssl test-rust unicode vaapi vdpau vim-syntax vulkan webp xattr zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2020" 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="libinput wacom joystick" KERNEL="linux" L10N="en zh zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Ao Shen 2022-10-23 09:09:58 UTC
Created attachment 825111 [details, diff]
Proposed patch
Comment 2 Larry the Git Cow gentoo-dev 2022-10-23 19:57:41 UTC
The bug has been closed via the following commit(s):

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

commit ac52ef924e45fc2b517009af23357bfe7ecd1642
Author:     Ao Shen <shenao6626@gmail.com>
AuthorDate: 2022-10-23 19:57:31 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-23 19:57:31 +0000

    dev-util/nvidia-cuda-toolkit: install necessary profiler headers
    
    Closes: https://bugs.gentoo.org/878079
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...-cuda-toolkit-11.8.0.ebuild => nvidia-cuda-toolkit-11.8.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)