Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495162 - dev-vcs/git-annex-5.20131130 USE=-webapp - setup: At least the following dependencies are missing: aeson -any
Summary: dev-vcs/git-annex-5.20131130 USE=-webapp - setup: At least the following depe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-23 20:50 UTC by Nick Bowler
Modified: 2014-02-10 09:02 UTC (History)
0 users

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


Attachments
Complete build log (dev-vcs:git-annex-5.20131130:20131223-203957.log,7.12 KB, text/plain)
2013-12-23 20:50 UTC, Nick Bowler
Details
Add dev-haskell/aeson dependency to git-annex (git-annex_aeson.patch,484 bytes, patch)
2013-12-25 10:42 UTC, Palmer Dabbelt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Bowler 2013-12-23 20:50:06 UTC
Created attachment 366022 [details]
Complete build log

Attempting to update git-annex fails with the following error:

  Configuring git-annex-5.20131130...
  setup: At least the following dependencies are missing:
  aeson -any

Manually installing dev-haskell/aeson allows git-annex to install
successfully.

  [ebuild     U ~] dev-vcs/git-annex-5.20131130 [4.20130815-r1] USE="cryptohash%* dns doc inotify production quvi%* tdfa testsuite xmpp -android% -assistant -dbus -feed -pairing -s3 -webapp -webdav" 0 kB

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.12.5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8300_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3917188 total,    663196 free
KiB Swap:     995992 total,    954172 free
Timestamp of tree: Mon, 23 Dec 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
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.9.6-r3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            3.4.6-r2, 4.1.2, 4.2.4-r1, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo gentoo-draconx
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @OTHER-FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/ssl/certs/ca-certificates.crt /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo"
INSTALL_MASK="/usr/share/cursors/xorg-x11/default 	/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf 	/etc/profile.d/qtgui4.sh"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X acl alsa amd64 berkdb bzip2 cairo cjk cli cracklib crypt cups curl cvs cxx doc dri enca exif fbcon fdt ffmpeg flac fontconfig fontforge fortran gdbm gnutls gpm graphviz gtk iconv icu idn imagemagick ipv6 jadetex jpeg kpathsea latex lcms libass lto mad mmx modules mp3 mp4 mudflap multilib ncurses nls nptl ogg opengl openmp otr pam pcre perl png postgres python qt3support readline sdl session smp sse sse2 sse3 ssl ssse3 svg tcpd tex4ht theora threads tiff truetype unicode vim-syntax vorbis xattr xcb xft xinerama xulrunner xv zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_CA en ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm mips mipsel ppc ppc64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Palmer Dabbelt 2013-12-25 10:42:30 UTC
Created attachment 366166 [details, diff]
Add dev-haskell/aeson dependency to git-annex

I ran into this bug when updating today.

Attached is a patch that adds the missing dependency.  A fixed ebuild is in my overlay (users/palmer) and appears to work on my amd64 system (it'll eventually make it to the rest of them, but I've got pretty high confidence this will work).
Comment 2 Alexander Vershilov (RETIRED) gentoo-dev 2014-01-16 13:16:36 UTC
Thanks for the report!

according to cabal file we need aeson only in webapp:

so patch should be:

Index: git-annex-5.20131130.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git-annex/git-annex-5.20131130.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 git-annex-5.20131130.ebuild
--- git-annex-5.20131130.ebuild	12 Dec 2013 02:26:47 -0000	1.2
+++ git-annex-5.20131130.ebuild	16 Jan 2014 13:15:28 -0000
@@ -67,6 +67,7 @@
 			>=dev-haskell/tasty-hunit-0.4.1
 			>=dev-haskell/tasty-quickcheck-0.3.1 )
 	webapp? ( dev-haskell/blaze-builder
+		    dev-haskell/aeson
 			dev-haskell/case-insensitive
 			dev-haskell/clientsession
 			dev-haskell/crypto-api


can you test for you? I'll be able to test it in some days myself and push the solution that will work.
Comment 3 Nick Bowler 2014-01-16 15:16:35 UTC
Won't be able to test until Monday at the earliest, but I don't see how that'll help -- as you can see in the report I have the webapp USE flag disabled.
Comment 4 Alexander Vershilov (RETIRED) gentoo-dev 2014-02-10 08:58:28 UTC
(In reply to Nick Bowler from comment #3)
> Won't be able to test until Monday at the earliest, but I don't see how
> that'll help -- as you can see in the report I have the webapp USE flag
> disabled.

You are right, I've missed that aeson is used in case of quvi flag also, will fix.
Comment 5 Alexander Vershilov (RETIRED) gentoo-dev 2014-02-10 09:02:40 UTC
(In reply to Alexander Vershilov from comment #4)
> (In reply to Nick Bowler from comment #3)
> > Won't be able to test until Monday at the earliest, but I don't see how
> > that'll help -- as you can see in the report I have the webapp USE flag
> > disabled.
> 
> You are right, I've missed that aeson is used in case of quvi flag also,
> will fix.

Fixed in 1.22, no revbump as it's buildtime failure. Feel free to reopen if it will not help, and thanks for report.