First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61496
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: John Mylchreest (RETIRED) <johnm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Philipp Kern <phil@lordaeron.in-berlin.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mirrorselect.diff Proposed patch patch Laurence Withers 2004-08-28 06:21 0000 1013 bytes Details | Diff
mirrorselect.diff Revised patch for mirrorselect patch Laurence Withers 2004-08-28 15:50 0000 1.15 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61496 depends on: Show dependency tree
Show dependency graph
Bug 61496 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-24 04:46 0000
Justification for major: IPv6 users depend on the deep test.

/usr/sbin/mirrorselect line 188:
wget -t 1 -C off -T 25 -O - ${i}/distfiles/mirrorselect-test 2>/dev/null

This results in the file passed to stdout. A console full of garbage isn't quite what I expected. ;o)
I need the deep test because of IPv6 connectivity.

You either wanted to write ``>/dev/null'' or -o - -O /dev/null.

I fixed it by replacing the line with:
wget -t 1 -C off -T 25 -o /dev/null -O /dev/null ${i}/distfiles/mirrorselect-test

-o /dev/null : Suppreses the log output
-O /dev/null : Discards the downloaded data.

------- Comment #1 From teedog@gmail.com 2004-08-26 12:13:59 0000 -------
I confirm that when doing deep tests with mirrorselect, I get lots of garbage
output in stdout.

------- Comment #2 From Laurence Withers 2004-08-28 06:21:02 0000 -------
Created an attachment (id=38386) [edit]
Proposed patch

This is a proposed patch that I hope will fix the problem.

------- Comment #3 From Philipp Kern 2004-08-28 06:25:34 0000 -------
#2 won't fix the problem. All it did was adding a second temporary file which
is then used to the data about the mirrors.
The problem is wget putting the data to stdout specified by ``-O -''. It would
be quite easy to fix and to restore the old behaviour.

------- Comment #4 From Laurence Withers 2004-08-28 15:48:29 0000 -------
Good catch. That "-O -" needs to be changed to "-O ${TMPFILE}", of course.

------- Comment #5 From Laurence Withers 2004-08-28 15:50:02 0000 -------
Created an attachment (id=38403) [edit]
Revised patch for mirrorselect

------- Comment #6 From Selecter 2004-08-29 09:05:29 0000 -------
0.84 throws a lot of garbage too

------- Comment #7 From John Mylchreest (RETIRED) 2004-09-05 10:02:56 0000 -------
should be fixed in 0.86 - regards.

------- Comment #8 From Andre Hinrichs 2004-10-11 11:45:36 0000 -------
confirmed
when will it become stable?

First Last Prev Next    No search results available      Search page      Enter new bug