{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/3433","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/3433/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/3433/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/3433/events","html_url":"https://github.com/haskell/cabal/issues/3433","id":154894624,"number":3433,"title":"cabal-install 1.24 passes bad options to custom Setup","user":{"login":"hvr","id":285533,"avatar_url":"https://avatars.githubusercontent.com/u/285533?v=3","gravatar_id":"","url":"https://api.github.com/users/hvr","html_url":"https://github.com/hvr","followers_url":"https://api.github.com/users/hvr/followers","following_url":"https://api.github.com/users/hvr/following{/other_user}","gists_url":"https://api.github.com/users/hvr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvr/subscriptions","organizations_url":"https://api.github.com/users/hvr/orgs","repos_url":"https://api.github.com/users/hvr/repos","events_url":"https://api.github.com/users/hvr/events{/privacy}","received_events_url":"https://api.github.com/users/hvr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/haskell/cabal/milestones/33","html_url":"https://github.com/haskell/cabal/milestones/cabal-install%201.24.0.1","labels_url":"https://api.github.com/repos/haskell/cabal/milestones/33/labels","id":1595071,"number":33,"title":"cabal-install 1.24.0.1","description":"","creator":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":12,"state":"open","created_at":"2016-02-20T22:03:11Z","updated_at":"2016-06-07T17:56:46Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"comments":6,"created_at":"2016-05-15T07:14:59Z","updated_at":"2016-06-10T10:06:16Z","closed_at":null,"body":"NB: `base-noprelude-4.7.0.2` uses a `custom-setup` stanza\r\n\r\nin this case, cabal-install-1.24 needs to talk to a custom `Setup.hs` compiled against Cabal-1.20:\r\n\r\n```\r\n$ cabal install -v2 -w /opt/ghc/7.8.4/bin/ghc base-noprelude \r\nWarning: /home/hvr/.cabal/config: 'root-keys' for repository\r\n\"hackage.haskell.org\" non-empty, but 'secure' not set to True.\r\n/home/hvr/.cabal/bin/alex --version\r\n/home/hvr/.cabal/bin/c2hs --numeric-version\r\n/home/hvr/.cabal/bin/cpphs --version\r\n/usr/bin/gcc -dumpversion\r\n/home/hvr/.cabal/bin/ghcjs --numeric-ghcjs-version\r\n/home/hvr/.cabal/bin/ghcjs-pkg --version\r\nlooking for tool haddock near compiler in /opt/ghc/7.8.4/bin\r\nfound haddock in /opt/ghc/7.8.4/bin/haddock\r\n/opt/ghc/7.8.4/bin/haddock --version\r\n/home/hvr/.cabal/bin/happy --version\r\nlooking for tool hpc near compiler in /opt/ghc/7.8.4/bin\r\nfound hpc in /opt/ghc/7.8.4/bin/hpc\r\n/opt/ghc/7.8.4/bin/hpc version\r\nlooking for tool hsc2hs near compiler in /opt/ghc/7.8.4/bin\r\nfound hsc2hs in /opt/ghc/7.8.4/bin/hsc2hs\r\n/opt/ghc/7.8.4/bin/hsc2hs --version\r\n/home/hvr/.cabal/bin/HsColour -version\r\n/home/hvr/.cabal/bin/jhc --version\r\n/opt/ghc/7.8.4/bin/ghc -c /tmp/1804289383846930886.c -o /tmp/16816927771714636915.o -ferror-spans\r\n/usr/bin/ld -x -r /tmp/16816927771714636915.o -o /tmp/1957747793424238335.o\r\n/usr/bin/pkg-config --version\r\n/bin/tar --help\r\nReading available packages...\r\n/usr/bin/pkg-config --list-all\r\n/usr/bin/pkg-config --modversion sqlite3 blkid pixman-1 iso-codes gmodule-export-2.0 libevent_pthreads xaw7 gstreamer-interfaces-0.10 cairo-svg libdrm_intel recordproto nettle gnutls libpcreposix lapack-netlib lqr-1 atk-bridge-2.0 m17n-gui libelf cairo-tee xcb-render dbus-1 e2p dri gnome-icon-theme-symbolic xkbcommon dri3proto systemd udisks adwaita-icon-theme mobile-broadband-provider-info libbsd cairo-png wayland-cursor gstreamer-pbutils-0.10 QtXml pangoxft QtDBus xcursor libcurl xft libidn libxslt mircookie glu gstreamer-rtp-0.10 xtrans libexif gdk-pixbuf-2.0 'gtk+-x11-3.0' xf86vidmodeproto QtScriptTools lapack gnome-system-tools damageproto QtDeclarative libpulse kbproto expat videoproto cairo-xlib mit-krb5-gssapi banshee-lastfm-gui gstreamer-netbuffer-0.10 uuid valgrind fontutil xcb-dri2 xcb-dri3 panel gconf-2.0 randrproto pygoocanvas libxdot openal xrandr libgssglue 'Magick++' dleyna-server-1.0 wayland-egl bash-completion QtGui gdk-2.0 capi20 xcomposite libtasn1 dri2proto QtScript OpenEXR gstreamer-riff-0.10 icu-i18n libgphoto2 datrie-0.2 QtDesigner sm xorg-sgml-doctools cairo-ps p11-kit-1 libcdt libpulse-mainloop-glib python gstreamer-check-0.10 gdk-mir-3.0 protobuf-lite python2 mirclient gnome-icon-theme gmodule-2.0 gdk-pixbuf-xlib-2.0 ImageMagick gstreamer-dataprotocol-0.10 libdrm_radeon libdrm fixesproto libgdiplus libpulse-simple pango QtDesignerComponents banshee-mono-media m17n-flt geoclue-2.0 m17n-core banshee-hyena pangoft2 atspi-2 xineramaproto gdk-3.0 sane-backends compositeproto icu-uc libbsd-ctor xvmc ginn libpcre libpcre16 cairo-xcb-shm libthai glproto cairo-pdf gstreamer-sdp-0.10 libevent_openssl pangocairo gstreamer-0.10 lcms2 pm-utils gstreamer-app-0.10 gnome-mime-data-2.0 x11-xcb libpq gthread-2.0 libusb-1.0 'gtk+-broadway-3.0' vdpau gstreamer-base-0.10 libssl Qt3Support libpcrecpp cairo-xcb gl xorg-wacom gstreamer-plugins-base-0.10 menu QtXmlPatterns intel-gen4asm MagickWand egl libxml-2.0 mit-krb5 libcrypto QtTest libdrm_nouveau alsa xextproto cairo-gobject yelp-xsl gstreamer-controller-0.10 gmodule-no-export-2.0 wayland-client libsepol bdw-gc x11 libdrm_amdgpu xtst libgvpr gstreamer-fft-0.10 ddjvuapi 'gtk+-mir-3.0' libevent libpcre32 xcb-glx libpathplan QtCLucene QtCore xmu 'gtk+-unix-print-2.0' gstreamer-cdda-0.10 gdk-broadway-3.0 hogweed poppler-data libexslt dleyna-server-service-1.0 wayland-server ibus-table xi 'libcrypto++' banshee-services udev libR xbitmaps xt cairo-fc xv glib-2.0 cairo xorg-macros gdk-wayland-3.0 Wand icu-io cairo-ft banshee-hyena-data-sqlite xcb-sync banshee-lastfm gio-unix-2.0 MagickCore libquvi-scripts pygtksourceview-2.0 QtSql xfixes presentproto xcb-xfixes tomboy-addins 'gtk+-unix-print-3.0' banshee-thickclient tic gstreamer-tag-0.10 xinerama libbsd-overlay tinfo epoxy libpng m17n-shell usbutils xpm 'gtk+-wayland-3.0' gstreamer-rtsp-0.10 gdk-x11-2.0 blas-netlib xml2po librsvg-2.0 libomxil-bellagio xshmfence xcb-randr IlmBase banshee-musicbrainz freetype2 xext libjpeg libudev libgphoto2_port libtiff-4 xau harfbuzz xcb-present ice xdamage xkbcomp libselinux openssl atk xxf86vm cairo-script 'gtk+-2.0' ruby-1.9 banshee-hyena-gui dleyna-connector-dbus-1.0 python-2.7 QtHelp icu-le libffi wayland-scanner xkeyboard-config gnome-doc-utils xcb-shape banshee-collection-indexer libclc harfbuzz-icu pthread-stubs shared-mime-info QtOpenGL xrender gstreamer-net-0.10 banshee-core inputproto icu-lx 'ImageMagick++' libpng12 banshee-webbrowser xcb-shm xproto protobuf xcb libmpg123 dbus-glib-1 liblzma gdk-x11-3.0 libpcsclite gstreamer-audio-0.10 gstreamer-video-0.10 ncurses form fontconfig dbus-python cairo-xlib-xrender ruby-2.3 'gtk+-3.0' QtUiTools banshee-nowplaying ext2fs harfbuzz-gobject gstreamer-floatcast-0.10 lxappearance zlib xfce4-session-2.0 com_err 'ncurses++' libcgraph gobject-2.0 ruby m17n-db libotf gio-2.0 QtSvg d3d libgvc xdmcp QtNetwork notify-python 'gtk+-x11-2.0' blas renderproto\r\nChoosing modular solver.\r\nResolving dependencies...\r\nReady to install base-noprelude-4.7.0.2\r\nExtracting\r\n/home/hvr/.cabal/packages/hackage.haskell.org/base-noprelude/4.7.0.2/base-noprelude-4.7.0.2.tar.gz\r\nto /tmp/cabal-tmp-5991...\r\nUpdating base-noprelude.cabal with the latest revision from the index.\r\nConfiguring base-noprelude-4.7.0.2...\r\nWaiting for install task to finish...\r\ncreating /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup\r\ncreating /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist\r\ncreating /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup\r\ncopy /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/Setup.hs to\r\n/tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup.hs\r\n/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -odir /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup -hidir /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup -i -i/tmp/cabal-tmp-5991/base-noprelude-4.7.0.2 -optP-include -optP/tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup_macros.h -hide-all-packages -package-id Cabal-1.20.0.3-714a9efc373b208cfba0775acac262d0 -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id filepath-1.3.0.2-25a474a9272ae6260626ce0d70ad1cab /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup.hs -o /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup -threaded -ferror-spans\r\n/tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup configure\r\n--verbose=2 --builddir=dist --ghc --with-compiler=/opt/ghc/7.8.4/bin/ghc\r\n--prefix=/home/hvr/.cabal --bindir=/home/hvr/.cabal/bin\r\n--libdir=/home/hvr/.cabal/lib\r\n--libsubdir=x86_64-linux-ghc-7.8.4/base-noprelude-4.7.0.2-BnLIddom9I4GRVKz87SqFV\r\n--libexecdir=/home/hvr/.cabal/libexec --datadir=/home/hvr/.cabal/share\r\n--datasubdir=x86_64-linux-ghc-7.8.4/base-noprelude-4.7.0.2\r\n--docdir=/home/hvr/.cabal/share/doc/x86_64-linux-ghc-7.8.4/base-noprelude-4.7.0.2\r\n--htmldir=/home/hvr/.cabal/share/doc/x86_64-linux-ghc-7.8.4/base-noprelude-4.7.0.2/html\r\n--haddockdir=/home/hvr/.cabal/share/doc/x86_64-linux-ghc-7.8.4/base-noprelude-4.7.0.2/html\r\n--sysconfdir=/home/hvr/.cabal/etc --user\r\n--ipid=base-noprelude-4.7.0.2-BnLIddom9I4GRVKz87SqFV\r\n--dependency=base=base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1\r\n--disable-tests --exact-configuration --disable-benchmarks\r\n--ghc-option=-ferror-spans\r\nRedirecting build log to {handle:\r\n/home/hvr/.cabal/logs/base-noprelude-4.7.0.2.log}\r\nFailed to install base-noprelude-4.7.0.2\r\nBuild log ( /home/hvr/.cabal/logs/base-noprelude-4.7.0.2.log ):\r\ncabal: Entering directory '/tmp/cabal-tmp-5991/base-noprelude-4.7.0.2'\r\n[1 of 1] Compiling Main             ( /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup.hs, /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/Main.o )\r\nLinking /tmp/cabal-tmp-5991/base-noprelude-4.7.0.2/dist/setup/setup ...\r\nunrecognized 'configure' option `--ipid=base-noprelude-4.7.0.2-BnLIddom9I4GRVKz87SqFV'\r\ncabal: Leaving directory '/tmp/cabal-tmp-5991/base-noprelude-4.7.0.2'\r\nWorld file is already up to date.\r\ncabal: Error: some packages failed to install:\r\nbase-noprelude-4.7.0.2 failed during the configure step. The exception was:\r\nExitFailure 1\r\n```"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/225144582","html_url":"https://github.com/haskell/cabal/issues/3433#issuecomment-225144582","issue_url":"https://api.github.com/repos/haskell/cabal/issues/3433","id":225144582,"user":{"login":"hamishmack","id":620450,"avatar_url":"https://avatars.githubusercontent.com/u/620450?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishmack","html_url":"https://github.com/hamishmack","followers_url":"https://api.github.com/users/hamishmack/followers","following_url":"https://api.github.com/users/hamishmack/following{/other_user}","gists_url":"https://api.github.com/users/hamishmack/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishmack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishmack/subscriptions","organizations_url":"https://api.github.com/users/hamishmack/orgs","repos_url":"https://api.github.com/users/hamishmack/repos","events_url":"https://api.github.com/users/hamishmack/events{/privacy}","received_events_url":"https://api.github.com/users/hamishmack/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T10:06:16Z","updated_at":"2016-06-10T10:06:16Z","body":"I just had this error.  I have been working on getting travis builds of Leksah working again.  It is tricky because we need to test it with recent versions of Gtk+.  So I have been playing with a `travis-docker` branch that runs Ubuntu 16.04 docker container in travis and builds there.\r\n\r\nThe latest GHC 8.0.1 build worked (YAY).  The GHC 7.10.3 build failed.  Here is the error: \r\n\r\nhttps://travis-ci.org/leksah/leksah/jobs/136645154#L3869"}}
{"actor":{"display_login":"hamishmack"}}