<?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>112336</bug_id>
          
          <creation_ts>2005-11-12 13:08 0000</creation_ts>
          <short_desc>ClustalX is missing a dependancy.</short_desc>
          <delta_ts>2005-11-12 22:05: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>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>x86</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>gentoo@gecka.us</reporter>
          <assigned_to>ribosome@gentoo.org</assigned_to>
          <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@gecka.us</who>
            <bug_when>2005-11-12 13:08:57 0000</bug_when>
            <thetext>app-biology/clustalx appears to be requireing libvibrant but makes mo mention of
it. It therefor fails to build.

Reproducible: Always
Steps to Reproduce:
1. Start with a base stage3 installation
2. emerge -u clustalx
Actual Results:  
oceanus2 distfiles # emerge -u clustalx
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) sci-biology/clustalx-1.83-r1 to /
&gt;&gt;&gt; md5 files   ;-) clustalx-1.83-r1.ebuild
&gt;&gt;&gt; md5 files   ;-) files/digest-clustalx-1.83-r1
&gt;&gt;&gt; md5 src_uri ;-) clustalx1.83.sun.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking clustalx1.83.sun.tar.gz to /var/tmp/portage/clustalx-1.83-r1/work
&gt;&gt;&gt; Source unpacked.
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer interface.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer sequence.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer showpair.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer malign.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer util.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer trees.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer gcgcheck.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer prfalign.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer pairalign.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer calcgapcoeff.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer calcprf1.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer calcprf2.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer calctree.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer readmat.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer alnscore.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer random.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer -DWIN_MOTIF
-I/usr/include/ncbi xutils.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer -DWIN_MOTIF
-I/usr/include/ncbi xmenu.c
xmenu.c: In function `make_color_menu&apos;:
xmenu.c:4618: warning: passing arg 3 of `Nlm_StatusItem&apos; from incompatible
pointer type
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer -DWIN_MOTIF
-I/usr/include/ncbi xcolor.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer -DWIN_MOTIF
-I/usr/include/ncbi xdisplay.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer -DWIN_MOTIF
-I/usr/include/ncbi xscore.c
gcc -c -march=pentium4 -Os -pipe -fomit-frame-pointer -DWIN_MOTIF
-I/usr/include/ncbi clustalx.c
gcc -o clustalx interface.o sequence.o showpair.o malign.o util.o trees.o
gcgcheck.o prfalign.o pairalign.o calcgapcoeff.o calcprf1.o calcprf2.o
calctree.o readmat.o alnscore.o random.o  xutils.o xmenu.o xcolor.o xdisplay.o
xscore.o clustalx.o -lm -march=pentium4 -Os -pipe -fomit-frame-pointer
-L/usr/lib -L/usr/X11R6/lib -lvibrant -lncbi -lXm -lXmu -lXpm -lXt -lX11 -lm
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lvibrant
collect2: ld returned 1 exit status
make: *** [clustalx] Error 1

!!! ERROR: sci-biology/clustalx-1.83-r1 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3,
2.6.9-22.ELsmp i686)
=================================================================
System uname: 2.6.9-22.ELsmp i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium4 -Os -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -Os -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LANG=&quot;en_US.UTF-8&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;acpi bash-completion bcmath blas crypt cscope ctype curl curlwrappers
emboss empress empress-bcs ethereal fastcgi java ldap lm_sensors mmx mono mpi
ncurses netboot pam perl python readline ruby sse x86 userland_GNU kernel_linux
elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@gecka.us</who>
            <bug_when>2005-11-12 15:20:23 0000</bug_when>
            <thetext>Okay, I tracked this down. ClustalX needs to check to see that ncbi-tools was
compiled with the &quot;X&quot; use flag. Perhaps simply check to see if the lib file
exists and then if it doesn&apos;t throw a warning/error like pango does about cairo?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribosome@gentoo.org</who>
            <bug_when>2005-11-12 17:05:02 0000</bug_when>
            <thetext>Hi Brady,  
  
&quot;libvibrant&quot; is part of the NCBI toolkit. Since you compiled this package  
without X in your &quot;USE&quot; flags, the library was not installed. As you noticed,  
recompiling the NCBI tools with X support solved the issue.  
  
Strictly speaking, the ebuild for ClustalX is not missing a dependency. The  
problem is rather that Portage does not support depending on a package  
compiled with a given set of &quot;USE&quot; flags. Until this is implemented, there  
will be no &quot;clean&quot; solution for this bug. I have added a check for X support 
in the NCBI tools as you suggested, but this is really only a workaround. 
 
Thanks for reporting. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@gecka.us</who>
            <bug_when>2005-11-12 20:14:30 0000</bug_when>
            <thetext>Sorry to not explain things better! Checking/informing the user of the error is
really all I was after. Thanks for your speedy reply to this issue!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-11-12 20:45:08 0000</bug_when>
            <thetext>Olivier,
Could you elaborate on why built_with_use() from eutils.eclass is insufficient
for this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribosome@gentoo.org</who>
            <bug_when>2005-11-12 22:05:51 0000</bug_when>
            <thetext>Donnie:     
     
Because the user who has -X in his USE flags and who types &quot;emerge clustalx&quot;     
is still screwed: he will compile ncbi-tools without X support, and     
immediately afterwards will be asked to recompile the package with X support   
enabled. Not exactly a clean solution.     
     
(I use &quot;built_with_use&quot; to do the check but I think depending on a package 
built with a given USE flag is a long overdue missing feature in Portage.) </thetext>
          </long_desc>
      
    </bug>

</bugzilla>