Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47699 - Qt samples from USE="doc" emerge qt have wrong paths in Makefiles
Summary: Qt samples from USE="doc" emerge qt have wrong paths in Makefiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 06:39 UTC by Craig Bradney
Modified: 2005-02-18 14:41 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 Craig Bradney 2004-04-13 06:39:47 UTC
Qt samples from USE="doc" emerge qt have wrong paths in Makefiles and therefore all need to be edited to be compiled.

Reproducible: Always
Steps to Reproduce:
1.USE="doc" emerge qt
2./usr/qt/3/examples/helpdemo
3.less Makefil

Actual Results:  
#
/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/./examples/helpdemo/Makefile:
generated by configure
#
# WARNING: This makefile will be replaced with a real makefile.
# All changes made to this file will be lost.

all clean install qmake Makefile: FORCE
        /var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/bin/qmake  -spec
/var/tmp/portage/qt-3.3.0-r1/work/qt-x1
1-free-3.3.0/mkspecs/linux-g++ -o
/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/./examples/helpdemo /var/tmp/p
ortage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/examples/helpdemo/helpdemo.pro
        cd /var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/./examples/helpdemo
        $(MAKE) $@

FORCE:


Expected Results:  
Makefiles, like the above, should not have temporary portage build dirs in them,
but the final system dirs after installation

Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.3.13
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O0"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://212.219.247.11/sites/www.ibiblio.org/gentoo/
http://212.219.247.14/sites/www.ibiblio.org/gentoo/
http://212.219.247.19/sites/www.ibiblio.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://212.219.247.20/sites/www.ibiblio.org/gentoo/
http://212.219.247.12/sites/www.ibiblio.org/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd
encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib
java jpeg kde lcms ldap libg++ libwww linguas_de linguas_en_GB linguas_fr mad
mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls
odbc oggvorbis opengl oss pam pcmcia pdflib perl png ppds python qt quicktime
radeon readline samba sdl slang slp spell sse ssl svga tcltk tcpd tiff truetype
usb x86 xml xml2 xmms xv zlib"
Comment 1 Dan Armak (RETIRED) gentoo-dev 2005-02-18 10:30:09 UTC
This was fixed by caleb four days after this bug was filed, in qt-3.3.1-r1.
I believe he just forgot to close this.
Comment 2 Craig Bradney 2005-02-18 11:32:09 UTC
In which case this would not exist in one of my 3.3.4 make files...

simple-qfont-demo/$(MAKEFILE):
    @$(CHK_DIR_EXISTS) "simple-qfont-demo" || $(MKDIR) "simple-qfont-demo"
    cd simple-qfont-demo && $(QMAKE) simple-qfont-demo.pro -spec /var/tmp/portage/qt-3.3.4-r2/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -o $(MAKEFILE)
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-18 14:41:31 UTC
Actually, there was a little bug in the fix.

I changed 's:${S}:${QTBASE}:g' into "s:${S}:${QTBASE}:g"
and now everything should be ok.