Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295487 - GHC 6.10.4 and >=autoconf 2.64
Summary: GHC 6.10.4 and >=autoconf 2.64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
: 295486 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-02 20:11 UTC by Lennart Kolmodin (RETIRED)
Modified: 2009-12-25 00:53 UTC (History)
4 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 Lennart Kolmodin (RETIRED) gentoo-dev 2009-12-02 20:11:22 UTC
Got a mail from a user Tobias Hommel <tobi@keksbude.net>:

-----8<------

I had a problem compiling ghc-6.10.4 today, configure gave an error. Actually I
found a fix for this on the net:
...
#01:47:11 <Baconizer> ./configure gets to "checking for ld," then unexpected EOF at line 11121	
#01:53:09 <int-e> Baconizer: try http://int-e.home.tlink.de/haskell/ghc-6.10.4-autoconf.diff
#01:54:24 <int-e> (the syntax error is that the generated configure script contains fifi instead of fi fi in some places, with autoconf 2.64)
...

and it works. Maybe you could apply this fix to the official ebuild. I attached
a diff patch and the fixed ebuild. Maybe a test for autoconf is needed, as it
may break with other versions of autoconf than 2.64. I only tested it with
autoconf-2.64.

----->8------

Patch exist in the overlay, tested both with autoconf 2.64 which had the issue and autoconf 2.63 which previously worked fine. Both works great with the patch.

Waiting to push to portage.
Comment 1 Lennart Kolmodin (RETIRED) gentoo-dev 2009-12-03 19:42:33 UTC
*** Bug 295486 has been marked as a duplicate of this bug. ***
Comment 2 renato gallo 2009-12-03 19:50:46 UTC
cc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c AreaBelow.c -o AreaBelow.o                                                                                                            
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c AuxFile.c -o AuxFile.o                                                                                                                
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Axes.c -o Axes.o                                                                                                                      
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Curves.c -o Curves.o                                                                                                                  
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Deviation.c -o Deviation.o                                                                                                            
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Dimensions.c -o Dimensions.o                                                                                                          
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Error.c -o Error.o                                                                                                                    
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c HpFile.c -o HpFile.o                                                                                                                  
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Key.c -o Key.o                                                                                                                        
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Main.c -o Main.o                                                                                                                      
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Marks.c -o Marks.o                                                                                                                    
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c PsFile.c -o PsFile.o                                                                                                                  
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Reorder.c -o Reorder.o                                                                                                                
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Scale.c -o Scale.o                                                                                                                    
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Shade.c -o Shade.o                                                                                                                    
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c TopTwenty.c -o TopTwenty.o                                                                                                            
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c TraceElement.c -o TraceElement.o                                                                                                      
gcc -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall    -c Utilities.c -o Utilities.o                                                                                                            
gcc -o hp2ps -O -march=nocona -O2 -pipe -Wa,--noexecstack  -I../../includes -Wall       AreaBelow.o AuxFile.o Axes.o Curves.o Deviation.o Dimensions.o Error.o HpFile.o Key.o Main.o Marks.o PsFile.o Reorder.o Scale.o Shade.o TopTwenty.o TraceElement.o Utilities.o                                                                                                                                                                    
Deviation.o: In function `Deviation':                                                                                                                                                                                
Deviation.c:(.text+0x3c6): undefined reference to `sqrt'                                                                                                                                                             
collect2: ld returned 1 exit status
make[2]: *** [hp2ps] Error 1
Failed making all in hp2ps: 1
make[1]: *** [all] Error 1
make: *** [stage1] Error 1
Comment 3 Lennart Kolmodin (RETIRED) gentoo-dev 2009-12-03 20:02:26 UTC
Right. renato gallo, that's been reported as bug #293208, and I see you're following that one too.
It will not go quicker to solve it by posting the output of one bug into the bug report of another.
Comment 4 Lennart Kolmodin (RETIRED) gentoo-dev 2009-12-05 09:22:58 UTC
Fixed and committed to portage.
Please reopen if it did not fix the issue.
Comment 5 chris 2009-12-24 15:31:23 UTC
If this new build is supposed to be part of the standard Portage Tree, I'm not seeing it.  Latest sync still indicates 6.10.3 as latest. (running into this bug and wanting to fix) 
Comment 6 Ivan 2009-12-25 00:53:47 UTC
Your tree must be out of sync:

$ls /gentoo/gentoo-tree/dev-lang/ghc/
ChangeLog          ghc-6.10.4-r1.ebuild  ghc-6.6.1.ebuild  ghc-6.8.2-r1.ebuild
files/             ghc-6.2.2.ebuild      ghc-6.6.ebuild    Manifest
ghc-6.10.4.ebuild  ghc-6.4.2.ebuild      ghc-6.8.2.ebuild  metadata.xml

(Yes, mine is in a non-standard location); I just synced this about 10 minutes ago.