After an emerge --sync an emerge --update world attempted to install qscintilla-1.6. The build process of qscintilla-1.6 attempts to apply the patch qscintilla-1.6-sandbox.patch, which modifies qt/Makefile and designer/Makefile in the /var/tmp/portage/qscintilla-1.6/work/qscintilla-1.65-gpl-1.6. Patching fails, because the contents of the diff file do not seem to match those Makefiles. Please the see the URL for Portage output of the actual build failing, and the output file portage references when the build fails. And finally, here is emerge --info: Portage 2.1.1_pre2-r8 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686) ================================================================= System Settings ================================================================= System uname: 2.6.17-gentoo i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm arts asf avi bash-completion berkdb bitmap-fonts cdr cli crypt cups divx4linux dlloader doc dri dvd dvdr eds emboss encode exif foomaticdb fortran gdbm gif gpm gstreamer gtk2 ieee1394 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pda pdflib perl php png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session sockets spell spl ssl tcpd truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_fglrx video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY END Thanks!
I ran into this just now. The issue I had was that I had just emerged qt and qmake was not yet in my path. Doing a 'source /etc/profile' fixed the issue.
Well, the QTDIR variable should not depend on root's QTDIR var (could point to qt4 as well). Solved in version 1.7.1 by inherit from qt3-eclass. Thanks for reporting!