Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30655 - qt 3.2.1-r2 ebuild ignores doc USE flag
Summary: qt 3.2.1-r2 ebuild ignores doc USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 05:32 UTC by Axel Reimann
Modified: 2003-10-09 05:55 UTC (History)
0 users

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 Axel Reimann 2003-10-08 05:32:50 UTC
Ok, as I have learned from bug reports #30170 and #30548 
it is not the case that an outdated qt-docs package prevents 
the Qt assistant from working. 
I have added the USE flag 'doc' to my make.conf file, brushed 
qt from my hard disc and re-emerged qt. Since I use the ~x86 
keyword, qt 3.2.1-r2 is emerged as expected. Disappointingly, 
the assistant still misses any and all documentation files. 

Reproducible: Always
Steps to Reproduce:
1. emerge qt 
2. start assistant 
Actual Results:  
assistant says: The page could not be found! 
'/usr/doc/qt/3/doc/html/index.html' 
 
This does not come as a surprise, since the doc 
directory is as empty as can be. 
Even  

Expected Results:  
install the qt documentation while emerging qt 

Portage 2.0.49-r9 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22_pre2-gss) 
================================================================= 
System uname: 2.4.22_pre2-gss i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz 
Gentoo Base System version 1.4.3.10p1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs fixpackages userpriv" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad 
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv 
zlib alsa gdbm slang readline arts tetex aalib nas svga tcltk java guile ruby 
postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde 
motif opengl mozilla gphoto2 ldap cdr scanner acpi acpi4linux apache2 curl dga 
dnd doc dvd faad fax foreign-sysvinit freetds freewnn gmtsuppl gmttria gps gtk2 
imap innodb ipv6 lcms libdsk lirc maildir mbox mcal md5sum mpi oav oci8 odbc 
parse-clocks pcmcia pic plotutils pnp ppds prebuilt samba sasl slp sse tiff trusted 
type1 usb wmf Xaw3d xosd xvid -apm -berkdb -esd"
Comment 1 Axel Reimann 2003-10-08 05:37:35 UTC
The word 'Even' in the above comment belongs to an 
unfinished sentence:
Even 'qpkg -l qt' does not list any documentation files.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-10-08 07:09:50 UTC
It works for me on my end.

Do you get an examples directory with examples in it?  How about a tutorial
directory with the tutorial in it?

/usr/qt/3/examples
/usr/qt/3/tutorial

?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2003-10-08 07:40:33 UTC
I know that the qt-3.2.1.ebuild copied the files as expected to /usr/qt/3/doc/html.
In qt-3.2.1-r2.ebuild this is supposed to happen to, but it doesn't work.
Seems like the r2 ebuild created the /usr/qt/3/doc/html directory, copied
no files into it and portaged removed the empty directory.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-10-08 12:15:25 UTC
Please try the revised -r2 ebuild and see if it fixes your problems.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2003-10-08 14:04:38 UTC
Works fine now, Caleb. Thx.
Comment 6 Axel Reimann 2003-10-09 03:01:52 UTC
Yes, everything is there now: examples, tutorial, and documentation.
Assistant works out of the box. Thank you all for the immediate help!
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2003-10-09 05:55:22 UTC
fixed.