<?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>70057</bug_id>
          
          <creation_ts>2004-11-04 08:04 0000</creation_ts>
          <short_desc>emerge app-sci/elem-1.0.3 fails with undefined references</short_desc>
          <delta_ts>2004-11-08 03:39:55 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>Applications</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>mail@jasper-moeller.de</reporter>
          <assigned_to>phosphan@gentoo.org</assigned_to>
          <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mail@jasper-moeller.de</who>
            <bug_when>2004-11-04 08:04:36 0000</bug_when>
            <thetext>When trying to emerge app-sci/elem-1.0.3, compilation fails with the following error:

gcc -g -O2 -o elem-de elem_main_de.o elem_cb_de.o elem_de.o -lm -L./  -lforms -L/usr/X11R6/lib -lX11 -lnsl  -DDEUTSCH
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libforms.so: undefined reference to `XpmCreatePixmapFromData&apos;
[...More undefined references...]
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libforms.so: undefined reference to `XpmLibraryVersion&apos;
collect2: ld returned 1 exit status
make: *** [elem-de] Fehler 1

Reproducible: Always
Steps to Reproduce:
1. emerge -uv elem
Actual Results:  
compilation error 

Expected Results:  
ebuild shoud have finished successfully 

It looks as if -lXpm is missing from the link line. I did, however, update to 
xforms-1.0.90 before, so perhaps this is the problem. Fix should be rather 
trivial.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2004-11-08 03:39:55 0000</bug_when>
            <thetext>I am using the same xforms version and can&apos;t reproduce this problem. But since it should not hurt anyone I&apos;ve modified the ebuild. Please try -r1 when it hits your portage mirror (see ChangeLog for other changes in this revision). Thanks for reporting.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>