Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created January 26, 2020 11:21
Show Gist options
  • Save kindaro/3ed0ae4a96ff4f34134cc2fd1ca00ed8 to your computer and use it in GitHub Desktop.
Save kindaro/3ed0ae4a96ff4f34134cc2fd1ca00ed8 to your computer and use it in GitHub Desktop.
% cabal install --verbose optparse-applicative --lib
Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2020-01-25T23:43:04Z
/nix/var/nix/profiles/default/bin/ghc --numeric-version
looking for tool ghc-pkg near compiler in /nix/var/nix/profiles/default/bin
found ghc-pkg in /nix/var/nix/profiles/default/bin/ghc-pkg
/nix/var/nix/profiles/default/bin/ghc-pkg --version
/nix/var/nix/profiles/default/bin/ghc --supported-languages
/nix/var/nix/profiles/default/bin/ghc --info
creating /tmp/cabal-install.-3062513/dist-newstyle
creating /tmp/cabal-install.-3062513/dist-newstyle/cache
Compiler settings changed, reconfiguring...
/nix/var/nix/profiles/default/bin/ghc --numeric-version
looking for tool ghc-pkg near compiler in /nix/var/nix/profiles/default/bin
found ghc-pkg in /nix/var/nix/profiles/default/bin/ghc-pkg
/nix/var/nix/profiles/default/bin/ghc-pkg --version
/nix/var/nix/profiles/default/bin/ghc --supported-languages
/nix/var/nix/profiles/default/bin/ghc --info
/nix/var/nix/profiles/default/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-25T23:43:04Z
/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 Qt5UiTools wpebackend-fdo-1.0 raqm libtiff-4 Qt5WebChannel opusurl mad zzipwrap libavdevice graphene-gobject-1.0 libalpm nix-store 'gtk+-3.0' gstreamer-1.0 lirc gstreamer-app-1.0 libcanberra-gtk libdaemon libcap libnsl gtkmm-3.0 cairomm-xlib-1.0 libbrotlicommon pango apr-util-1 harfbuzz-subset kpathsea SPIRV-Tools-shared pangoft2 libidn libgvc libunwind-generic libpcreposix efivar apr-1 orc-test-0.4 libpostproc libsasl2 libpng16 IlmBase ndr_krb5pac gmodule-no-export-2.0 vidstab pytalloc-util.cpython-38-x86_64-linux-gnu libpci pyldb-util.cpython-38-x86_64-linux-gnu cairo-fc libnfnetlink minizip atspi-2 'gtk+-broadway-3.0' x265 gio-2.0 imagequant xshmfence zzipmmapped xcb-render nettle suil-0 gl shaderc cairo-ps mm-glib libva-drm xcb libwoff2enc libnftnl libudev libcupsfilters 'libiso9660++' xcb-randr xmuu libtasn1 xi libpcre16 sdl2 libwoff2dec gstreamer-sdp-1.0 xdamage libical python2 cairo-pdf sox libbrotlienc libevent_extra dbusmenu-glib-0.4 vpx libcdio_paranoia mit-krb5-gssapi libcanberra libpcap devmapper libexif Qt5OpenGLExtensions libpsl reiserfscore dav1d libvala-0.46 xt xorg-server wayland-scanner fontenc libdrm_amdgpu cairo libconfig gstreamer-controller-1.0 libavutil tslib python3-embed bluez libcgraph libssh2 sord-0 gthread-2.0 p11-kit-1 libraw d3d datrie-0.2 sqlite3 libeditline glut alsa-topology libssl zzip-zlib-config libnetfilter_conntrack xcb-xinput libheif lzo2 cairo-tee pycairo libplacebo opusfile xcb-shape libical-glib libntfs-3g libmpeg2 javascriptcoregtk-4.0 Qt5Quick ptexenc krb5 cairo-xcb xcb-xkb Qt5Svg lmdb xcb-xrm libbsd vamp panel Qt5OpenGL fontutil glesv2 colord cairo-script polkit-agent-1 yaml-0.1 xft gdk-pixbuf-xlib-2.0 xatracker libnl-cli-3.0 libxml-2.0 gobject-introspection-no-export-1.0 xcb-glx libcap-ng m17n-shell vapigen-0.46 guile-1.8 libmatroska gstreamer-check-1.0 libelf hunspell form Qt5Concurrent avahi-qt5 gegl-sc-0.4 libdiscid ogg libidn2 xkbcommon libusb-1.0 libpng ModemManager xkbcommon-x11 libdv libglade-2.0 m17n-flt libv4l2 samba-hostconfig valadoc-0.46 libraw1394 libpcre2-32 xcb-xv libftdipp1 samba-credentials wayland-cursor glu libargon2 libspiro gstreamer-audio-1.0 fluidsynth jsoncpp gusb colorhug ruby-2.7 opus gudev-1.0 ndr_standard xkbcomp freerdp-shadow2 libspectre xcb-event samplerate libvisual-0.4 guile-2.0 formw SDL_ttf fftw3f nss epoxy ldns nix-expr libkmod avahi-sharp ddjvuapi libraw_r libxdot libfontforgeexe liblzma xtables sndfile tevent mount sane-backends libvoikko atomic_ops xrandr ibus-1.0 libv4lconvert libpcsclite libbrotlidec cairomm-ps-1.0 xorg-macros webkit2gtk-web-extension-4.0 libsecret-unstable libde265 opencore-amrnb panelw m17n-gui libva-x11 avahi-ui-sharp python-3.8-embed libwebp vorbisfile xcb-xf86dri xfixes xcb-res poppler-cairo libcares avahi-compat-libdns_sd libedit Qt5Gui oniguruma gee-0.8 talloc libcdio xcb-atom tidy blas dconf libpcre2-16 libdrm_radeon auparse ss menuw mpfr dbus-glib-1 x11 libfontembed rubberband gmodule-2.0 libseccomp 'dbus-c++-1' osmesa libva-glx libsecret-1 libva x11-xcb libpcre2-posix gbm gpgme libavc1394 gstreamer-rtsp-1.0 libftdi1 'gtk+-unix-print-2.0' glew xpm libbluray gimpthumb-2.0 portaudio-2.0 poppler gio-unix-2.0 rest-0.7 shaderc_combined gtkmm-2.4 Qt5PrintSupport pangocairo cairomm-1.0 libsystemd taglib lua53 com_err fuse shaderc_static xcb-renderutil gstreamer-base-1.0 samba-policy.cpython-38-x86_64-linux-gnu harfbuzz-gobject libwacom libswresample libvkd3d avahi-ui-gtk3 freetype2 libfontforge atk-bridge-2.0 girara-gtk3 'gtk+-x11-3.0' hogweed libavformat ice audit vulkan wpe-1.0 'gtk+-unix-print-3.0' libkms kadm-server Qt5Positioning dcerpc libvkd3d-utils zziplib pygobject-3.0 'libcdio++' xcomposite libcdt ocl-icd vdpau libmypaint-gegl ao icu-i18n kdb cairomm-xlib-xrender-1.0 fdisk Qt5QuickTemplates2 dcerpc_samr expat serf-1 'gtk+-2.0' wayland-egl speexdsp icu-uc xcb-present sratom-0 libunwind-ptrace libpkcs11-helper-1 polkit-gobject-1 libattr bdw-gc atk libassuan libxslt libdrm_intel cairomm-pdf-1.0 libstartup-notification-1.0 libdca libusb libva-wayland liblsmash gdlib gmodule-export-2.0 freerdp2 Qt5QmlWorkerScript xcb-dri2 libuninameslist liblo wayland-egl-backend python3 gobject-2.0 texluajit libavfilter libip4tc Qt5Widgets xcb-errors guile-2.2 libunwind-coredump cairo-xlib-xrender xxf86vm libiptc winpr-tools2 portSMF theora libwebpdecoder pygtk-2.0 xcb-icccm libcrypto uuid gstreamer-tag-1.0 poppler-glib Qt5X11Extras avahi-client egl avahi-glib libpulse xcb-damage libv4l1 libomxil-bellagio fftw3l libgphoto2_port libevent_pthreads xscrnsaver devmapper-event fftw3 libnl-3.0 sm graphite2 x264 nix-main gnutls efiboot cairomm-svg-1.0 libzstd cairo-gobject poppler-splash libacl gstreamer-video-1.0 tdb celt cblas libopenjp2 vorbis liblz4 caca tinfo speex xcb-ewmh xinerama libgssglue fontconfig xcb-screensaver libevent gstreamer-fft-1.0 libgvpr libmpeg2convert glibmm-2.4 smartcols SDL_image tic xtst xv atkmm-1.6 libsoup-gnome-2.4 libgphoto2 gstreamer-net-1.0 SPIRV-Tools raptor2 twolame aom libqpdf Qt5Core wayland-client libpulse-mainloop-glib 'gtk+-x11-2.0' libgcrypt wayland-server libmikmod xaw6 libpipeline libgeoclue-2.0 libnghttp2 json-glib-1.0 libmnl granite gdk-x11-2.0 xcb-xinerama mozilla-nspr re2 libpcre libavcodec Qt5QuickWidgets synctex cairo-xcb-shm ndr_nbt gdk-wayland-3.0 ncursesw gts libevent_core libproxy-1.0 lqr-1 libnl-genl-3.0 ijs glx iso-codes 'gtk+-wayland-3.0' gdkmm-2.4 gdkmm-3.0 xkbfile readline cairo-svg 'Magick++-7.Q16HDRI' gstreamer-pbutils-1.0 wavpack avahi-ui openal freerdp-client2 libffi gexiv2 m17n-core cairomm-ft-1.0 libdts libdw liblab_gamut libnl-idiag-3.0 jansson Qt5QmlModels libunwind-setjmp Qt5Location theoraenc ndr Qt5Test libmypaint lua libupnp gstreamer-allocators-1.0 OpenEXR wbclient libv4l2rds liblouis libvlc xcb-dri3 babl Qt5Help xcb-aux libkeyutils gstreamer-plugins-base-1.0 rest-extras-0.7 imlib2 libsoup-2.4 uwac0 libsodium libcryptsetup freerdp-server2 xorg-libinput gail-3.0 zathura aribb24 libudf Qt5WebEngineWidgets Qt5QuickControls2 blkid libswscale 'flac++' libcanberra-gtk3 lcms2 dbus-python ImageMagick-7.Q16HDRI zlib libnl-xfrm-3.0 lensfun libiso9660 portaudiocpp pangomm-1.4 geocode-glib-1.0 libnl-route-3.0 pangoxft gegl-0.4 samba-util pygobject-2.0 netapi libipq kadm-client libevent_openssl sbc librsvg-2.0 libdrm lrdf taglib_c libasyncns libcurl OpenCL xau libmng opencore-amrwb xmu jasper theoradec 'libxml++-3.0' libjpeg libnotify pixman-1 texlua53 libbsd-overlay xcb-proto opengl e2p smbclient luajit Qt5QuickTest cairomm-png-1.0 Qt5PositioningQuick libffado gimp-2.0 json-c ldb popt libcue mozilla-nss harfbuzz Qt5Qml xfont2 graphene-1.0 harfbuzz-icu giomm-2.4 libexslt alsa libpcrecpp wlroots jack libconfuse icu-io dri Qt5WebEngine geoclue-2.0 libwmf libdrm_nouveau menu xcb-util python-2.7 xcb-sync bash Qt5Designer gstreamer-gl-1.0 gpgme-glib avahi-gobject libnl-nf-3.0 libinput libwoff2common serd-0 xcb-keysyms gdk-pixbuf-2.0 freeglut libass lvm2app gdk-3.0 libuv vamp-hostsdk libwebpdemux vamp-sdk gdk-broadway-3.0 libdvbpsi exiv2 nspr libdvbv5 xcb-shm libutf8proc libthai libebml xcb-xvmc soxr-lsr libpcre2-8 libevdev gstreamer-riff-1.0 xdmcp libpcre32 libarchive flac zzipfseeko dcerpc_server xcb-dpms soundtouch jbig2dec md4c gssrpc libout123 winpr2 libaria2 xcb-xtest lilv-0 xcb-image gimpui-2.0 vorbisenc mozjs-60 libpathplan mit-krb5 cairo-ft gdk-2.0 avahi-core xrender gail lapack mtdev vapigen fribidi libssh MagickCore cairo-xlib libturbojpeg libmodplug Qt5XmlPatterns libpkgconf xaw7 cairo-png 'ncurses++' 'sigc++-2.0' libiec61883 'Magick++' webkit2gtk-4.0 gstreamer-rtp-1.0 orc-0.4 SDL_net python-3.8 Qt5Network MagickWand-7.Q16HDRI libwebpmux soxr xcb-cursor ImageMagick xext libglvnd shout glib-2.0 libcdio_cdda libunwind dbus-1 libcddb 'ncurses++w' Qt5Sql libcroco-0.6 libprocps ext2fs libip6tc Qt5DBus sdl espeak-ng samdb openssl xcb-record Qt5Xml tcl xcursor id3tag libmpg123 gdk-x11-3.0 libpulse-simple webrtc-audio-processing MagickWand gpg-error Qt5WebEngineCore aubio MagickCore-7.Q16HDRI vlc-plugin xcb-composite libtirpc krb5-gssapi snappy gobject-introspection-1.0 ncurses Qt5UiPlugin 'libconfig++' libotf poppler-cpp lirc-driver xcb-xfixes libbsd-ctor pciaccess enchant-2 'dbus-c++-glib-1' fontsproto gsettings-desktop-schemas dri2proto presentproto xf86miscproto libsvn_subr mypaint-brushes-2.0 xextproto gtk-doc m17n-db xineramaproto xf86vidmodeproto libsvn_ra resourceproto scrnsaverproto udev bigreqsproto videoproto xf86dgaproto glproto xf86bigfontproto inputproto libsvn_repos wayland-protocols yelp-xsl trapproto systemd libsvn_wc libsvn_ra_svn libsvn_auth_kwallet libsvn_client recordproto shared-mime-info libsvn_fs_util kbproto xf86driproto renderproto libsvn_fs xcmiscproto libsvn_ra_serf libsvn_fs_x adwaita-icon-theme compositeproto libsvn_auth_gnome_keyring yajl mypaint-brushes-1.0 dri3proto libsvn_fs_fs libmakepkg fixesproto libsvn_delta xproto xproxymngproto poppler-data damageproto randrproto libsvn_diff dmxproto xkeyboard-config libsvn_fs_base libsvn_ra_local
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:160:7 in
Cabal-3.3.0.0-inplace:Distribution.Simple.Program.Run
getProgramInvocationOutput, called at ./Distribution/Simple/Program.hs:152:3
in Cabal-3.3.0.0-inplace:Distribution.Simple.Program
getProgramOutput, called at ./Distribution/Solver/Types/PkgConfigDb.hs:68:34
in main:Distribution.Solver.Types.PkgConfigDb
cabal: '/usr/bin/pkg-config' exited with an error:
Package lv2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lv2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lv2', required by 'suil-0', not found
Package 'gtk-sharp-2.0', required by 'avahi-ui-sharp', not found
Package 'lv2', required by 'sratom-0', not found
Package 'lv2', required by 'lilv-0', not found
Package 'lv2', required by 'sratom-0', not found
)
Resolving dependencies...
CallStack (from HasCallStack):
die', called at ./Distribution/Client/ProjectPlanning.hs:579:42 in main:Distribution.Client.ProjectPlanning
cabal: Could not resolve dependencies:
[__0] trying: base-4.12.0.0/installed-4.12.0.0 (user goal)
[__1] trying: containers-0.6.2.1 (user goal)
[__2] next goal: ghc (user goal)
[__2] rejecting: ghc-8.6.5/installed-8.6.5 (conflict: containers==0.6.2.1, ghc
=> containers==0.6.0.1/installed-0.6.0.1)
[__2] trying: ghc-8.6.5
[__3] rejecting: ghc:-buildable (conflict: base==4.12.0.0/installed-4.12.0.0,
ghc -buildable => base<0)
[__3] rejecting: ghc:+buildable (manual flag can only be changed explicitly)
[__3] fail (backjumping, conflict set: base, ghc, ghc:buildable)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: containers (36), base (30), ghc (11),
ghc:buildable (3)
Try running with --minimize-conflict-set to improve the error message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment