The current situation is explained in ghc/lib/compat/README. [...]
Ooops, missed that somehow, sorry. I don't have a brilliant idea yet, but at least a quick fix for the problem attached below (compiling the HEAD with itself) would be nice.
Cheers, S.
[...]
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
in /usr/src/packages/BUILD/ghc-6.3/ghc/utils/ghc-pkg
------------------------------------------------------------------------
Creating Version.hs ...
/usr/bin/happy +RTS -K2m -RTS -agc ParsePkgConfLite.y
/usr/bin/ghc -M -optdep-f -optdep.depend -osuf o -optdep--exclude-module=Compat.Directory -optdep--exclude-module=Distribution.Compat.ReadP -optdep--exclude-module=Distribution.Package -optdep--exclude-module=Distribution.InstalledPackageInfo -optdep--exclude-module=Distribution.Package -optdep--exclude-module=Distribution.License -optdep--exclude-module=Distribution.Version -H16m -O -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches -i../../lib/compat Main.hs Package.hs ParsePkgConfLite.hs Version.hs
make all
/usr/bin/ghc -H16m -O -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches -i../../lib/compat -c Package.hs -o Package.o -ohi Package.hi
Package.hs:45:0:
Warning: Definition but no type signature for `defaultPackageConfig'
/usr/bin/ghc -H16m -O -cpp -Wall -fno-warn-name-shadowing
-fno-warn-unused-matches -i../../lib/compat -c ParsePkgConfLite.hs -o
ParsePkgConfLite.o -ohi ParsePkgConfLite.hiGenericTemplate.hs:1:0:
Warning: `break' is imported more than once:
imported from List at ParsePkgConfLite.hs:11:12-16
imported from Prelude at Implicit import declarationGenericTemplate.hs:75:0:
Warning: Definition but no type signature for `happyParse'
[...]
/usr/bin/ghc -H16m -O -cpp -Wall -fno-warn-name-shadowing
-fno-warn-unused-matches -i../../lib/compat -c Version.hs -o Version.o -ohi
Version.hiVersion.hs:2:0: Warning: Definition but no type signature for `version'
Version.hs:3:0: Warning: Definition but no type signature for `targetOS'
Version.hs:4:0: Warning: Definition but no type signature for `targetARCH' /usr/bin/ghc -H16m -O -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches -i../../lib/compat -c Main.hs -o Main.o -ohi Main.hi
Main.hs:1:0:
Warning: `evaluate' is imported more than once:
imported from Control.Exception at Main.hs:40:0-46
imported from Control.Exception at Main.hs:27:0-46
imported from Control.Exception at Main.hs:26:34-41
/usr/bin/ghc -o ghc-pkg.bin -H16m -O -cpp -Wall -fno-warn-name-shadowing
-fno-warn-unused-matches -i../../lib/compat -L../../lib/compat -lghccompat
Main.o Package.o ParsePkgConfLite.o Version.o
Main.o(.text+0x122): In function `s8rM_1_alt':
: undefined reference to `DistributionziPackage_a_closure'
Main.o(.text+0x15c8): In function `r8it_slow':
: undefined reference to
`DistributionziInstalledPackageInfo_showInstalledPackageInfo_info'
Main.o(.text+0x3813): In function `s9Tx_0_alt':
: undefined reference to `DistributionziInstalledPackageInfo_showList_info'
Main.o(.text+0x3d2b): In function `s9Um_0_alt':
: undefined reference to `DistributionziPackage_PackageIdentifier_con_info'
Main.o(.text+0x4744): In function `s9WI_0_alt':
: undefined reference to
`DistributionziInstalledPackageInfo_readListPrecDefault_closure'
Main.o(.text+0x4884): In function `s9WI_0_alt':
: undefined reference to
`DistributionziInstalledPackageInfo_readListPrecDefault_closure'
Main.o(.text+0x4c8b): In function `s8Gi_1_alt':
: undefined reference to `DistributionziPackage_lvl2_closure'
Main.o(.text+0x4cc3): In function `s8Gi_1_alt':
: undefined reference to `DistributionziPackage_PackageIdentifier_con_info'
Main.o(.text+0x4d54): In function `s8Gi_1_alt':
: undefined reference to `DistributionziPackage_parsePackageName_info'
Main.o(.text+0x54d2): In function `s8Jn_1_alt':
: undefined reference to `DistributionziPackage_a_closure'
Main.o(.text+0x56d0): In function `s8J9_dflt':
: undefined reference to `DistributionziPackage_zdfEqPackageIdentifier_closure'
Main.o(.text+0x56f9): In function `s8J9_dflt':
: undefined reference to `DistributionziInstalledPackageInfo_package_closure'
Main.o(.text+0x5bf0): In function `sa46_0_alt':
: undefined reference to `DistributionziPackage_showPackageId_info'
Main.o(.text+0x6b5d): In function `sa7E_slow':
: undefined reference to `DistributionziPackage_showPackageId_closure'
Main.o(.text+0x9f83): In function `sawS_0_alt':
: undefined reference to `DistributionziPackage_pkgName_closure'
Main.o(.text+0xa04e): In function `s97L_1_alt':
: undefined reference to `DistributionziPackage_a_closure'
Main.o(.text+0xa323): In function `sayq_1_alt':
: undefined reference to `DistributionziPackage_zdfEqPackageIdentifier_closure'
Main.o(.text+0xb11f): In function `sazu_1_alt':
: undefined reference to
`DistributionziInstalledPackageInfo_InstalledPackageInfo_con_info'
Main.o(.text+0xbbbe): In function `s9gk_1_alt':
: undefined reference to `DistributionziPackage_a_closure'
Main.o(.text+0xbd76): In function `s9fw_1_alt':
: undefined reference to `DistributionziPackage_a_closure'
Main.o(.text+0xc0d6): In function `s9hr_1_alt':
: undefined reference to `DistributionziPackage_a_closure'
Main.o(.text+0xc2b9): In function `s9hd_dflt':
: undefined reference to `DistributionziPackage_zdfEqPackageIdentifier_closure'
Main.o(.text+0xc309): In function `saB7_0_alt':
: undefined reference to `DistributionziInstalledPackageInfo_package_closure'
Main.o(.text+0xcef3): In function `saCk_0_alt':
: undefined reference to
`DistributionziInstalledPackageInfo_InstalledPackageInfo_con_info'
Main.o(.text+0xcf00): In function `saCk_0_alt':
: undefined reference to `DistributionziLicense_AllRightsReserved_closure'
Main.o(.text+0x10df9): In function `__stginit_Main_':
: undefined reference to `__stginit_DistributionziVersion_'
Main.o(.text+0x10e03): In function `__stginit_Main_':
: undefined reference to `__stginit_DistributionziLicense_'
Main.o(.text+0x10e0d): In function `__stginit_Main_':
: undefined reference to `__stginit_DistributionziPackage_'
Main.o(.text+0x10e17): In function `__stginit_Main_':
: undefined reference to `__stginit_DistributionziCompatziReadP_'
Main.o(.text+0x10e21): In function `__stginit_Main_':
: undefined reference to `__stginit_DistributionziInstalledPackageInfo_'
Main.o(.text+0x52ef): In function `s8HB_dflt':
: undefined reference to `DistributionziPackage_zsze_info'
Main.o(.text+0x7001): In function `sa6z_0_alt':
: undefined reference to
`DistributionziInstalledPackageInfo_showInstalledPackageInfoField_info'
Main.o(.text+0xb4a2): In function `sazs_0_alt':
: undefined reference to `DistributionziPackage_zdwzsze_info'
Main.o(.text+0xd495): In function `saBG_1_alt':
: undefined reference to
`DistributionziInstalledPackageInfo_parseInstalledPackageInfo_info'
Main.o(.data+0xdac): undefined reference to
`DistributionziInstalledPackageInfo_readListPrecDefault_closure'
Main.o(.rodata+0x3d4): undefined reference to
`DistributionziInstalledPackageInfo_showInstalledPackageInfo_closure'
Main.o(.rodata+0xb7c): undefined reference to
`DistributionziInstalledPackageInfo_showList_closure'
Main.o(.rodata+0xc2c): undefined reference to
`DistributionziInstalledPackageInfo_readListPrecDefault_closure'
Main.o(.rodata+0xc3c): undefined reference to
`DistributionziInstalledPackageInfo_readListPrecDefault_closure'
Main.o(.rodata+0xc6c): undefined reference to
`DistributionziPackage_lvl2_closure'
Main.o(.rodata+0xc70): undefined reference to
`DistributionziPackage_lvl2_closure'
Main.o(.rodata+0xcc8): undefined reference to
`DistributionziInstalledPackageInfo_showInstalledPackageInfoField_closure'
Main.o(.rodata+0xeac): undefined reference to
`DistributionziInstalledPackageInfo_parseInstalledPackageInfo_closure'
collect2: ld returned 1 exit status
make[4]: *** [ghc-pkg.bin] Fehler 1
make[3]: *** [boot] Fehler 2
make[2]: *** [boot] Fehler 1
make[1]: *** [boot] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/ghc-6.3/ghc'
make: *** [build] Fehler 1_______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
