Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533644 - dev-util/nvidia-cuda-sdk-6.5.14 - src_unpack(): run_files/cuda-samples*run does not exist
Summary: dev-util/nvidia-cuda-sdk-6.5.14 - src_unpack(): run_files/cuda-samples*run do...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-26 23:49 UTC by Patrice Levesque
Modified: 2017-01-20 19:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,2.36 KB, text/plain)
2014-12-27 10:58 UTC, Patrice Levesque
Details
build.log (build.log,2.04 KB, text/x-log)
2015-01-03 10:53 UTC, hangglider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrice Levesque 2014-12-26 23:49:36 UTC
Trying to emerge nvidia-cuda-sdk-6.5.{14,19}, emerge fails, complaining about missing "run_files/cuda-samples*run" file(s).  Offending instruction is on line 47:

    unpacker run_files/cuda-samples*run

Reproducible: Always




The nVidia .run files distributed to 32-bit architectures are 10 times smaller than their 64-bit counterparts:

cuda_6.5.14_linux_32.run 76788277
cuda_6.5.14_linux_64.run 972320904
cuda_6.5.19_linux_32.run 81882112
cuda_6.5.19_linux_64.run 982446238

Using 'unmakeself' to analyze them, they offer the “same” files but the 32-bit version does not include 'sample' files.

Not sure if the correct approach for 32-bit would be to extract the samples from the 64-bit version or to skip dealing with them completely.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-27 10:48:26 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Patrice Levesque 2014-12-27 10:56:28 UTC
Portage 2.2.14 (python 2.7.9-final-0, default/linux/x86/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.18.1-gentoo i686)
=================================================================
System uname: Linux-3.18.1-gentoo-i686-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     7982632 total,   3881884 free
KiB Swap:    1004056 total,    942072 free
Timestamp of tree: Sat, 27 Dec 2014 10:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [disabled]
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.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gamerlay multimedia rion vmware sunrise eigenlay flameeyes-overlay anyc-overlay proaudio weuxel stuff local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb -ggdb3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/fax/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -ggdb -ggdb3"
DISTDIR="/home/backups/tarballs"
EMERGE_DEFAULT_OPTS="--alphabetical"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9 -e"
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/portagebuild"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/multimedia /var/lib/layman/rion /var/lib/layman/vmware /var/lib/layman/sunrise /var/lib/layman/eigenlay /var/lib/layman/flameeyes-overlay /var/lib/layman/anyc /var/lib/layman/pro-audio /var/lib/layman/weuxel /var/lib/layman/stuff /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ao apache2 apm aspell audiofile avx bash-completion bcmath berkdb bluetooth bonobo branding bzip2 cairo calendar caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt cscope ctype cups curl curlwrappers cxx dba dbase dbm dbus dbx dev dga dio djvu doc dri dts dv dvb dvd dvdr dvdread emboss encode evo examples exif expat exwindows fam fastcgi ffmpeg fftw firefox flac flatfile fltk foomaticdb fortran ftp gcj gd gdbm geoip gif ginac glamor glep glitz glut gmp gnome gnustep gnutls gphoto2 gpm gps graphviz gtk gtk2 gtk3 gtkhtml guile handbook hscolour htmlhandbook iconv icq idn ieee1394 imagemagick imap imlib inifile innodb ipv6 jabber jack jbig joystick jpeg jpeg2k kde ladspa lame lapack lash lcms ldap lesstif libcaca libgda libnotify libsamplerate libwww lirc lm_sensors lua lzma lzo mad maildir mailwrapper matroska mbox mcal mhash midi mikmod mime mmap mmx mmxext mng mnogosearch modules motif mozilla mp3 mp4 mpeg mpi mplayer msession msn musepack mysql mysqli ncurses nis nls nntp nptl nsplugin ocaml offensive ofx ogg openal openexr opengl openmp oscar oss pam pango pcntl pcre pdf perl php plotutils png policykit posix ppds python qt3 qt3support qt4 quicktime rdesktop readline ruby ruby18 ruby19 samba sasl scanner sdl semantic-desktop session sharedext shorten simplexml slang slp sndfile soap sockets socks5 source sox speex spell spl sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification static-libs svg sysvipc szip taglib tcl tcpd tetex theora threads tidy tiff tk tokenizer truetype udev udisks unicode upower usb v4l vaapi vcd vhosts videos vim-syntax vorbis wddx win32codecs wmf wxwidgets x264 x86 xattr xcb xcomposite xface xine xinerama xinetd xml xmlrpc xosd xpm xprint xsl xv xvid yahoo yaz zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" CURL_SSL="gnutls" ELIBC="glibc" ENLIGHTENMENT_MODULES="appmenu bluez4 clock conf-applications conf-comp conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-wallpaper2 conf-window-manipulation conf-window-remembers contact dropshadow everything gadman ibar ibox illume2 msgbus music-control notification pager quickaccess shot start syscon systray tasks teamwork temperature tiling winlist wizard" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport wiki-publisher" LINGUAS="en fr en_CA en_US fr_CA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby ruby19 ruby20" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="intel 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:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Patrice Levesque 2014-12-27 10:58:34 UTC
Created attachment 392496 [details]
build.log
Comment 4 hangglider 2015-01-03 10:53:37 UTC
Created attachment 393058 [details]
build.log
Comment 5 hangglider 2015-01-03 10:57:23 UTC
Same happens here, both versions tried. Seems to be related to portage's unpacker.eclass as the package extracts fine by itself.


Portage 2.2.15 (python 3.4.2-final-0, default/linux/x86/13.0/desktop, gcc-4.8.4, glibc-2.20-r1, 3.16.7-tuxonice i686)
=================================================================
System uname: Linux-3.16.7-tuxonice-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.2
KiB Mem:     3629672 total,    206356 free
KiB Swap:    4095996 total,   3462988 free
Timestamp of tree: Fri, 02 Jan 2015 10:45:01 +0000
sh bash 4.3_p33
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.2.5-r6, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo science gamerlay sunrise local
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* cadsoft"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -msse -msse2 -mssse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apa
che2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/re
vdep-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 -O2 -fomit-frame-pointer -msse -msse2 -mssse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gento
o "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --timeo
ut=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/gamerlay /usr/local/portage/layman/sunrise /usr/local/portage-own"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="16bit 3dfx 3dnow 3dnowext GAPING_SECURITY_HOLE X Xaw3d a52 aac acpi adns aliaschain alsa amd amr ao aotuv apache2 ares artswrappersuid asterisk async atlas audiofile avahi bash-completion bcmath bdf berkdb bgpclassless bidi bl blender-game branding bri bzip2 bzlib c++ c++0x cairo calendar canna cap caps cdda cddb cdf cdio cdparanoia cdr chipcard chroot cjk cli cln cnamefix cpdflib cpudetection cracklib crypt css ctype cups curlwrappers cxx dbm dbus dbx dga dio divx4linux djbfft dlloader dlz dpms dri dts dv dvd dvdr dvdread ecc edl elf emoticon encode ethereal exif ext-png ext-zlib extensions extraicons extramodules fam fame fax fb fbcon fbdev festival fftw firefox flac flatfile florz fltk fluidsynth fortran fpx freewnn fusion gcj gd gdbm geos ggi gif gimp gimpprint ginac glamor glibc glut gmp gmtfull gmthigh gmtsuppl gmttria gnokii gpm graphviz gs gtk hbci hesiod http icc icc-pgo iconv idea ieee1394 imap inifile iodbc irda jce joystick jpeg jpeg2k kcal kdepim kdexdeltas kqemu ladcca ladspa latex lcms libcaca libdsk libedit libnotify lirc lm_sensors logitech-mouse lufsusermount lzo lzw lzw-tiff m17n-lib mad mbox mbrola md5sum mgetty mime mmx mmxext mng modules moneyplex mp3 mp4 mpeg mpeg4 mplayer multipleip mythtv ncurses nethack network nextaw nls nptl ntpl ntplonly nvidia objc odbc ogg openal openexr opengl openmp pango pcre pdf pg-hier pg-intdatetime pg-vacuumdelay php physfs plotutils plugin png policykit posix ppds pri private qt3support qt4 quotes rar readline real recode resperl sblive sdl session sftp sftplogging sharedmem shorten smime sms sndfile softmmu sox speedo speex spell spl sql sse sse2 ssl ssse3 startup-notification stencil-buffer streamzap subp subtitles svg svgz symlink sysfs szip tga theora threads tiff timidity truetype type1 udev udisks uim unicode upower usb userlocales utf8 v4l v4l2 vcd vidix vim-pager vim-with-x vmdbpostgres voice vorbis win32codecs winbind wmf wxwidgets x264 x86 xanim xcb xface xml xosd xpm xprint xsl xv xvid xvmc yv12 zeroconf zlib" ABI_X86="32" ALSA_CARDS="emu10k1 via82xx" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_default authn_file authz_core authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif so socache_shmcb status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="directory konica minolta ptp2 samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" LIRC_DEVICES="devinput serial sir" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" SANE_BACKENDS="canon canon630u canon_dr canon_pp hp hp3500 hpsj5s" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 hangglider 2015-01-03 21:19:33 UTC
unpacker.eclass looks correct, but neither the main package nor the included archives contain any "cuda-samples" or the like, so the archive packe doesn't match the ebuild (or vice versa)
Comment 7 justXi 2015-02-04 08:27:36 UTC
I have the same problem. Is there any solution for this?
Comment 8 Marius Brehler 2015-04-08 06:28:09 UTC
As mentioned in the release notes [1] on page 11, the CUDA samples were dropped for x86-based Linux Distributions. Therefore, the ebuild still might be used but has limited functionality. See bug #529320.

[1] http://developer.download.nvidia.com/compute/cuda/6_5/rel/docs/CUDA_Toolkit_Release_Notes.pdf
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2017-01-20 19:43:47 UTC
commit 5afa176331c32f936d594e32bac415c62f91b952
Author: Justin Lecher <jlec@gentoo.org>
Date:   Fri Jan 20 19:31:47 2017 +0000

    dev-util/nvidia-cuda-sdk: Drop old

    Package-Manager: Portage-2.3.3, Repoman-2.3.1
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

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