Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127720 - kwlaninfo install fails, might be dependency (mcopidl... not found) (Arch: ~86)
Summary: kwlaninfo install fails, might be dependency (mcopidl... not found) (Arch: ~86)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 134347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-27 00:39 UTC by Rasmus L Pedersen
Modified: 2007-01-04 07:06 UTC (History)
3 users (show)

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


Attachments
The config worklog (config.log,89.89 KB, text/plain)
2006-03-27 00:42 UTC, Rasmus L Pedersen
Details
The config worklog (config.log,89.89 KB, text/plain)
2006-03-27 00:44 UTC, Rasmus L Pedersen
Details
kwlaninfo-0.9.4.ebuild (kwlaninfo-0.9.4.ebuild,727 bytes, text/plain)
2007-01-04 05:40 UTC, Przemyslaw Maciag (RETIRED)
Details
kwlaninfo-arts_must_die.patch (kwlaninfo-arts_must_die.patch,15.22 KB, patch)
2007-01-04 05:41 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
kwlaninfo-desktop.patch (kwlaninfo-desktop.patch,616 bytes, patch)
2007-01-04 05:42 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
kwlaninfo-arts_must_die.patch (broken) (kwlaninfo-arts_must_die.patch,1.37 KB, patch)
2007-01-04 06:15 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rasmus L Pedersen 2006-03-27 00:39:17 UTC
Hi. I tried to emerge kwlaninfo, but it fails with the following error:

"
checking for KDE paths... defaults
checking for dcopidl... /usr/kde/3.5/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.5/bin/dcopidl2cpp
checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kwlaninfo-0.9.4/work/kwlaninfo-0.9.4/config.log

!!! ERROR: net-wireless/kwlaninfo-0.9.4 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  ebuild.sh, line 1236:   Called kde_src_compile
  kde.eclass, line 111:   Called kde_src_compile 'all'
  kde.eclass, line 228:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 211:   Called econf '--with-x' '--enable-mitshm' '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--without-arts' '--with-extra-includes=/usr/kde/3.5/include' '--with-extra-libs=/usr/kde/3.5/lib'
  ebuild.sh, line 527:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
"

emerge --info:
"
Portage 2.1_pre7-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 apm avi berkdb bitmap-fonts cdr cdrw cli crypt ctype cups dba dri dvd eds emboss encode expat fastbuild fbcon foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk2 hal imlib ipv6 jpeg kde libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis wifi xml xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_i810 video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
"
Comment 1 Rasmus L Pedersen 2006-03-27 00:42:08 UTC
Created attachment 83215 [details]
The config worklog
Comment 2 Rasmus L Pedersen 2006-03-27 00:44:15 UTC
Created attachment 83216 [details]
The config worklog
Comment 3 Rasmus L Pedersen 2006-03-27 00:47:01 UTC
Sorry for posting the configlog twice.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2006-03-27 03:36:23 UTC
I just changed the ebuild - please sync and retry and see if it works for you.
Comment 5 Rasmus L Pedersen 2006-03-27 06:17:58 UTC
It fails with the exact same error. The inly difference is that '--without-arts' is specified twice.

From what I can find on the forums, 'mcopidl' is a part of arts. So there is definitly a dependency error.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-03-27 06:26:40 UTC
Yep, it looks like kwlaninfo doesn't allow you to build unless you have arts installed.  This is a huge design error on their part, I suppose.
Comment 7 Thomas Fischer 2006-03-27 06:38:43 UTC
(In reply to comment #6)
> Yep, it looks like kwlaninfo doesn't allow you to build unless you have arts
> installed.  This is a huge design error on their part, I suppose.
I can confirm that it is a configure problem. If you run  make -f Makefile.cvs  you will get some warnings about head -2 is deprecated, which suggests that kwlaninfo uses old autotool or configuration files. I replaced the configure script with a slightly modified one from another KDE program, but after finishing without problems the make files were buggy (haven't trace these problems). I sent an email with my findings to the author last week, but no response so far.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2006-03-27 06:43:29 UTC
Ahh, just realized the date was 2005 and not 2006, so yes, it's just the old autotools.

I *think* that if you replace the admin dir with a more recent snapshot, and do a "make -f Makefile.cvs" to rebuild configure, that should make things much happier.
Comment 9 Thomas Fischer 2006-03-30 01:21:38 UTC
> I *think* that if you replace the admin dir with a more recent snapshot, and do
> a "make -f Makefile.cvs" to rebuild configure, that should make things much
> happier.
I can confirm that kwlaninfo configures, builds and runs with the admin directory taken from kdelibs-3.5.2.

One way to make kwlaninfo built is to make it depending on kdesdk (or appropiate split ebuild) and copy admin from /usr/kde/3.5/share/apps/kapptemplate/admin into kwlaninfo's directory. Maybe dependencies to some autotools have to be added, too. This is just a theory and is not tested yet. Maybe an upstream bugfix would be best...

Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-05-25 10:53:01 UTC
*** Bug 134347 has been marked as a duplicate of this bug. ***
Comment 11 Allen Brooker (AllenJB) 2007-01-03 14:04:01 UTC
Why has this bug still not been fixed?
Comment 12 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 05:40:52 UTC
Created attachment 105370 [details]
kwlaninfo-0.9.4.ebuild

Ebuild with arts patch (plus desktop file patch). Arts is needed at all - I believe it's standard kdevelop project configure script (and it's broken as usual)

Funny thing - I can't see applet in kde applet discovery dialog :/

Plz, test it.

Cheers,
Przemek
Comment 13 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 05:41:37 UTC
Created attachment 105372 [details, diff]
kwlaninfo-arts_must_die.patch

kill arts dependency / tests
Comment 14 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 05:42:52 UTC
Created attachment 105373 [details, diff]
kwlaninfo-desktop.patch

missing Type in desktop file (plus polish Comment translation)
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 05:57:21 UTC
Don't patch the tests out. Just update the damn admin directory.
Comment 16 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 06:15:12 UTC
Created attachment 105376 [details, diff]
kwlaninfo-arts_must_die.patch (broken)

Diego - my knowlegde about autotools is still very limited... I dump everything from patch, what wasn't in admin directory, but now - it fails with previous error. If you could tell me, what do I have to patch, I'll correct the patch ASAP.

I attached broken patch (for files in admin dir).

Cheers,
Przemek
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 06:27:35 UTC
add mirror://gentoo/kde-admindir-3.5.5.tar.bz2 to SRC_URI, make sure you're using kde_src_unpack to unpack the sources, and you'll see it magically working, without need for any patch.
Comment 18 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 07:06:49 UTC
(In reply to comment #17)
> add mirror://gentoo/kde-admindir-3.5.5.tar.bz2 to SRC_URI, make sure you're
> using kde_src_unpack to unpack the sources, and you'll see it magically
> working, without need for any patch.

Thx, works like a charm. Fixed in CVS.

Cheers,
Przemek