Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180545 - app-accessibility/epos-2.5.37 does not compile
Summary: app-accessibility/epos-2.5.37 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 12:37 UTC by kavol
Modified: 2007-09-13 13:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2007-06-01 12:37:49 UTC
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="g++ c++ cc++ gcc cc"

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

Reproducible: Always
Comment 1 Chris Wall 2007-07-31 18:03:00 UTC
(In reply to comment #0)
> 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="g++ c++ cc++ gcc cc"
> 
> after commenting out that variable, the configure process and the compilation
> go fine; for testing purposes, to filter the variable "CCC" out I've added a
> simple sed to the ebuild in the function src_unpack() after epatch - and it
> works_for_me(tm)
> 
> Reproducible: Always
> 

I am having the same issue, are there any updates or test ebuilds for this problem?
Comment 2 William Hubbs gentoo-dev 2007-08-06 18:26:39 UTC
Can you please submit a patch for the ebuild that adds this sed call so that it can be tested?  Thanks much.
Comment 3 kavol 2007-08-11 19:13:13 UTC
(In reply to comment #2)
> Can you please submit a patch for the ebuild that adds this sed call so that it
> 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 "${S}"
        epatch "${FILESDIR}/${PN}-2.5.35-sysportaudio.patch"
+       sed -i "s/CCC/#CCC/" configure.ac

        eautoreconf
 }
Comment 4 David Heidelberg (okias) 2007-09-12 16:55:10 UTC
I am having the same issue :-( can you add to portage patch? Thanks
Comment 5 William Hubbs gentoo-dev 2007-09-13 13:31:49 UTC
This has been fixed in portage.  Thanks for your patience. :-)