Skip to content
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

haskellngPackages.webkitgtk3 build failure #7108

Closed
ryantm opened this issue Mar 31, 2015 · 4 comments
Closed

haskellngPackages.webkitgtk3 build failure #7108

ryantm opened this issue Mar 31, 2015 · 4 comments

Comments

@ryantm
Copy link
Member

ryantm commented Mar 31, 2015

haskellngPackages.webkitgtk3 does not build for me. I do not really understand the error message, it seems to be depending on itself.

setup: The pkg-config package webkitgtk-3.0 version >=1.8 is required but it
could not be found.

My nixpkgs repo is on version eac32cf

$ uname -a
Linux rtmnix 3.14.36 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64 GNU/Linux
$ nix-shell --pure -j 4 -I nixpkgs=/home/ryantm/p/nixpkgs --show-trace --option extra-binary-caches http://hydra.nixos.org --option extra-binary-caches http://hydra.cryp.to --option build-use-chroot true -p haskellngPackages.webkitgtk3
these derivations will be built:
  /nix/store/lbhn6bbsnbxyv0chsmc7nf76c3y9wr03-haskell-webkitgtk3-0.13.1.1.drv
building path(s) ‘/nix/store/fxxfyv0n9lj49rdrv43yjdx908gqdbwr-haskell-webkitgtk3-0.13.1.1’
setupCompilerEnvironmentPhase
Building with /nix/store/rnxk1a1bz4rgy1rw4973blbfp9f0ic89-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/czh1gwval1nql9bfpw6mdjdsiwdhkjyl-webkitgtk3-0.13.1.1.tar.gz
source root is webkitgtk3-0.13.1.1
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-haskell-webkitgtk3-0.13.1.1.drv-0/package.conf.d -j1
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/nix-build-haskell-webkitgtk3-0.13.1.1.drv-0/SetupWrapper.o )
[2 of 2] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-webkitgtk3-0.13.1.1.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/fxxfyv0n9lj49rdrv43yjdx908gqdbwr-haskell-webkitgtk3-0.13.1.1 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-haskell-webkitgtk3-0.13.1.1.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/fxxfyv0n9lj49rdrv43yjdx908gqdbwr-haskell-webkitgtk3-0.13.1.1/lib/ghc-7.8.4/webkitgtk3-0.13.1.1 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/lz5g6xx7vc1prlasgvqr83ny4b0fxm8d-glib-2.42.2/include --extra-lib-dirs=/nix/store/lz5g6xx7vc1prlasgvqr83ny4b0fxm8d-glib-2.42.2/lib --extra-include-dirs=/nix/store/h6bh1b402v1dpd4nm107va0sck5d0p8n-pcre-8.36/include --extra-lib-dirs=/nix/store/h6bh1b402v1dpd4nm107va0sck5d0p8n-pcre-8.36/lib --extra-include-dirs=/nix/store/2nsmcdwsh3pdyvkazwz0rsir9sibg35r-zlib-1.2.8/include --extra-lib-dirs=/nix/store/2nsmcdwsh3pdyvkazwz0rsir9sibg35r-zlib-1.2.8/lib --extra-include-dirs=/nix/store/xznxwill12a2hlmg4nky3kbvyc636l6y-libffi-3.0.13/include --extra-lib-dirs=/nix/store/xznxwill12a2hlmg4nky3kbvyc636l6y-libffi-3.0.13/lib --extra-include-dirs=/nix/store/6k9z1sfl7kghmagwd205k3i81pbcw57s-glibc-2.21/include --extra-lib-dirs=/nix/store/6k9z1sfl7kghmagwd205k3i81pbcw57s-glibc-2.21/lib --extra-include-dirs=/nix/store/n5py2vgrvw4l0s9dki3n6q85qa15fy3z-webkitgtk-2.6.5/include --extra-lib-dirs=/nix/store/n5py2vgrvw4l0s9dki3n6q85qa15fy3z-webkitgtk-2.6.5/lib --extra-include-dirs=/nix/store/yc4ds5sfw2xa4jvics8cpd3pa474gc0v-libsoup-2.48.0/include --extra-lib-dirs=/nix/store/yc4ds5sfw2xa4jvics8cpd3pa474gc0v-libsoup-2.48.0/lib --extra-include-dirs=/nix/store/xpj1cm8xi50zskgj9f4x4f9shf630sky-libxml2-2.9.2/include --extra-lib-dirs=/nix/store/xpj1cm8xi50zskgj9f4x4f9shf630sky-libxml2-2.9.2/lib --extra-include-dirs=/nix/store/1c74bcqx38hnaiyaigdsm4fnrbaapgyd-gobject-introspection-1.40.0/include --extra-lib-dirs=/nix/store/1c74bcqx38hnaiyaigdsm4fnrbaapgyd-gobject-introspection-1.40.0/lib --extra-include-dirs=/nix/store/j3fk0v18v2lqapdr6m3ji97gd97w1wh4-libgnome-keyring-2.32.0/include --extra-lib-dirs=/nix/store/j3fk0v18v2lqapdr6m3ji97gd97w1wh4-libgnome-keyring-2.32.0/lib --extra-include-dirs=/nix/store/dmknlbpnsd066xxv1070bwl7w716gqjv-dbus-libs-1.8.16/include --extra-lib-dirs=/nix/store/dmknlbpnsd066xxv1070bwl7w716gqjv-dbus-libs-1.8.16/lib --extra-include-dirs=/nix/store/04bwp989fr1wsbp2yypwvvajf9lpwsvk-expat-2.1.0/include --extra-lib-dirs=/nix/store/04bwp989fr1wsbp2yypwvvajf9lpwsvk-expat-2.1.0/lib --extra-include-dirs=/nix/store/6zc5b8jcwlvi90cvivks0bkpgcd574b0-libgcrypt-1.5.4/include --extra-lib-dirs=/nix/store/6zc5b8jcwlvi90cvivks0bkpgcd574b0-libgcrypt-1.5.4/lib --extra-include-dirs=/nix/store/9h37rrag62vpmikq98bzp08npvlimdsb-libgpg-error-1.18/include --extra-lib-dirs=/nix/store/9h37rrag62vpmikq98bzp08npvlimdsb-libgpg-error-1.18/lib --extra-include-dirs=/nix/store/q1c1rxm8gh01vxga594dk3p5w7xc4cc3-gtk+3-3.12.2/include --extra-lib-dirs=/nix/store/q1c1rxm8gh01vxga594dk3p5w7xc4cc3-gtk+3-3.12.2/lib --extra-include-dirs=/nix/store/n4ply9v411ws1ih7xrfaq7zkmbbiqlk6-cairo-1.14.0/include --extra-lib-dirs=/nix/store/n4ply9v411ws1ih7xrfaq7zkmbbiqlk6-cairo-1.14.0/lib --extra-include-dirs=/nix/store/nhfpms3yadv7y1ihg4xsr2kqbrcjdkyh-freetype-2.5.4/include --extra-lib-dirs=/nix/store/nhfpms3yadv7y1ihg4xsr2kqbrcjdkyh-freetype-2.5.4/lib --extra-include-dirs=/nix/store/9fmzrwqqmiwcp11mimp0jrvlapm38p0s-bzip2-1.0.6/include --extra-lib-dirs=/nix/store/9fmzrwqqmiwcp11mimp0jrvlapm38p0s-bzip2-1.0.6/lib --extra-include-dirs=/nix/store/wyd9x10vkgsz2d5l78drpz16rg6abs02-libpng-1.6.16/include --extra-lib-dirs=/nix/store/wyd9x10vkgsz2d5l78drpz16rg6abs02-libpng-1.6.16/lib --extra-include-dirs=/nix/store/xf4gj404pbac2y906lvk4w9r5p53sbx2-fontconfig-2.11.1/include --extra-lib-dirs=/nix/store/xf4gj404pbac2y906lvk4w9r5p53sbx2-fontconfig-2.11.1/lib --extra-include-dirs=/nix/store/xqq62rzfcc9hdfgsfvlvnlrr76xsq4p4-xproto-7.0.27/include --extra-lib-dirs=/nix/store/xqq62rzfcc9hdfgsfvlvnlrr76xsq4p4-xproto-7.0.27/lib --extra-include-dirs=/nix/store/jgqyzammhz5rs720s7ixhl3gwic2isa1-libX11-1.6.2/include --extra-lib-dirs=/nix/store/jgqyzammhz5rs720s7ixhl3gwic2isa1-libX11-1.6.2/lib --extra-include-dirs=/nix/store/p1yrcch3h6zqff4hglcqlipk7sgscz23-libxcb-1.11/include --extra-lib-dirs=/nix/store/p1yrcch3h6zqff4hglcqlipk7sgscz23-libxcb-1.11/lib --extra-include-dirs=/nix/store/fx8izzrk6v7nlw63798wj1hjazh5d8zh-kbproto-1.0.6/include --extra-lib-dirs=/nix/store/fx8izzrk6v7nlw63798wj1hjazh5d8zh-kbproto-1.0.6/lib --extra-include-dirs=/nix/store/3ylw42kwfmw0nhs3qbbl6j0xisj6wyxh-libXt-1.1.4/include --extra-lib-dirs=/nix/store/3ylw42kwfmw0nhs3qbbl6j0xisj6wyxh-libXt-1.1.4/lib --extra-include-dirs=/nix/store/6f1wg82jg5gpbm22akbjsyimif8xsmjl-libSM-1.2.2/include --extra-lib-dirs=/nix/store/6f1wg82jg5gpbm22akbjsyimif8xsmjl-libSM-1.2.2/lib --extra-include-dirs=/nix/store/k09s9ym45lpagc8bnsispzq3c9937pr8-libICE-1.0.9/include --extra-lib-dirs=/nix/store/k09s9ym45lpagc8bnsispzq3c9937pr8-libICE-1.0.9/lib --extra-include-dirs=/nix/store/jaq61r4d61b9r2qh5qb5yx6yiq3ibz5j-libXft-2.3.2/include --extra-lib-dirs=/nix/store/jaq61r4d61b9r2qh5qb5yx6yiq3ibz5j-libXft-2.3.2/lib --extra-include-dirs=/nix/store/icdyj318100z1ni27m2yy7a2bkwivcny-libXrender-0.9.8/include --extra-lib-dirs=/nix/store/icdyj318100z1ni27m2yy7a2bkwivcny-libXrender-0.9.8/lib --extra-include-dirs=/nix/store/ww9mj6k5yacfghc8ahvr4y5amdjcsnxb-renderproto-0.11.1/include --extra-lib-dirs=/nix/store/ww9mj6k5yacfghc8ahvr4y5amdjcsnxb-renderproto-0.11.1/lib --extra-include-dirs=/nix/store/r26i04phwl89cidrqb9fcijpfhcwrp57-libXext-1.3.3/include --extra-lib-dirs=/nix/store/r26i04phwl89cidrqb9fcijpfhcwrp57-libXext-1.3.3/lib --extra-include-dirs=/nix/store/7p96z1ax420gqm7sidjvnd0lf102032p-libXau-1.0.8/include --extra-lib-dirs=/nix/store/7p96z1ax420gqm7sidjvnd0lf102032p-libXau-1.0.8/lib --extra-include-dirs=/nix/store/4pigzzg32klpiciv42g8nq5dcczikrgv-xextproto-7.3.0/include --extra-lib-dirs=/nix/store/4pigzzg32klpiciv42g8nq5dcczikrgv-xextproto-7.3.0/lib --extra-include-dirs=/nix/store/7d6jfi0ni7y2rxj9m26bwarlf24asa8s-pixman-0.32.6/include --extra-lib-dirs=/nix/store/7d6jfi0ni7y2rxj9m26bwarlf24asa8s-pixman-0.32.6/lib --extra-include-dirs=/nix/store/c2b5xc1l0hkax50wcin76fnpkc39jv1d-xcb-util-0.4.0/include --extra-lib-dirs=/nix/store/c2b5xc1l0hkax50wcin76fnpkc39jv1d-xcb-util-0.4.0/lib --extra-include-dirs=/nix/store/bfjhk9z1qpqn6dj0rii8kcfdhwakf9qb-mesa-noglu-10.4.5/include --extra-lib-dirs=/nix/store/bfjhk9z1qpqn6dj0rii8kcfdhwakf9qb-mesa-noglu-10.4.5/lib --extra-include-dirs=/nix/store/5pzs4zl1cnzm0bx06f4ij4bd3fbsk388-libXdamage-1.1.4/include --extra-lib-dirs=/nix/store/5pzs4zl1cnzm0bx06f4ij4bd3fbsk388-libXdamage-1.1.4/lib --extra-include-dirs=/nix/store/lgiqsl1z6afndvnpq7ivjxfbf71fp3ql-damageproto-1.2.1/include --extra-lib-dirs=/nix/store/lgiqsl1z6afndvnpq7ivjxfbf71fp3ql-damageproto-1.2.1/lib --extra-include-dirs=/nix/store/xs92pqx2c2p8n2xfy8cd5ks5ww8xrl0i-libXfixes-5.0.1/include --extra-lib-dirs=/nix/store/xs92pqx2c2p8n2xfy8cd5ks5ww8xrl0i-libXfixes-5.0.1/lib --extra-include-dirs=/nix/store/caiab8p1xj63hdq463mkw33scympi83r-fixesproto-5.0/include --extra-lib-dirs=/nix/store/caiab8p1xj63hdq463mkw33scympi83r-fixesproto-5.0/lib --extra-include-dirs=/nix/store/a9dwg0zsf2ndfn91b78p825spj2k32xc-libXxf86vm-1.1.3/include --extra-lib-dirs=/nix/store/a9dwg0zsf2ndfn91b78p825spj2k32xc-libXxf86vm-1.1.3/lib --extra-include-dirs=/nix/store/sssa7qsqi2b2lja1c2z1s0m66gljzgrl-xf86vidmodeproto-2.3.1/include --extra-lib-dirs=/nix/store/sssa7qsqi2b2lja1c2z1s0m66gljzgrl-xf86vidmodeproto-2.3.1/lib --extra-include-dirs=/nix/store/vphh25j1r8yvvqac12d29sh9f8wpmxah-libdrm-2.4.60/include --extra-lib-dirs=/nix/store/vphh25j1r8yvvqac12d29sh9f8wpmxah-libdrm-2.4.60/lib --extra-include-dirs=/nix/store/jrc8crmjp3byg0f1l4cl53m7gy48wanq-pango-1.36.8/include --extra-lib-dirs=/nix/store/jrc8crmjp3byg0f1l4cl53m7gy48wanq-pango-1.36.8/lib --extra-include-dirs=/nix/store/nzjkhqhybj37pqggg7x9kv152ardf0fh-harfbuzz-0.9.40/include --extra-lib-dirs=/nix/store/nzjkhqhybj37pqggg7x9kv152ardf0fh-harfbuzz-0.9.40/lib --extra-include-dirs=/nix/store/91im54gc17gv0n6mbr7yvrfyn4fgx0p1-graphite2-1.2.4/include --extra-lib-dirs=/nix/store/91im54gc17gv0n6mbr7yvrfyn4fgx0p1-graphite2-1.2.4/lib --extra-include-dirs=/nix/store/5m3qlcpm8g74jgvhz0b5kqb8ng1s5ykj-gdk-pixbuf-2.30.8/include --extra-lib-dirs=/nix/store/5m3qlcpm8g74jgvhz0b5kqb8ng1s5ykj-gdk-pixbuf-2.30.8/lib --extra-include-dirs=/nix/store/lnj9y1j64bx6l6m5b0p4jw1f157h6432-libtiff-4.0.3/include --extra-lib-dirs=/nix/store/lnj9y1j64bx6l6m5b0p4jw1f157h6432-libtiff-4.0.3/lib --extra-include-dirs=/nix/store/4ayb44dmdxpy95c18x43kdszygl3jjw8-libjpeg-turbo-1.4.0/include --extra-lib-dirs=/nix/store/4ayb44dmdxpy95c18x43kdszygl3jjw8-libjpeg-turbo-1.4.0/lib --extra-include-dirs=/nix/store/j7ghngyylfkl64xx1js6f2dfix48fw7g-xz-5.2.0/include --extra-lib-dirs=/nix/store/j7ghngyylfkl64xx1js6f2dfix48fw7g-xz-5.2.0/lib --extra-include-dirs=/nix/store/c3ls2xcsy0fgnjpxhy9xbhnqwxlv2n2i-jasper-1.900.1/include --extra-lib-dirs=/nix/store/c3ls2xcsy0fgnjpxhy9xbhnqwxlv2n2i-jasper-1.900.1/lib --extra-include-dirs=/nix/store/2j65xbfsfxifs2srg5g6xf1ghy05yrwb-atk-2.12.0/include --extra-lib-dirs=/nix/store/2j65xbfsfxifs2srg5g6xf1ghy05yrwb-atk-2.12.0/lib --extra-include-dirs=/nix/store/0lzlissp6hicjg8nrv3l8gfwkf87xgqb-at-spi2-atk-2.12.1/include --extra-lib-dirs=/nix/store/0lzlissp6hicjg8nrv3l8gfwkf87xgqb-at-spi2-atk-2.12.1/lib --extra-include-dirs=/nix/store/zjzby23wc4ql2sxb61cp1x3s7vgxdxhl-libXrandr-1.4.2/include --extra-lib-dirs=/nix/store/zjzby23wc4ql2sxb61cp1x3s7vgxdxhl-libXrandr-1.4.2/lib --extra-include-dirs=/nix/store/c9cm29sl77y0d4kxnlgmydafw2qq4fqj-randrproto-1.4.0/include --extra-lib-dirs=/nix/store/c9cm29sl77y0d4kxnlgmydafw2qq4fqj-randrproto-1.4.0/lib --extra-include-dirs=/nix/store/2m8p5cdq7harhrqf1a9bxwx0gs5am0yg-libXcomposite-0.4.4/include --extra-lib-dirs=/nix/store/2m8p5cdq7harhrqf1a9bxwx0gs5am0yg-libXcomposite-0.4.4/lib --extra-include-dirs=/nix/store/mdka1vzvkcb3y664rwxivjd723y549if-compositeproto-0.4.2/include --extra-lib-dirs=/nix/store/mdka1vzvkcb3y664rwxivjd723y549if-compositeproto-0.4.2/lib --extra-include-dirs=/nix/store/bwh0fp9892j3h7bv59qk1akacan5z4h9-libXi-1.7.4/include --extra-lib-dirs=/nix/store/bwh0fp9892j3h7bv59qk1akacan5z4h9-libXi-1.7.4/lib --extra-include-dirs=/nix/store/q0ni0v652d7cb2c5n9rzhgv339dyr21v-inputproto-2.3.1/include --extra-lib-dirs=/nix/store/q0ni0v652d7cb2c5n9rzhgv339dyr21v-inputproto-2.3.1/lib --extra-include-dirs=/nix/store/7grx23nav7gydd1vyv644icw84xjm5sx-libXcursor-1.1.14/include --extra-lib-dirs=/nix/store/7grx23nav7gydd1vyv644icw84xjm5sx-libXcursor-1.1.14/lib --extra-include-dirs=/nix/store/wawf2bx4dhvcc2kb02gh11zvv0cil5x5-wayland-1.7.0/include --extra-lib-dirs=/nix/store/wawf2bx4dhvcc2kb02gh11zvv0cil5x5-wayland-1.7.0/lib --extra-include-dirs=/nix/store/c7xd3jj8dp12ayqqgz3azwvjp2yakis9-libXinerama-1.1.3/include --extra-lib-dirs=/nix/store/c7xd3jj8dp12ayqqgz3azwvjp2yakis9-libXinerama-1.1.3/lib --extra-include-dirs=/nix/store/ja9wfqv32vmsw91im790wq24x9j3062m-xineramaproto-1.2.1/include --extra-lib-dirs=/nix/store/ja9wfqv32vmsw91im790wq24x9j3062m-xineramaproto-1.2.1/lib --extra-include-dirs=/nix/store/7q6whncf83hzs061b8y5h1sz3wzfqwya-cups-2.0.2/include --extra-lib-dirs=/nix/store/7q6whncf83hzs061b8y5h1sz3wzfqwya-cups-2.0.2/lib --extra-include-dirs=/nix/store/x1zwzk4hrvj5fz34z9n02kafnsr09hyn-openssl-1.0.1m/include --extra-lib-dirs=/nix/store/x1zwzk4hrvj5fz34z9n02kafnsr09hyn-openssl-1.0.1m/lib --extra-include-dirs=/nix/store/fjkshii315nzy8bh74wv0x51di09iadj-gmp-5.1.3/include --extra-lib-dirs=/nix/store/fjkshii315nzy8bh74wv0x51di09iadj-gmp-5.1.3/lib
[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 webkitgtk3-0.13.1.1...
Dependency base ==4.*: using base-4.7.0.2
Dependency bytestring ==0.10.*: using bytestring-0.10.4.0
Dependency cairo >=0.13.0.0 && <0.14: using cairo-0.13.1.0
Dependency glib >=0.13.0.0 && <0.14: using glib-0.13.1.0
Dependency gtk3 >=0.13.0.0 && <0.14: using gtk3-0.13.4
Dependency mtl -any: using mtl-2.1.3.1
Dependency pango >=0.13.0.0 && <0.14: using pango-0.13.0.5
Dependency text >=1.0.0.0 && <1.3: using text-1.2.0.4
setup: The pkg-config package webkitgtk-3.0 version >=1.8 is required but it
could not be found.
builder for ‘/nix/store/lbhn6bbsnbxyv0chsmc7nf76c3y9wr03-haskell-webkitgtk3-0.13.1.1.drv’ failed with exit code 1
error: build of ‘/nix/store/lbhn6bbsnbxyv0chsmc7nf76c3y9wr03-haskell-webkitgtk3-0.13.1.1.drv’ failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies
@ryantm
Copy link
Member Author

ryantm commented Mar 31, 2015

cc @peti

@peti
Copy link
Member

peti commented Mar 31, 2015

I have no idea why the Haskell package is unhappy about the webkit library we pass. I know little about that stuff, I'm afraid.

@abbradar has some fixes that relate to webkit in #7063; maybe those will help?

@abbradar
Copy link
Member

I've fixed webkitgtk3 in the PR; it should help.

@peti
Copy link
Member

peti commented Mar 31, 2015

I cherry-picked 01271bf and b265610 into the haskell-updates branch as 90d873182467932160c4f248b14763f572bcd4b6 and 614900afa0ba9abda9755440ec9098955a12517d. I'll merge those to master once the test builds at http://hydra.cryp.to/jobset/nixpkgs/haskell-updates are through.

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