leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
31 stars 14 forks source link

Unable to emerge app-misc/powerline-2.1.4 #38

Closed au-phiware closed 9 years ago

au-phiware commented 9 years ago

Hello,

I encounter git-r3_src_unpack: command not found when attempting to emerge powerline, which is odd because it shouldn't need the git-r3 eclass, right?

Here's more detail than I know what to do with:

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/systemd, gcc-4.8.4, glibc-2.20-r2, 4.0.2-std452-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.2-std452-amd64-x86_64-Intel-R-_Atom-TM-_CPU_N2600_@_1.60GHz-with-gentoo-2.2
KiB Mem:     2036256 total,    262896 free
KiB Swap:    4194300 total,   3931920 free
Timestamp of repository gentoo: Wed, 20 May 2015 12:15:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.au.gentoo.org/gentoo-portage
    priority: -1000

au-phiware
    location: /usr/local/portage
    sync-type: git
    sync-uri: https://github.com/au-phiware/gentoo-overlay.git
    masters: gentoo

b333z
    location: /var/lib/overlays/b333z
    sync-type: git
    sync-uri: https://github.com/b333z/b333z-gentoo-overlay.git
    masters: gentoo

dotnet
    location: /var/lib/overlays/dotnet
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/dotnet.git
    masters: gentoo

emc
    location: /var/lib/overlays/mipl
    sync-type: git
    sync-uri: https://github.com/emcek/gentoo.mipl.git
    masters: gentoo

raiagent
    location: /var/lib/overlays/raiagent
    sync-type: git
    sync-uri: https://github.com/leycec/raiagent.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx directfb dri fbcon fortran gdbm gpm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session solarized-dark sse sse2 ssl systemd tcpd udev unicode vim-syntax xft zlib zsh-completion" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" DRACUT_MODULES="zfs" 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="synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_AU en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
 * Package:    app-misc/powerline-2.1.4
 * Repository: raiagent
 * Maintainer: leycec@gmail.com
 * Upstream:   https://github.com/powerline/powerline/issues
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_3 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
/var/tmp/portage/app-misc/powerline-2.1.4/temp/environment: line 3889: git-r3_src_unpack: command not found
>>> Source unpacked in /var/tmp/portage/app-misc/powerline-2.1.4/work
 * ERROR: app-misc/powerline-2.1.4::raiagent failed (prepare phase):
 *   The source directory '/var/tmp/portage/app-misc/powerline-2.1.4/work/powerline-status-2.1.4' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line 757:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 975:  Called __dyn_prepare
 *   phase-functions.sh, line 369:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/powerline-2.1.4::raiagent'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/powerline-2.1.4::raiagent'`.
 * The complete build log is located at '/var/tmp/portage/app-misc/powerline-2.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/powerline-2.1.4/temp/environment'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/app-misc/powerline-2.1.4/work/powerline-status-2.1.4'
leycec commented 9 years ago

Thanks for the depressing cornucopia of low-level minutia. You're awesome!

Unfortunately, I can't reproduce this locally. And I tried. Damn my squinty eyes, I tried. I even enabled your reported set of Portage ${FEATURES} and manually moved /usr/portage/eclass/git-r3.eclass away to try and coerce emerge into failing with a similar code path. No such luck. Grepping /var/tmp/portage/app-misc/powerline-2.1.4/temp/environment for git-r3 yields nothing but tears on my end, and the ebuild successfully builds.

That said, hsoft reported a similar issue nearly a month ago. We patched that up for him, but then mercilessly refactored our Powerline ebuilds to unify live and release logic into a single "universal" ebuild. To truncate this tiresome story, powerline-2.1.4.ebuild now symlinks to powerline-9999-r20.ebuild.

It's conceivable that this refactoring has caused a regression, distasteful as that is to admit. If you wouldn't mind wading into the dimly lit deep end with us:

>=app-misc/powerline-1.0 **
>=app-vim/powerline-vim-1.0 **
leycec commented 9 years ago

@ZyX-I If you're not too busy, would you mind verifying that powerline-2.1.4 still builds for you? It'd be great to determine if this is a widespread issue. Without being able to reproduce this locally, there's not much I can do on my end. :disappointed:

au-phiware commented 9 years ago

Thank you for your prompt response and my apologies for my failure to reciprocate the gesture; allow me to remedy that forthwith:

I hope this helps, because I'm still without a clue... Don't hesitate if there's something else you need to ask of me. I shall endeavor to reply, eventually. On the sunny side I've just now completed a fresh install of Gentoo on another laptop and decided to install powerline early in the process: with no problems. Puzzle me that. I haven't installed X yet; fbterm is as complicated as it gets for now, but we shall see.

leycec commented 9 years ago

Thank you for your prompt response and my apologies for my failure to reciprocate the gesture; allow me to remedy that forthwith:

You appear to be literate. Allow me to shake your gentlemanly hand in a jocular manner. :tophat:

I hope this helps

That totally helped. Specifically, your bpasted environment file contains since-deleted code from an obsolete commit suggesting this to be a repository synchronization issue. A simple sudo layman -s raiagent on your problem machine should amend this up and permit you to install powerline-2.1.4 without further hardship, tears, woe, or gnashing of scum-fuzzed teeth.

If that is not the case, we will all promptly eat our top hats. All of us.

au-phiware commented 9 years ago

HAZAR!

I doff my hat to you, good sir! I have at last achieved success!