Ticket #1227 (closed defect: invalid)

Opened 6 years ago

Last modified 5 years ago

pango fails to build, requires gtk2hs-buildtools

Reported by: guest Owned by: somebody
Priority: normal Milestone: 0.11.0
Component: general (Gtk+, Glib) Version: 0.11.0
Keywords: Cc:


On a relatively clean linux system, pango failed to build with message:


warning: #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command)

[1 of 2] Compiling Gtk2HsSetup ( /tmp/pango-0.12.032130/pango-0.12.0/Gtk2HsSetup.hs, /tmp/pango-0.12.032130/pango-0.12.0/dist/setup/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( /tmp/pango-0.12.032130/pango-0.12.0/Setup.hs, /tmp/pango-0.12.032130/pango-0.12.0/dist/setup/Main.o ) Linking /tmp/pango-0.12.032130/pango-0.12.0/dist/setup/setup ... Configuring pango-0.12.0... setup: gtk2hsTypeGen: /home/ivan/.cabal/share/gtk2hs-buildtools-0.12.0/hierarchyGen/Hierarchy.chs.template: openFile: does not exist (No such file or directory) cabal: Error: some packages failed to install: pango-0.12.0 failed during the configure step. The exception was: ExitFailure? 1

After manually installing gtk2hs-buildtools, it installed without error.

I'm guessing pango needs to depend on gtk2hs-buildtools.

Change History

Changed 5 years ago by dmwit

  • status changed from new to closed
  • resolution set to invalid

Unfortunately, since gtk2hs-buildtools doesn't install a library, it's not really possible to depend on it. We've improved the error message a bit, but that's about all we can do.

Note: See TracTickets for help on using tickets.