Hi,

Am Montag, den 02.06.2008, 11:59 +0200 schrieb Axel Simon:
> On Mon, 2008-06-02 at 11:48 +0200, Joachim Breitner wrote:
> > Hi,
> > 
> > I got a last build problem for the Debian package, this time on s390,
> > and the problem appears in a different package: gtkrsync does not build,
> > and the maintainer believes the problem lies within the gtk2hs package:
> > 
> > http://buildd.debian.org/fetch.cgi?pkg=gtkrsync;ver=1.0.2;arch=s390;stamp=1210904919
> > 
> > It has happened before and it was believed that gcc-4.1 was the problem,
> > but this build happened with 4.3.
> > 
> > If someone here could please comment on that? (and please keep the
> > bugs.debian.org-address in the CC?)
> 
> 
> make[1]: Entering directory `/build/buildd/gtkrsync-1.0.2'
> ghc -package Cabal Setup.lhs -o setup
> ./setup configure --prefix=/usr
> Configuring gtkrsync-1.0.0...
> ./setup build
> [1 of 4] Compiling RsyncParser      ( RsyncParser.hs, 
> dist/build/gtkrsync/gtkrsync-tmp/RsyncParser.o )
> [2 of 4] Compiling Paths_gtkrsync   ( dist/build/autogen/Paths_gtkrsync.hs, 
> dist/build/gtkrsync/gtkrsync-tmp/Paths_gtkrsync.o )
> [3 of 4] Compiling RsyncGUI         ( RsyncGUI.hs, 
> dist/build/gtkrsync/gtkrsync-tmp/RsyncGUI.o )
> [4 of 4] Compiling Main             ( ./gtkrsync.hs, 
> dist/build/gtkrsync/gtkrsync-tmp/Main.o )
> Linking dist/build/gtkrsync/gtkrsync ...
> dist/build/gtkrsync/gtkrsync-tmp/RsyncGUI.o: In function `RsyncGUI_a4_entry':
> ghc18648_0.hc:(.text+0x99c): undefined reference to 
> `gtkzm0zi9zi12zi1_GraphicsziUIziGtkziWindowsziMessageDialog_a4_entry'
> ghc18648_0.hc:(.text+0x9a4): undefined reference to 
> `gtkzm0zi9zi12zi1_GraphicsziUIziGtkziWindowsziMessageDialog_MessageError_closure'
> 
> My guess would be that the Haskell gtk package might be hidden in ghc's
> package list and therefore is not automatically linked in when building
> this program. I don't know what changed with ghc 6.10 (which seems to
> be the version that you're building with). It could also be that the
> Gtk2Hs version was built with a different version of ghc. I wouldn't
> blame gcc here since this error either relates to symbols having change
> between versions of ghc or providing insufficient libraries to the
> linker.

Thanks for your reply

It is built with ghc6.8 (ghc6_6.8.2-5 to be specific), and I don’t know
why gtk should be hidden: 


Setting up libghc6-cairo-dev (0.9.12.1-1.1) ...
WARNING: unversioned dependencies are deprecated, and will NOT be accepted by 
GHC 6.10: base
Reading package info from 
"/usr/lib/haskell-packages/ghc6/lib/cairo-0.9.12.1/cairo.package.conf" ... done.
Saving old package config file... done.
Writing new package config file... done.

Setting up libpango1.0-dev (1.20.2-2) ...
Setting up libgtk2.0-dev (2.12.9-4) ...
Setting up libglade2-dev (2.6.2-1) ...

Setting up libghc6-gtk-dev (0.9.12.1-1.1) ...
WARNING: unversioned dependencies are deprecated, and will NOT be accepted by 
GHC 6.10: base
Reading package info from 
"/usr/lib/haskell-packages/ghc6/lib/gtk-0.9.12.1/gtk.package.conf" ... done.
Saving old package config file... done.
Writing new package config file... done.

Setting up libghc6-glade-dev (0.9.12.1-1.1) ...
WARNING: unversioned dependencies are deprecated, and will NOT be accepted by 
GHC 6.10: base
Reading package info from 
"/usr/lib/haskell-packages/ghc6/lib/glade-0.9.12.1/glade.package.conf" ... done.
Saving old package config file... done.
Writing new package config file... done.


So that looks good, and it works on other architectures with the same packages.

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to