Resolving dependencies... Configuring xattr-0.5.1... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gawk... no checking for mawk... mawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/types.h... (cached) yes checking attr/xattr.h usability... yes checking attr/xattr.h presence... yes checking for attr/xattr.h... yes checking for getxattr... yes checking for lgetxattr... yes checking for fgetxattr... yes checking for setxattr... yes checking for lsetxattr... yes checking for fsetxattr... yes checking for listxattr... yes checking for llistxattr... yes checking for flistxattr... yes Building xattr-0.5.1... Preprocessing library xattr-0.5.1... [1 of 1] Compiling System.Xattr ( dist/build/System/Xattr.hs, dist/build/System/Xattr.o ) src/System/Xattr.hsc:140:52: The last statement in a 'do' block must be an expression s <- peekCStringLen (mem, fromIntegral buflen) src/System/Xattr.hsc:141:22: Not in scope: ā€˜sā€™ Failed to install xattr-0.5.1 cabal: Error: some packages failed to install: xattr-0.5.1 failed during the building phase. The exception was: ExitFailure 1