Last active
January 28, 2020 14:59
-
-
Save brprice/b0500da2408f18900eb82fe35a478b2d to your computer and use it in GitHub Desktop.
Running plugins on a Hadrian-build ghc fails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/.cabal/store/ghc-8.6.5/cabal-install-3.0.0.0-b96b36068a37fb759fc1462183e3df25c9219425f0999b691b5493eea7fb1bd3/bin/cabal v2-build --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc -v | |
Project settings changed, reconfiguring... | |
creating /home/ben/dev/ghc-shadowing/dist-newstyle | |
creating /home/ben/dev/ghc-shadowing/dist-newstyle/cache | |
this build was affected by the following (project) config files: | |
- /home/ben/dev/ghc-shadowing/cabal.project.local | |
Compiler settings changed, reconfiguring... | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc --numeric-version | |
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.0.0.0 supports | |
'ghc' version < 8.10): /home/ben/dev/ghc-master/_build/stage1/bin/ghc is | |
version 8.11.0.20200127 | |
looking for tool ghc-pkg near compiler in | |
/home/ben/dev/ghc-master/_build/stage1/bin | |
found ghc-pkg in /home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg --version | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc --supported-languages | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc --info | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc --print-global-package-db | |
Reading available packages of hackage.haskell.org... | |
Using most recent state specified from most recent cabal update | |
index-state(hackage.haskell.org) = 2020-01-28T09:23:49Z | |
/usr/bin/pkg-config --version | |
/usr/bin/pkg-config --variable pc_path pkg-config | |
/usr/bin/pkg-config --version | |
/usr/bin/pkg-config --list-all | |
/usr/bin/pkg-config --modversion libpcrecpp alsa gdk-pixbuf-xlib-2.0 fluidsynth gdkmm-3.0 colorhug gstreamer-insertbin-1.0 sbc Qt5Sql zzipmmapped libdvbv5 hdf5_hl_cpp-1.10.5 libbrotlienc libva Qt5Gui tic libpathplan libunwind MagickWand-7.Q16HDRI cairomm-ft-1.0 MagickCore oniguruma ptexenc gstreamer-webrtc-1.0 libcap libpcre2-16 mozilla-nspr gstreamer-base-1.0 enchant-2 liblz4 glu gbm vlc-plugin libout123 pycairo colord xrandr formw Qt5OpenGLExtensions libcares libpcre16 libiso9660 libthai libprocps MagickWand MagickCore-7.Q16HDRI libinput libcdio SDL2_image gpgme libattr enca gstreamer-plugins-bad-1.0 dbus-python libsoup-gnome-2.4 dbi spice-server talloc p11-kit-1 libmariadb openssl pciaccess ldb xscrnsaver freeglut avahi-ui glib-2.0 libconfuse kate libisoburn-1 opencore-amrwb rest-extras-0.7 gusb avahi-ui-gtk3 json-c wavpack gexiv2 libevent_core icu-io xfont2 OpenCL libseccomp xcb-sync lua51 glx libraw ompi-f90 kdb libidn tinfo atkmm-1.6 libnfnetlink vorbis 'gtk+-broadway-3.0' gimp-2.0 ImageMagick libkeyutils opengl xcb-screensaver ibus-1.0 libpulse-mainloop-glib pygtk-2.0 libswresample gdk-wayland-3.0 liblsmash libv4l2rds xext 'Magick++-7.Q16HDRI' gstreamer-sctp-1.0 speexdsp harfbuzz-gobject nice audit cairo-xlib zziplib libntfs-3g cairo-png lcms2 xcb-renderutil libcacard libomxil-bellagio cairomm-pdf-1.0 libpulse-simple libwmf libtommath libdc1394-2 texlua53 libturbojpeg gstreamer-video-1.0 libwebpdemux kadm-server libpng gstreamer-codecparsers-1.0 dbus-glib-1 libevent_pthreads lirc xcb-damage libevent libwacom portaudio-2.0 IlmBase libdca gstreamer-app-1.0 gobject-2.0 hwinfo xorg-libinput SPIRV-Tools libevdev xvmc-wrapper Qt5OpenGL libva-x11 igfxcmrt taglib_c libwoff2common libmodplug zlib wpe-1.0 gdk-x11-3.0 ddcutil libclamav obt-3.5 libsoup-2.4 twolame libpcre2-32 libbrotlicommon lensfun fuse libkms jsoncpp ijs libunwind-ptrace ktoblzcheck xcb-xf86dri libtasn1 auparse epoxy libpulse xdamage d3d libnl-idiag-3.0 graphene-gobject-1.0 libglade-2.0 efivar nettle mad e2p gstreamer-audio-1.0 libpkgconf ModemManager librsvg-2.0 lrzip liblab_gamut md4c polkit-gobject-1 gdk-pixbuf-2.0 lirc-driver xcb-ewmh xaw7 libipq libcddb xcomposite Qt5Svg srt xxf86vm xcb-image libtcmalloc_minimal libwebp yaml-0.1 haisrt javascriptcoregtk-4.0 libxklavier aribb24 imlib2 libpcre xft libproxy-1.0 atspi-2 libzstd libofx mm-glib x265 libvlc 'gtk+-x11-3.0' gio-2.0 tiger gstreamer-rtsp-1.0 tevent libnfs python-2.7 speex lvm2app libnl-route-3.0 libcryptsetup OpenEXR libmnl libotf vpx jasper libcanberra-gtk3 gconf-2.0 gdlib portaudiocpp libnl-xfrm-3.0 kadm-client tdb libva-wayland igdgmm libnl-3.0 xcb-aux polkit-agent-1 'Magick++' flac gmodule-2.0 libdaemon orc-test-0.4 pygobject-3.0 libvisual-0.4 xrender fontenc libsecret-1 'sigc++-2.0' avahi-ui-sharp gthread-2.0 gail aqbanking xcb-xtest Qt5PrintSupport libparted Qt5DBus xcb fontutil gudev-1.0 raqm libavformat libalpm libssl datrie-0.2 libart-2.0 libusbredirhost fftw3f jemalloc xcb-present libv4l2 fontconfig mit-krb5-gssapi netapi xcb-composite libburn-1 libcdt libwoff2enc ompi-f77 mozjs-60 gssdp-1.2 libavdevice libpcre2-8 expat libv4lconvert libusb xcb-atom libbcg729 libdrm_nouveau jack python3 pyldb-util.cpython-38-x86_64-linux-gnu krb5-gssapi poppler-cairo cairo-ft wpebackend-fdo-1.0 libnotify gwengui-gtk3 libcrypto synctex shaderc_static theoraenc libunwind-generic menu libpcre2-posix libexif lqr-1 libavfilter 'gtk+-unix-print-2.0' xdmcp wayland-egl libffi poppler mit-krb5 libmpg123 xkbcomp cairomm-xlib-1.0 gupnp-igd-1.0 xvmc libmpeg2convert m17n-gui libdrm_amdgpu ldns libv4l1 pango xi libpostproc ocl-icd librtmp libtiff-4 liblzma libbrotlidec gtkmm-3.0 gstreamer-0.10 ncurses avahi-glib iso-codes cairo-gobject bash libcerf lrdf xcb-proto xcb-dpms libgvc harfbuzz-subset atk libssh xaw6 gdk-x11-2.0 'libxml++-2.6' pygobject-2.0 libdrm 'gtk+-3.0' cairo-ps libunwind-coredump mjpegtools openal libevent_extra hdf5_hl-1.10.5 'ncurses++' sndfile wayland-cursor xcb-dri3 xau libidn2 fdisk dvdread libnl-cli-3.0 zvbi-0.2 poppler-cpp libgsasl cairo-script libbsd smbclient cairo-tee 'gtk+-unix-print-3.0' mount lzo2 Qt5Concurrent gnutls zzip-zlib-config gmodule-export-2.0 cairomm-1.0 zbar libspiro libparted-fs-resize xatracker libiptc libmaxminddb gstreamer-check-1.0 xshmfence hogweed libasyncns panelw icu-i18n theoradec vorbisenc gdk-2.0 xt cairo-fc gstreamer-pbutils-1.0 libmypaint popt libkmod xmuu vdesnmp gstreamer-plugins-base-1.0 cairomm-ps-1.0 xcb-shape gstreamer-net-0.10 gstreamer-controller-0.10 python2 libdvdcss libftdi1 ddccontrol avahi-gobject libofa libvoikko lua53 blas egl libwebpmux libdw obrender-3.5 avahi-sharp xcb-record tk x11-xcb panel xmu gstreamer-net-1.0 py3cairo Qt5Widgets mpfr Qt5X11Extras libnetfilter_conntrack liblightdm-gobject-1 babl geocode-glib-1.0 libxdot m17n-core xcb-icccm cairo-xlib-xrender 'ncurses++w' xcb-xinerama ompi-cxx pangoft2 libavcodec wildmidi gstreamer-1.0 gstreamer-check-0.10 taglib uuid gpgme-glib graphene-1.0 libnghttp2 libgsf-1 hdf5_cpp-1.10.5 gstreamer-player-1.0 xtst exiv2 libiec61883 libbs2b libdrm_radeon icu-uc jansson harfbuzz libgphoto2 libdv libwoff2dec libbluray graphite2 xkbfile x264 giomm-2.4 webrtc-audio-processing xkbcommon libacl libva-glx libheif libraw1394 xcb-keysyms libmatroska menuw ImageMagick-7.Q16HDRI vte-2.91 gstreamer-gl-1.0 gstreamer-riff-1.0 cairomm-png-1.0 libsecret-unstable atk-bridge-2.0 xkbcommon-x11 gwengui-qt5 webkit2gtk-4.0 libcap-ng ogg libtcmalloc aom xcb-shm xcb-xkb vulkan libassuan SPIRV-Tools-shared harfbuzz-icu libcdio_cdda libpipeline gegl-0.4 id3tag wbclient raptor2 geoclue-2.0 fftw3l 'libcdio++' libnm avahi-qt5 rest-0.7 libprofiler nss libuv libavutil libcanberra libusbredirparser-0.5 guile-2.2 libgme gpg-error glesv2 xcb-xv libbsd-ctor libudf cairo-pdf webkit2gtk-web-extension-4.0 com_err alsa-topology libgcrypt fribidi caca gstreamer-fft-1.0 m17n-flt libpcre32 celt051 gstreamer-base-0.10 freetype2 devmapper-event Qt5Network smartcols libde265 libarchive libmpeg2 fdk-aac libavc1394 gstreamer-controller-1.0 libcdio_paranoia pangomm-1.4 lapack dbusmenu-gtk-0.4 spandsp xaw3d gstreamer-rtp-1.0 soxr libpci SDL_image ompi-c xcb-res sdl2 wireshark libgeoclue-2.0 luajit 'gtk+-wayland-3.0' sqlite3 pangocairo gts cairomm-svg-1.0 gimpui-2.0 libftdipp1 sdl libxml-2.0 gimpthumb-2.0 'libiso9660++' snappy xcb-event oggkate libusb-1.0 gdk-broadway-3.0 libargon2 dbus-1 fftw3 libnl-nf-3.0 gail-3.0 reiserfscore vdpau mozilla-nss libip4tc ompi gupnp-1.2 libmspack zzipwrap mtdev texluajit libcroco-0.6 soxr-lsr libbsd-overlay libpsl hwloc 'flac++' celt readline libpcreposix kpathsea avahi-compat-libdns_sd libtirpc gio-unix-2.0 zzipfseeko Qt5Test gegl-sc-0.4 xcb-xvmc pixman-1 libdrm_intel libsrtp2 libudev libexslt theora devmapper libxslt efiboot nspr xcb-randr opencore-amrnb libcurl xcb-render wayland-server python3-embed libcgraph libisofs-1 libstartup-notification-1.0 ice libgphoto2_port samplerate hunspell gstreamer-tag-1.0 soundtouch tcl xcursor dri glew xtables xcb-xfixes pangoxft blkid hdf5-1.10.5 json-glib-1.0 osmesa libopenjp2 cairomm-xlib-xrender-1.0 opus x11 cblas cairo-xcb wayland-client libchromaprint libgvpr libedit ncursesw avahi-client Qt5Multimedia lua poppler-splash form Qt5MultimediaWidgets libdvbpsi libnftnl vdemgmt m17n-shell dav1d libip6tc dconf libdts xv xcb-dri2 gwenhywfar libsystemd wayland-egl-backend gdk-3.0 gssrpc Qt5Core gstreamer-mpegts-1.0 xpm virglrenderer tslib shaderc libssh2 libebml python-3.8 xcb-glx 'gtk+-2.0' libcanberra-gtk shout lua52 cairo-xcb-shm gstreamer-allocators-1.0 xcb-util libmypaint-gegl xfixes libtcmalloc_debug libwebpdecoder ss libmms glut sm giblib libupnp libevent_openssl avahi-core gmodule-no-export-2.0 Qt5Xml libmng jbig2dec libswscale bluez libpcap bdw-gc ext2fs ruby-2.7 vidstab libpng16 gstreamer-bad-audio-1.0 vdehist wayland-scanner libraw_r xcb-xinput gl libsasl2 libglvnd xinerama lmdb libelf libjpeg shaderc_combined krb5 libva-drm cairo-svg vorbisfile gstreamer-dataprotocol-0.10 glibmm-2.4 fftw3q python-3.8-embed neon libass libtcmalloc_minimal_debug gstreamer-sdp-1.0 numa cairo libnl-genl-3.0 pytalloc-util.cpython-38-x86_64-linux-gnu libunwind-setjmp libnsl vdeplug orc-0.4 'gtk+-x11-2.0' dbusmenu-glib-0.4 libotr dvdnav indicator-0.4 xcmiscproto systemd gsettings-desktop-schemas xf86driproto mypaint-brushes-1.0 wayland-protocols xkeyboard-config resourceproto xproxymngproto randrproto videoproto xf86vidmodeproto xbitmaps fontsproto m17n-db xf86dgaproto recordproto adwaita-icon-theme bigreqsproto dri3proto trapproto eglexternalplatform libmakepkg poppler-data xineramaproto damageproto presentproto dri2proto xf86miscproto kbproto udev bash-completion renderproto fixesproto yelp-xsl xproto dmxproto compositeproto glproto wayland-eglstream-protocols shared-mime-info xf86bigfontproto wayland-eglstream mariadb inputproto scrnsaverproto xextproto | |
Failed to query pkg-config, Cabal will continue without solving for pkg-config | |
constraints: dieVerbatim: user error (CallStack (from HasCallStack): | |
die', called at ./Distribution/Simple/Program/Run.hs:155:7 in | |
Cabal-3.0.0.0-de156fe8b3b8feb6c7f64eb52f208b7864ffac76cacc437fbd1e9a9f1d60784c:Distribution.Simple.Program.Run | |
getProgramInvocationOutput, called at ./Distribution/Simple/Program.hs:150:3 | |
in | |
Cabal-3.0.0.0-de156fe8b3b8feb6c7f64eb52f208b7864ffac76cacc437fbd1e9a9f1d60784c:Distribution.Simple.Program | |
getProgramOutput, called at ./Distribution/Solver/Types/PkgConfigDb.hs:64:28 | |
in main:Distribution.Solver.Types.PkgConfigDb | |
cabal: '/usr/bin/pkg-config' exited with an error: | |
Package hdf5_hl was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `hdf5_hl.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'hdf5_hl', required by 'hdf5_hl_cpp-1.10.5', not found | |
Package 'spice-protocol', required by 'spice-server', not found | |
Package 'gtk-sharp-2.0', required by 'avahi-ui-sharp', not found | |
Package 'hdf5', required by 'hdf5_hl-1.10.5', not found | |
Package 'hdf5', required by 'hdf5_cpp-1.10.5', not found | |
) | |
Resolving dependencies... | |
Component graph for shadowing-0.1.0.0: component lib | |
component shadowing-0.1.0.0-inplace | |
include base-4.14.0.0 | |
include containers-0.6.2.1 | |
include ghc-8.11.0.20200127 | |
unit shadowing-0.1.0.0-inplace | |
include base-4.14.0.0 | |
include containers-0.6.2.1 | |
include ghc-8.11.0.20200127 | |
Shadowing=shadowing-0.1.0.0-inplace:Shadowing | |
Build profile: -w ghc-8.11.0.20200127 -O1 | |
In order, the following will be built: | |
- shadowing-0.1.0.0 (lib) (first run) | |
creating /home/ben/dev/ghc-shadowing/dist-newstyle/build | |
creating /home/ben/dev/ghc-shadowing/dist-newstyle/tmp | |
creating /home/ben/dev/ghc-shadowing/dist-newstyle/packagedb | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg init /home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127 | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0 | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127 | |
creating /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127 | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0 | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/cache | |
Using internal setup method with build-type Simple and args: | |
["configure","--verbose=2","--builddir=/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0","--ghc","--prefix=/home/ben/.cabal","--bindir=/home/ben/.cabal/bin","--libdir=/home/ben/.cabal/lib/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0-inplace","--libsubdir=","--dynlibdir=/home/ben/.cabal/lib/x86_64-linux-ghc-8.11.0.20200127","--libexecdir=/home/ben/.cabal/libexec/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0","--libexecsubdir=","--datadir=/home/ben/.cabal/share/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0","--datasubdir=","--docdir=/home/ben/.cabal/share/doc/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0","--htmldir=/home/ben/.cabal/share/doc/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0/html","--haddockdir=/home/ben/.cabal/share/doc/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0/html","--sysconfdir=/home/ben/.cabal/etc","--enable-library-vanilla","--disable-library-profiling","--disable-shared","--disable-static","--disable-executable-dynamic","--disable-executable-static","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-sections","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=/home/ben/.cabal/store/ghc-8.11.0.20200127/package.db","--package-db=/home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127","--cid=shadowing-0.1.0.0-inplace","--extra-prog-path=/home/ben/.cabal/bin","--dependency=base=base-4.14.0.0","--dependency=containers=containers-0.6.2.1","--dependency=ghc=ghc-8.11.0.20200127","--disable-coverage","--exact-configuration","--with-ghc=/home/ben/dev/ghc-master/_build/stage1/bin/ghc","--with-ghc-pkg=/home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg","--ghc-option=-hide-all-packages","lib:shadowing"] | |
Using Parsec parser | |
Configuring library for shadowing-0.1.0.0.. | |
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.0.0.0 supports | |
'ghc' version < 8.10): /home/ben/dev/ghc-master/_build/stage1/bin/ghc is | |
version 8.11.0.20200127 | |
Dependency base ==4.14.0.0: using base-4.14.0.0 | |
Dependency containers ==0.6.2.1: using containers-0.6.2.1 | |
Dependency ghc ==8.11.0.20200127: using ghc-8.11.0.20200127 | |
Source component graph: component lib | |
Configured component graph: | |
component shadowing-0.1.0.0-inplace | |
include base-4.14.0.0 | |
include containers-0.6.2.1 | |
include ghc-8.11.0.20200127 | |
Linked component graph: | |
unit shadowing-0.1.0.0-inplace | |
include base-4.14.0.0 | |
include containers-0.6.2.1 | |
include ghc-8.11.0.20200127 | |
Shadowing=shadowing-0.1.0.0-inplace:Shadowing | |
Ready component graph: | |
definite shadowing-0.1.0.0-inplace | |
depends base-4.14.0.0 | |
depends containers-0.6.2.1 | |
depends ghc-8.11.0.20200127 | |
Using Cabal-3.0.0.0 compiled by ghc-8.6 | |
Using compiler: ghc-8.11.0.20200127 | |
Using install prefix: /home/ben/.cabal | |
Executables installed in: /home/ben/.cabal/bin | |
Libraries installed in: | |
/home/ben/.cabal/lib/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0-inplace | |
Dynamic Libraries installed in: | |
/home/ben/.cabal/lib/x86_64-linux-ghc-8.11.0.20200127 | |
Private executables installed in: | |
/home/ben/.cabal/libexec/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0 | |
Data files installed in: | |
/home/ben/.cabal/share/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0 | |
Documentation installed in: | |
/home/ben/.cabal/share/doc/x86_64-linux-ghc-8.11.0.20200127/shadowing-0.1.0.0 | |
Configuration files installed in: /home/ben/.cabal/etc | |
Using alex version 3.2.5 found on system at: /usr/bin/alex | |
Using ar found on system at: /usr/bin/ar | |
No c2hs found | |
Using cpphs version 1.20.8 found on system at: /usr/bin/cpphs | |
No doctest found | |
Using gcc version 9.2.0 found on system at: /usr/lib/ccache/bin/cc | |
Using ghc version 8.11.0.20200127 given by user at: | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc | |
Using ghc-pkg version 8.11.0.20200127 given by user at: | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg | |
No ghcjs found | |
No ghcjs-pkg found | |
No greencard found | |
Using haddock version 2.22.0 found on system at: | |
/home/ben/dev/ghc-master/_build/stage1/bin/haddock | |
Using happy version 1.19.12 found on system at: /usr/bin/happy | |
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.68 found on system at: | |
/home/ben/dev/ghc-master/_build/stage1/bin/hpc | |
Using hsc2hs version 0.68.6 found on system at: | |
/home/ben/dev/ghc-master/_build/stage1/bin/hsc2hs | |
Using hscolour version 1.24 found on system at: /usr/bin/HsColour | |
No jhc found | |
Using ld found on system at: /usr/bin/ld.gold | |
Using pkg-config version 1.6.3 found on system at: /usr/bin/pkg-config | |
Using runghc version 8.11.0.20200127 found on system at: | |
/home/ben/dev/ghc-master/_build/stage1/bin/runghc | |
Using strip version 2.33 found on system at: /usr/bin/strip | |
Using tar found on system at: /usr/bin/tar | |
No uhc found | |
Using internal setup method with build-type Simple and args: | |
["build","--verbose=2","--builddir=/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0"] | |
Component build order: library | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg init /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/package.conf.inplace | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/autogen | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/autogen | |
Preprocessing library for shadowing-0.1.0.0.. | |
Building library for shadowing-0.1.0.0.. | |
creating | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc --make -fbuilding-cabal-package -O -outputdir /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build -odir /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build -hidir /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build -stubdir /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build -i -i/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build -isrc -i/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/autogen -i/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/global-autogen -I/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/autogen -I/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/global-autogen -I/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build -optP-include -optP/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/autogen/cabal_macros.h -this-unit-id shadowing-0.1.0.0-inplace -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db /home/ben/.cabal/store/ghc-8.11.0.20200127/package.db -package-db /home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127 -package-db /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/package.conf.inplace -package-id base-4.14.0.0 -package-id containers-0.6.2.1 -package-id ghc-8.11.0.20200127 -XHaskell2010 Shadowing -hide-all-packages | |
[1 of 1] Compiling Shadowing ( src/Shadowing.hs, /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/Shadowing.o ) | |
Linking... | |
[(DefiniteUnitId (DefUnitId {unDefUnitId = UnitId | |
"base-4.14.0.0"}),DefaultRenaming),(DefiniteUnitId (DefUnitId {unDefUnitId = | |
UnitId "containers-0.6.2.1"}),DefaultRenaming),(DefiniteUnitId (DefUnitId | |
{unDefUnitId = UnitId "ghc-8.11.0.20200127"}),DefaultRenaming)] | |
/usr/bin/ar -r /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/objs-468482/libHSshadowing-0.1.0.0-inplace.a '@/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/objs-468482/ar468482-16.rsp' | |
/usr/bin/ar: creating /home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build/objs-468482/libHSshadowing-0.1.0.0-inplace.a | |
Using internal setup method with build-type Simple and args: | |
["register","--verbose=2","--builddir=/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0","--inplace","--gen-pkg-config=/home/ben/dev/ghc-shadowing/dist-newstyle/tmp/package-registration--468482/pkgConf"] | |
name: shadowing | |
version: 0.1.0.0 | |
visibility: public | |
id: shadowing-0.1.0.0-inplace | |
key: shadowing-0.1.0.0-inplace | |
license: BSD-3-Clause | |
copyright: Copyright (C) 2019 Benjamin R. Price | |
maintainer: ben@brprice.uk | |
author: Ben Price | |
homepage: https://gitlab.haskell.org/brprice/shadowing | |
synopsis: GHC plugin to introduce shadowing | |
description: | |
We introduce shadowing to aid in debugging GHC. | |
See https://gitlab.haskell.org/ghc/ghc/issues/17478. | |
category: Compiler Plugin | |
abi: inplace | |
exposed: True | |
exposed-modules: Shadowing | |
import-dirs: | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build | |
library-dirs: | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build | |
dynamic-library-dirs: | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/build | |
data-dir: /home/ben/dev/ghc-shadowing | |
hs-libraries: HSshadowing-0.1.0.0-inplace | |
depends: base-4.14.0.0 containers-0.6.2.1 ghc-8.11.0.20200127 | |
haddock-interfaces: | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/doc/html/shadowing/shadowing.haddock | |
haddock-html: | |
/home/ben/dev/ghc-shadowing/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200127/shadowing-0.1.0.0/doc/html/shadowing | |
Creating package registration file: | |
/home/ben/dev/ghc-shadowing/dist-newstyle/tmp/package-registration--468482/pkgConf | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc-pkg update - --global --no-user-package-db '--package-db=/home/ben/.cabal/store/ghc-8.11.0.20200127/package.db' '--package-db=/home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/.cabal/store/ghc-8.6.5/cabal-install-3.0.0.0-b96b36068a37fb759fc1462183e3df25c9219425f0999b691b5493eea7fb1bd3/bin/cabal v2-exec --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc -v -- ~/dev/ghc-master/_build/stage1/bin/ghc -fplugin=Shadowing Test14 | |
this build was affected by the following (project) config files: | |
- /home/ben/dev/ghc-shadowing/cabal.project.local | |
Including the following directories in PATH: | |
/home/ben/dev/ghc-master/_build/stage1/bin/ghc '-fplugin=Shadowing' Test14 | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-468628/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-468628/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
ghc: /home/ben/dev/ghc-master/_build/stage1/lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2/HSunix-2.7.2.2.o: unknown symbol `mknod' | |
ghc: unable to load package `unix-2.7.2.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/.cabal/store/ghc-8.6.5/cabal-install-3.0.0.0-b96b36068a37fb759fc1462183e3df25c9219425f0999b691b5493eea7fb1bd3/bin/cabal v2-exec --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc -- ~/dev/ghc-master/_build/stage1/bin/ghc -fplugin=Shadowing Test14 -v | |
Glasgow Haskell Compiler, Version 8.11.0.20200127, stage 2 booted by GHC version 8.6.5 | |
*** initializing package database: | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-468657/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
Using binary package database: /home/ben/dev/ghc-master/_build/stage1/lib/package.conf.d/package.cache | |
Using binary package database: /home/ben/.cabal/store/ghc-8.11.0.20200127/package.db/package.cache | |
Using binary package database: /home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127/package.cache | |
package flags [-package-id shadowing-0.1.0.0-inplace{unit shadowing-0.1.0.0-inplace True ([])}, | |
-package-id base-4.14.0.0{unit base-4.14.0.0 True ([])}, | |
-package-id ghc-prim-0.6.1{unit ghc-prim-0.6.1 True ([])}, | |
-package-id rts-1.0{unit rts-1.0 True ([])}, | |
-package-id integer-gmp-1.0.2.0{unit integer-gmp-1.0.2.0 True ([])}, | |
-package-id containers-0.6.2.1{unit containers-0.6.2.1 True ([])}, | |
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])}, | |
-package-id deepseq-1.4.4.0{unit deepseq-1.4.4.0 True ([])}, | |
-package-id ghc-8.11.0.20200127{unit ghc-8.11.0.20200127 True ([])}, | |
-package-id binary-0.8.7.0{unit binary-0.8.7.0 True ([])}, | |
-package-id bytestring-0.10.9.0{unit bytestring-0.10.9.0 True ([])}, | |
-package-id directory-1.3.4.0{unit directory-1.3.4.0 True ([])}, | |
-package-id filepath-1.4.2.1{unit filepath-1.4.2.1 True ([])}, | |
-package-id time-1.9.3{unit time-1.9.3 True ([])}, | |
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])}, | |
-package-id ghc-boot-8.11.0.20200127{unit ghc-boot-8.11.0.20200127 True ([])}, | |
-package-id ghc-boot-th-8.11.0.20200127{unit ghc-boot-th-8.11.0.20200127 True ([])}, | |
-package-id ghc-heap-8.11.0.20200127{unit ghc-heap-8.11.0.20200127 True ([])}, | |
-package-id ghci-8.11.0.20200127{unit ghci-8.11.0.20200127 True ([])}, | |
-package-id template-haskell-2.16.0.0{unit template-haskell-2.16.0.0 True ([])}, | |
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])}, | |
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])}, | |
-package-id hpc-0.6.1.0{unit hpc-0.6.1.0 True ([])}, | |
-package-id process-1.6.6.0{unit process-1.6.6.0 True ([])}, | |
-package-id terminfo-0.4.1.4{unit terminfo-0.4.1.4 True ([])}] | |
loading package database /home/ben/dev/ghc-master/_build/stage1/lib/package.conf.d | |
loading package database /home/ben/.cabal/store/ghc-8.11.0.20200127/package.db | |
loading package database /home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127 | |
wired-in package ghc-prim mapped to ghc-prim-0.6.1 | |
wired-in package integer-wired-in mapped to integer-gmp-1.0.2.0 | |
wired-in package base mapped to base-4.14.0.0 | |
wired-in package rts mapped to rts-1.0 | |
wired-in package template-haskell mapped to template-haskell-2.16.0.0 | |
wired-in package ghc mapped to ghc-8.11.0.20200127 | |
!!! initializing package database: finished in 93.93 milliseconds, allocated 136.456 megabytes | |
*** initializing package database: | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-468657/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
package flags [-package-id shadowing-0.1.0.0-inplace{unit shadowing-0.1.0.0 True ([])}, | |
-package-id base-4.14.0.0{unit base-4.14.0.0 True ([])}, | |
-package-id ghc-prim-0.6.1{unit ghc-prim-0.6.1 True ([])}, | |
-package-id rts-1.0{unit rts-1.0 True ([])}, | |
-package-id integer-gmp-1.0.2.0{unit integer-gmp-1.0.2.0 True ([])}, | |
-package-id containers-0.6.2.1{unit containers-0.6.2.1 True ([])}, | |
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])}, | |
-package-id deepseq-1.4.4.0{unit deepseq-1.4.4.0 True ([])}, | |
-package-id ghc-8.11.0.20200127{unit ghc-8.11.0.20200127 True ([])}, | |
-package-id binary-0.8.7.0{unit binary-0.8.7.0 True ([])}, | |
-package-id bytestring-0.10.9.0{unit bytestring-0.10.9.0 True ([])}, | |
-package-id directory-1.3.4.0{unit directory-1.3.4.0 True ([])}, | |
-package-id filepath-1.4.2.1{unit filepath-1.4.2.1 True ([])}, | |
-package-id time-1.9.3{unit time-1.9.3 True ([])}, | |
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])}, | |
-package-id ghc-boot-8.11.0.20200127{unit ghc-boot-8.11.0.20200127 True ([])}, | |
-package-id ghc-boot-th-8.11.0.20200127{unit ghc-boot-th-8.11.0.20200127 True ([])}, | |
-package-id ghc-heap-8.11.0.20200127{unit ghc-heap-8.11.0.20200127 True ([])}, | |
-package-id ghci-8.11.0.20200127{unit ghci-8.11.0.20200127 True ([])}, | |
-package-id template-haskell-2.16.0.0{unit template-haskell-2.16.0.0 True ([])}, | |
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])}, | |
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])}, | |
-package-id hpc-0.6.1.0{unit hpc-0.6.1.0 True ([])}, | |
-package-id process-1.6.6.0{unit process-1.6.6.0 True ([])}, | |
-package-id terminfo-0.4.1.4{unit terminfo-0.4.1.4 True ([])}, | |
-package-id shadowing-0.1.0.0-inplace{unit shadowing-0.1.0.0 True ([])}, | |
-package-id base-4.14.0.0{unit base-4.14.0.0 True ([])}, | |
-package-id ghc-prim-0.6.1{unit ghc-prim-0.6.1 True ([])}, | |
-package-id rts-1.0{unit rts-1.0 True ([])}, | |
-package-id integer-gmp-1.0.2.0{unit integer-gmp-1.0.2.0 True ([])}, | |
-package-id containers-0.6.2.1{unit containers-0.6.2.1 True ([])}, | |
-package-id array-0.5.4.0{unit array-0.5.4.0 True ([])}, | |
-package-id deepseq-1.4.4.0{unit deepseq-1.4.4.0 True ([])}, | |
-package-id ghc-8.11.0.20200127{unit ghc-8.11.0.20200127 True ([])}, | |
-package-id binary-0.8.7.0{unit binary-0.8.7.0 True ([])}, | |
-package-id bytestring-0.10.9.0{unit bytestring-0.10.9.0 True ([])}, | |
-package-id directory-1.3.4.0{unit directory-1.3.4.0 True ([])}, | |
-package-id filepath-1.4.2.1{unit filepath-1.4.2.1 True ([])}, | |
-package-id time-1.9.3{unit time-1.9.3 True ([])}, | |
-package-id unix-2.7.2.2{unit unix-2.7.2.2 True ([])}, | |
-package-id ghc-boot-8.11.0.20200127{unit ghc-boot-8.11.0.20200127 True ([])}, | |
-package-id ghc-boot-th-8.11.0.20200127{unit ghc-boot-th-8.11.0.20200127 True ([])}, | |
-package-id ghc-heap-8.11.0.20200127{unit ghc-heap-8.11.0.20200127 True ([])}, | |
-package-id ghci-8.11.0.20200127{unit ghci-8.11.0.20200127 True ([])}, | |
-package-id template-haskell-2.16.0.0{unit template-haskell-2.16.0.0 True ([])}, | |
-package-id pretty-1.1.3.6{unit pretty-1.1.3.6 True ([])}, | |
-package-id transformers-0.5.6.2{unit transformers-0.5.6.2 True ([])}, | |
-package-id hpc-0.6.1.0{unit hpc-0.6.1.0 True ([])}, | |
-package-id process-1.6.6.0{unit process-1.6.6.0 True ([])}, | |
-package-id terminfo-0.4.1.4{unit terminfo-0.4.1.4 True ([])}] | |
loading package database /home/ben/dev/ghc-master/_build/stage1/lib/package.conf.d | |
loading package database /home/ben/.cabal/store/ghc-8.11.0.20200127/package.db | |
loading package database /home/ben/dev/ghc-shadowing/dist-newstyle/packagedb/ghc-8.11.0.20200127 | |
wired-in package ghc-prim mapped to ghc-prim-0.6.1 | |
wired-in package integer-wired-in mapped to integer-gmp-1.0.2.0 | |
wired-in package base mapped to base-4.14.0.0 | |
wired-in package rts mapped to rts-1.0 | |
wired-in package template-haskell mapped to template-haskell-2.16.0.0 | |
wired-in package ghc mapped to ghc-8.11.0.20200127 | |
!!! initializing package database: finished in 37.37 milliseconds, allocated 80.135 megabytes | |
*** Chasing dependencies: | |
Chasing modules from: *Test14.hs | |
!!! Chasing dependencies: finished in 3.06 milliseconds, allocated 4.861 megabytes | |
Stable obj: {Test14} | |
Stable BCO: {} | |
Ready for upsweep | |
[NONREC | |
ModSummary { | |
ms_hs_date = 2020-01-27 16:21:17.811584215 UTC | |
ms_mod = Test14, | |
ms_textual_imps = [(Nothing, Prelude), (Nothing, System.Posix)] | |
ms_srcimps = [] | |
}] | |
*** Deleting temp files: | |
Deleting: | |
compile: input file Test14.hs | |
Loading package ghc-prim-0.6.1 ... linking ... done. | |
*** systool:linker: | |
*** gcc: | |
cc '-fuse-ld=gold' -B/home/ben/dev/ghc-master/_build/stage1/lib/../lib/x86_64-linux-ghc-8.11.0.20200127/integer-gmp-1.0.2.0 --print-file-name libgmp.so | |
!!! systool:linker: finished in 1.39 milliseconds, allocated 0.993 megabytes | |
Loading package integer-gmp-1.0.2.0 ... linking ... done. | |
Loading package base-4.14.0.0 ... linking ... done. | |
Loading package array-0.5.4.0 ... linking ... done. | |
Loading package deepseq-1.4.4.0 ... linking ... done. | |
Loading package containers-0.6.2.1 ... linking ... done. | |
Loading package bytestring-0.10.9.0 ... linking ... done. | |
Loading package binary-0.8.7.0 ... linking ... done. | |
Loading package filepath-1.4.2.1 ... linking ... done. | |
Loading package time-1.9.3 ... linking ... done. | |
*** systool:linker: | |
*** gcc: | |
cc '-fuse-ld=gold' -B/home/ben/dev/ghc-master/_build/stage1/lib/../lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2 --print-file-name librt.so | |
!!! systool:linker: finished in 1.02 milliseconds, allocated 0.947 megabytes | |
*** systool:linker: | |
*** gcc: | |
cc '-fuse-ld=gold' -B/home/ben/dev/ghc-master/_build/stage1/lib/../lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2 --print-file-name libutil.so | |
!!! systool:linker: finished in 0.91 milliseconds, allocated 0.955 megabytes | |
*** systool:linker: | |
*** gcc: | |
cc '-fuse-ld=gold' -B/home/ben/dev/ghc-master/_build/stage1/lib/../lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2 --print-file-name libdl.so | |
!!! systool:linker: finished in 0.89 milliseconds, allocated 0.947 megabytes | |
*** systool:linker: | |
*** gcc: | |
cc '-fuse-ld=gold' -B/home/ben/dev/ghc-master/_build/stage1/lib/../lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2 --print-file-name libpthread.so | |
!!! systool:linker: finished in 0.97 milliseconds, allocated 0.968 megabytes | |
Loading package unix-2.7.2.2 ... linking ... ghc: /home/ben/dev/ghc-master/_build/stage1/lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2/HSunix-2.7.2.2.o: unknown symbol `mknod' | |
*** Deleting temp files: | |
Deleting: | |
*** Deleting temp dirs: | |
Deleting: | |
ghc: unable to load package `unix-2.7.2.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using make works fine: | |
$ ~/dev/ghc-master/inplace/bin/ghc-stage2 -V | |
The Glorious Glasgow Haskell Compilation System, version 8.11.0.20200127 | |
$ cabal v2-build --with-compiler=/home/ben/dev/ghc-master/inplace/bin/ghc-stage2 | |
$ cabal v2-exec --with-compiler=/home/ben/dev/ghc-master/inplace/bin/ghc-stage2 -- ~/dev/ghc-master/inplace/bin/ghc-stage2 -fplugin=Shadowing Test | |
<... expected output ...> | |
# Using Hadrian in default build directory | |
$ /home/ben/dev/ghc-master/_build/stage1/bin/ghc -V | |
The Glorious Glasgow Haskell Compilation System, version 8.11.0.20200127 | |
$ cabal v2-build --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc | |
Warning: Unknown/unsupported 'ghc' version detected (Cabal 2.4.0.1 supports | |
'ghc' version < 8.7): /home/ben/dev/ghc-master/_build/stage1/bin/ghc is | |
version 8.11.0.20200127 | |
Resolving dependencies... | |
Build profile: -w ghc-8.11.0.20200127 -O1 | |
In order, the following will be built (use -v for more details): | |
- shadowing-0.1.0.0 (lib) (configuration changed) | |
Configuring library for shadowing-0.1.0.0.. | |
Preprocessing library for shadowing-0.1.0.0.. | |
Building library for shadowing-0.1.0.0.. | |
$ cabal v2-exec --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc -- ~/dev/ghc-master/_build/stage1/bin/ghc -fplugin=Shadowing Test14 | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-397855/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-397855/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
ghc: /home/ben/dev/ghc-master/_build/stage1/lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2/HSunix-2.7.2.2.o: unknown symbol `mknod' | |
ghc: unable to load package `unix-2.7.2.2' | |
# And with cabal 3: | |
$ /home/ben/dev/ghc-master/_build/stage1/bin/ghc -V | |
The Glorious Glasgow Haskell Compilation System, version 8.11.0.20200127 | |
$ ~/.cabal/store/ghc-8.6.5/cabal-install-3.0.0.0-b96b36068a37fb759fc1462183e3df25c9219425f0999b691b5493eea7fb1bd3/bin/cabal v2-build --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc | |
Warning: Parsing the index cache failed (Unknown encoding for constructor). | |
Trying to regenerate the index cache... | |
Resolving dependencies... | |
Build profile: -w ghc-8.11.0.20200127 -O1 | |
In order, the following will be built (use -v for more details): | |
- shadowing-0.1.0.0 (lib) (cannot read state cache) | |
Configuring library for shadowing-0.1.0.0.. | |
Preprocessing library for shadowing-0.1.0.0.. | |
Building library for shadowing-0.1.0.0.. | |
$ ~/.cabal/store/ghc-8.6.5/cabal-install-3.0.0.0-b96b36068a37fb759fc1462183e3df25c9219425f0999b691b5493eea7fb1bd3/bin/cabal v2-exec --with-compiler=/home/ben/dev/ghc-master/_build/stage1/bin/ghc -- ~/dev/ghc-master/_build/stage1/bin/ghc -fplugin=Shadowing Test14 | |
Resolving dependencies... | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-398250/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
Loaded package environment from /home/ben/dev/ghc-shadowing/dist-newstyle/tmp/environment.-398250/.ghc.environment.x86_64-linux-8.11.0.20200127 | |
ghc: /home/ben/dev/ghc-master/_build/stage1/lib/x86_64-linux-ghc-8.11.0.20200127/unix-2.7.2.2/HSunix-2.7.2.2.o: unknown symbol `mknod' | |
ghc: unable to load package `unix-2.7.2.2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment