Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427720 - =x11-drivers/nvidia-drivers-304.22 fails to install (dohtml failed)
Summary: =x11-drivers/nvidia-drivers-304.22 fails to install (dohtml failed)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 10:01 UTC by Frédéric Romagné
Modified: 2012-08-05 19:45 UTC (History)
8 users (show)

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


Attachments
build log (build.log,77.62 KB, text/plain)
2012-07-23 12:00 UTC, Michael Palimaka (kensington)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Romagné 2012-07-23 10:01:41 UTC
Error when installing =x11-drvers/nvidia-drivers-304.22

 * QA Notice: file does not exist:
 * 
 * 	dohtml: /var/tmp/portage/x11-drivers/nvidia-drivers-304.22/work//html/* does not exist
 * 
commenting line 409:
#dohtml "${NV_DOC}/html/*"
in the ebuild fixes it.

Reproducible: Always

Steps to Reproduce:
1. Unmask the package
2. emerge -uv nvidia-drivers

Actual Results:  
Fails to install dohtml failed

Expected Results:  
Installs correctly, documentation included

Portage 2.3.4-r7 (default/linux/amd64/2008.0/desktop, gcc-4.6.2, glibc-2.13-r4, 3.4.5-gentoo x86_64)
=================================================================
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.2.0
Timestamp of tree: Mon, 23 Jul 2012 06:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
sys-apps/baselayout:      2.2.0-r1
sys-apps/openrc:          0.10.2-r2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.2-r1
sys-devel/gcc-config:     1.5
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x11 science java-overlay gnome sunrise AzP vala enlightenment flora kiss-overlay
Installed sets: @enlightenment-live
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.3 Oracle-BCLA-JavaSE google-talkplugin skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /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/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/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=3.0 --with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/science /var/lib/layman/java-overlay /var/lib/layman/gnome /var/lib/layman/sunrise /var/lib/layman/AzP /var/lib/layman/vala /var/lib/layman/enlightenment /var/lib/layman/flora /usr/local/portage"
SYNC="git://github.com/funtoo/portage-mini-2011.git"
SYNC_USER="root"
USE="X a52 aac acl acpi alac alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread eds emboss encode exif fam flac fortran gdbm gdm gif gnome gnome-keyring gphoto2 gpm graphviz gtk gtk3 iconv ios ipod ipv6 jpeg lame lcms libnotify mad mmx mng modules mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses nls nptl ogg opengl openmp openvpn pam pango pcre pdf perl png policykit ppds pppd pulseaudio python readline resolvconf sdl session spell sse sse2 sse3 ssl startup-notification svg symlink tcpd tiff truetype udev udisks unicode upower usb userlocales v4l vdpau vorbis wavpack wxwidgets x264 xcb xinerama xml xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Marc Grondin 2012-07-23 11:35:32 UTC
I can confirm this bug as well. here is full build log.

http://pastebin.com/qfHXuv6n

i can also confirm that the folder /var/tmp/portage/x11-drivers/nvidia-drivers-304.22/work/html/ is infact present. 

I did change this line in the ebuild from

dohtml ${NV_DOC}/html/

to  dohtml ${NV_DOC}html/

since i noticed the error had the path like so /var/tmp/portage/x11-drivers/nvidia-drivers-304.22/work//html/*

but i still had the same error.
Comment 2 Frédéric Romagné 2012-07-23 11:46:25 UTC
As said in my post, just comment line 409, I guess it's just a copy/paste bug...
Comment 3 Michael Palimaka (kensington) gentoo-dev 2012-07-23 12:00:16 UTC
Created attachment 318968 [details]
build log
Comment 4 Marc Grondin 2012-07-23 12:08:27 UTC
Comparing the ebuild for 304.22 and 302.17

302.17 has

# Documentation
427	dohtml ${NV_DOC}/html/*
	if use kernel_FreeBSD; then
		dodoc "${NV_DOC}/README"
		doman "${NV_MAN}/nvidia-xconfig.1"
		doman "${NV_MAN}/nvidia-settings.1"
	else
		# Docs
		newdoc "${NV_DOC}/README.txt" README
		dodoc "${NV_DOC}/NVIDIA_Changelog"
		doman "${NV_MAN}/nvidia-smi.1.gz"
		doman "${NV_MAN}/nvidia-xconfig.1.gz"
		doman "${NV_MAN}/nvidia-settings.1.gz"
	fi

304.22 has
	# Documentation
395	dohtml ${NV_DOC}/html/*
	if use kernel_FreeBSD; then
		dodoc "${NV_DOC}/README"
		use X && doman "${NV_MAN}/nvidia-xconfig.1"
		use tools && doman "${NV_MAN}/nvidia-settings.1"
		dohtml "${NV_DOC}/html/*"
	else
		# Docs
		newdoc "${NV_DOC}/README.txt" README
		dodoc "${NV_DOC}/NVIDIA_Changelog"
		doman "${NV_MAN}/nvidia-smi.1.gz"
		use X && doman "${NV_MAN}/nvidia-xconfig.1.gz"
		use tools && doman "${NV_MAN}/nvidia-settings.1.gz"
		doman "${NV_MAN}/nvidia-cuda-proxy-control.1.gz"
409		dohtml "${NV_DOC}/html/*"
	fi

to me it looks like line 409 is a duplicate and should actually be removed. since the html docs are delt with on line 395 in the 304.22 ebuild.

had this all typed out then i saw your post Frederic so my observation is correct then. easy fix.
Comment 5 Nikos Chantziaras 2012-07-23 14:20:53 UTC
It would be nice if Gentoo devs would actually try to emerge a package to see if it even works before pushing it. :-/
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2012-07-23 14:35:26 UTC
(In reply to comment #5)
> It would be nice if Gentoo devs would actually try to emerge a package to
> see if it even works before pushing it. :-/

The package is hard masked. I had no intention of people using it yet.
Comment 7 Nikos Chantziaras 2012-07-23 15:05:31 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > It would be nice if Gentoo devs would actually try to emerge a package to
> > see if it even works before pushing it. :-/
> 
> The package is hard masked. I had no intention of people using it yet.

Oops, didn't notice it's masked.

Another error: The menu desktop file isn't installed due to typo:

  domenu "${FILESDIR}"/nvidia-driver-settings.desktop

It should be:

  domenu "${FILESDIR}"/nvidia-drivers-settings.desktop
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2012-07-23 16:20:02 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > It would be nice if Gentoo devs would actually try to emerge a package to
> > see if it even works before pushing it. :-/
> 
> The package is hard masked. I had no intention of people using it yet.

To expand on this further. I often write new ebuilds or functionality from a MacBook or a from an iPad and don't have a chance to compile it. I also have a large number of Gentoo systems where I test different functionality so I will commit these early "development" ebuilds as hard masked and then test them everywhere before unleashing them.

This was one of those ebuilds that I wrote on a Mac and committed from a Mac and was going to test on a number of Gentoo machines before unmasking it.

I appreciate people finding issues and reporting them just like with any package but realize I do a lot of this on my own time and own dime (e.g. buying hardware) so I can't necessarily dedicate a ton of testing time immediately after writing a new ebuild.
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2012-07-23 16:26:35 UTC
I've fixed both of these issues in the tree but still haven't completed the ebuild. You are welcome to test it. The prelink blacklist might be removed before this is unmasked.
Comment 10 Marc Grondin 2012-07-23 17:00:44 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > It would be nice if Gentoo devs would actually try to emerge a package to
> > > see if it even works before pushing it. :-/
> > 
> > The package is hard masked. I had no intention of people using it yet.
> 
> To expand on this further. I often write new ebuilds or functionality from a
> MacBook or a from an iPad and don't have a chance to compile it. I also have
> a large number of Gentoo systems where I test different functionality so I
> will commit these early "development" ebuilds as hard masked and then test
> them everywhere before unleashing them.
> 
> This was one of those ebuilds that I wrote on a Mac and committed from a Mac
> and was going to test on a number of Gentoo machines before unmasking it.
> 
> I appreciate people finding issues and reporting them just like with any
> package but realize I do a lot of this on my own time and own dime (e.g.
> buying hardware) so I can't necessarily dedicate a ton of testing time
> immediately after writing a new ebuild.

no problem. that is why we are here. Will test this when i get home from work and report. Thank you for your quick response.
Comment 11 Chiitoo gentoo-dev 2012-07-28 20:42:48 UTC
Heh, I had this installed a while ago, but tried some drivers from the stuff overlay, so I was a little bit puzzled with the pkg_pretend() failing the build right away today.  I did manage to get by that, which I was surprised at since I've not played around with ebuilds too much yet.  Basically just wanted to say that the variable is funny.  

Was also wondering what brought up such a 'added mask', but now I know!

In any case, for what it's worth, still/again working OK here, as far as I can tell.  I might not spot all that there could be to spot, though.  ^^;

Thank you all.
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2012-08-05 19:45:11 UTC
This is fixed in CVS.