[Bug 1195231] New: ghc-7.8.4 build fails to complete on aarch64

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 23 12:47:32 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1195231

            Bug ID: 1195231
           Summary: ghc-7.8.4 build fails to complete on aarch64
           Product: Fedora
           Version: 22
         Component: ghc
          Assignee: petersen at redhat.com
          Reporter: petersen at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: bos at serpentine.com,
                    haskell-devel at lists.fedoraproject.org,
                    petersen at redhat.com



Description of problem:
ghc-7.8 builds fail towards the end during %install with a terse error:

 ghc-cabal: Installed package ID not registered: "ghc-prim-0.3.1.0-inplace"

Version-Release number of selected component (if applicable):
ghc-7.8.4-39.1.fc22

How reproducible:
100%

Steps to Reproduce:
1. rpmbuild on arm64

Actual results:
```
"inplace/bin/ghc-cabal" copy libraries/haskell2010 dist-install "strip"
'/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64' '/usr'
'/usr/lib64/ghc-7.8.4' '/usr/share/doc/ghc/html/libraries' 'v dyn '
Installing library in
/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/haskell2010-1.1.2.0
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc-pkg"
--force --global-package-db
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/package.conf.d"
update rts/dist/package.conf.install
Reading package info from "rts/dist/package.conf.install" ... done.
rts-1.0: Warning: library-dirs: /usr/lib64/ghc-7.8.4/rts-1.0 doesn't exist or
isn't a directory
rts-1.0: Warning: include-dirs: /usr/lib64/ghc-7.8.4/include doesn't exist or
isn't a directory
rts-1.0: cannot find any of
["libHSrts.a","libHSrts.p_a","libHSrts-ghc7.8.4.so","libHSrts-ghc7.8.4.dylib","HSrts-ghc7.8.4.dll"]
on library path (ignoring)
"inplace/bin/ghc-cabal" register libraries/ghc-prim dist-install
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc"
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc-pkg"
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4"
'/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64' '/usr'
'/usr/lib64/ghc-7.8.4' '/usr/share/doc/ghc/html/libraries' NO  
Warning: cannot determine version of
/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc-pkg
:
""
Registering ghc-prim-0.3.1.0...
"inplace/bin/ghc-cabal" register libraries/integer-gmp dist-install
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc"
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc-pkg"
"/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4"
'/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64' '/usr'
'/usr/lib64/ghc-7.8.4' '/usr/share/doc/ghc/html/libraries' NO  
Warning: cannot determine version of
/builddir/build/BUILDROOT/ghc-7.8.4-39.1.fc22.aarch64/usr/lib64/ghc-7.8.4/bin/ghc-pkg
:
""
ghc-cabal: Installed package ID not registered: "ghc-prim-0.3.1.0-inplace"
make[1]: *** [install_packages] Error 1
ghc.mk:901: recipe for target 'install_packages' failed
Makefile:71: recipe for target 'install' failed
make: *** [install] Error 2
```

Expected results:
complete build

Additional info:
The "cannot determine version of" ghc-pkg warnings look suspicious.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5cJFx5gyJY&a=cc_unsubscribe


More information about the haskell-devel mailing list