For the recent upgrade of ghc (on ~x86), i had to uninstall ghc-bin-6.4.2 and ghc-6.4.2. Emerge of ghc-6.6.1 package with 'binary' USE flag is ok, but if i try to switch it to '-binary', the compilation fails with the following message : GHC/PrimopWrappers_split/PrimopWrappers__1.o:ghc452_0.hc:(.text+0x18): défini pour la première fois ici collect2: ld a retourné 1 code d'état d'exécution <<ghc: 780835288 bytes, 166 GCs, 1049165/1821828 avg/max bytes residency (5 samples), 19M in use, 0.01 INIT (0.00 elapsed), 2.87 MUT (22.75 elapsed), 0.12 GC (0.24 elapsed) :ghc>> make[2]: *** [GHC/PrimopWrappers.o] Erreur 1 Failed making all in base: 1 make[1]: *** [all] Erreur 1 make[1]: quittant le répertoire « /var/tmp/portage/dev-lang/ghc-6.6.1/work/ghc-6.6.1/libraries » make: *** [stage1] Erreur 2 * ERROR: dev-lang/ghc-6.6.1 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ghc-6.6.1.ebuild, line 252: Called die * * make failed [...] Reproducible: Always Steps to Reproduce: 1.uninstall previous ghc installation 2.install ghc-6.6.1 with 'binary' flag on 3.run /opt/ghc/sbin/ghc-updater 4.re-install ghc-6.6.1 with 'binary' flag off Actual Results: make failed Expected Results: make succeed
Created attachment 126228 [details] emerge --info
1/ Set your locales to C when reporting bugs. 2/ Post the *topmost* errors as the emerge output told you. Thanks.
3/ Don't send me private emails about bugs ;P We need errors in *English* (set your locales to C) - and post more lines above the output above.
Here is the error with locales set to C : GHC/PrimopWrappers_split/PrimopWrappers__301.o:(.data+0x0): multiple definition of `base_GHCziPrimopWrappers_newBCOzh_closure' GHC/PrimopWrappers_split/PrimopWrappers__1.o:(.data+0x0): first defined here GHC/PrimopWrappers_split/PrimopWrappers__301.o: In function `base_GHCziPrimopWrappers_newBCOzh_info': ghc1264_0.hc:(.text+0x18): multiple definition of `base_GHCziPrimopWrappers_newBCOzh_info' GHC/PrimopWrappers_split/PrimopWrappers__1.o:ghc1264_0.hc:(.text+0x18): first defined here GHC/PrimopWrappers_split/PrimopWrappers__302.o:(.data+0x0): multiple definition of `base_GHCziPrimopWrappers_newBCOzh_closure' GHC/PrimopWrappers_split/PrimopWrappers__1.o:(.data+0x0): first defined here GHC/PrimopWrappers_split/PrimopWrappers__302.o: In function `base_GHCziPrimopWrappers_newBCOzh_info': ghc1264_0.hc:(.text+0x18): multiple definition of `base_GHCziPrimopWrappers_newBCOzh_info' GHC/PrimopWrappers_split/PrimopWrappers__1.o:ghc1264_0.hc:(.text+0x18): first defined here collect2: ld returned 1 exit status <<ghc: 867380868 bytes, 183 GCs, 946180/1429936 avg/max bytes residency (5 samples), 18M in use, 0.00 INIT (0.00 elapsed), 2.97 MUT (27.30 elapsed), 0.12 GC (0.17 elapsed) :ghc>> make[2]: *** [GHC/PrimopWrappers.o] Error 1 Failed making all in base: 1 make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/ghc-6.6.1/work/ghc-6.6.1/libraries' make: *** [stage1] Error 2
1/ & 2/ hoppefully as requested
We've applied a workaround to the ebuild so you can emerge --sync and re-emerge the updated ebuild. If that does not fix the problem please re-open this bug. *** This bug has been marked as a duplicate of bug 182459 ***