taffybar / gtk-traymanager

A wrapper around eggtraymanager for Haskell/gtk2hs
GNU Lesser General Public License v2.1
9 stars 7 forks source link

need to depend on gtk2hs-buildtools #9

Open teleshoes opened 7 years ago

teleshoes commented 7 years ago

@IvanMalison @travitch

wolke:~/Code/gtk-traymanager$ cabal install
Resolving dependencies...
Downloading gtk3-0.14.7...
Configuring gtk3-0.14.7...
Failed to install gtk3-0.14.7
Build log ( /home/wolke/.cabal/logs/gtk3-0.14.7.log ):
cabal: Entering directory '/tmp/cabal-tmp-30727/gtk3-0.14.7'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-30727/gtk3-0.14.7/dist/setup/setup.hs, /tmp/cabal-tmp-30727/gtk3-0.14.7/dist/setup/Main.o )
Linking /tmp/cabal-tmp-30727/gtk3-0.14.7/dist/setup/setup ...
Configuring gtk3-0.14.7...
/usr/share/gtk2hs-buildtools/hierarchyGen/Hierarchy.chs.template: openFile:
does not exist (No such file or directory)
cabal: Leaving directory '/tmp/cabal-tmp-30727/gtk3-0.14.7'
cabal: Error: some packages failed to install:
gtk-traymanager-1.0.0 depends on gtk3-0.14.7 which failed to install.
gtk3-0.14.7 failed during the configure step. The exception was:
ExitFailure 1

(cabal install gtk2hs-buildtools fixes this of course)

teleshoes commented 7 years ago

oh wait this is a bug in gtk3, right?

colonelpanic8 commented 7 years ago

oh wait this is a bug in gtk3, right?

@teleshoes not exactly, gtk2hs-buildtools are exactly that, build-tools, so strictly speaking, gtk2hs is only a build-time dependency (not a runtime dependency)

you can see https://github.com/gtk2hs/gtk2hs/issues/171 for more details also https://github.com/fpco/stackage/issues/1471