[MacPorts] #31213: ntop @3.3.10 wrongly says wget is not installed
MacPorts
noreply at macports.org
Fri Sep 16 05:47:26 PDT 2011
#31213: ntop @3.3.10 wrongly says wget is not installed
-----------------------------------------+----------------------------------
Reporter: nikolaus@… | Owner: markd@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: ntop
-----------------------------------------+----------------------------------
Comment(by brian.gupta@…):
Here is the issue:
$ wget --version
GNU Wget 1.13.3 built on darwin10.8.0.
$ echo $?
3
As you can see "wget --version" is returning a return code of 3, which is
a File IO error: http://www.gnu.org/software/wget/manual/html_node/Exit-
Status.html
I appears that there is some sort of issue with the new version of wget as
1.12 doesn't have this issue. A bit of diagnostic data from a dtruss of
"wget --version":
stat64("/opt/local/etc/wgetrc\0", 0x7FFF5FBFF640, 0x7FFF5FBFF8C8)
= -1 Err#2
stat64("/Users/bgupta/.wgetrc\0", 0x7FFF5FBFF620, 0x7FFF7106C650)
= -1 Err#2
open_nocancel("/opt/local/share/locale/locale.alias\0", 0x0, 0x1B6)
= -1 Err#2
open("/opt/local/share/locale/en_US.utf-8/LC_MESSAGES/wget.mo\0", 0x0,
0x0) = -1 Err#2
open("/opt/local/share/locale/en_US.utf8/LC_MESSAGES/wget.mo\0", 0x0, 0x0)
= -1 Err#2
open("/opt/local/share/locale/en_US/LC_MESSAGES/wget.mo\0", 0x0, 0x0)
= -1 Err#2
open("/opt/local/share/locale/en.utf-8/LC_MESSAGES/wget.mo\0", 0x0, 0x0)
= -1 Err#2
open("/opt/local/share/locale/en.utf8/LC_MESSAGES/wget.mo\0", 0x0, 0x0)
= -1 Err#2
open("/opt/local/share/locale/en/LC_MESSAGES/wget.mo\0", 0x0, 0x0)
= -1 Err#2
Sadly none of these locale directories/files exist. (So the return code of
3 (file IO error) makes sense. Probably should file a bug against wget
port.
--
Ticket URL: <https://trac.macports.org/ticket/31213#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list