<?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>180545</bug_id>
          
          <creation_ts>2007-06-01 12:37 0000</creation_ts>
          <short_desc>app-accessibility/epos-2.5.37 does not compile</short_desc>
          <delta_ts>2007-09-13 13:31:49 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>kavol@email.cz</reporter>
          <assigned_to>accessibility@gentoo.org</assigned_to>
          <cc>chris.wall@cbrworld.com</cc>
    
    <cc>gapon@nano.cz</cc>

      

      
          <long_desc isprivate="0">
            <who>kavol@email.cz</who>
            <bug_when>2007-06-01 12:37:49 0000</bug_when>
            <thetext>hi,

there is some problem with epos compilation - the interesting lines are:

        /bin/sh ../../libtool --tag=CXX   --mode=compile g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../..  -I./..  -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos   -Os -march=athlon-tbird -pipe -fomit-frame-pointer -c -o matrix.lo matrix.cc
mkdir .libs
 g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos -Os -march=athlon-tbird -pipe -fomit-frame-pointer -c matrix.cc  -DPIC
 g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos -Os -march=athlon-tbird -pipe -fomit-frame-pointer -c map.cc  -DPIC
 g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos -Os -march=athlon-tbird -pipe -fomit-frame-pointer -c enumstring.cc  -DPIC
distcc[19535] ERROR: compile (null) on localhost failed
distcc[19525] ERROR: compile (null) on localhost failed
g++: c++: No such file or directory
g++: cc++: No such file or directory
g++: gcc: No such file or directory
g++: cc: No such file or directory


- as we see, it uses wrong compiler name

this comes from some strange varible in configure.ac:
CCC=&quot;g++ c++ cc++ gcc cc&quot;

after commenting out that variable, the configure process and the compilation go fine; for testing purposes, to filter the variable &quot;CCC&quot; out I&apos;ve added a simple sed to the ebuild in the function src_unpack() after epatch - and it works_for_me(tm)

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris.wall@cbrworld.com</who>
            <bug_when>2007-07-31 18:03:00 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; hi,
&gt; 
&gt; there is some problem with epos compilation - the interesting lines are:
&gt; 
&gt;         /bin/sh ../../libtool --tag=CXX   --mode=compile g++ c++ cc++ gcc cc
&gt; -DHAVE_CONFIG_H -I. -I../..  -I./..  -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos
&gt;   -Os -march=athlon-tbird -pipe -fomit-frame-pointer -c -o matrix.lo matrix.cc
&gt; mkdir .libs
&gt;  g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb
&gt; -DBASE_DIR=/usr/share/epos -Os -march=athlon-tbird -pipe -fomit-frame-pointer
&gt; -c matrix.cc  -DPIC
&gt;  g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb
&gt; -DBASE_DIR=/usr/share/epos -Os -march=athlon-tbird -pipe -fomit-frame-pointer
&gt; -c map.cc  -DPIC
&gt;  g++ c++ cc++ gcc cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb
&gt; -DBASE_DIR=/usr/share/epos -Os -march=athlon-tbird -pipe -fomit-frame-pointer
&gt; -c enumstring.cc  -DPIC
&gt; distcc[19535] ERROR: compile (null) on localhost failed
&gt; distcc[19525] ERROR: compile (null) on localhost failed
&gt; g++: c++: No such file or directory
&gt; g++: cc++: No such file or directory
&gt; g++: gcc: No such file or directory
&gt; g++: cc: No such file or directory
&gt; 
&gt; 
&gt; - as we see, it uses wrong compiler name
&gt; 
&gt; this comes from some strange varible in configure.ac:
&gt; CCC=&quot;g++ c++ cc++ gcc cc&quot;
&gt; 
&gt; after commenting out that variable, the configure process and the compilation
&gt; go fine; for testing purposes, to filter the variable &quot;CCC&quot; out I&apos;ve added a
&gt; simple sed to the ebuild in the function src_unpack() after epatch - and it
&gt; works_for_me(tm)
&gt; 
&gt; Reproducible: Always
&gt; 

I am having the same issue, are there any updates or test ebuilds for this problem?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>williamh@gentoo.org</who>
            <bug_when>2007-08-06 18:26:39 0000</bug_when>
            <thetext>Can you please submit a patch for the ebuild that adds this sed call so that it can be tested?  Thanks much.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kavol@email.cz</who>
            <bug_when>2007-08-11 19:13:13 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Can you please submit a patch for the ebuild that adds this sed call so that it
&gt; can be tested?  Thanks much.

--- epos-2.5.37.ebuild  2007-04-28 17:35:23.000000000 +0000
+++ epos-2.5.37-r1.ebuild       2007-08-11 16:52:42.000000000 +0000
@@ -29,6 +29,7 @@

        cd &quot;${S}&quot;
        epatch &quot;${FILESDIR}/${PN}-2.5.35-sysportaudio.patch&quot;
+       sed -i &quot;s/CCC/#CCC/&quot; configure.ac

        eautoreconf
 }</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>d.okias@gmail.com</who>
            <bug_when>2007-09-12 16:55:10 0000</bug_when>
            <thetext>I am having the same issue :-( can you add to portage patch? Thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>williamh@gentoo.org</who>
            <bug_when>2007-09-13 13:31:49 0000</bug_when>
            <thetext>This has been fixed in portage.  Thanks for your patience. :-)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>