ttuegel / alsa-mixer

Haskell bindings to the ALSA mixer API
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Failing to install on Manjaro #7

Open arsdragonfly opened 5 years ago

arsdragonfly commented 5 years ago

log when I try cabal install alsa-mixer --verbose:

Warning: The install command is a part of the legacy v1 style of cabal usage.Please switch to using either the new project style and the new-installcommand or the legacy v1-install alias as new-style projects will become thedefault in the next version of cabal-install. Please file a bug if you cannotreplicate a working v1- use case with the new-style commands.For more information, see: https://wiki.haskell.org/Cabal/NewBuild/home/arsdragonfly/.cabal/bin/alex --version/home/arsdragonfly/.cabal/bin/c2hs --numeric-version/usr/bin/gcc -dumpversion
looking for tool haddock near compiler in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin
found haddock in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/haddock
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/haddock --version
/home/arsdragonfly/.local/bin/happy --version
looking for tool hpc near compiler in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin
found hpc in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/hpc
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/hpc version
looking for tool hsc2hs near compiler in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin
found hsc2hs in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/hsc2hs
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/hsc2hs --version
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/ghc -hide-all-packages -c /tmp/9898-0.c -o /tmp/9898-1.o
/usr/bin/ld.gold -x -r /tmp/9898-1.o -o /tmp/9898-2.o
/usr/bin/pkg-config --version
looking for tool runghc near compiler in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin
found runghc in
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/runghc
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/runghc --version
/usr/bin/tar --help
Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2019-01-28T21:18:16Z
/usr/bin/pkg-config --list-all
/usr/bin/pkg-config --modversion libunwind-generic xdamage wayland-cursor 'libiso9660++' graphene-1.0 libnl-route-3.0 apr-1 libudf libmpg123 gmodule-no-export-2.0 libcdr-0.1 gdk-x11-2.0 libcanberra-gtk3 wlroots path_utils openpgm-5.2 grilo-plugins-0.3 libpcreposix gsound pangoxft fdisk gmime-3.0 xcb-randr vamp-sdk cogl-2.0-experimental atkmm-1.6 librsvg-2.0 orc-0.4 xv libnm libv4l2rds taglib_c libgtop-2.0 libmwaw-0.3 tk xcb-record cairomm-png-1.0 gudev-1.0 argtable2 poppler soundtouch libpcre32 form libsystemd gdlib xcb-dpms gail-3.0 QtCLucene libpathplan xcomposite libparted gnome-autoar-gtk-0 flatpak zvbi-0.2 kadm-server vorbisenc cairo-fc xcb-aux libexslt Qt5OpenGLExtensions 'gtk+-unix-print-3.0' libunwind capnp-rpc polkit-qt5-core-1 lv2core poppler-splash rime snappy id3tag libpsl xfixes harfbuzz libwebpmux com_err ntk libcap-ng libdaxctl avahi-core cairomm-1.0 Qt5WebChannel dssi gtksourceview-2.0 ftgl dbus-1 libical signond Qt5QuickTest libgnome-menu-3.0 libidn2 libodfgen-0.1 xcb-keysyms suil-0 ncursesw cogl-gles2-1.0 pangocairo lirc libndp libgnomekbd libupnp cogl-path-1.0 zzipfseeko polkit-gobject-1 giomm-2.4 lzo2 texlua53 python3 Qt5Xdg libkms clutter-gdk-1.0 libraw_r liburcu-mb speexdsp Qt5Multimedia fontconfig xcb-ewmh json-glib-1.0 libraw mpfr libtiff-4 libpcre2-8 libturbojpeg cairomm-xlib-xrender-1.0 libffmpegthumbnailer xorg-libinput fcitx-qt libedata-book-1.2 ompi-cxx tcl marisa libpulse cairo-xcb efiboot xaw7 rest-extras-0.7 libraw1394 libetonyek-0.1 blas bytesize auparse mbim-glib MagickCore-7.Q16HDRI folks gimpui-2.0 libnm-glib-vpn libdw librevenge-0.0 gdk-3.0 gnome-todo clutter-1.0 libapparmor epoxy python-3.7 gimp-2.0 'libconfig++' libpng16 lensfun QtUiTools libout123 libimobiledevice-1.0 libunwind-coredump Qt5X11Extras nspr xinerama libmypaint-gegl-1.3 re2 goa-1.0 gutenprint portaudiocpp vorbis ltc ompi-f77 gxwmm xscrnsaver totem-plparser avahi-gobject libsoup-gnome-2.4 'flac++' libcanberra-gtk libmusicbrainz5 gstreamer-codecparsers-1.0 evince-document-3.0 libpkcs11-helper-1 libnfsidmap gstreamer-tag-1.0 QtGui 'gtk+-3.0' glibmm-2.4 zzip-zlib-config evince-view-3.0 libdrm_amdgpu libiso9660 xi xcb-event python-2.7 libenet vamp-hostsdk libnfnetlink readline lrdf libbrasero-burn3 libbrotlidec kj-http libdv libnl-idiag-3.0 libgphoto2 libgdata libnm-gtk webkit2gtk-4.0 smartcols libsoup-2.4 libtcmalloc cblas Qt5Sql pytalloc-util xxf86vm libedata-cal-1.2 gedit drumstick-file libftdipp1 xau kpathsea colord gamin libabw-0.1 gdk-broadway-3.0 xorg-mouse vdpau liblo carla-native-plugin cairo-svg libKF5Attica gdm enca geoip libepubgen-0.1 gexiv2 cheese-gtk gstreamer-pbutils-1.0 speex mxml neon 'ncurses++' clutter-wayland-1.0 dvdread slang wbclient capnp-json x265 Qt5Svg portSMF libgxps libgvc 'sigc++-2.0' Qt5Xml soxr-lsr p11-kit-1 lv2 avahi-sharp lscp xcb-xv libmodplug xcb-composite xcb-atom gstreamer-audio-1.0 Qt5Gui rubberband carla-standalone spectmorphgui hogweed libcddb libmediaart-2.0 datrie-0.2 dhash reiserfscore libsecret-1 libprofiler ext2fs liblouis fribidi libinput vte-2.91 libavcodec gmodule-export-2.0 gee-0.8 pycairo libstartup-notification-1.0 cheese libecryptfs cairo formw fcitx-utils libcares ldns IlmBase 'gtk+-unix-print-2.0' xcb-xf86dri libglvnd kdb ostree-1 gmime-sharp-2.6 libpeas-gtk-1.0 libpagemaker-0.0 fontutil libdaemon xmu wayland-egl efivar QtDesigner libgfbgraph-0.2 sane-backends Qt5Widgets fishsound libwoff2enc libbs2b kadm-client bash libnl-cli-3.0 liblzma libbrasero-media3 clutter-egl-1.0 libtirpc MagickWand-7.Q16HDRI imlib2 Qt5DBus libgvpr json-c gstreamer-base-1.0 xcb-xtest Qt5XmlPatterns libgphoto2_port gdm-pam-extensions rtmidi menuw libnautilus-extension dmx wayland-server ini_config yaml-cpp liburcu-cds theoraenc Qt5XdgIconLoader Qt5MultimediaWidgets sndfile libebook-contacts-1.2 MagickCore libwebpdecoder liburcu-qsbr babl libglog libunwind-setjmp xcb-image clutter-gst-3.0 clutter-gtk-1.0 nice devmapper zzipmmapped mozilla-nspr dbus-glib-1 cairo-xlib-xrender vpx gdkmm-2.4 zziplib libavc1394 ogg librevenge-stream-0.0 Qt5Concurrent libpeas-1.0 gsl gstreamer-gl-1.0 libnftnl libevent_pthreads theora lua52 glu cairo-xlib theoradec liborcus-spreadsheet-model-0.14 liburcu-signal dconf libdvdcss libssh2 texlua52 ice libtcmalloc_minimal SDL_ttf gstreamer-app-1.0 ijs gstreamer-rtp-1.0 atk libe-book-0.1 libexif libass dri libcgraph libnl-3.0 grilo-pls-0.3 gxw gstreamer-mpegts-1.0 xdmcp aom googlepinyin telepathy-farstream pangomm-1.4 clutter-x11-1.0 synctex evolution-shell-3.0 libwoff2common openal mm-glib libnma yaml-0.1 guile-2.0 lqr-1 libcmis-c-0.5 xt icu-uc cairo-script xmlsec1-nss cairo-ft lilv-0 libbrotlicommon xtst openconnect libxslt libgeoclue-2.0 avahi-ui-sharp libzstd QtSvg wayland-egl-backend libnm-util libnotify libchromaprint vorbisfile graphene-gobject-1.0 gspell-1 libatasmart shout folks-telepathy xcb-dri2 libargon2 srt sord-0 libdrm_nouveau libzmq iso-codes libemail-engine cairomm-xlib-1.0 QtSql udisks2 libconfuse 'gtk+-broadway-3.0' lvm2app celt protobuf gthumb-3.6 grilo-net-0.3 libmpeg2 python2 libdmapsharing-3.0 ImageMagick-7.Q16HDRI libpci libcmis-0.5 libv4lconvert xcb-xinerama libdrm gdkmm-3.0 libswscale gjs-1.0 libwps-0.4 wiredtiger SDL_gfx libva-x11 raqm gstreamer-plugins-base-1.0 xcb-errors gio-unix-2.0 ompi-c xcb-xvmc QtDeclarative xcb-screensaver gstreamer-plugins-bad-1.0 gnome-settings-daemon libytnef libseccomp dbus-python libipq mad libavutil fcitx spandsp gmodule-2.0 dbusmenu-qt5 libgcab-1.0 gstreamer-bad-video-1.0 openssl libedataserver-1.2 icu-io nettle liblz4 libv4l2 libcanberra xcb-proto ompi gtkspell3-3.0 icu-i18n cogl-gl-1.0 dvdnav smf pwquality libxdg-basedir cairomm-ft-1.0 gnutls ss libomxil-bellagio gdk-pixbuf-2.0 libdvbv5 ruby-2.6 fdk-aac qmi-glib 'libxml++-3.0' protobuf-lite libwacom GraphicsMagickWand libtasn1 glesv1_cm libmspub-0.1 krb5 python-3.7m libva-glx graphite2 libvisual-0.4 gimpthumb-2.0 cairo-gobject libclucene-core lmdb fftw3l caca xmlsec1-openssl Qt5WebEngineCore drumstick-alsa xkbcommon xcb-damage libattr ao fftw3f 'libplist++' gstreamer-allocators-1.0 libbsd libxml-2.0 xcb-xkb sdl SDL_image xcb e2p xorg-evdev liblangtag libpcre champlain-0.12 gstreamer-video-1.0 libdrm_radeon spectmorph Qt5Core libpcre16 bluez webrtc-audio-processing libwpd-0.10 Qt5Sensors gom-1.0 ddjvuapi valgrind libpipeline xcb-dri3 fftw3 libevent_extra goa-backend-1.0 xtables libpcre2-32 xmlsec1-gnutls evolution-mail-3.0 libprojectM libcdt lcms2 basicobjects libsodium ptexenc Qt5Location kj-async gstreamer-net-1.0 opencore-amrnb gail hwloc polkit-qt5-gui-1 luajit cogl-pango-1.0 gdk-x11-3.0 'Magick++' libconfig twolame hexchat-plugin hdf5_hl_cpp-1.10.4 poppler-glib gutenprintui2 libmng mtdev gweather-3.0 mutter-clutter-3 opencore-amrwb hdf5_hl-1.10.4 jack Qt3Support QtHelp sqlite3 gnome-autoar-0 opus libcroco-0.6 ncurses polkit-agent-1 blockdev libevent_openssl libnumbertext xkbfile krb5-gssapi xmlsec1 blkid geoclue-2.0 Qt5Quick pciaccess xcb-renderutil tracker-sparql-2.0 webkit2gtk-web-extension-4.0 minizip clutter-cogl-1.0 tslib gl tracker-miner-2.0 libva-wayland grilo-0.3 libvoikko collection SignOnExtension Qt5Network ibus-1.0 'Magick++-7.Q16HDRI' gstreamer-insertbin-1.0 xxf86dga gtest libiec61883 libmnl xfont2 fcitx-config hwinfo 'libcdio++' libffado redland libva QtDBus QtScript libuv lua51 libevdev signon-plugins numa libquvi-scripts-0.9 oggz libstaroffice-0.0 QtMultimedia libcupsfilters panel gig hdf5-1.10.4 gck-1 libmicrohttpd ref_array freeglut libqxp-0.0 gtkmm-3.0 mutter-cogl-pango-3 gtest_main d3d upower-glib glib-2.0 xpm xatracker liburcu-bp libpst libpcrecpp QtXml libswresample 'GraphicsMagick++' Qt5Help ImageMagick cairo-ps gnome-keyring-1 texluajit libpcap popt liblsmash libde265 polkit-qt5-agent-1 libasyncns poppler-cpp libxdot libsrtp2 libexttextcat xcb-icccm QtScriptTools harfbuzz-icu libdazzle-1.0 gnome-bluetooth-1.0 'dbus-c++-1' gtksourceview-3.0 libtcmalloc_debug libnsl libplist atomic_ops gtkmm-2.4 libevent_core pd NetworkManager taglib vamp libtommath libpulse-mainloop-glib jansson libcdio_cdda cairo-png libudev libzmf-0.0 cryptui-0.0 xcb-glx nss lrzip tracker-control-2.0 mjpegtools samplerate gcr-3 xcb-util mozjs-60 avahi-qt5 exiv2 evolution-data-server-1.2 libtcmalloc_minimal_debug zlib libassuan haisrt pyldb-util libgnomekbdui libgsf-1 gstreamer-controller-1.0 kj-test GraphicsMagick aubio champlain-gtk-0.12 xshmfence libcrypto enchant-2 wayland-scanner uuid libarchive lua libglade-2.0 libavformat gstreamer-sdp-1.0 dtkwm gio-2.0 gthread-2.0 gssrpc mount sm libavfilter mythes cogl-gles2-2.0-experimental appstream-glib sbc avahi-client libip4tc tre libnl-nf-3.0 libedataserverui-1.2 libopenjp2 Qt5OpenGL colorhug hdf5_cpp-1.10.4 expat liblangtag-gobject cairomm-pdf-1.0 avahi-ui signon-plugins-common gsettings-qt ntk_gl libdrm_intel mit-krb5 'gtk+-x11-2.0' libevent Qt5Script fuse libebackend-1.2 libxklavier soxr tic mozjs-52 OpenEXR cairo-pdf libcdio libv4l1 libusbmuxd py3cairo xmlsec1-gcrypt glesv2 fcitx-gclient libpkgconf libteamdctl lirc-driver libsignon-glib gconf-2.0 libva-drm farstream-0.2 libwoff2dec Qt5TextToSpeech fluidsynth evolution-calendar-3.0 Qt5Qml liblab_gamut camel-1.2 libmpeg2convert clutter-wayland-compositor-1.0 libcap kj gegl-sc-0.4 pangoft2 egl libheif xcursor libbsd-ctor QtCore Qt5UiTools libcryptsetup libkeyutils Qt5WebKitWidgets colord-gtk cogl-path-2.0-experimental nautilus-python linuxsampler fontenc flac libmtp 'gtk+-wayland-3.0' libnl-xfrm-3.0 gdk-2.0 libwebsockets QtOpenGL jsoncpp libndctl SDL_mixer xkbcomp folks-eds libvisio-0.1 javascriptcoregtk-4.0 xrandr ModemManager capnp serd-0 atk-bridge-2.0 libdts Qt5ScriptTools talloc Qt5QuickWidgets libaccounts-glib libiptc gegl-0.4 sdl2 xcb-shape harfbuzz-subset libnetfilter_conntrack libmms libffi libwebsockets_static avahi-glib libmutter-3 cairomm-ps-1.0 libjpeg rest-0.7 libusb-1.0 lua53 clutter-glx-1.0 poppler-cairo libqpdf gstreamer-check-1.0 oauth xmuu libsasl2 geocode-glib-1.0 wayland-client gts cairomm-svg-1.0 Qt5WebKit 'dbus-c++-glib-1' x11-xcb vidstab portaudio-2.0 osmesa gstreamer-1.0 gbm pygobject-2.0 libgme libpostproc libacl libntfs-3g QtXmlPatterns devmapper-event glew netapi hunspell libalpm cally-1.0 mit-krb5-gssapi libmikmod libcdio_paranoia 'libcrypto++' libwmf dframeworkdbus alsa xext gstreamer-fft-1.0 guile-2.2 libpcsclite QtDesignerComponents vulkan wavpack libcurl gstreamer-rtsp-1.0 libproxy-1.0 libprocps gcr-ui-3 avahi-ui-gtk3 mutter-clutter-x11-3 gpg-error 'gtk+-2.0' libecal-1.2 polkit-qt5-1 gobject-2.0 cogl-1.0 librevenge-generators-0.0 wildmidi 'gtk+-x11-3.0' gusb folks-dummy libftdi1 dtkwidget libkmod Qt5Test tevent libpng gdk-pixbuf-xlib-2.0 imagequant carla-utils telepathy-logger-0.2 totem-plparser-mini cairo-tee gcr-base-3 Qt5WebEngine gmime-2.6 avahi-qt4 libdca xaw6 blockdev-utils zzipwrap Qt5PrintSupport 'ncurses++w' libpcre2-16 akai appstream-builder libnl-genl-3.0 libebook-1.2 libical-glib avahi-compat-libdns_sd libpulse-simple libbluray libidn xkbcommon-x11 opencc xcb-present libpipewire-0.2 xcb-xinput libwpg-0.3 libwebpdemux libixion-0.14 accountsservice MagickWand libteam libthai panelw libfontembed libunwind-ptrace libnm-glib menu mutter-cogl-path-3 gstreamer-bad-audio-1.0 libssl liburcu libfreehand-0.1 liborcus-0.14 xcb-render audiofile libelf rasqal libavdevice librtmp xvmc totem xcb-sync xft libpcre2-posix freetype2 atspi-2 libbrotlienc gstreamer-riff-1.0 libbsd-overlay libsignon-qt5 pygobject-3.0 ldb libspectre Qt5WebEngineWidgets tdb libssh harfbuzz-gobject arpack spectmorphglui x264 gstreamer-webrtc-1.0 xcb-shm lapack ompi-f90 mutter-cogl-3 libquvi-0.9 Qt5Designer pixman-1 libnghttp2 sratom-0 libspa-0.1 libofa audit libusb libwebp gstreamer-player-1.0 libip6tc gnome-desktop-3.0 Qt5Positioning jasper dtkcore libedit libmypaint-1.3 pango cogl-pango-2.0-experimental smbclient libspiro libnewt xcb-res libdc1394-2 ntk_images mozilla-nss xcb-xfixes tinfo bdw-gc raptor2 cairo-xcb-shm apr-util-1 Qt5WebSockets gdk-wayland-3.0 QtTest libsecret-unstable xrender QtNetwork x11 mission-control-plugins pygtk-2.0 drumstick-rt telepathy-glib Qt5PositioningQuick bigreqsproto xkeyboard-config xf86bigfontproto dri2proto fixesproto poppler-data xf86miscproto xextproto mobile-broadband-provider-info recordproto systemd xf86driproto xineramaproto compositeproto presentproto adwaita-icon-theme randrproto damageproto kbproto videoproto wayland-protocols xf86vidmodeproto xdg-desktop-portal xproxymngproto fontsproto yajl dmxproto fontcacheproto dri3proto renderproto gsettings-desktop-schemas inputproto xproto lg3dproto xcalibrateproto xcmiscproto evieproto trapproto resourceproto printproto udev xf86rushproto gnome-keybindings mypaint-brushes-1.0 xf86dgaproto yelp-xsl glproto scrnsaverproto shared-mime-info xbitmaps
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-2.4.1.0-IaB5GUEm19R82R9cEdbB1D:Distribution.Simple.Program.Run
getProgramInvocationOutput, called at ./Distribution/Simple/Program.hs:163:3
in Cabal-2.4.1.0-IaB5GUEm19R82R9cEdbB1D:Distribution.Simple.Program
getProgramOutput, called at ./Distribution/Solver/Types/PkgConfigDb.hs:70:28
in main:Distribution.Solver.Types.PkgConfigDb
cabal: '/usr/bin/pkg-config' exited with an error:
Package libmypaint was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmypaint.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libmypaint', required by 'libmypaint-gegl-1.3', not found
Package 'gobject-introspection-1.0', required by 'libpeas-1.0', not found
Package 'gobject-introspection-1.0', required by 'libpeas-1.0', not found
Package 'glib-sharp-2.0', required by 'gmime-sharp-2.6', not found
Package 'gobject-introspection-1.0', required by 'libpeas-1.0', not found
Package 'gobject-introspection-1.0', required by 'libpeas-1.0', not found
Package 'gtk-sharp-2.0', required by 'avahi-ui-sharp', not found
Package 'hdf5_hl', required by 'hdf5_hl_cpp-1.10.4', not found
Package 'hdf5', required by 'hdf5_hl-1.10.4', not found
Package 'hdf5', required by 'hdf5_cpp-1.10.4', not found
Package 'Qt5UiPlugin', required by 'Qt5Designer', not found
)
Resolving dependencies...
Number of threads used: 8.
Extracting
/home/arsdragonfly/.cabal/packages/hackage.haskell.org/alsa-mixer/0.3.0/alsa-mixer-0.3.0.tar.gz
to /tmp/cabal-tmp-9898...
Updating alsa-mixer.cabal with the latest revision from the index.
Starting     alsa-mixer-0.3.0
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=/home/arsdragonfly/.cabal","--bindir=/home/arsdragonfly/.cabal/bin","--libdir=/home/arsdragonfly/.cabal/lib","--libsubdir=x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW","--dynlibdir=/home/arsdragonfly/.cabal/lib/x86_64-linux-ghc-8.6.3","--libexecdir=/home/arsdragonfly/.cabal/libexec","--libexecsubdir=x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0","--datadir=/home/arsdragonfly/.cabal/share","--datasubdir=x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0","--docdir=/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0","--htmldir=/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0/html","--haddockdir=/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0/html","--sysconfdir=/home/arsdragonfly/.cabal/etc","--user","--ipid=alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW","--extra-prog-path=/home/arsdragonfly/.cabal/bin","--dependency=alsa-core=alsa-core-0.5.0.1-80p2epj0hxFIhlv6w95mT","--dependency=base=base-4.12.0.0","--dependency=unix=unix-2.7.2.2","--disable-tests","--exact-configuration","--disable-benchmarks"]
/home/arsdragonfly/.local/bin/cabal act-as-setup --build-type=Simple --
configure --verbose=2 --builddir=dist --ghc --prefix=/home/arsdragonfly/.cabal
--bindir=/home/arsdragonfly/.cabal/bin --libdir=/home/arsdragonfly/.cabal/lib
--libsubdir=x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW
--dynlibdir=/home/arsdragonfly/.cabal/lib/x86_64-linux-ghc-8.6.3
--libexecdir=/home/arsdragonfly/.cabal/libexec
--libexecsubdir=x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0
--datadir=/home/arsdragonfly/.cabal/share
--datasubdir=x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0
--docdir=/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0
--htmldir=/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0/html
--haddockdir=/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0/html
--sysconfdir=/home/arsdragonfly/.cabal/etc --user
--ipid=alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW
--extra-prog-path=/home/arsdragonfly/.cabal/bin
--dependency=alsa-core=alsa-core-0.5.0.1-80p2epj0hxFIhlv6w95mT
--dependency=base=base-4.12.0.0 --dependency=unix=unix-2.7.2.2 --disable-tests
--exact-configuration --disable-benchmarks
Redirecting build log to {handle:
/home/arsdragonfly/.cabal/logs/ghc-8.6.3/alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW.log}
Building     alsa-mixer-0.3.0
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=2","--builddir=dist"]
/home/arsdragonfly/.local/bin/cabal act-as-setup --build-type=Simple -- build
--verbose=2 --builddir=dist
Redirecting build log to {handle:
/home/arsdragonfly/.cabal/logs/ghc-8.6.3/alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW.log}
Failed to install alsa-mixer-0.3.0
Build log ( /home/arsdragonfly/.cabal/logs/ghc-8.6.3/alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW.log ):
cabal: Entering directory '/tmp/cabal-tmp-9898/alsa-mixer-0.3.0'
Using Parsec parser
Configuring alsa-mixer-0.3.0...
Dependency alsa-core ==0.5.0.1: using alsa-core-0.5.0.1
Dependency base ==4.12.0.0: using base-4.12.0.0
Dependency unix ==2.7.2.2: using unix-2.7.2.2
Source component graph: component lib
Configured component graph:
    component alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW
        include alsa-core-0.5.0.1-80p2epj0hxFIhlv6w95mT
        include base-4.12.0.0
        include unix-2.7.2.2
Linked component graph:
    unit alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW
        include alsa-core-0.5.0.1-80p2epj0hxFIhlv6w95mT
        include base-4.12.0.0
        include unix-2.7.2.2
        Sound.ALSA.Mixer=alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW:Sound.ALSA.Mixer
Ready component graph:
    definite alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW
        depends alsa-core-0.5.0.1-80p2epj0hxFIhlv6w95mT
        depends base-4.12.0.0
        depends unix-2.7.2.2
Using Cabal-2.4.1.0 compiled by ghc-8.6
Using compiler: ghc-8.6.3
Using install prefix: /home/arsdragonfly/.cabal
Executables installed in: /home/arsdragonfly/.cabal/bin
Libraries installed in:
/home/arsdragonfly/.cabal/lib/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW
Dynamic Libraries installed in:
/home/arsdragonfly/.cabal/lib/x86_64-linux-ghc-8.6.3
Private executables installed in:
/home/arsdragonfly/.cabal/libexec/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0
Data files installed in:
/home/arsdragonfly/.cabal/share/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0
Documentation installed in:
/home/arsdragonfly/.cabal/share/doc/x86_64-linux-ghc-8.6.3/alsa-mixer-0.3.0
Configuration files installed in: /home/arsdragonfly/.cabal/etc
Using alex version 3.2.4 found on system at:
/home/arsdragonfly/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.28.6 found on system at:
/home/arsdragonfly/.cabal/bin/c2hs
No cpphs found
No doctest found
Using gcc version 8.2.1 found on system at: /usr/bin/gcc
Using ghc version 8.6.3 found on system at:
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/ghc
Using ghc-pkg version 8.6.3 found on system at:
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.22.0 found on system at:
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/haddock
Using happy version 1.19.9 found on system at:
/home/arsdragonfly/.local/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.67 found on system at:
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/hpc
Using hsc2hs version 0.68.5 found on system at:
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at: /usr/bin/ld.gold
Using pkg-config version 1.6.0 found on system at: /usr/bin/pkg-config
Using runghc version 8.6.3 found on system at:
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/runghc
Using strip version 2.31 found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
Component build order: library
/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/ghc-pkg init dist/package.conf.inplace
creating dist/build
creating dist/build/autogen
creating dist/build/autogen
Preprocessing library for alsa-mixer-0.3.0..
creating dist/build/Sound/ALSA/Mixer
creating dist/build/Sound/ALSA
creating dist/build/Sound
creating dist/build/Sound/ALSA
creating dist/build/Sound/ALSA/Mixer
/home/arsdragonfly/.cabal/bin/c2hs '--cpp=/usr/bin/gcc' '--cppopts=-E' '--cppopts=-D__GLASGOW_HASKELL__=806' '--cppopts=-Dlinux_BUILD_OS=1' '--cppopts=-Dx86_64_BUILD_ARCH=1' '--cppopts=-Dlinux_HOST_OS=1' '--cppopts=-Dx86_64_HOST_ARCH=1' '--cppopts=-includedist/build/autogen/cabal_macros.h' '--include=dist/build' '--cppopts=-I/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/lib/ghc-8.6.3/unix-2.7.2.2/include' '--cppopts=-I/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/lib/ghc-8.6.3/time-1.8.0.2/include' '--cppopts=-I/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/lib/ghc-8.6.3/bytestring-0.10.8.2/include' '--cppopts=-I/usr/include/alsa' '--cppopts=-I/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/lib/ghc-8.6.3/base-4.12.0.0/include' '--cppopts=-I/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/lib/ghc-8.6.3/integer-gmp-1.0.2.0/include' '--cppopts=-I/home/arsdragonfly/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/lib/ghc-8.6.3/include' '--output-dir=dist/build' '--output=Sound/ALSA/Mixer/Internal.hs' ./Sound/ALSA/Mixer/Internal.chs
c2hs: Prelude.head: empty list
cabal: Leaving directory '/tmp/cabal-tmp-9898/alsa-mixer-0.3.0'
World file is already up to date.
CallStack (from HasCallStack):
  die', called at ./Distribution/Client/Install.hs:994:15 in main:Distribution.Client.Install
cabal: Error: some packages failed to install:
alsa-mixer-0.3.0-4jS9jIz34QdCxQpbus0gcW failed during the building phase. The
exception was:
ExitFailure 1
ttuegel commented 5 years ago

This appears to be a known bug with c2hs and certain versions of glibc; do you happen to know your version of glibc?

arsdragonfly commented 5 years ago

According to here it's 2.28