[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FTBFS on armel (was Re: [Pkg-haskell-maintainers] ghc_7.0.1-1_i386.changes ACCEPTED into experimental)



Hiya,

On Sun, Feb 27, 2011 at 09:22:25PM +0000, Debian FTP Masters wrote:



Accepted:
ghc-doc_7.0.1-1_all.deb
 to main/g/ghc/ghc-doc_7.0.1-1_all.deb
ghc-dynamic_7.0.1-1_i386.deb
 to main/g/ghc/ghc-dynamic_7.0.1-1_i386.deb
ghc-haddock_7.0.1-1_i386.deb
 to main/g/ghc/ghc-haddock_7.0.1-1_i386.deb
ghc-prof_7.0.1-1_i386.deb
 to main/g/ghc/ghc-prof_7.0.1-1_i386.deb
ghc6-doc_7.0.1-1_all.deb
 to main/g/ghc/ghc6-doc_7.0.1-1_all.deb
ghc6-prof_7.0.1-1_all.deb
 to main/g/ghc/ghc6-prof_7.0.1-1_all.deb
ghc6_7.0.1-1_all.deb
 to main/g/ghc/ghc6_7.0.1-1_all.deb
ghc_7.0.1-1.debian.tar.gz
 to main/g/ghc/ghc_7.0.1-1.debian.tar.gz
ghc_7.0.1-1.dsc
 to main/g/ghc/ghc_7.0.1-1.dsc
ghc_7.0.1-1_i386.deb
 to main/g/ghc/ghc_7.0.1-1_i386.deb
ghc_7.0.1.orig.tar.bz2
 to main/g/ghc/ghc_7.0.1.orig.tar.bz2

Cool! Glad that this is finally underway :-)

I see that there's an FTBFS on armel:

,----
| checking for hbc... no
| /usr/bin/ld:
| /usr/lib/ghc-6.12.1/unix-2.4.0.0/libHSunix-2.4.0.0.a(Semaphore.o):
| undefined reference to symbol 'sem_post@@GLIBC_2.4'
| /usr/bin/ld: note: 'sem_post@@GLIBC_2.4' is defined in DSO
| /lib/libpthread.so.0 so try adding it to the linker command line
`----

...which looks remarkably similar to one I fixed on Ubuntu some weeks
ago: [0] is the diff that I applied there (against 6.12.3, but I
imagine the configure changes are much the same) — basically the idea
is to explicitly link with -lpthread for one upload (so that the unix
library in-archive gets fixed), as well as adding the correct linker
flags to the unix library. The latter appears to be [1], but I can't
find the proper patch applied by Ian.

You could reasonably do the rules/configure changes with a porter
(binary) upload, as it's only a bootstrapping problem, but the fixed
libraries/unix/configure.ac needs to live in the source package.

I don't understand the failure on amd64.

Cheers,
Iain

[0]
http://launchpadlibrarian.net/60382858/ghc6_6.12.1-13ubuntu1_6.12.1-13ubuntu2.diff.gz
[1] http://hackage.haskell.org/trac/ghc/ticket/4523

Attachment: signature.asc
Description: Digital signature


Reply to: