> Sometime I'm getting weird error in latest gtk2hs-buildtools:
> 
> /usr/bin/gtk2hsC2hs --include=dist/build 
> --include=/usr/lib64/ghc-7.0.4/base-4.3.1.0 
> --include=/usr/lib64/glib-0.12.3/ghc-7.0.4 
> --include=/usr/lib64/gtk-0.12.3/ghc-7.0.4 --cpp=/usr/bin/gcc --cppopts=-E 
> --cppopts=-Idist/build/autogen --cppopts=-Idist/build 
> --cppopts=-I/usr/include/libglade-2.0 --cppopts=-I/usr/include/gtk-2.0 
> --cppopts=-I/usr/include/libxml2 --cppopts=-I/usr/lib64/gtk-2.0/include 
> --cppopts=-I/usr/include/atk-1.0 --cppopts=-I/usr/include/cairo 
> --cppopts=-I/usr/include/gdk-pixbuf-2.0 --cppopts=-I/usr/include/pango-1.0 
> --cppopts=-I/usr/include/glib-2.0 --cppopts=-I/usr/lib64/glib-2.0/include 
> --cppopts=-I/usr/include/pixman-1 --cppopts=-I/usr/include/freetype2 
> --cppopts=-I/usr/include/libpng15 --cppopts=-I/usr/include/libdrm 
> --output-dir=dist/build/Graphics/UI/Gtk/Glade/ --output=Types.hs 
> --precomp=dist/build/precompchs.bin glade/glade.h 
> ./Graphics/UI/Gtk/Glade/Types.chs
> 
> gtk2hsC2hs: UName: root name supply used after saving
> 
> If it run the command manually _twice_ it succeeds.
> 
> What could it be?

More observations: removing 'dist/build/precompchs.bin' allows the issue pop-up 
consistently:

$ /usr/bin/gtk2hsC2hs ... --precomp=dist/build/precompchs.bin glade/glade.h 
./Graphics/UI/Gtk/Glade/Types.chs
<OK>
$ rm dist/build/precompchs.bin
$/usr/bin/gtk2hsC2hs ... --precomp=dist/build/precompchs.bin glade/glade.h 
./Graphics/UI/Gtk/Glade/Types.chs
gtk2hsC2hs: UName: root name supply used after saving
$ /usr/bin/gtk2hsC2hs ... --precomp=dist/build/precompchs.bin glade/glade.h 
./Graphics/UI/Gtk/Glade/Types.chs
<OK>
$ rm dist/build/precompchs.bin
$ /usr/bin/gtk2hsC2hs ... --precomp=dist/build/precompchs.bin glade/glade.h 
./Graphics/UI/Gtk/Glade/Types.chs
gtk2hsC2hs: UName: root name supply used after saving


-- 

  Sergei

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to