Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135432 - emerge kmenc15 on kde-3.5.3 fails with: khtmlpart.h: file not found
Summary: emerge kmenc15 on kde-3.5.3 fails with: khtmlpart.h: file not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 138141 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-03 13:27 UTC by Fredric Johansson
Modified: 2006-11-09 09:30 UTC (History)
5 users (show)

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


Attachments
kmenc15-wcondiff.diff (kmenc15-wcondiff.diff,488 bytes, patch)
2006-06-05 17:13 UTC, Matteo Azzali (RETIRED)
Details | Diff
New local ebuild with patch (kmenc15-0.04-r1.tgz,1.60 KB, application/octet-stream)
2006-06-15 23:55 UTC, Enrico Caruso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fredric Johansson 2006-06-03 13:27:28 UTC
Tried to emerge kmenc15 but it fails with:
g++ -I/usr/qt/3/include -I/usr/kde/3.5/include -MM main.cpp dialog.cpp wcon.cpp images.cpp process.cpp >> Makefile.dep
wcon.cpp:44:23: khtmlpart.h: File or catalog not found
make[1]: *** [dep] Fel 1
make: *** [Makefile.dep] Fel 2


kde-3.5.3

emerge --info
Portage 2.1_rc3-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
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/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo"
LANG="sv_SE"
LC_ALL="sv_SE"
LINGUAS="sv"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 apm arts audiofile avi bdf berkdb bitmap-fonts blas browserplugin bzip2 bzlib cdda cddb cdio cdparanoia cdr cli crypt css cups curl dbus directfb divx4linux djbfft dnd dri dts dvb dvd dvdr dvdread emboss encode esd exif fame fbcon ffmpeg firefox flac font-server foomaticdb fortran fpx fuse gd gdbm ggi gif gimp gimpprint glitz glut gmp gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 hal hdf5 idn imagemagick imlib isdnlog ithreads jack java javascript jbig jpeg kde kdeenablefinal kerberos krb4 lcms ldap libcaca libg++ libwww lirc live lzo mad mikmod mjpeg mmx mng motif mozilla mozsvg mp3 mpeg mpi musepack ncurses network nls noamazon nptl nptlonly offensive ogg opengl osc oss pam pcre pdflib perl pic plotutils png ppds pppd pvm python qt quicktime readline real reflection rtc scanner sdl session slang slp sndfile speex spell spl sse sse2 ssl svg svga tcltk tcpd tga theora threads tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vcd vidix visualization vorbis win32codecs wmf wxwindows xanim xcomposite xml xmms xorg xosd xpm xprint xsl xv xvid xvmc yv12 zlib elibc_glibc kernel_linux linguas_sv userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matteo Azzali (RETIRED) gentoo-dev 2006-06-05 17:10:47 UTC
Issue seems to be in the command:

/usr/qt/3/bin/uic -pch klocale.h -tr tr2i18n -impl wcon.h -o wcon.cpp wcon.ui
patch -s --no-backup-if-mismatch < wcon.diff

That autogenerates an include line "khtmlpart.h" instead than the new "khtml_part.h"

however a temp patch will follow. (will need to be removed if/when uic -pch klocale.h...... gets fixed)
Comment 2 Matteo Azzali (RETIRED) gentoo-dev 2006-06-05 17:13:33 UTC
Created attachment 88487 [details, diff]
kmenc15-wcondiff.diff

Patch for generating a correct wcon.cpp , works here but please test
(sorry maintainer for wrongly assigning bug to myself,I fixed immediately)
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-06-05 17:40:24 UTC
Please don't assign bugs, when you don't know to whom.
Comment 4 Enrico Caruso 2006-06-15 23:55:48 UTC
Created attachment 89283 [details]
New local ebuild with patch

I've tested this ebuild on my PORTDIR_OVERLAY=/usr/local/portage and should works with different kdelibs versions.
Comment 5 Enrico Caruso 2006-06-16 00:01:38 UTC
I've verified that kmenc15 also failed on my box with kdelibs-3.5.2-r6
Comment 6 Cyrill Helg 2006-06-16 12:22:03 UTC
I had the same problem and the patch fixes it. Why is this not in portage?
Comment 7 cazzantonio 2006-07-03 01:41:51 UTC
the patched version works for me too
is there any reason not to put it in portage?
Comment 8 Lee 2006-11-07 18:57:50 UTC
*** Bug 138141 has been marked as a duplicate of this bug. ***
Comment 9 Alexis Ballier gentoo-dev 2006-11-09 09:30:41 UTC
Fixed, thank you.