Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533342 - dev-vcs/git-annex-5.20141203 - Remote/Helper/AWS.hs:16:18: Could not find module `Aws.S3'
Summary: dev-vcs/git-annex-5.20141203 - Remote/Helper/AWS.hs:16:18: Could not find mod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-12-22 20:40 UTC by Łukasz Stelmach
Modified: 2016-05-14 10:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
git-annex-build.log (git-annex-build.log,10.62 KB, text/plain)
2014-12-22 21:03 UTC, Łukasz Stelmach
Details
Pull dev-haskell/aws in case of assistant being set (git-annex-5.20141203-aws.patch,445 bytes, patch)
2014-12-22 21:56 UTC, Łukasz Stelmach
Details | Diff
Make Glacier support be included only with S3. (0001-Build-Glacier-support-only-if-WITH_S3-is-defined.patch,1.23 KB, patch)
2014-12-22 22:04 UTC, Łukasz Stelmach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2014-12-22 20:40:39 UTC
git-annex fails to build with the last message being:

Remote/Helper/AWS.hs:16:18:
    Could not find module `Aws.S3'
    Use -v to see a list of the files searched for.


(Apparently) due some bug in git-annex which makes the -s3 use-flag ineffective. For what it's worth, I haven't installed dev-haskell/aws.


Reproducible: Always



Expected Results:  
git-annex builds properly or gives a warning/error about unsatisfied dependencies. 

# emerge --info '=dev-vcs/git-annex-5.20141203::gentoo'
Portage 2.2.14 (python 2.7.7-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.12.21-gentoo-r1-1stl x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-1stl-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-2.2
KiB Mem:     6116452 total,   3395636 free
KiB Swap:    8388604 total,   7566676 free
Timestamp of tree: Sun, 21 Dec 2014 21:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo local-crossdev bitcoin systemd Stl-Gentoo-Ports
Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="AdobeAIRSDK AdobeFlash-10.3 adobe-ps BWidget CCPL-ShareAlike-1.0 dlj-1.1 evieext @FREE freedist gccmakedep imake IPAfont JasPer2.0 lha liblbxutil MOTIF mplus-fonts MSttfEULA NVIDIA perforce SixXS stixbeta unRAR xf86rushproto xorg-cf-files xorg-docs skype-eula PUEL Open-CASCADE-Technology-Public-License-6.3 Oracle-BCLA-JavaSE MPEG-4 AdobeFlash-11.x skype-4.0.0.7-copyright dropbox CC-BY-ND-3.0 NVIDIA-r1 NVIDIA-r2 sun-concurrent-util NVIDIA-CUDA Open-CASCADE-LGPL-2.1-Exception-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.po.opole.pl"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/portage/packages/amd64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/crossdev /var/lib/layman/bitcoin /var/lib/layman/systemd /usr/local/portage"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr animgif ao aotuv audiofile avahi berkdb bidi bluetooth bzip2 cairo caps cddb cdio cdparanoia cdr cjk cli consolekit cracklib crypt cryptsetup cscope cups curl cvs cxx cyryllic dbus device-mapper dirac djvu dot dri dvd dvdr dvdread emacs encode equalizer esd evo exif expat faac faad fam ffmpeg fftw firefox flac fontconfig fortran fuse gd gdbm gif gimp glib glitz gmp gnuplot gnus gnustep gnutls gpg gpgme gpm gps gs gsl gsm gstreamer gtk hddtemp iconv icu id3 id3tag idn ieee1394 imagemagick imlib inotify introspection ipod ipv6 irda jabber jingle jpeg jpeg2k kerberos kpathsea ladspa latex lcdfilter lcms ldap libcanberra libnotify libsamplerate lm_sensors lua lzma lzo mad matroska mbox md5sum midi mikmod mmap mmx mmxext mng mod modules mp3 mp4 mpeg mtp multilib musepack ncurses network-cron nls nptl nsplugin ntp objc objc++ objc-gc offensive ogg openexr opengl openmp pam pcre pdf perl pgo plotutils png policykit ppds pth pulseaudio python qt3 qt4 quicktime rdesktop readline ruby sasl schroedinger sdl session smp sndfile socks5 sound soundtouch speex spell sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification subversion svg syslog system-sqlite systemd taglib tcl tcpd theora threads thunar tiff timidity tk truetype udev unicode usb v4l v4l2 vaapi vdpau vim-syntax vorbis vpx wavpack webdav wifi win32codecs wps wxwindows x264 xattr xcb xft xinerama xml xmp xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="emu10k1x ens1371 hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="systemd" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm i386 mips mipsel" QEMU_USER_TARGETS="aarch64 arm armeb i386 mips mipsel mipsn32 mipsn32el x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau nv fbdev v4l vesa vga dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

# emerge -pqv '=dev-vcs/git-annex-5.20141203::gentoo'
[ebuild     U ] dev-vcs/git-annex-5.20141203 [5.20141125] USE="assistant cryptohash dbus desktop-notify inotify production quvi tdfa webapp-secure -android -androidsplice -dns -doc -ekg -feed -pairing -s3 -tahoe -testsuite -webapp -webdav -xmpp"
Comment 1 Łukasz Stelmach 2014-12-22 21:03:58 UTC
Created attachment 392238 [details]
git-annex-build.log
Comment 2 Łukasz Stelmach 2014-12-22 21:56:51 UTC
Created attachment 392240 [details, diff]
Pull dev-haskell/aws in case of assistant being set

Apparently I haven't disabled the assistant flag in my /etc/portage/packages.use and this is what makes git-annex require aws. This patch should fix it.
Comment 3 Łukasz Stelmach 2014-12-22 22:04:02 UTC
Created attachment 392242 [details, diff]
Make Glacier support be included only with S3.

And there is a BUG in git-annex too. Glacier support does not depend on S3 flag.
Comment 4 Łukasz Stelmach 2014-12-23 18:41:16 UTC
I have forwarded the patch upstream.
Comment 5 Łukasz Stelmach 2014-12-23 20:41:48 UTC
The problem has been fixed upstream in commit 27fb7e514d2b67f71e4124c7ec2b5baecbd58dd4.
Comment 6 Mark Wright gentoo-dev 2015-01-03 02:00:38 UTC
Fixed in 5.20141231:
Bump git-annex to 5.20141231. Which contains the fix upstreamed by ?ukasz Stelmach, thanks for fixing and reporting, for Bug 533342 - dev-vcs/git-annex-5.20141203 - Remote/Helper/AWS.hs:16:18: Could not find module Aws.S3
Comment 7 Łukasz Stelmach 2015-01-03 21:19:39 UTC
Actually the fix for the Haskell code available upstream is not mine.
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2016-05-14 10:19:56 UTC
Lowest available version in ::gentoo is 6.20160126

Should be better now.

Thank you!