Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348133 - emerge wireshark-1.4.0_rc1 (latest) - Downloading 'http://www.wireshark.org/download/src/wireshark-1.4.0rc1.tar.bz2' fails
Summary: emerge wireshark-1.4.0_rc1 (latest) - Downloading 'http://www.wireshark.org/d...
Status: VERIFIED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL: http://www.wireshark.org/download/src...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 10:25 UTC by Benny Lønstrup Ammitzbøll
Modified: 2010-12-16 14:24 UTC (History)
2 users (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 Benny Lønstrup Ammitzbøll 2010-12-08 10:25:05 UTC
emerge of latest wireshark (wireshark-1.4.0_rc1) fails. Seems that the download link http://www.wireshark.org/download/src/wireshark-1.4.0rc1.tar.bz2 is wrong - if I try the link in my browser I get an 'Oops' page where it looks like only wireshark-1.4.0rc2.tar.bz2 can be downloaded.

Reproducible: Always

Steps to Reproduce:
emerge wireshark
Actual Results:  
~ # emerge wireshark
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-analyzer/wireshark-1.4.0_rc1 from zugaina
>>> Downloading 'http://mirror.uni-c.dk/pub/gentoo/distfiles/wireshark-1.4.0rc1.tar.bz2'
--2010-12-08 11:03:59--  http://mirror.uni-c.dk/pub/gentoo/distfiles/wireshark-1.4.0rc1.tar.bz2
Resolving mirror.uni-c.dk... 130.226.1.35, 2001:878:0:100::1:35
Connecting to mirror.uni-c.dk|130.226.1.35|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-08 11:03:59 ERROR 404: Not Found.

>>> Downloading 'http://trumpetti.atm.tut.fi/gentoo/distfiles/wireshark-1.4.0rc1.tar.bz2'
--2010-12-08 11:03:59--  http://trumpetti.atm.tut.fi/gentoo/distfiles/wireshark-1.4.0rc1.tar.bz2
Resolving trumpetti.atm.tut.fi... 130.230.54.100, 2001:708:310:54::2
Connecting to trumpetti.atm.tut.fi|130.230.54.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-08 11:03:59 ERROR 404: Not Found.

>>> Downloading 'http://ftp.public.fix.fi/gentoo/distfiles/wireshark-1.4.0rc1.tar.bz2'
--2010-12-08 11:03:59--  http://ftp.public.fix.fi/gentoo/distfiles/wireshark-1.4.0rc1.tar.bz2
Resolving ftp.public.fix.fi... failed: Name or service not known.
wget: unable to resolve host address `ftp.public.fix.fi'
>>> Downloading 'http://www.wireshark.org/download/src/wireshark-1.4.0rc1.tar.bz2'
--2010-12-08 11:04:00--  http://www.wireshark.org/download/src/wireshark-1.4.0rc1.tar.bz2
Resolving www.wireshark.org... 67.228.110.120
Connecting to www.wireshark.org|67.228.110.120|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-08 11:04:00 ERROR 404: Not Found.

!!! Couldn't download 'wireshark-1.4.0rc1.tar.bz2'. Aborting.
 * Fetch failed for 'net-analyzer/wireshark-1.4.0_rc1', Log file:
 *  '/var/tmp/portage/net-analyzer/wireshark-1.4.0_rc1/temp/build.log'

>>> Failed to emerge net-analyzer/wireshark-1.4.0_rc1, Log file:

>>>  '/var/tmp/portage/net-analyzer/wireshark-1.4.0_rc1/temp/build.log'

 * Messages for package net-analyzer/wireshark-1.4.0_rc1:

 * Fetch failed for 'net-analyzer/wireshark-1.4.0_rc1', Log file:
 *  '/var/tmp/portage/net-analyzer/wireshark-1.4.0_rc1/temp/build.log'
Comment 1 Martin Walch 2010-12-08 12:11:27 UTC
This one should work:

http://www.wireshark.org/download/src/all-versions/wireshark-1.4.0rc1.tar.bz2
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-09 18:15:37 UTC
1.4.0_rc2 was removed from the portage tree on November 30, 2010. Please run `emerge --sync' and try again.
Comment 3 Benny Lønstrup Ammitzbøll 2010-12-10 09:42:17 UTC
Same result after doing emerge --sync

Note that the ebuild tries to get 1.4.0_rc1, not 1.4.0_rc2 - but the URL it uses is wrong, it should use this one:

http://www.wireshark.org/download/src/all-versions/wireshark-1.4.0rc1.tar.bz2
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-10 17:52:16 UTC
You still haven't posted your `emerge --info' so it's hard to figure out which rsync mirror you are using - it appears to be out of date. The 1.4.0_rc* ebuilds left the tree. Try 1.4.2 instead.

Keywords for net-analyzer/wireshark:
       | a a a h i m m p p s s s x | u s | r
       | l m r p a 6 i p p 3 h p 8 | n l | e
       | p d m p 6 8 p c c 9   a 6 | u o | p
       | h 6   a 4 k s   6 0   r   | s t | o
       | a 4             4     c   | e   |  
       |                           | d   |  
-------+---------------------------+-----+-------
1.2.12 | + + o + + o o + + o o + + | o 0 | gentoo
1.2.13 | + + o + + o o + ~ o o + + | o   | gentoo
1.4.2  | ~ ~ o ~ ~ o o ~ ~ o o ~ ~ | o   | gentoo
Comment 5 Benny Lønstrup Ammitzbøll 2010-12-11 15:54:18 UTC
Ok, I just tried using mirrorselect to select mirrors - still see the same problem - so please tell me what is wrong. Here's the emerge --info:

~ # emerge --info
Portage 2.1.9.24 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 11 Dec 2010 14:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="rsync://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/"
LANG="da_DK"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en da"
MAKEOPTS="-j3"
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/zugaina"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 arts berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs embedded emboss encode exif fam firefox flac fontconfig fortran gdbm gif gpm gtk hal iconv ip1000 ipv6 jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline scanner sdl semantic-desktop session spell sql sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbis webkit x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

~ # emerge --search wireshark
Searching...    
[ Results for search key : wireshark ]
[ Applications found : 2 ]

*  net-analyzer/wireshark
      Latest version available: 1.4.0_rc1
      Latest version installed: 1.2.13
      Size of files: 19,921 kB
      Homepage:      http://www.wireshark.org/
      Description:   A network protocol analyzer formerly known as ethereal
      License:       GPL-2
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-14 16:14:59 UTC
Please post an excerpt from your /var/log/emerge.log that shows us what mirror `emerge --sync' actually uses.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-14 16:28:00 UTC
All of them seem to be up to date right now:

jeroen@epia ~ $ for i in 2 3 5; do rsync --list-only rsync://rsync${i}.se.gentoo.org/gentoo-portage/net-analyzer/wireshark/; done 

              MM       MM FFFFF
              MMM     MMM    FF
              MM MM MM MM FFFFF  
              MM  MMM  MM    FF 
              MM   M   MM DD FF 
                          DD FF
              DDDDDDDDDDDDDD FF
              DD          DD FF
               DDDDDDDDDDDDD FF

Welcome to Mälardalens Datorförening, a non-profit
association by students at Mälardalen University


You are being served by a Xen virtual machine:
 * Host:	mirror.mdfnet.se
 * IPv4:	193.11.112.131
 * IPv6: 	2001:6b0:30:1000:112:131:0:1
 * Network:	100Mbit/s dedicated

 * Contact: 	support@mdfnet.se

drwxr-xr-x        4096 2010/12/05 19:08:47 .
-rw-r--r--       38457 2010/12/05 19:08:47 ChangeLog
-rw-r--r--        3051 2010/12/05 19:08:47 Manifest
-rw-r--r--        2242 2010/06/14 17:07:18 metadata.xml
-rw-r--r--        4573 2010/10/26 01:06:54 wireshark-1.2.12.ebuild
-rw-r--r--        4574 2010/11/27 12:37:17 wireshark-1.2.13.ebuild
-rw-r--r--        6345 2010/12/05 19:08:47 wireshark-1.4.2.ebuild
drwxr-xr-x        4096 2010/05/08 09:36:32 files
Welcome to:
 _____ _   _  _____
|_   _| \ | |/ ____|
  | | |  \| | |  __
  | | | . ` | | |_ |
 _| |_| |\  | |__| |
|_____|_| \_|\_____|.UMU.SE

If you have any unusual problems,
please report them via e-mail.


drwxr-xr-x        4096 2010/12/05 19:08:47 .
-rw-r--r--       38457 2010/12/05 19:08:47 ChangeLog
-rw-r--r--        3051 2010/12/05 19:08:47 Manifest
-rw-r--r--        2242 2010/06/14 17:07:18 metadata.xml
-rw-r--r--        4573 2010/10/26 01:06:54 wireshark-1.2.12.ebuild
-rw-r--r--        4574 2010/11/27 12:37:17 wireshark-1.2.13.ebuild
-rw-r--r--        6345 2010/12/05 19:08:47 wireshark-1.4.2.ebuild
drwxr-xr-x        4096 2010/05/08 09:36:32 files
		Welcome to Dataphone Rsync Archive, Sweden

	DISCLAIMER: Dataphone are not liable for any use, 
	storage or transmission of any files stored on this archive.

	THIS is a P4-HT 2.4GHz system with 750G HDD, 1G RAM.

	Max concurrent users are currently 20.

	If you run into problems with this RSync, please, contact
	the mirror administrator at mirror@dataphone.net - SPAM will
	be erased without notice.

	Current available bandwidth for this server is 100Mbit/sec.

	Contact is preferable via the name mirror2.dataphone.se, but
	for users who can't, for some reson, contact us via dns-name
	the ip-address is 212.37.1.30.

	Access our ftp area by anonymous rsync like

	rsync -av mirror2.dataphone.se::<Module> .
	rsync -av mirror2.dataphone.se::<Module>/path/below/ .


Module		Content
----------------------------------------------------------------------

drwxr-xr-x         512 2010/12/05 19:08:47 .
-rw-r--r--       38457 2010/12/05 19:08:47 ChangeLog
-rw-r--r--        3051 2010/12/05 19:08:47 Manifest
-rw-r--r--        2242 2010/06/14 17:07:18 metadata.xml
-rw-r--r--        4573 2010/10/26 01:06:54 wireshark-1.2.12.ebuild
-rw-r--r--        4574 2010/11/27 12:37:17 wireshark-1.2.13.ebuild
-rw-r--r--        6345 2010/12/05 19:08:47 wireshark-1.4.2.ebuild
drwxr-xr-x        1024 2010/05/08 09:36:32 files

However, according to [1], rsync2 had some problems in the recent past.

[1] http://mirrorstats.gentoo.org/rsync/
Comment 8 Benny Lønstrup Ammitzbøll 2010-12-14 17:21:41 UTC
This is a clip from /var/log/emerge.log when doing emerge --sync:

1292346458: Started emerge on: Dec 14, 2010 18:07:38
1292346458:  *** emerge  sync
1292346458:  === sync
1292346458: >>> Starting rsync with rsync://193.11.112.131/gentoo-portage
1292346499: === Sync completed with rsync://193.11.112.131/gentoo-portage

After this, I still get:

~ # emerge --search wireshark
Searching...    
[ Results for search key : wireshark ]
[ Applications found : 2 ]

*  net-analyzer/wireshark
      Latest version available: 1.4.0_rc1
      Latest version installed: 1.2.13
      Size of files: 19,921 kB
      Homepage:      http://www.wireshark.org/
      Description:   A network protocol analyzer formerly known as ethereal
      License:       GPL-2

But the ebuild says 1.4.2:

~ # ls -la /usr/portage/net-analyzer/wireshark/
total 92
drwxr-xr-x   3 root    root     4096  5 dec 19:08 .
drwxr-xr-x 250 portage portage 12288 14 dec 17:37 ..
-rw-r--r--   1 root    root    38457  5 dec 19:08 ChangeLog
drwxr-xr-x   2 root    root     4096  8 maj  2010 files
-rw-r--r--   1 root    root     3051  5 dec 19:08 Manifest
-rw-r--r--   1 root    root     2242 14 jun  2010 metadata.xml
-rw-r--r--   1 root    root     4573 26 okt 01:06 wireshark-1.2.12.ebuild
-rw-r--r--   1 root    root     4574 27 nov 12:37 wireshark-1.2.13.ebuild
-rw-r--r--   1 root    root     6345  5 dec 19:08 wireshark-1.4.2.ebuild

So where is that 1.4.0_rc1 version coming from?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-14 17:28:46 UTC
Maybe run `emerge --metadata' and check again?
Comment 10 Zac Medico gentoo-dev 2010-12-14 18:18:31 UTC
(In reply to comment #0)
> >>> Emerging (1 of 1) net-analyzer/wireshark-1.4.0_rc1 from zugaina

It says right there it's coming from zugaina overlay. That overlay shows in PORTDIR_OVERLAY from emerge --info.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-14 22:58:17 UTC
Apparently I assumed that higher versioned ebuilds in the tree would not be overridden by lower versioned ebuilds in overlays.


I actually checked that overlay before assigning the bug, btw, and found it to be up to date:

http://gentoo.zugaina.org/net-analyzer.html.en

So that probably means that layman on the reporter's system needs to sync its overlays...
Comment 12 Benny Lønstrup Ammitzbøll 2010-12-16 14:10:01 UTC
I tried removing the overlay and the latest version was then 1.2.13 - because 1.4.2 has keyword ~amd64.

>Apparently I assumed that higher versioned ebuilds in the tree would not be
>overridden by lower versioned ebuilds in overlays.

Probably also not the case - since the 1.4.2 is masked on my system.

This fixes my issue since I don't really need the overlay anymore. I'll send a mail to zugaina.org.
Comment 13 Benny Lønstrup Ammitzbøll 2010-12-16 14:23:53 UTC
Ok, just realized that wireshark is not on zugaina at all anymore... So after doing:

layman -s ALL

- my overlay was updated and no longer has the 1.4.0_rc1 version. I thought emerge --sync also updated the overlays, but seems not to be the case. Thanks for all the help!