Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70166 - emerge ksimus fails if arts not compiled
Summary: emerge ksimus fails if arts not compiled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-05 07:24 UTC by Hubert Mercier (RETIRED)
Modified: 2007-06-28 18:50 UTC (History)
2 users (show)

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


Attachments
patch to correct the interpretation of USE flag arts (ksimus-0.3.6-r1.arts.patch,405 bytes, patch)
2004-11-05 07:40 UTC, Hubert Mercier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Mercier (RETIRED) gentoo-dev 2004-11-05 07:24:36 UTC
I tried to emerge ksimus on my development server, for students.

My USE flags specify not to use any sound daemon, and particularly not arts.

emerge ksimus -pv tells me :

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-sci/ksimus-0.3.6-r1  -arts -debug -xinerama 0 kB

But, when i try to emerge it, i get the following error during the configure pass :

checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly.


!!! ERROR: app-sci/ksimus-0.3.6-r1 failed.
!!! Function kde_src_compile, Line 130, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.

Seems that the flag "arts" isn't used or ignored ?

This seems confirmed when I try to emerge ksimus with the arts flag set :

USE="arts" emerge ksimus -pv tells me :

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-sci/ksimus-0.3.6-r1  +arts -debug -xinerama 0 kB

But he doesn't seem to be able to compile arts anymore :(, even if the flag is set on.

So, I had to emerge arts manually to complete installation.

In order to do that, I made a (very) simple patch to the ksimus ebuild, here it is :

--- ksimus-0.3.6-r1.ebuild      2004-11-05 16:17:49.000000000 +0100
+++ ksimus-0.3.6-r1.ebuild~     2004-11-05 16:17:49.000000000 +0100
@@ -16,8 +16,7 @@
 IUSE=""

 DEPEND=">=sys-apps/sed-4
-       sys-devel/autoconf
-       kde-base/arts"
+       sys-devel/autoconf"
 RDEPEND=""
 need-kde 3


This patch allows the ebuild to be able to compile arts when flag set on. But I miss time to correct my real problem : to be able to compile ksimus without arts support (useless on an X server) :(.

Reproducible: Always
Steps to Reproduce:
1.USE="-arts" emerge ksimus
2.
3.

Actual Results:  
nothing : the compilation fails in the configure phase.

Expected Results:  
It should have compiled correctly.

Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-
r1, 2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/
share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/contro
l"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm avi berkdb bitmap-fonts crypt cups directfb f77 fam foomaticdb gdbm 
gif gpm gtk2 imap imlib java jpeg libg++ libwww mbox mikmod mmx motif mozilla 
mpeg ncurses nls opengl pam pdflib perl png postgres python qt quicktime 
readline samba slang spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv 
zlib"
Comment 1 Hubert Mercier (RETIRED) gentoo-dev 2004-11-05 07:40:04 UTC
Created attachment 43347 [details, diff]
patch to correct the interpretation of USE flag arts

Ahhhhh I really work too fast, and I make mistakes : the proposed patch doesn't
work. It juste compiles arts, with or without the flag. Here is the real patch,
wich really works correctly.

Sorry :( !
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-08 23:47:35 UTC
It looks like ksimus does not need arts at all - I just unmerged arts, hacked the configuration to no longer check if arts is present and it still emerges/works. The modified version is in portage now, please test it when it hits your mirror. Re-open this bug if there are still problems.
Comment 3 labor_ratte 2007-06-28 18:50:07 UTC
(In reply to comment #2)
> It looks like ksimus does not need arts at all - I just unmerged arts, hacked
> the configuration to no longer check if arts is present and it still
> emerges/works. The modified version is in portage now, please test it when it
> hits your mirror. Re-open this bug if there are still problems.
> 
emerge ksimus still fails this way