Opened 15 years ago

Closed 15 years ago

#21621 closed defect (duplicate)

apachetop build failed under OS X 10.6.1 with Xcode 3.2

Reported by: james.applemac@… Owned by: dreness (Andre LaBranche)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: apachetop

Description

Hi,

Following are the error messahes:

port install apachetop
Port command started with PID 49113
--->  Computing dependencies for apachetop
--->  Fetching apachetop
--->  Verifying checksum(s) for apachetop
--->  Extracting apachetop
--->  Configuring apachetop
--->  Building apachetop
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apachetop/work/apachetop-0.12.5" && /usr/bin/make -j2 all " returned error 2
Command output: In file included from apachetop.h:222,
                 from apachetop.cc:5:
resolver.h:13: error: extra qualification 'Resolver::' on member 'Resolver'
resolver.h:14: error: extra qualification 'Resolver::' on member 'Resolver'
apachetop.cc: In function 'int main(int, char**)':
apachetop.cc:211: warning: deprecated conversion from string constant to 'char*'
In file included from apachetop.h:222,
                 from log.cc:1:
resolver.h:13: error: extra qualification 'Resolver::' on member 'Resolver'
resolver.h:14: error: extra qualification 'Resolver::' on member 'Resolver'
apachetop.cc: In function 'int read_key(int)':
apachetop.cc:567: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:567: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:577: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:577: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:590: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:590: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:600: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:600: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:832: warning: deprecated conversion from string constant to 'char*'
apachetop.cc:832: warning: deprecated conversion from string constant to 'char*'
log.cc: In member function 'virtual int CommonLogParser::parse(char*, logbits*)':
log.cc:77: warning: deprecated conversion from string constant to 'char*'
log.cc:106: warning: deprecated conversion from string constant to 'char*'
log.cc:166: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [log.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [apachetop.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
--->  Executing: /opt/local/bin/port install apachetop

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to dre@…

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

Resolution: duplicate
Status: newclosed

I'll fix that. Duplicate of #21274.

Note: See TracTickets for help on using tickets.