Opened 17 years ago

Closed 16 years ago

#15239 closed defect (worksforme)

ntop fails to build. "request for member 'addressQueuedCurrent' in something not a structure or union"

Reported by: schwern@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: ntop

Description

Attempting to install ntop with MacPorts 1.600 on OS X 10.4.11 I got the following error.

$ port list gawk libpcap gd2 libpng gdbm rrdtool
gawk                           @3.1.6          lang/gawk
libpcap                        @0.9.8          net/libpcap
gd2                            @2.0.35         graphics/gd2
libpng                         @1.2.26         graphics/libpng
gdbm                           @1.8.3          databases/gdbm
rrdtool                        @1.2.27         net/rrdtool
$ sudo nice port install ntop
--->  Fetching ntop
--->  Attempting to fetch ntop-3.3.tar.gz from http://downloads.sourceforge.net/ntop
--->  Verifying checksum(s) for ntop
--->  Extracting ntop
--->  Applying patches to ntop
--->  Configuring ntop
--->  Building ntop with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/work/ntop-3.3" && gnumake all " returned error 2
Command output: address.c:634: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:635: error: request for member 'queueAddressMutex' in something not a structure or union
address.c: In function 'dequeueAddress':
address.c:651: error: request for member 'ntopRunState' in something not a structure or union
address.c:656: error: request for member 'queueAddressCondvar' in something not a structure or union
address.c:658: error: request for member 'ntopRunState' in something not a structure or union
address.c:664: error: request for member 'addressQueueFile' in something not a structure or union
address.c:669: error: request for member 'ntopRunState' in something not a structure or union
address.c:696: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:697: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:697: error: request for member 'addressQueuedCurrent' in something not a structure or union
address.c:698: error: request for member 'queueAddressMutex' in something not a structure or union
address.c:700: error: request for member 'addressQueueFile' in something not a structure or union
address.c:702: error: request for member 'addressQueueFile' in something not a structure or union
address.c:707: error: request for member 'dequeueAddressThreadId' in something not a structure or union
address.c: In function 'fetchAddressFromCache':
address.c:843: error: request for member 'numFetchAddressFromCacheCalls' in something not a structure or union
address.c:854: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:856: error: request for member 'dnsCacheFile' in something not a structure or union
address.c:871: error: request for member 'actTime' in something not a structure or union
address.c:872: error: request for member 'numFetchAddressFromCacheCallsOK' in something not a structure or union
address.c:875: error: request for member 'numFetchAddressFromCacheCallsSTALE' in something not a structure or union
address.c:881: error: request for member 'numFetchAddressFromCacheCallsFAIL' in something not a structure or union
address.c: In function 'ipaddr2str':
address.c:914: error: request for member 'numipaddr2strCalls' in something not a structure or union
address.c: In function 'checkSpoofing':
address.c:1823: error: request for member 'runningPref' in something not a structure or union
gnumake[2]: *** [address.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to markd@…
Priority: HighNormal

Assigning to maintainer.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Port: ntop added

Do you still see this problem with the current version, 3.3.8? If so, please try with the debug switch and attach the complete output. I don't think the output above is showing us the first error.

sudo port clean ntop
sudo port selfupdate
sudo port -d install ntop 2>&1 | tee ~/desktop/ntop.txt

Then, if it still failed, attach ntop.txt from your desktop to this ticket.

comment:3 Changed 16 years ago by schwern@…

I don't have 10.4.11 any more to test against, but it works with 10.5.6.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 16 years ago by markd@…

Resolution: worksforme
Status: newclosed

Can't duplicate.

Note: See TracTickets for help on using tickets.