<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>193453</bug_id>
          
          <creation_ts>2007-09-22 21:27 0000</creation_ts>
          <short_desc>sci-calculators/qalculate-{kde,gtk}-0.9.6 fail collision-protect</short_desc>
          <delta_ts>2007-09-24 16:07:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>torsten.rehn@dystopian.info</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>torsten.rehn@dystopian.info</who>
            <bug_when>2007-09-22 21:27:04 0000</bug_when>
            <thetext>The ebuilds both try to install /usr/bin/qalculate as a symlink to /usr/bin/qalculate-{kde,gtk}.

No regressions were found in either program when removing the symlink.

---

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-50
Timestamp of tree: Sat, 22 Sep 2007 16:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS=&quot;amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -msse3 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=athlon64 -msse3 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;buildsyspkg ccache collision-protect distcc distlocks metadata-transfer multilib-strict sandbox sfperms sign strict test unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ &quot;
LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X a52 aac aalib acl acpi alsa amd64 apache2 arts bash-completion bitmap-fonts bzip2 cdda cdparanoia cdr cli cracklib crypt cups cvs dbus directfb divx dri dts dvd dvdnav dvdr dvdread emerald encode exif fbcon ffmpeg firefox ftp fuse gdbm gif glitz glut gmail gnutls gpm gstreamer gtk gtk2 hal history httpd iconv icq imagemagick imap isdnlog jabber jack jpeg jpeg2k kde kdm keyring lm_sensors maildir mbox midi mime mmx mod mp3 mpd mpeg mplayer mudflap musepack mysql mysqli ncurses network nntp nptl nptlonly nsplugin nvidia ogg opengl openmp oscar pam pcmcia pcre pdf php png pop pppd python qt3 qt4 readline reflection rtsp sdl sdl-image session shout skins smp spl sql sse sse2 ssl statistics stream subversion svg symlink tcpd test tetex threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vim-syntax vlm vorbis webdav widescreen wifi wxwindows x264 xcomposite xinerama xml xorg xosd xscreensaver xvid zip zlib&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;evdev keyboard mouse synaptics&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>torsten.rehn@dystopian.info</who>
            <bug_when>2007-09-22 21:27:36 0000</bug_when>
            <thetext>Created an attachment (id=131642)
patch for the qalculate-kde ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>torsten.rehn@dystopian.info</who>
            <bug_when>2007-09-22 21:28:02 0000</bug_when>
            <thetext>Created an attachment (id=131644)
patch for the qalculate-gtk ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-09-23 12:52:37 0000</bug_when>
            <thetext>Hi Torsten,

Thanks for the note! I was (sort of) aware if this,
but somehow my underlying assumption always
was that users would install either the kde or gtk
ebuild but not both, since they both offer exactly the
same functionality (even though the ebuilds currently
don&apos;t explicitly disallow it). So the question would
be should be disallow installing both at the same
time or get rid of the (convenient) link as you suggested?
I&apos;ve no real preference, to be honest.

Thanks,
Markus
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>torsten.rehn@dystopian.info</who>
            <bug_when>2007-09-23 13:02:39 0000</bug_when>
            <thetext>I only noticed the issue because I was testing all the qalculate stuff, it&apos;s really unlikely that someone wants to actually use both packages. Yet it is possible. A blocking dependency would be overkill IMO and the symlink isn&apos;t used by either .desktop file, so most users will start the qalculate-{gtk,kde} executable directly anyway. That&apos;s why I opted for removing the symlink.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-09-24 16:07:51 0000</bug_when>
            <thetext>I&apos;ve added a patch for each ebuild removing the link to qalculate.

Thanks,
Markus</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>131642</attachid>
            <date>2007-09-22 21:27 0000</date>
            <desc>patch for the qalculate-kde ebuild</desc>
            <filename>qalculate-kde-0.9.6.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHFhbGN1bGF0ZS1rZGUtMC45LjYuZWJ1aWxkLm9yaWcJMjAwNy0wOS0yMiAyMjo0MzozOS4w
MDAwMDAwMDAgKzAyMDAKKysrIHFhbGN1bGF0ZS1rZGUtMC45LjYuZWJ1aWxkCTIwMDctMDktMjIg
MjM6MjI6MDYuMDAwMDAwMDAwICswMjAwCkBAIC0yNCw0ICsyNCwxMCBAQAogCWtkZV9zcmNfdW5w
YWNrCiB9CiAKK3NyY19pbnN0YWxsKCkgeworCWtkZV9zcmNfaW5zdGFsbAorCisJIyByZW1vdmUg
c3ltbGluayB0byBhdm9pZCBjb2xsaXNpb24gd2l0aCBxYWxjdWxhdGUtZ3RrCisJcm0gJHtEfS91
c3IvYmluL3FhbGN1bGF0ZQorfQogbmVlZC1rZGUgMy4xCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>131644</attachid>
            <date>2007-09-22 21:28 0000</date>
            <desc>patch for the qalculate-gtk ebuild</desc>
            <filename>qalculate-gtk-0.9.6.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHFhbGN1bGF0ZS1ndGstMC45LjYuZWJ1aWxkLm9yaWcJMjAwNy0wOS0yMiAyMzoyMDoyNy4w
MDAwMDAwMDAgKzAyMDAKKysrIHFhbGN1bGF0ZS1ndGstMC45LjYuZWJ1aWxkCTIwMDctMDktMjIg
MjM6MjA6NDAuMDAwMDAwMDAwICswMjAwCkBAIC0zOCwzICszOCwxMCBAQAogc3JjX2NvbXBpbGUo
KSB7CiAJZ25vbWUyX3NyY19jb21waWxlIC0tZGlzYWJsZS1jbG50ZXN0CiB9CisKK3NyY19pbnN0
YWxsKCkgeworCWdub21lMl9zcmNfaW5zdGFsbAorCisJIyByZW1vdmUgc3ltbGluayB0byBhdm9p
ZCBjb2xsaXNpb24gd2l0aCBxYWxjdWxhdGUta2RlCisJcm0gJHtEfS91c3IvYmluL3FhbGN1bGF0
ZQorfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>