Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43818 - kphone configure fails on checking about kde
Summary: kphone configure fails on checking about kde
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 46699 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-05 11:25 UTC by Gavrila
Modified: 2004-04-03 20:02 UTC (History)
2 users (show)

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 Gavrila 2004-03-05 11:25:24 UTC
I've got kde3.2 and emerge kphone fails on configure with this output

checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/qt/3/bin/moc
checking for uic... /usr/qt/3/bin/uic
checking for rpath... yes
checking for KDE... libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include
checking for KDE paths... defaults
checking for dcopidl... /usr/kde/3.2/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.2/bin/dcopidl2cpp
checking for mcopidl... /usr/kde/3.2/bin/mcopidl
checking for kdb2html... not found
configure: error: The important program kdb2html was not found!
Please check whether you installed KDE correctly.


!!! ERROR: net-misc/kphone-3.14 failed.
!!! Function kde_src_compile, Line 117, Exitcode 1
!!! died running ./configure, kde_src_compile:configure



Reproducible: Always
Steps to Reproduce:
1.emerge kphone
2.
3.

Actual Results:  
emerge failed configuring the source for compiling 

Expected Results:  
 

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.4-rc1-love2) 
================================================================= 
System uname: 2.6.4-rc1-love2 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.3.13p1 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64 
-falign-jumps=16 -pipe" 
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 /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/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64 
-falign-jumps=16 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X accessibility acpi acpi4linux aim alsa apm arts avi berkdb bonobo 
cdr clamav crypt cups directfb dvd dvdr encode esd evo exiscan-acl faad fam 
fbcon flac foomaticdb gb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml 
icq imagemagick imap imlib java jpeg kde libg++ libwww mad maildir mbox mikmod 
mldonkeypango mmx motif mozilla moznoirc mozsvg mpeg msn ncurses nls nvidia 
oggvorbis opengl operanom2 oscar oss pam pdflib perl png python qt quicktime 
readline sasl sdl slang slp spell ssl svga tcltk tcpd tetex tiff transcode 
truetype unicode x86 xml2 xmms xv xvid yahoo zlib"
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-03-07 14:58:08 UTC
It seems that kdb2html was deprecated in KDE 3.1.5 and is not contained in KDE 3.2 any more. Therefore kphone 3.1.4 will not compile against KDE 3.2 any more. 

I will try to update kphone to the current version 4.0.1.
Comment 2 Gavrila 2004-03-07 16:35:22 UTC
DUnno if I should post it here but renaming 3.1.4 ebuild to 4.0 worked until this sandbox violation

make[1]: Entering directory `/var/tmp/portage/kphone-4.0/work/kphone-4.0/icons'
install --mode=0755 --directory /usr/share/kphone/icons
ACCESS DENIED  mkdir:     /usr/share/kphone
install: cannot create directory `/usr/share/kphone': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/kphone-4.0/work/kphone-4.0/icons'
make: *** [install] Error 2

!!! ERROR: net-misc/kphone-4.0 failed.
!!! Function kde_src_install, Line 153, Exitcode 2
!!! died running make install, kde_src_install:make

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-misc_-_kphone-4.0-8701.log"

mkdir:     /usr/share/kphone
---------------------------------------------------------------


Thoough creating manually the dir could be a workaround, there's surely a more efficient solution.

Regards
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-03-08 11:44:47 UTC
The sandbox-violation ocurrs because the install-target in the Makefile does not observe the target-directory that is passed, but hardcodes the /usr/share/kphone-directory. 

Therefore the solution will be to add a patch to adjust the Makefile.in/.am and/or submit the patch upstream for future inclusion in kphone.
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2004-03-11 15:52:01 UTC
After adding some magic to configure it merges very well.
So this issue is fixed.

Closing this bug.
Comment 5 waipeng 2004-04-03 20:02:51 UTC
*** Bug 46699 has been marked as a duplicate of this bug. ***