Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61829 - unable to download android source with repo init

Attached to Project: Arch Linux
Opened by Anthony Eden (aeden) - Thursday, 21 February 2019, 15:31 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 24 April 2019, 20:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

To get the android source for a particular tag, such as 8.1.0_r32 one does

`
repo init -u https://android.googlesource.com/platform/manifest -b android-8.1.0_r32
`

This command never completes, although in the past would complete quickly and consistently.

In htop, this subprocess invoked by repo is running at 100% CPU:

`
/usr/lib/git-core/git-remote-https origin https://android.googlesource.com/platform/manifest
`

Attaching to this process with gdb and getting a backtrace yields

`
(gdb) bt
#0 0x00007f00406f4494 in __libc_sigaction (sig=13, act=<optimized out>, oact=0x0) at ../sysdeps/unix/sysv/linux/sigaction.c:58
#1 0x00007f00409d56b6 in curl_multi_perform () from /usr/lib/libcurl.so.4
#2 0x000056077a519420 in ?? ()
#3 0x000056077a5194d5 in ?? ()
#4 0x000056077a519775 in ?? ()
#5 0x000056077a5134d0 in ?? ()
#6 0x000056077a513b32 in ?? ()
#7 0x000056077a514ffd in ?? ()
#8 0x000056077a5130b9 in ?? ()
#9 0x00007f0040538223 in __libc_start_main (main=0x56077a513030, argc=3, argv=0x7ffea6d3bc08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7ffea6d3bbf8) at ../csu/libc-start.c:308
#10 0x000056077a51310e in ?? ()
`

Additional info:
* curl 7.64.0-9
* git 2.20.1-1
* repo 1.13.2-1
* python 3.7.2-3
* python2 2.7.15-4

Steps to reproduce:

mkdir tmp
cd tmp
repo init -u https://android.googlesource.com/platform/manifest -b android-8.1.0_r32
This task depends upon

Closed by  Jelle van der Waa (jelly)
Wednesday, 24 April 2019, 20:31 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Upstream issue.
Comment by Antonio Ospite (ao2) - Wednesday, 24 April 2019, 09:06 GMT
I don't think this is a Arch specific bug, but rather a remote issue or a change in repo.

I worked around it by passing `--no-tags` to `repo init`:

repo init --no-tags -u https://android.googlesource.com/platform/manifest -b android-8.1.0_r32

Loading...