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?

-- 

  Sergei
 * Package:    dev-haskell/glade-0.12.1
 * Repository: gentoo-haskell
 * USE:        amd64 doc elibc_glibc hoogle hscolour kernel_linux multilib test userland_GNU
 * FEATURES:   preserve-libs sandbox test
>>> Unpacking source...
>>> Unpacking glade-0.12.1.tar.gz to /tmp/portage/dev-haskell/glade-0.12.1/work
>>> Source unpacked in /tmp/portage/dev-haskell/glade-0.12.1/work
/tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1 /tmp/portage/dev-haskell/glade-0.12.1/work
Initialized empty Git repository in /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1/.git/
[master (root-commit) 5e3d8ec] state after src_unpack()
 34 files changed, 5026 insertions(+), 0 deletions(-)
 create mode 100644 COPYING
 create mode 100644 Graphics/UI/Gtk/Glade.chs
 create mode 100644 Graphics/UI/Gtk/Glade/Types.chs
 create mode 100644 Gtk2HsSetup.hs
 create mode 100644 Setup.hs
 create mode 100644 SetupMain.hs
 create mode 100644 SetupWrapper.hs
 create mode 100644 demo/calc/Calc.hs
 create mode 100644 demo/calc/CalcModel.hs
 create mode 100644 demo/calc/Makefile
 create mode 100644 demo/calc/calc.glade
 create mode 100644 demo/glade/GladeTest.hs
 create mode 100644 demo/glade/Makefile
 create mode 100644 demo/glade/simple.glade
 create mode 100644 demo/noughty/Cross.png
 create mode 100644 demo/noughty/License
 create mode 100644 demo/noughty/Makefile
 create mode 100644 demo/noughty/Nought.png
 create mode 100644 demo/noughty/Noughty.hs
 create mode 100644 demo/noughty/NoughtyGlade.hs
 create mode 100644 demo/noughty/noughty.glade
 create mode 100644 demo/profileviewer/Makefile
 create mode 100644 demo/profileviewer/ParseProfile.hs
 create mode 100644 demo/profileviewer/ProfileViewer.glade
 create mode 100644 demo/profileviewer/ProfileViewer.gladep
 create mode 100644 demo/profileviewer/ProfileViewer.hs
 create mode 100644 demo/scaling/London_Eye.jpg
 create mode 100644 demo/scaling/Makefile
 create mode 100644 demo/scaling/Mountains.jpg
 create mode 100644 demo/scaling/Scaling.hs
 create mode 100644 demo/scaling/Stones.jpg
 create mode 100644 demo/scaling/scaling.glade
 create mode 100644 glade.cabal
 create mode 100644 hierarchy.list
/tmp/portage/dev-haskell/glade-0.12.1/work
>>> Preparing source in /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1 ...
>>> Source prepared.
/tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1 /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1
# On branch master
nothing to commit (working directory clean)
/tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1
>>> Configuring source in /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1 ...
 * Using cabal-1.10.2.0.
/usr/bin/ghc -O2 -package Cabal-1.10.2.0 --make /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1/Setup.hs -dynamic -o setup
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, SetupWrapper.o )
[2 of 2] Compiling Main             ( /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1/Setup.hs, /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=glade-0.12.1/ghc-7.0.4 --datadir=/usr/share/ --datasubdir=glade-0.12.1/ghc-7.0.4 --with-haddock=/usr/bin/haddock --ghc-option=-O2 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--hash-style=gnu --disable-executable-stripping --docdir=/usr/share/doc/glade-0.12.1 --verbose -v
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring glade-0.12.1...
Dependency base ==4.*: using base-4.3.1.0
Dependency glib ==0.12.*: using glib-0.12.3
Dependency gtk ==0.12.*: using gtk-0.12.3
Dependency libglade-2.0 >=2.0.0: using version 2.6.4
Using Cabal-1.10.2.0 compiled by ghc-7.0
Using compiler: ghc-7.0.4
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/glade-0.12.1/ghc-7.0.4
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/glade-0.12.1/ghc-7.0.4
Documentation installed in: /usr/share/doc/glade-0.12.1
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
No ffihugs found
Using gcc version 4.5.3 found on system at: /usr/bin/gcc
Using ghc version 7.0.4 given by user at: /usr/bin/ghc
Using ghc-pkg version 7.0.4 given by user at: /usr/bin/ghc-pkg
No greencard found
Using gtk2hsC2hs version 0.13.5 found on system at: /usr/bin/gtk2hsC2hs
Using gtk2hsHookGenerator found on system at: /usr/bin/gtk2hsHookGenerator
Using gtk2hsTypeGen found on system at: /usr/bin/gtk2hsTypeGen
Using haddock version 2.9.2 given by user at: /usr/bin/haddock
Using happy version 1.18.9 found on system at: /usr/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
/usr/bin/pkg-config --modversion libglade-2.0
Ensuring that class hierarchy in Graphics/UI/Gtk/Glade/Types.chs is
up-to-date.
/usr/bin/gtk2hsTypeGen --tag=libglade --hierarchy=hierarchy.list --destructor=objectUnrefFromMainloop --forward=*Graphics.UI.GtkInternals --modname=Graphics.UI.Gtk.Glade.Types --tag=libglade --tag=libglade-2.0 --tag=libglade-2.2 --tag=libglade-2.4 --tag=libglade-2.6
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1 ...
./setup build -v
creating dist/build
creating dist/build/autogen
Preprocessing library glade-0.12.1...
creating dist/build/Graphics/UI/Gtk/Glade
creating dist/build/Graphics/UI/Gtk
creating dist/build/Graphics/UI
creating dist/build/Graphics
creating dist/build/Graphics/UI
creating dist/build/Graphics/UI/Gtk
creating dist/build/Graphics/UI/Gtk/Glade
/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
 * ERROR: dev-haskell/glade-0.12.1 failed (compile phase):
 *   setup build failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2660:  Called haskell-cabal_src_compile
 *   environment, line 2010:  Called cabal_src_compile
 *   environment, line  550:  Called cabal-build
 *   environment, line  370:  Called die
 * The specific snippet of code:
 *       ./setup "$@" || die "setup build failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-haskell/glade-0.12.1',
 * the complete build log and the output of 'emerge -pqv =dev-haskell/glade-0.12.1'.
 * This ebuild used the following eclasses from overlays:
 *   /home/slyfox/portage/gentoo-haskell/eclass/haskell-cabal.eclass
 *   /home/slyfox/portage/gentoo-haskell/eclass/ghc-package.eclass
 * This ebuild is from an overlay named 'gentoo-haskell': '/home/slyfox/portage/gentoo-haskell/'
 * The complete build log is located at '/tmp/portage/dev-haskell/glade-0.12.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-haskell/glade-0.12.1/temp/environment'.
 * S: '/tmp/portage/dev-haskell/glade-0.12.1/work/glade-0.12.1'

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