Skip to content

new-build does not like gtk3-dependency #3320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lspitzner opened this issue Apr 11, 2016 · 4 comments
Closed

new-build does not like gtk3-dependency #3320

lspitzner opened this issue Apr 11, 2016 · 4 comments

Comments

@lspitzner
Copy link
Collaborator

It seems to be independent of local cabal package.

(foo is local, has a direct dependency on gtk3, compiles fine when removing the dependency.)

cabal new-build -j1
In order, the following will be built (use -v for more details):
gtk3-0.14.2
foo-0.1.0.0
[1 of 2] Compiling SetupWrapper     ( CWD/dist-newstyle/tmp/gtk3-12054/gtk3-0.14.2/SetupWrapper.hs, CWD/dist-newstyle/tmp/gtk3-12054/gtk3-0.14.2/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main             ( CWD/dist-newstyle/tmp/gtk3-12054/gtk3-0.14.2/dist/setup/setup.hs, CWD/dist-newstyle/tmp/gtk3-12054/gtk3-0.14.2/dist/setup/Main.o )
Linking CWD/dist-newstyle/tmp/gtk3-12054/gtk3-0.14.2/dist/setup/setup ...
[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 gtk3-0.14.2...
setup: At least the following dependencies are missing:
time -any, transformers -any
@ezyang
Copy link
Contributor

ezyang commented Apr 11, 2016

I think this is #3199. As a workaround, try passing --constraint="gtk3 +build-demos"

@lspitzner
Copy link
Collaborator Author

(ah, sorry for dup; i had filtered for nix-local-build.)

@ezyang
Copy link
Contributor

ezyang commented Apr 11, 2016

I am not sure it is a duplicate. Did the workaround work?

@ezyang
Copy link
Contributor

ezyang commented Apr 11, 2016

Workaround confirmed to work, closing as dupe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants