retitle 582131 ghc-cvs: FTBFS
thanks
I applied the following patch, adding 5.10 to the list of acceptable
Perl versions, and expected the bug to die - But it was not
enough. The build process _does_ finalize the configuration phase, but
still fails to build. The patch is trivial, goes as follows:
--- configure 2008-08-16 12:36:20.000000000 -0300
+++ ghc-cvs-20060905/configure 2008-08-16 12:36:30.000000000 -0300
@@ -3070,10 +3070,14 @@
if grep "version 6" conftest.out >/dev/null 2>&1; then
:
else
- { { echo "$as_me:$LINENO: error: your version of perl probably
won't work, try upgrading it." >&5
-echo "$as_me: error: your version of perl probably won't work, try upgrading
it." >&2;}
- { (exit 1); exit 1; }; }
- fi
+ if grep "v5.10" conftest.out > /dev/null 2>&1; then
+ :
+ else
+ { { echo "$as_me:$LINENO: error: your version
of perl probably won't work, try upgrading it." >&5
+ echo "$as_me: error: your version of perl
probably won't work, try upgrading it." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
fi
fi
rm -fr conftest*
Of course, I'm not tagging the bug as patched, as the FTBFS is still
there. And the build process (AMD64, Sid, cowbuilder) dies like this:
mkDerivedConstants.c:394: warning: cast from pointer to integer of different
size
mkDerivedConstants.c:395: warning: cast from pointer to integer of different
size
mkDerivedConstants.c:405: warning: cast from pointer to integer of different
size
mkDerivedConstants.c:406: warning: cast from pointer to integer of different
size
mkDerivedConstants.c:407: warning: cast from pointer to integer of different
size
gcc -o mkGHCConstants -O -I. -I../rts mkGHCConstants.o
./mkGHCConstants >GHCConstants.h
../utils/mkdependC/mkdependC -f .depend -- -O -I. -I../rts --
mkDerivedConstants.c
------------------------------------------------------------------------
== /usr/bin/make boot -wr;
in /tmp/buildd/ghc-cvs-20060905/compat
------------------------------------------------------------------------
../utils/mkdependC/mkdependC -f .depend -I. -Iinclude -I../includes -- -O
-I. -Iinclude -D__GHC_PATCHLEVEL__=2 -I../libraries/base/cbits
-I../libraries/base/include -- cbits/directory.c cbits/rawSystem.c
cbits/unicode.c
/usr/bin/ghc6 -M -optdep-f -optdep.depend -osuf o
-optdep--exclude-module=System.Directory.Internals -H16m -O -I. -Iinclude
-Rghc-timing -ignore-package Cabal -I../libraries -fglasgow-exts -no-recomp
Compat/Directory.hs Compat/RawSystem.hs Compat/Unicode.hs
Distribution/Compat/FilePath.hs Distribution/Compat/ReadP.hs
Distribution/Compiler.hs Distribution/GetOpt.hs
Distribution/InstalledPackageInfo.hs Distribution/License.hs
Distribution/Package.hs Distribution/ParseUtils.hs Distribution/Version.hs
Language/Haskell/Extension.hs
<<ghc: 46624232 bytes, 9 GCs, 98304/155648 avg/max bytes residency (2 samples),
17M in use, 0.00 INIT (0.07 elapsed), 0.06 MUT (0.79 elapsed), 0.02 GC (1.39
elapsed) :ghc>>
/usr/bin/make all
/usr/bin/ghc6 -H16m -O -I. -Iinclude -Rghc-timing -ignore-package Cabal
-I../libraries -fglasgow-exts -no-recomp -c Compat/Directory.hs -o
Compat/Directory.o -ohi Compat/Directory.hi
Compat/Directory.hs:27:0:
Failed to load interface for `System.Directory.Internals':
Use -v to see a list of the files searched for.
<<ghc: 34041256 bytes, 5 GCs, 151552/151552 avg/max bytes residency (1
samples), 17M in use, 0.00 INIT (0.00 elapsed), 0.04 MUT (0.09 elapsed), 0.03
GC (0.04 elapsed) :ghc>>
make[3]: *** [Compat/Directory.o] Error 1
make[2]: *** [boot] Error 2
make[1]: *** [stage1] Error 1
make[1]: Leaving directory `/tmp/buildd/ghc-cvs-20060905'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> Cleaning COW directory
--
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]