Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697762 - x11-terms/alacritty-9999 - error: failed to fetch into .../work/cargo_home/git/db/glutin-f805f5db31188ce2
Summary: x11-terms/alacritty-9999 - error: failed to fetch into .../work/cargo_home/gi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-15 11:26 UTC by 2694273649
Modified: 2019-12-28 05:00 UTC (History)
1 user (show)

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


Attachments
generate by emerge x11-terms/alacritty::gentoo >> log.txt (log.txt,3.05 KB, text/plain)
2019-10-15 11:26 UTC, 2694273649
Details
emerge output (log.txt,96.93 KB, text/plain)
2019-10-15 11:44 UTC, 2694273649
Details
cargo --offline (cargo-eclass.patch,1.02 KB, patch)
2019-10-24 23:22 UTC, Georgy Yakovlev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 2694273649 2019-10-15 11:26:10 UTC
Created attachment 592754 [details]
generate by emerge x11-terms/alacritty::gentoo >> log.txt

failed when come to the cargo install ******* seems build successfully
Comment 1 2694273649 2019-10-15 11:44:47 UTC
Created attachment 592756 [details]
emerge output
Comment 2 Stefan Wimmer 2019-10-15 12:15:30 UTC
Not sure if this is helpful but I can confirm this bug ...

Portage 2.3.76 (python 2.7.16-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r5, 4.19.75-gentoo x86_64)
=================================================================
System uname: Linux-4.19.75-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700_CPU_@_3.20GHz-with-gentoo-2.6
KiB Mem:    16345664 total,   2177400 free
KiB Swap:    4194300 total,   3973076 free
Timestamp of repository gentoo: Sat, 12 Oct 2019 00:45:01 +0000
Head commit of repository gentoo: d021e8d3f2167e06e9d70667ceee30a5f3235959
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.15.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

0x4d4c
    location: /var/lib/layman/0x4d4c
    sync-type: laymansync
    sync-uri: https://github.com/0x4d4c/gentoo-overlay.git
    masters: gentoo
    priority: 50

4nykey
    location: /var/lib/layman/4nykey
    sync-type: laymansync
    sync-uri: https://github.com/4nykey/4nykey.git
    masters: gentoo
    priority: 50

brother-overlay
    location: /var/lib/layman/brother-overlay
    sync-type: laymansync
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/gnome.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

nightmare
    location: /var/lib/layman/nightmare
    sync-type: laymansync
    sync-uri: https://gitlab.com/r3lgar/nightmare.git
    masters: gentoo
    priority: 50

ros-overlay
    location: /var/lib/layman/ros-overlay
    sync-type: laymansync
    sync-uri: git://github.com/ros/ros-overlay.git
    masters: gentoo
    priority: 50

slyfox
    location: /var/lib/layman/slyfox
    sync-type: laymansync
    sync-uri: https://github.com/trofi/slyfox-gentoo
    masters: gentoo
    priority: 50

soft
    location: /var/lib/layman/soft
    sync-type: laymansync
    sync-uri: https://bitbucket.org/Soft/overlay
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    sync-type: laymansync
    sync-uri: https://github.com/stefantalpalaru/gentoo-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @FREE brother-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --quiet-build=y --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/ rsync://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=13"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl alsa amd64 apache2 berkdb bzip2 cairo cli crypt cups cxx dri exif flac fortran gdbm gif gtk3 iconv ipv6 jpeg jpeg2k lcms libtirpc mp3 mp4 multilib ncurses nls nptl ogg opengl openmp pam pcre png readline seccomp split-usr ssl svg tcpd tiff truetype udev unicode vim-syntax vorbis webp x264 xattr zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel emu10k1" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 2694273649 2019-10-15 12:24:04 UTC
Weired ! I can`t install alacritty-20180213 now. I installed it successfuly yestoday through emerge x11-terms/alacritty. And the same problem when come to updating git repository ************
Comment 4 2694273649 2019-10-15 12:26:58 UTC
I can build it through cargo build --release successfully.
Comment 5 Georgy Yakovlev archtester gentoo-dev 2019-10-24 23:09:18 UTC
-9999 is expected to be broken sometimes.
what happens is due to upstream changes cargo tries to perform some network activity in phases where it's not allowed.

I will fix it by running cargo with --offline flag, but it's only possible once we remove all old rust versions which do not have this flag.
Comment 6 Georgy Yakovlev archtester gentoo-dev 2019-10-24 23:22:09 UTC
Created attachment 593856 [details, diff]
cargo --offline

here's what I mean. with this patch alacritty-9999 is installable, as passing --offline prevents cargo from re-checking if git versions of glutin is changed or not.


it will take a week or two to get rid of old rust, so don't expect this patch to land anytime sooner.
Comment 7 Larry the Git Cow gentoo-dev 2019-11-25 20:15:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1b7e7fe1afc393cb37baee04f2731d9b6626ca3

commit b1b7e7fe1afc393cb37baee04f2731d9b6626ca3
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-11-25 20:14:01 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-11-25 20:14:36 +0000

    x11-terms/alacritty: update live ebuild
    
    Bug: https://bugs.gentoo.org/697762
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 x11-terms/alacritty/alacritty-9999.ebuild | 286 +-----------------------------
 1 file changed, 7 insertions(+), 279 deletions(-)
Comment 8 Georgy Yakovlev archtester gentoo-dev 2019-11-25 20:16:01 UTC
cargo.eclass changes are stalled, I've fixed the ebuild directly. should be ok now.
Comment 9 Georgy Yakovlev archtester gentoo-dev 2019-12-22 01:48:13 UTC
ok it's fixed, closing.
eclass changes later.
Comment 10 Larry the Git Cow gentoo-dev 2019-12-28 05:00:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc2041b7c2889e374a484b372ee11bbc50f3a361

commit fc2041b7c2889e374a484b372ee11bbc50f3a361
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-12-27 03:43:38 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-12-28 04:59:16 +0000

    x11-terms/alacritty: don't force cargo --offline
    
    Eclass already does it for us.
    Bug: https://bugs.gentoo.org/697762
    Closes: https://github.com/gentoo/gentoo/pull/14135
    Package-Manager: Portage-2.3.83, Repoman-2.3.20
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 x11-terms/alacritty/alacritty-0.4.0.ebuild | 2 +-
 x11-terms/alacritty/alacritty-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f8f7e2b98eded7e6c31ac509421da9fed5d35b

commit 84f8f7e2b98eded7e6c31ac509421da9fed5d35b
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-12-27 02:08:20 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-12-28 04:59:09 +0000

    cargo.eclass: force offline operations
    
    Bug: https://bugs.gentoo.org/697762
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 eclass/cargo.eclass | 3 +++
 1 file changed, 3 insertions(+)