taffybar / gtk-traymanager

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

Fails to build with gtk-3.22. #12

Closed mdorman closed 6 years ago

mdorman commented 6 years ago

This is building on Nix, so I recognize that there are some unusual elements to that; nonetheless, this seems like a more fundamental issue of some sort:

@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
setupCompilerEnvironmentPhase
Build with /nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4sjcq33a0ki2q8jarlmnx6f7p5r2f818-gtk-traymanager-1.0.0.tar.gz
source root is gtk-traymanager-1.0.0
setting SOURCE_DATE_EPOCH to timestamp 1522710506 of file gtk-traymanager-1.0.0/src/Graphics/UI/Gtk/Misc/TrayManager.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/package.conf.d -j1 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /build/Main.o )
Linking Setup ...
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configureFlags: --verbose --prefix=/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/kqg1kkcv5gdj2mmir9sbxsd9bw19w7rr-gtk-traymanager-1.0.0-doc/share/doc --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j1 --disable-split-objs --enable-library-profiling --profiling-detail=all-functions --disable-profiling --enable-shared --disable-coverage --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/s8c50k081m5xdc2lxz0dwimsnm74rlnb-ncurses-6.1/lib --extra-lib-dirs=/nix/store/7fd1hqfrw1w0csfiv3sic09dhcszgbcc-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/s8c50k081m5xdc2lxz0dwimsnm74rlnb-ncurses-6.1/lib --extra-include-dirs=/nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include --extra-lib-dirs=/nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/lib --extra-include-dirs=/nix/store/7f7q4i0fdavpa6lf6p9ln4j8fmv02lr0-expat-2.2.5-dev/include --extra-lib-dirs=/nix/store/7f7q4i0fdavpa6lf6p9ln4j8fmv02lr0-expat-2.2.5-dev/lib --extra-lib-dirs=/nix/store/f27d7q9522nwh4lyv89rs7wg4fnl7vb0-expat-2.2.5/lib --extra-include-dirs=/nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include --extra-lib-dirs=/nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/lib --extra-include-dirs=/nix/store/spxwrxnsf28sq5gdp42xvqac7psvlqya-zlib-1.2.11-dev/include --extra-lib-dirs=/nix/store/spxwrxnsf28sq5gdp42xvqac7psvlqya-zlib-1.2.11-dev/lib --extra-lib-dirs=/nix/store/sghbqqxllij185b0n3i1ckk30yyjng14-zlib-1.2.11/lib --extra-include-dirs=/nix/store/1rh13l22z3j08ikir2bl4v6mldf747l6-libffi-3.2.1-dev/include --extra-lib-dirs=/nix/store/1rh13l22z3j08ikir2bl4v6mldf747l6-libffi-3.2.1-dev/lib --extra-lib-dirs=/nix/store/5mg32439k1lam17dwq9xyk52i4hcwlqy-libffi-3.2.1/lib --extra-include-dirs=/nix/store/wcvs29pzmjxnv5187lrqiskdpslcjdp6-glibc-iconv-2.26-131/include --extra-lib-dirs=/nix/store/7mnrb4w3yh3apvmpcjw1ibf2pzb3lx84-glib-2.56.0/lib --extra-include-dirs=/nix/store/4sk9pfqigpmps1s2yqr2wwd6a3yn305c-cairo-1.14.10-dev/include --extra-lib-dirs=/nix/store/4sk9pfqigpmps1s2yqr2wwd6a3yn305c-cairo-1.14.10-dev/lib --extra-include-dirs=/nix/store/3lzy99xfv5vv39wb468x0chqy5qk8w9g-libXext-1.3.3-dev/include --extra-lib-dirs=/nix/store/3lzy99xfv5vv39wb468x0chqy5qk8w9g-libXext-1.3.3-dev/lib --extra-include-dirs=/nix/store/vfy9c0mdlzkjkrav5bn35kiwaixaaqhg-xproto-7.0.31/include --extra-lib-dirs=/nix/store/vfy9c0mdlzkjkrav5bn35kiwaixaaqhg-xproto-7.0.31/lib --extra-include-dirs=/nix/store/v0jdxxgj2la1px6jgnr0jvw378p04zka-libXau-1.0.8-dev/include --extra-lib-dirs=/nix/store/v0jdxxgj2la1px6jgnr0jvw378p04zka-libXau-1.0.8-dev/lib --extra-lib-dirs=/nix/store/2prgw4xa4q9j3sww0psh265cbfqdhf9r-libXau-1.0.8/lib --extra-include-dirs=/nix/store/aqivg8wqhsljjw0n5yw73p3swi2fr6x5-xextproto-7.3.0/include --extra-lib-dirs=/nix/store/aqivg8wqhsljjw0n5yw73p3swi2fr6x5-xextproto-7.3.0/lib --extra-lib-dirs=/nix/store/nh74k3kzdn4dlxgcaqx4if429ayza890-libXext-1.3.3/lib --extra-include-dirs=/nix/store/brlpfzip5xgm4pgc4nr2rsxc3dv6pggr-fontconfig-2.12.1-dev/include --extra-lib-dirs=/nix/store/brlpfzip5xgm4pgc4nr2rsxc3dv6pggr-fontconfig-2.12.1-dev/lib --extra-include-dirs=/nix/store/gdlda7gxf1iwg6j0b4m40mg8w4gi2rmw-freetype-2.7.1-dev/include --extra-lib-dirs=/nix/store/gdlda7gxf1iwg6j0b4m40mg8w4gi2rmw-freetype-2.7.1-dev/lib --extra-include-dirs=/nix/store/qh7vxajagv1x0q2xzi0bw70s1gscaqb1-bzip2-1.0.6.0.1-dev/include --extra-lib-dirs=/nix/store/qh7vxajagv1x0q2xzi0bw70s1gscaqb1-bzip2-1.0.6.0.1-dev/lib --extra-lib-dirs=/nix/store/khz209lcxylk55hy1qqvk8r8jxjpg01x-bzip2-1.0.6.0.1/lib --extra-include-dirs=/nix/store/k0k1pv36m1himk885kjl7hll8l9nqrmk-libpng-apng-1.6.34-dev/include --extra-lib-dirs=/nix/store/k0k1pv36m1himk885kjl7hll8l9nqrmk-libpng-apng-1.6.34-dev/lib --extra-lib-dirs=/nix/store/04mbknfbjfg0gl7ha7ybmc3nvl7jc1dk-libpng-apng-1.6.34/lib --extra-lib-dirs=/nix/store/vy2vddqwh19nrfnpwlcn3v0gwkjw938m-freetype-2.7.1/lib --extra-lib-dirs=/nix/store/j4f6mgx0gyr9ajqh6w39pfin0f2iy8fz-fontconfig-2.12.1-lib/lib --extra-include-dirs=/nix/store/3mczgq1ykiiml6m7g3fnl89f8qz09lh6-pixman-0.34.0/include --extra-lib-dirs=/nix/store/3mczgq1ykiiml6m7g3fnl89f8qz09lh6-pixman-0.34.0/lib --extra-include-dirs=/nix/store/3drzd32ig5gbn2plvfvnivjpbbna2if3-libXrender-0.9.10-dev/include --extra-lib-dirs=/nix/store/3drzd32ig5gbn2plvfvnivjpbbna2if3-libXrender-0.9.10-dev/lib --extra-include-dirs=/nix/store/kjlml6wgbpyczf2x6yqd1k4hpp8dqbfl-renderproto-0.11.1/include --extra-lib-dirs=/nix/store/kjlml6wgbpyczf2x6yqd1k4hpp8dqbfl-renderproto-0.11.1/lib --extra-include-dirs=/nix/store/kjlml6wgbpyczf2x6yqd1k4hpp8dqbfl-renderproto-0.11.1/include --extra-lib-dirs=/nix/store/kjlml6wgbpyczf2x6yqd1k4hpp8dqbfl-renderproto-0.11.1/lib --extra-include-dirs=/nix/store/l5kbz6b54kfsjdica384a3534d3hh0l5-libX11-1.6.5-dev/include --extra-lib-dirs=/nix/store/l5kbz6b54kfsjdica384a3534d3hh0l5-libX11-1.6.5-dev/lib --extra-include-dirs=/nix/store/7yqwvihjl6c8vj99nd7m26jjj32pfkci-libxcb-1.12-dev/include --extra-lib-dirs=/nix/store/7yqwvihjl6c8vj99nd7m26jjj32pfkci-libxcb-1.12-dev/lib --extra-lib-dirs=/nix/store/g4yvi8gwm8rzmpz1iv434vijn3dxr9lq-libxcb-1.12/lib --extra-include-dirs=/nix/store/qmkyisx58n3xqg9lqwa6qvyzzw3vpszn-kbproto-1.0.7/include --extra-lib-dirs=/nix/store/qmkyisx58n3xqg9lqwa6qvyzzw3vpszn-kbproto-1.0.7/lib --extra-lib-dirs=/nix/store/m991w0ib2x6sdc67favv0nmavgy7bghh-libX11-1.6.5/lib --extra-lib-dirs=/nix/store/rahr8914mspchf6lg2zcnx095k47jmni-libXrender-0.9.10/lib --extra-include-dirs=/nix/store/m7na0fp4gmnxqi9d0nmrwskljscnvqbw-xcb-util-0.4.0-dev/include --extra-lib-dirs=/nix/store/m7na0fp4gmnxqi9d0nmrwskljscnvqbw-xcb-util-0.4.0-dev/lib --extra-lib-dirs=/nix/store/h9qkf5kxp8z6qs8cn7wnk1m4kzplmjci-xcb-util-0.4.0/lib --extra-include-dirs=/nix/store/ndijf0s6y8xj6yxy2l3y6vz4ydpwdq69-mesa-noglu-17.3.6-dev/include --extra-lib-dirs=/nix/store/ndijf0s6y8xj6yxy2l3y6vz4ydpwdq69-mesa-noglu-17.3.6-dev/lib --extra-include-dirs=/nix/store/h7mms920xnb0b77mw3v5nl9dql3xsxlf-libXdamage-1.1.4-dev/include --extra-lib-dirs=/nix/store/h7mms920xnb0b77mw3v5nl9dql3xsxlf-libXdamage-1.1.4-dev/lib --extra-include-dirs=/nix/store/na4k94q7ikcwpwncradgyvjcji236mma-damageproto-1.2.1/include --extra-lib-dirs=/nix/store/na4k94q7ikcwpwncradgyvjcji236mma-damageproto-1.2.1/lib --extra-include-dirs=/nix/store/a58f0jzq6phzkxz4m50kx7kb87dspl5f-libXfixes-5.0.2-dev/include --extra-lib-dirs=/nix/store/a58f0jzq6phzkxz4m50kx7kb87dspl5f-libXfixes-5.0.2-dev/lib --extra-include-dirs=/nix/store/7fav7lxzz6bp9ygfv4s931j287ygvjmh-fixesproto-5.0/include --extra-lib-dirs=/nix/store/7fav7lxzz6bp9ygfv4s931j287ygvjmh-fixesproto-5.0/lib --extra-lib-dirs=/nix/store/y45mvj48r9sfc0m780n9qbk4rpwaisnr-libXfixes-5.0.2/lib --extra-lib-dirs=/nix/store/msh62hbgy23mb5jhd8z0mghxv41vr4ky-libXdamage-1.1.4/lib --extra-include-dirs=/nix/store/f6v2bdh3rbgzdqhf9fh99kflk9k10kn1-libXxf86vm-1.1.4-dev/include --extra-lib-dirs=/nix/store/f6v2bdh3rbgzdqhf9fh99kflk9k10kn1-libXxf86vm-1.1.4-dev/lib --extra-include-dirs=/nix/store/cwr8ixj9krci2l77dr80bjqncvh6s7aw-xf86vidmodeproto-2.3.1/include --extra-lib-dirs=/nix/store/cwr8ixj9krci2l77dr80bjqncvh6s7aw-xf86vidmodeproto-2.3.1/lib --extra-lib-dirs=/nix/store/6hpqw0id5547s6gc617yyl67cjmx37b2-libXxf86vm-1.1.4/lib --extra-include-dirs=/nix/store/p3jjx7c4q0c58xfdbfkydy58qhwhm8gl-libdrm-2.4.90-dev/include --extra-lib-dirs=/nix/store/p3jjx7c4q0c58xfdbfkydy58qhwhm8gl-libdrm-2.4.90-dev/lib --extra-lib-dirs=/nix/store/v7c35fsdilaw9awdiphy00vd9zsb9sr2-libdrm-2.4.90/lib --extra-lib-dirs=/nix/store/g6rvqgqx905fldwfd6k7a8y97i3r408g-mesa-noglu-17.3.6/lib --extra-lib-dirs=/nix/store/fzhn2d1b6wpcm94ckr5j0ll2h9x0bjwn-cairo-1.14.10/lib --extra-include-dirs=/nix/store/hksm1izx9svgn9r8ybhynqza51rwlxph-pango-1.40.14-dev/include --extra-lib-dirs=/nix/store/hksm1izx9svgn9r8ybhynqza51rwlxph-pango-1.40.14-dev/lib --extra-include-dirs=/nix/store/lyzdaldr4irj9rjy9jgcmcd5v6jv7yiq-harfbuzz-1.7.5-dev/include --extra-lib-dirs=/nix/store/lyzdaldr4irj9rjy9jgcmcd5v6jv7yiq-harfbuzz-1.7.5-dev/lib --extra-include-dirs=/nix/store/4mrryvdxxn38cdbhsd0g84nn59cnqzi3-graphite2-1.3.6/include --extra-lib-dirs=/nix/store/4mrryvdxxn38cdbhsd0g84nn59cnqzi3-graphite2-1.3.6/lib --extra-lib-dirs=/nix/store/wd8y5phjinfjbgmq82b07rnb3zy64kkb-harfbuzz-1.7.5/lib --extra-include-dirs=/nix/store/4zjy7ks07blr9j1i9hzlxx4zcgzhifr2-libXft-2.3.2-dev/include --extra-lib-dirs=/nix/store/4zjy7ks07blr9j1i9hzlxx4zcgzhifr2-libXft-2.3.2-dev/lib --extra-lib-dirs=/nix/store/4gac2i1wi7g3a4icdm25sxcmm32gczmb-libXft-2.3.2/lib --extra-lib-dirs=/nix/store/1zzgpm7ykmmj7x5z148jfsxalw6404la-pango-1.40.14/lib --extra-include-dirs=/nix/store/m4slnyddg95d8fdj2h7alyf03n5bzsni-gdk-pixbuf-2.36.7-dev/include --extra-lib-dirs=/nix/store/m4slnyddg95d8fdj2h7alyf03n5bzsni-gdk-pixbuf-2.36.7-dev/lib --extra-include-dirs=/nix/store/cm51n0blzg7zx1nvla1d2kg0zmd1j6xr-libtiff-4.0.9-dev/include --extra-lib-dirs=/nix/store/cm51n0blzg7zx1nvla1d2kg0zmd1j6xr-libtiff-4.0.9-dev/lib --extra-include-dirs=/nix/store/lbrylfp8icly7j3013js46974asal05g-libjpeg-turbo-1.5.3-dev/include --extra-lib-dirs=/nix/store/lbrylfp8icly7j3013js46974asal05g-libjpeg-turbo-1.5.3-dev/lib --extra-lib-dirs=/nix/store/knvrqhsrlnn14z4j2llmncidzaz7n29w-libjpeg-turbo-1.5.3/lib --extra-include-dirs=/nix/store/hsf3axspj695i5f92dj3x3cyynj6g3yh-xz-5.2.3-dev/include --extra-lib-dirs=/nix/store/hsf3axspj695i5f92dj3x3cyynj6g3yh-xz-5.2.3-dev/lib --extra-lib-dirs=/nix/store/qg918iycprklgdgf666ngbd5paszpfqm-xz-5.2.3/lib --extra-lib-dirs=/nix/store/141bnk271h8dc3hrg5p8splqw8s35bz6-libtiff-4.0.9/lib --extra-include-dirs=/nix/store/si73i90hvahmncmbs9rr0ppm9fffxfbq-jasper-2.0.14-dev/include --extra-lib-dirs=/nix/store/si73i90hvahmncmbs9rr0ppm9fffxfbq-jasper-2.0.14-dev/lib --extra-lib-dirs=/nix/store/576a7lc3jj49k8280z07my0h5dk52w6s-jasper-2.0.14/lib --extra-lib-dirs=/nix/store/24r7wdh9hmhzqsyyp5yrjdkwxnhckhfq-gdk-pixbuf-2.36.7/lib --extra-include-dirs=/nix/store/lvkf60wbq6hyx5pb2lqg0rcxzn1wzjl1-atk-2.28.1-dev/include --extra-lib-dirs=/nix/store/lvkf60wbq6hyx5pb2lqg0rcxzn1wzjl1-atk-2.28.1-dev/lib --extra-lib-dirs=/nix/store/l77dcg1gw03xrp957qfnv6wjdv5sd9a7-atk-2.28.1/lib --extra-include-dirs=/nix/store/gjrixy4iyfnqg2wjji42wsw6yicjam2y-at-spi2-atk-2.26.1/include --extra-lib-dirs=/nix/store/gjrixy4iyfnqg2wjji42wsw6yicjam2y-at-spi2-atk-2.26.1/lib --extra-include-dirs=/nix/store/c1323fjprglqvgncn35xvbgkpp1anv43-gsettings-desktop-schemas-3.28.0/include --extra-lib-dirs=/nix/store/c1323fjprglqvgncn35xvbgkpp1anv43-gsettings-desktop-schemas-3.28.0/lib --extra-include-dirs=/nix/store/ngdkvf543lmrs05ffcl2gm42mgnxn3mf-libXrandr-1.5.1-dev/include --extra-lib-dirs=/nix/store/ngdkvf543lmrs05ffcl2gm42mgnxn3mf-libXrandr-1.5.1-dev/lib --extra-include-dirs=/nix/store/28zjm43h1lxhk248pc55kdcxpj3wgfac-randrproto-1.5.0/include --extra-lib-dirs=/nix/store/28zjm43h1lxhk248pc55kdcxpj3wgfac-randrproto-1.5.0/lib --extra-lib-dirs=/nix/store/0mx9iv26216bhgzbgbvhns97pdv1jhgp-libXrandr-1.5.1/lib --extra-include-dirs=/nix/store/48q7c1kdpjygp90b1p1pqzz4zv05b1lr-libXcomposite-0.4.4-dev/include --extra-lib-dirs=/nix/store/48q7c1kdpjygp90b1p1pqzz4zv05b1lr-libXcomposite-0.4.4-dev/lib --extra-include-dirs=/nix/store/iffw3sll78hjp2zbsra3f1jzk1kg1qj6-compositeproto-0.4.2/include --extra-lib-dirs=/nix/store/iffw3sll78hjp2zbsra3f1jzk1kg1qj6-compositeproto-0.4.2/lib --extra-lib-dirs=/nix/store/xlkaq3jjnrmmy6q0lc5g3p50w8fid8pq-libXcomposite-0.4.4/lib --extra-include-dirs=/nix/store/jx2ivnksxjdqvqw72nnhnrdfiivbimyz-libXi-1.7.9-dev/include --extra-lib-dirs=/nix/store/jx2ivnksxjdqvqw72nnhnrdfiivbimyz-libXi-1.7.9-dev/lib --extra-include-dirs=/nix/store/934k03hbk1vh7nl03sgz6g6sncxsyn0x-inputproto-2.3.2/include --extra-lib-dirs=/nix/store/934k03hbk1vh7nl03sgz6g6sncxsyn0x-inputproto-2.3.2/lib --extra-lib-dirs=/nix/store/vh7m6yl8ckpqy6d7ymhf5ab2rzfqxnbs-libXi-1.7.9/lib --extra-include-dirs=/nix/store/ag6cpqxw2fhz6x5m6jxjpbrg6hb72qm4-libXcursor-1.1.15-dev/include --extra-lib-dirs=/nix/store/ag6cpqxw2fhz6x5m6jxjpbrg6hb72qm4-libXcursor-1.1.15-dev/lib --extra-lib-dirs=/nix/store/2z2wrckzc9b67534cxvzq7jvkjdhy84a-libXcursor-1.1.15/lib --extra-include-dirs=/nix/store/sx2c626g9ln55304rcqyh46vnz8b5w2v-libSM-1.2.2-dev/include --extra-lib-dirs=/nix/store/sx2c626g9ln55304rcqyh46vnz8b5w2v-libSM-1.2.2-dev/lib --extra-include-dirs=/nix/store/nn97d4zpy5dz7krhh1gqyndzi8bb9yi8-libICE-1.0.9-dev/include --extra-lib-dirs=/nix/store/nn97d4zpy5dz7krhh1gqyndzi8bb9yi8-libICE-1.0.9-dev/lib --extra-lib-dirs=/nix/store/xnfxlm115qfiskxvhy6v5dr7gxnjj85y-libICE-1.0.9/lib --extra-lib-dirs=/nix/store/wlgijr55nyy5dl5fklrjvn0n3vcsh0if-libSM-1.2.2/lib --extra-include-dirs=/nix/store/v2n9h7jixw8hkss0v8mv64s02zx88r4n-wayland-1.14.0/include --extra-lib-dirs=/nix/store/v2n9h7jixw8hkss0v8mv64s02zx88r4n-wayland-1.14.0/lib --extra-include-dirs=/nix/store/m6897z5sba53hhlpwgikpj51dg1l06w4-libXinerama-1.1.3-dev/include --extra-lib-dirs=/nix/store/m6897z5sba53hhlpwgikpj51dg1l06w4-libXinerama-1.1.3-dev/lib --extra-include-dirs=/nix/store/cnccsplb609pdc906j2q8lx77qgbbgry-xineramaproto-1.2.1/include --extra-lib-dirs=/nix/store/cnccsplb609pdc906j2q8lx77qgbbgry-xineramaproto-1.2.1/lib --extra-lib-dirs=/nix/store/7y67dzcr4cwg9gm1m86m1fphfg84cn3x-libXinerama-1.1.3/lib --extra-include-dirs=/nix/store/8jk4galjm9vy4aapr1szp0vn9nb3z2sc-cups-2.2.6-dev/include --extra-include-dirs=/nix/store/jc8c6pkdd132yr9ii5s2zasi7ri1f822-gmp-6.1.2-dev/include --extra-lib-dirs=/nix/store/7fd1hqfrw1w0csfiv3sic09dhcszgbcc-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/v3jz7qamhmnp8b9gsjj7akl59np1gi3s-cups-2.2.6-lib/lib --extra-lib-dirs=/nix/store/1ipb74915ajs4qx40pynga4wmma7vra2-cups-2.2.6/lib --extra-lib-dirs=/nix/store/nk1x779h3qcd10vrlyiqnvljb2n0bjf8-gtk+3-3.22.29/lib --extra-include-dirs=/nix/store/2l0l7zb5mc9shs5jjbblcw5bmwwcjw1x-libXt-1.1.5-dev/include --extra-lib-dirs=/nix/store/2l0l7zb5mc9shs5jjbblcw5bmwwcjw1x-libXt-1.1.5-dev/lib --extra-lib-dirs=/nix/store/0963byncgdnmdbbddwww62f0qxagwkcn-libXt-1.1.5/lib
Configuring gtk-traymanager-1.0.0...
Dependency base >3 && <5: using base-4.10.1.0
Dependency glib >=0.12.1 && <0.15: using glib-0.13.5.0
Dependency gtk3 -any: using gtk3-0.14.8
Dependency gtk+-3.0 -any: using version 3.22.29
Dependency x11 -any: using version 1.6.5
Source component graph: component lib
Configured component graph:
    component gtk-traymanager-1.0.0-J9VgbLWUZ8I488fG652Qcs
        include base-4.10.1.0
        include glib-0.13.5.0-Es14kmHE65m4q0IvoeZaS6
        include gtk3-0.14.8-DjoYgE5YIVuJnORHslBlSD
Linked component graph:
    unit gtk-traymanager-1.0.0-J9VgbLWUZ8I488fG652Qcs
        include base-4.10.1.0
        include glib-0.13.5.0-Es14kmHE65m4q0IvoeZaS6
        include gtk3-0.14.8-DjoYgE5YIVuJnORHslBlSD
        Graphics.UI.Gtk.Misc.TrayManager=gtk-traymanager-1.0.0-J9VgbLWUZ8I488fG652Qcs:Graphics.UI.Gtk.Misc.TrayManager
Ready component graph:
    definite gtk-traymanager-1.0.0-J9VgbLWUZ8I488fG652Qcs
        depends base-4.10.1.0
        depends glib-0.13.5.0-Es14kmHE65m4q0IvoeZaS6
        depends gtk3-0.14.8-DjoYgE5YIVuJnORHslBlSD
Using Cabal-2.0.1.0 compiled by ghc-8.2
Using compiler: ghc-8.2.2
Using install prefix:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0
Executables installed in:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0/bin
Libraries installed in:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0/lib/ghc-8.2.2/gtk-traymanager-1.0.0
Dynamic Libraries installed in:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0/lib/ghc-8.2.2/x86_64-linux-ghc-8.2.2
Private executables installed in:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0/libexec/x86_64-linux-ghc-8.2.2/gtk-traymanager-1.0.0
Data files installed in:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0/share/x86_64-linux-ghc-8.2.2/gtk-traymanager-1.0.0
Documentation installed in:
/nix/store/kqg1kkcv5gdj2mmir9sbxsd9bw19w7rr-gtk-traymanager-1.0.0-doc/share/doc
Configuration files installed in:
/nix/store/jk53k6b36zaj08qi1z81br2hi3rlgrda-gtk-traymanager-1.0.0/etc
No alex found
Using ar found on system at:
/nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 7.3.0 given by user at:
/nix/store/4r5kszyy0iirc5agfah45lvz7mnnsrb4-gcc-wrapper-7.3.0/bin/gcc
Using ghc version 8.2.2 found on system at:
/nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2/bin/ghc
Using ghc-pkg version 8.2.2 found on system at:
/nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.18.1 found on system at:
/nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2/bin/hpc
Using hsc2hs version 0.68.2 found on system at:
/nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/4fnvqxgs2vbabhnnssdlcm5jn4c1xh3s-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/1is4c0vfcs0q5i3ygij21y6z713lihw9-binutils-wrapper-2.28.1/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29.2 found on system at:
/nix/store/378vwwffwdp4pir08mfd6iz3nmj4zf7w-pkg-config-0.29.2/bin/pkg-config
Using runghc version 8.2.2 found on system at:
/nix/store/2pdyyxb4dzhrbpyhq57rwnn8nahahr9f-ghc-8.2.2/bin/runghc
Using strip version 2.28 found on system at:
/nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
Using tar found on system at:
/nix/store/rng0r3whml1jql1s6ps11v7f8cxmna04-gnutar-1.30/bin/tar
No uhc found
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Preprocessing library for gtk-traymanager-1.0.0..
Building library for gtk-traymanager-1.0.0..
[1 of 1] Compiling Graphics.UI.Gtk.Misc.TrayManager ( src/Graphics/UI/Gtk/Misc/TrayManager.hs, dist/build/Graphics/UI/Gtk/Misc/TrayManager.o )
[1 of 1] Compiling Graphics.UI.Gtk.Misc.TrayManager ( src/Graphics/UI/Gtk/Misc/TrayManager.hs, dist/build/Graphics/UI/Gtk/Misc/TrayManager.p_o )
src/c/eggtraymanager.c: In function ‘egg_tray_manager_class_init’:

src/c/eggtraymanager.c:115:5: error:
     error: ‘GTK_TYPE_SOCKET’ undeclared (first use in this function); did you mean ‘ATK_TYPE_SOCKET’?
         GTK_TYPE_SOCKET);
         ^~~~~~~~~~~~~~~
         ATK_TYPE_SOCKET
    |
115 |                   GTK_TYPE_SOCKET);
    |     ^

src/c/eggtraymanager.c:115:5: error:
     note: each undeclared identifier is reported only once for each function it appears in
    |
115 |                   GTK_TYPE_SOCKET);
    |     ^
src/c/eggtraymanager.c: At top level:

src/c/eggtraymanager.c:182:32: error:
     error: unknown type name ‘GtkSocket’; did you mean ‘AtkSocket’?
     egg_tray_manager_plug_removed (GtkSocket       *socket,
                                    ^~~~~~~~~
                                    AtkSocket
    |
182 | egg_tray_manager_plug_removed (GtkSocket       *socket,
    |                                ^
src/c/eggtraymanager.c: In function ‘egg_tray_manager_handle_dock_request’:

src/c/eggtraymanager.c:206:12: error:
     warning: implicit declaration of function ‘gtk_socket_new’; did you mean ‘atk_socket_new’? [-Wimplicit-function-declaration]
       socket = gtk_socket_new ();
                ^~~~~~~~~~~~~~
                atk_socket_new
    |
206 |   socket = gtk_socket_new ();
    |            ^

src/c/eggtraymanager.c:206:10: error:
     warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       socket = gtk_socket_new ();
              ^
    |
206 |   socket = gtk_socket_new ();
    |          ^

In file included from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/gobject/gobject.h:28:0: error:
    0,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/gobject/gbinding.h:29,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/glib-object.h:23,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/gio/gioenums.h:28,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/gio/giotypes.h:28,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/gio/gio.h:26,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdk.h:32,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkx.h:28,
                     from src/c/eggtraymanager.c:21:

src/c/eggtraymanager.c:225:16: error:
     error: ‘egg_tray_manager_plug_removed’ undeclared (first use in this function); did you mean ‘egg_tray_manager_unmanage’?
        G_CALLBACK (egg_tray_manager_plug_removed), manager);
                    ^
    |
225 |                         G_CALLBACK (egg_tray_manager_plug_removed), manager);
    |                ^

/nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/gobject/gsignal.h:475:60: error:
     note: in definition of macro ‘g_signal_connect’
         g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
                                                                ^~~~~~~~~
    |
475 |     g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
    |                                                            ^

src/c/eggtraymanager.c:225:4: error:
     note: in expansion of macro ‘G_CALLBACK’
        G_CALLBACK (egg_tray_manager_plug_removed), manager);
        ^~~~~~~~~~
    |
225 |                         G_CALLBACK (egg_tray_manager_plug_removed), manager);
    |    ^

src/c/eggtraymanager.c:227:7: error:
     warning: implicit declaration of function ‘gtk_socket_add_id’; did you mean ‘gtk_stock_add’? [-Wimplicit-function-declaration]
           gtk_socket_add_id (GTK_SOCKET (socket), xevent->data.l[2]);
           ^~~~~~~~~~~~~~~~~
           gtk_stock_add
    |
227 |       gtk_socket_add_id (GTK_SOCKET (socket), xevent->data.l[2]);
    |       ^

src/c/eggtraymanager.c:227:26: error:
     warning: implicit declaration of function ‘GTK_SOCKET’; did you mean ‘ATK_SOCKET’? [-Wimplicit-function-declaration]
           gtk_socket_add_id (GTK_SOCKET (socket), xevent->data.l[2]);
                              ^~~~~~~~~~
                              ATK_SOCKET
    |
227 |       gtk_socket_add_id (GTK_SOCKET (socket), xevent->data.l[2]);
    |                          ^
src/c/eggtraymanager.c: In function ‘egg_tray_manager_handle_message_data’:

src/c/eggtraymanager.c:267:8: error:
     error: unknown type name ‘GtkSocket’; did you mean ‘AtkSocket’?
            GtkSocket *socket;
            ^~~~~~~~~
            AtkSocket
    |
267 |               GtkSocket *socket;
    |        ^
src/c/eggtraymanager.c: In function ‘egg_tray_manager_handle_cancel_message’:

src/c/eggtraymanager.c:327:3: error:
     error: unknown type name ‘GtkSocket’; did you mean ‘AtkSocket’?
       GtkSocket *socket;
       ^~~~~~~~~
       AtkSocket
    |
327 |   GtkSocket *socket;
    |   ^
src/c/eggtraymanager.c: In function ‘egg_tray_manager_manage_xscreen’:

src/c/eggtraymanager.c:439:3: error:
     warning: ‘gdk_display_get_screen’ is deprecated [-Wdeprecated-declarations]
       screen = gdk_display_get_screen (gdk_x11_lookup_xdisplay (DisplayOfScreen (xscreen)),
       ^~~~~~
    |
439 |   screen = gdk_display_get_screen (gdk_x11_lookup_xdisplay (DisplayOfScreen (xscreen)),
    |   ^

In file included from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkscreen.h:32:0: error:
    0,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdk.h:32,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkx.h:28,
                     from src/c/eggtraymanager.c:21:

/nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkdisplay.h:56:13: error:
     note: declared here
     GdkScreen * gdk_display_get_screen         (GdkDisplay  *display,
                 ^~~~~~~~~~~~~~~~~~~~~~
   |
56 | GdkScreen * gdk_display_get_screen         (GdkDisplay  *display,
   |             ^

In file included from /nix/store/7mnrb4w3yh3apvmpcjw1ibf2pzb3lx84-glib-2.56.0/lib/glib-2.0/include/glibconfig.h:9:0: error:
    0,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/glib/gtypes.h:32,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/glib/galloca.h:32,
                     from /nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/glib.h:30,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkconfig.h:13,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdk.h:30,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkx.h:28,
                     from src/c/eggtraymanager.c:21:
src/c/eggtraymanager.c: In function ‘egg_tray_manager_get_child_title’:

src/c/eggtraymanager.c:551:25: error:
     warning: implicit declaration of function ‘GTK_IS_SOCKET’; did you mean ‘ATK_IS_SOCKET’? [-Wimplicit-function-declaration]
       g_return_val_if_fail (GTK_IS_SOCKET (child), NULL);
                             ^
    |
551 |   g_return_val_if_fail (GTK_IS_SOCKET (child), NULL);
    |                         ^

/nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/glib/gmacros.h:379:8: error:
     note: in definition of macro ‘_G_BOOLEAN_EXPR’
        if (expr)                                    \
            ^~~~
    |
379 |    if (expr)                                    \
    |        ^

/nix/store/zylnjb0wljm7abn96jk5jv59lj1lmb7l-glib-2.56.0-dev/include/glib-2.0/glib/gmessages.h:594:9: error:
     note: in expansion of macro ‘G_LIKELY’
          if G_LIKELY(expr) { } else      \
             ^~~~~~~~
    |
594 |      if G_LIKELY(expr) { } else                                         \
    |         ^

src/c/eggtraymanager.c:551:3: error:
     note: in expansion of macro ‘g_return_val_if_fail’
       g_return_val_if_fail (GTK_IS_SOCKET (child), NULL);
       ^~~~~~~~~~~~~~~~~~~~
    |
551 |   g_return_val_if_fail (GTK_IS_SOCKET (child), NULL);
    |   ^

src/c/eggtraymanager.c:559:3: error:
     warning: ‘gdk_error_trap_push’ is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations]
       gdk_error_trap_push ();
       ^~~~~~~~~~~~~~~~~~~
    |
559 |   gdk_error_trap_push ();
    |   ^

In file included from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdk.h:50:0: error:
    0,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkx.h:28,
                     from src/c/eggtraymanager.c:21:

/nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkmain.h:70:32: error:
     note: declared here
     void                           gdk_error_trap_push        (void);
                                    ^~~~~~~~~~~~~~~~~~~
   |
70 | void                           gdk_error_trap_push        (void);
   |                                ^

src/c/eggtraymanager.c:569:3: error:
     warning: ‘gdk_error_trap_pop’ is deprecated: Use 'gdk_x11_display_error_trap_pop' instead [-Wdeprecated-declarations]
       if (gdk_error_trap_pop () || result != Success)
       ^~
    |
569 |   if (gdk_error_trap_pop () || result != Success)
    |   ^

In file included from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdk.h:50:0: error:
    0,
                     from /nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkx.h:28,
                     from src/c/eggtraymanager.c:21:

/nix/store/i6qs96qa59ksg0nwhhmh4z0lm263hpm0-gtk+3-3.22.29-dev/include/gtk-3.0/gdk/gdkmain.h:73:32: error:
     note: declared here
     G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop         (void);
                                    ^~~~~~~~~~~~~~~~~~
   |
73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop         (void);
   |                                ^
`cc' failed in phase `C Compiler'. (Exit code: 1)
mdorman commented 6 years ago

In case it's helpful, the nix CI system also has a record of a failed build: https://hydra.nixos.org/build/72471113

averelld commented 6 years ago

The problem is a missing include of gtk/gtkx.h that got lost while updating the latest version and uploading to hackage (See #11, btw. thanks for that quick update!). Only eggtraymanager.c is affected. Additionally a couple of deprecation warnings are treated as errors, so it would be great to have cc-options: -g -Wno-deprecated-declarations in the cabal file.

Example patch: https://github.com/averelld/nixpkgs/blob/b7d5d8c8c54ddd256ccdb74ecadf60156bab292c/pkgs/development/haskell-modules/patches/gtk-traymanager.patch

colonelpanic8 commented 6 years ago

@mdorman @averelld thanks for noticing guys! not sure why the stack build works in taffybar.

EDIT: actually I'm really confused. Not really sure how the upload is different than what is currently in the repository...

colonelpanic8 commented 6 years ago

@averelld @mdorman @pltanton I've uploaded a new version to hackage. Can you verify that things are working now?

averelld commented 6 years ago

Seems to be fixed, I could build locally without any problems. Thank you.

pltanton commented 6 years ago

It works for me too with 1.0.1 version from hackage. Thanks!

colonelpanic8 commented 6 years ago

@mdorman @averelld @pltanton Are any of you planning to submit a pull request to nixpackages? I'm thinking of switching to nix, but I havent learned anything yet, and it would be nice if the basic components of my desktop worked at the very least.

averelld commented 6 years ago

The corresponding nixpkgs issues have already been fixed: https://github.com/NixOS/nixpkgs/issues/38531 is closed.