[MacPorts] #13610: ntop fails to compile

MacPorts trac at macosforge.org
Mon Dec 17 12:08:01 PST 2007


#13610: ntop fails to compile
-------------------------------+--------------------------------------------
  Reporter:  andre at cabine.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect            |      Status:  new                                  
  Priority:  Normal            |   Milestone:  Port Bugs                            
 Component:  ports             |     Version:  1.5.2                                
Resolution:                    |    Keywords:                                       
-------------------------------+--------------------------------------------
Changes (by jmpp at macports.org):

  * milestone:  => Port Bugs

Old description:

> andre at prettyboy:~$ sudo port upgrade ntop
> --->  Fetching ntop
> --->  Verifying checksum(s) for ntop
> --->  Extracting 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: cd . && /bin/sh ./missing --run echo
>
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> gnumake  all-recursive
> Making all in .
> /bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0
> -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112
> -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/
> -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I.
> -I/usr/local/include    -I/opt/local/include -DDARWIN
> -I/usr/local/include  -g -no-cpp-precomp -O2 -I/opt/local/include
> -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs  -fno-common -DPIC -MT address.lo
> -MD -MP -MF .deps/address.Tpo -c -o address.lo address.c
> mkdir .libs
>  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112
> -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/
> -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I.
> -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/include
> -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -g
> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fno-common -DPIC -MT address.lo -MD -MP -MF
> .deps/address.Tpo -c address.c  -fno-common -DPIC -o .libs/address.o
> In file included from ntop.h:484,
>                  from address.c:21:
> globals-structtypes.h:103: error: two or more data types in declaration
> specifiers
> globals-structtypes.h:103: warning: useless type name in empty
> declaration
> gnumake[2]: *** [address.lo] Error 1
> gnumake[1]: *** [all-recursive] Error 1
> gnumake: *** [all] Error 2
>
> Error: Unable to upgrade port: 1
> andre at prettyboy:~$
>

> andre at prettyboy:~$ port -v
> MacPorts 1.600
>
> andre at prettyboy:~$ uname -a
> Darwin prettyboy.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31
> 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386

New description:

 {{{
 andre at prettyboy:~$ sudo port upgrade ntop
 --->  Fetching ntop
 --->  Verifying checksum(s) for ntop
 --->  Extracting 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: cd . && /bin/sh ./missing --run echo

 rm -f stamp-h1
 touch config.h.in
 cd . && /bin/sh ./config.status config.h
 config.status: creating config.h
 config.status: config.h is unchanged
 gnumake  all-recursive
 Making all in .
 /bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 -DMACOSX_DEPLOYMENT_TARGET=10.5
 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe
 -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include
 -I/opt/local/include -DDARWIN -I/usr/local/include  -g -no-cpp-precomp -O2
 -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fno-common
 -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c -o address.lo
 address.c
 mkdir .libs
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112
 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/
 -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I.
 -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/include -g
 -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -g -Wshadow
 -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c
 address.c  -fno-common -DPIC -o .libs/address.o
 In file included from ntop.h:484,
                  from address.c:21:
 globals-structtypes.h:103: error: two or more data types in declaration
 specifiers
 globals-structtypes.h:103: warning: useless type name in empty declaration
 gnumake[2]: *** [address.lo] Error 1
 gnumake[1]: *** [all-recursive] Error 1
 gnumake: *** [all] Error 2

 Error: Unable to upgrade port: 1
 andre at prettyboy:~$


 andre at prettyboy:~$ port -v
 MacPorts 1.600

 andre at prettyboy:~$ uname -a
 Darwin prettyboy.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31
 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13610#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list