Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360037 - dev-perl/libwww-perl-6.10.0 doesn't use proxy settings, seen with fetchyahoo
Summary: dev-perl/libwww-perl-6.10.0 doesn't use proxy settings, seen with fetchyahoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 01:36 UTC by Michael Hill
Modified: 2014-02-15 11:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hill 2011-03-23 01:36:15 UTC
I noticed since yesterday my fetchyahoo connections have been failing (they have been working for almost five years).  I tried from the command line with the --debug flag and got:

Logging in securely via SSL as <mylogin> on Tue Mar 22 19:18:41 2011
Using <myproxy>:3128 as a webproxy.
LWP::Protocol::https::Socket: connect: Connection timed out at /usr/lib/perl5/vendor_perl/5.12.3/LWP/Protocol/http.pm line 51.
500 Can't connect to edit.yahoo.com:443 (Connection timed out)
Failed: Couldn't log in.

I observed that my firewall was blocking many packets to 98.137.53.34:443, indicating the process was not using the proxy server.  LWP/Protocol/http.pm belongs to the libwww-perl package, which I just updated yesterday.


Reproducible: Always

Steps to Reproduce:
1.  Take a previously working fetchyahoo setup.
2.  Upgrade libwww-perl from 5.837 to 6.10.0.
3.  ???
4.  Profit!!!
Uh, wait--wrong list.
3.  Watch fetchyahoo fail to connect through the proxy.




I have the following lines in my .fetchyahoorc, which hasn't changed since Jul. 2006:

use-proxy = 1
proxy-host = <myproxy>
proxy-port = 3128

Package dates:

-rw-r--r-- 1 root root  57863 Nov 20 15:27 /usr/portage/packages/All/fetchyahoo-2.14.0.tbz2
-rw-r--r-- 1 root root 229172 Sep 30 22:39 /usr/portage/packages/All/libwww-perl-5.837.tbz2
-rw-r--r-- 1 root root 142687 Mar 21 16:13 /usr/portage/packages/All/libwww-perl-6.10.0.tbz2
Comment 1 SpanKY gentoo-dev 2011-03-23 04:28:53 UTC
please post `emerge --info` in all your bugreports
Comment 2 Michael Hill 2011-03-23 05:53:41 UTC
Portage 2.1.9.44 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.13-r2, 2.6.36-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r3-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 22 Mar 2011 12:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13::<unknown repository>, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions aiglx alsa ao apache2 audacious audiofile bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar cdda cdinstall cdr cli consolekit cracklib crypt cups curl cxx dbase dbus dbx dedicated dga divx doc dovecot-sasl dri dts dv dvd dvdr emboss encode exif expat fam fame fbcon ffmpeg fftw firefox flac flatfile font-server fontconfig fontforge gd gdu gecko-sdk gif gimpprint ginac glitz glut gnuplot gnutls gpgme gpm gs gtk guidexml hardenedphp hou iconv id3tag imagemagick imlib inifile jack jpeg jpeg2k keyscrub latin1 lcms libmms libnotify libsamplerate logrotate logwatch lzma mad mbox memlimit mikmod milter mime mmap mmx mng modplug modules mp3 mp4 mpeg mpm-prefork mudflap mysql ncurses no-suexec nocardbus nocd nodrm nomotif nowin nptl nptlonly nsplugin ofx ogg opengl pam pango pcntl pcre pda pdf perl php pie plotutils png policykit posix ppds pppd python qt-bundled qt3support qt4 quotes readline realmedia rtsp sasl sdl server session shared sharedmem simplexml skins smtp sndfile sockets sou spell sse sse2 ssl ssse3 startup-notification subtitles svg sysfs sysvipc tagwriting tcl tcpd threads tidy tiff timidity tk truetype udev ups usb userlocales vhosts videos vim-syntax vorbis wma wmp wv wxgtk1 wxwidgets wxwindows x264 x86 xcb xine xml xorg xpm xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-03-23 17:51:11 UTC
If you could report what version of dev-perl/libwww-perl you are currently using, and the most recent version of dev-perl/libwww-perl that works that would be very helpful in diagnosis.
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-03-23 17:51:49 UTC
Oh right, you're using 6.10.0 , duh =).
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-03-23 18:04:00 UTC
https://rt.cpan.org/Public/Bug/Display.html?id=1894 # this looks related, but I can't confirm this behaviour as I don't have a proxy server. 

Are you sure it worked on 5.837? This bug report seems to indicate its been around since 5.66 , and the last time a 5.6 series was in tree looks to be back in 2006.
Comment 6 Michael Hill 2011-03-23 21:17:36 UTC
The only versions I see in eix are 5.836, (~)5.837, and [m](~)6.10.0 .  I don't have any history of versions I used prior to 5.837, but I've been using that one since last September.  The 6.X series appears to be where it was split up into about 10 sub-packages, so it's quite plausible to me that something got mixed up.

The way my cron job is set up, it doesn't send email when it makes a successful connection, only when there's an error.  So most of the time it's silent, but I've been noticing the problem emails since Monday.
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-15 11:43:36 UTC
Should be fine now with last stable. ( 6.30.0).