Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 409397

Summary: Fetch failure due to wget[-ssl]
Product: Gentoo/Alt Reporter: Richard Yao (RETIRED) <ryao>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-util/intltool-0.50.2 build.log showing fetch failure

Description Richard Yao (RETIRED) gentoo-dev 2012-03-23 07:08:05 UTC
Created attachment 306381 [details]
dev-util/intltool-0.50.2 build.log showing fetch failure

If wget is compiled without ssl, it is possible to have distfiles fetch failures such as the following:

HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/94524169/intltool-0.50.2.tar.gz [following]
https://launchpadlibrarian.net/94524169/intltool-0.50.2.tar.gz: HTTPS support not compiled in.
!!! Couldn't download 'intltool-0.50.2.tar.gz'. Aborting.

I encountered this when portage tried to fetch distfiles for dev-util/intltool during an attempt to test firefox compilation on ppc64-linux. I assume that this affects all platforms.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-23 12:25:28 UTC
>  HTTPS support not compiled in.

Fix you USE flags, the error message is obvious....... RESO:INVALID

Or use the proper GENTOO_MIRRORS entry.

% ACCEPT_KEYWORDS=~amd64 emerge -f intltool

Calculating dependencies... done!

>>> Fetching (1 of 1) dev-util/intltool-0.50.2
>>> Downloading 'http://distfiles.gentoo.org/distfiles/intltool-0.50.2.tar.gz'
--2012-03-23 07:24:53--  http://distfiles.gentoo.org/distfiles/intltool-0.50.2.tar.gz
Resolving distfiles.gentoo.org... 137.226.34.42, 140.211.166.134, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|137.226.34.42|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 189483 (185K) [application/octet-stream]
Saving to: `/var/tmp/distfiles/intltool-0.50.2.tar.gz'

100%[======================================>] 189,483      142K/s   in 1.3s    

2012-03-23 07:24:55 (142 KB/s) - `/var/tmp/distfiles/intltool-0.50.2.tar.gz' saved [189483/189483]

 * intltool-0.50.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-23 12:54:09 UTC
(In reply to comment #1)
> >  HTTPS support not compiled in.
> 
> Fix you USE flags, the error message is obvious....... RESO:INVALID

For the record, this wasn't a USE flag issue. My prefix install had been using a ppc64-linux profile that predated the profile in the prefix tree. I had forgotten to switch profiles when bug 407499 was resolved. This issue was an artifact of that.