Bug 11703 - pkgconfig 0.29.2 fetch failure
Summary: pkgconfig 0.29.2 fetch failure
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.4
Assignee: Abhishek Dwivedi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-06-22 11:26 UTC by Abhishek Dwivedi
Modified: 2017-08-25 16:40 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
fetch fail log (95.15 KB, text/plain)
2017-06-27 06:26 UTC, Abhishek Dwivedi
no flags Details
fetch success in earlier version (78.69 KB, text/plain)
2017-06-27 06:27 UTC, Abhishek Dwivedi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abhishek Dwivedi 2017-06-22 11:26:39 UTC
Fetch fails with recent update of pkgconfig:
----------------
ERROR: pkgconfig-0.29.2+gitAUTOINC+edf8e6f0ea-r0 do_fetch: Fetcher failure for URL: 'git://anongit.freedesktop.org/pkg-config'. Unable to fetch URL from any source.
ERROR: pkgconfig-0.29.2+gitAUTOINC+edf8e6f0ea-r0 do_fetch: Function failed: base_do_fetch
----------------

I could do fetch success by reverting to older version (0.29.1) but not 0.29.2.
Comment 1 Jussi Kukkonen 2017-06-22 12:18:50 UTC
This works fine here, both with PREMIRRORS (downloads tarball from yoctoproject.org) and without (clones the git repo).

Can you attach a failing log from $WORKDIR/temp/log.do_fetch?
Comment 2 Ross Burton 2017-06-22 14:34:57 UTC
Change to NEEDINFO as this works for others.
Comment 3 Abhishek Dwivedi 2017-06-27 06:26:52 UTC
Created attachment 3844 [details]
fetch fail log
Comment 4 Abhishek Dwivedi 2017-06-27 06:27:38 UTC
Created attachment 3845 [details]
fetch success in earlier version
Comment 5 Abhishek Dwivedi 2017-06-27 06:30:25 UTC
Have attached log for failure in recent version, 0.29.2. and also, success case in older version 0.29.1.

I am behind proxy wall. 0.29.1 could do thought mirror where as 0.29.2 fails.

~ Thanks
Comment 6 Jussi Kukkonen 2017-06-27 07:33:59 UTC
(In reply to comment #5)
> Have attached log for failure in recent version, 0.29.2. and also, success
> case in older version 0.29.1.
> 
> I am behind proxy wall. 0.29.1 could do thought mirror where as 0.29.2 fails.

The git fetch fails on both cases but there's a tarball backup (http://sources.openembedded.org/git2_anongit.freedesktop.org.pkg-config.tar.gz) which is tried after the failure: it happens to work for the older version. Unfortunately it's probably old enough that it does not contain the commit for 0.29.2.

The issue you should be fixing seems to be "git through proxy". For reasons not clear to me, git does not function with just the normal proxy environment variables. Please see https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy if you're not using oe-git-proxy (or a Chameleon/redsocks based solution) yet.
Comment 7 Abhishek Dwivedi 2017-07-29 07:41:55 UTC
Not found this issue on download without proxy. Please close the issue.