Re: [MacPorts] #11617: [BUG] db44 doesn't compile
#11617: [BUG] db44 doesn't compile -------------------------------------+-------------------------------------- Reporter: n.wieland@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: High | Milestone: Port Bugs Component: ports | Version: Resolution: worksforme | Keywords: Port: db44 | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * port: => db44 Old description:
In file included from ../dist/../cxx/cxx_db.cpp:15: ./db_cxx.h:60:22: error: iostream.h: No such file or directory ./db_cxx.h:61:23: error: exception.h: No such file or directory ./db_cxx.h:268: error: 'ostream' has not been declared ./db_cxx.h:274: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:274: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:274: error: expected ';' before '*' token ./db_cxx.h:275: error: 'ostream' has not been declared ./db_cxx.h:276: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:276: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:276: error: expected ';' before '*' token ./db_cxx.h:277: error: 'ostream' has not been declared ./db_cxx.h:491: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:491: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:491: error: expected ';' before '*' token ./db_cxx.h:492: error: 'ostream' has not been declared ./db_cxx.h:493: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:493: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:493: error: expected ';' before '*' token ./db_cxx.h:494: error: 'ostream' has not been declared ./db_cxx.h:653: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:653: error: expected ';' before '*' token ./db_cxx.h:654: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:654: error: expected ';' before '*' token ./db_cxx.h:1032: error: expected class-name before '{' token ../dist/../cxx/cxx_db.cpp: In function 'int _verify_callback_c(void*, const void*)': ../dist/../cxx/cxx_db.cpp:503: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:503: error: 'out' was not declared in this scope ../dist/../cxx/cxx_db.cpp:506: error: expected primary-expression before ')' token ../dist/../cxx/cxx_db.cpp:506: error: expected `;' before 'handle' ../dist/../cxx/cxx_db.cpp: At global scope: ../dist/../cxx/cxx_db.cpp:516: error: 'ostream' has not been declared ../dist/../cxx/cxx_db.cpp:637: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:642: error: variable or field 'set_error_stream' declared void ../dist/../cxx/cxx_db.cpp:642: error: 'int Db::set_error_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:642: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:642: error: 'error_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:643: error: expected ',' or ';' before '{' token ../dist/../cxx/cxx_db.cpp:647: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:652: error: variable or field 'set_message_stream' declared void ../dist/../cxx/cxx_db.cpp:652: error: 'int Db::set_message_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:652: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:652: error: 'message_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:653: error: expected ',' or ';' before '{' token make: *** [cxx_db.lo] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_db44/work/db-4.4.20/build_unix" && make all" returned error 2 Command output: ./db_cxx.h:492: error: 'ostream' has not been declared ./db_cxx.h:493: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:493: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:493: error: expected ';' before '*' token ./db_cxx.h:494: error: 'ostream' has not been declared ./db_cxx.h:653: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:653: error: expected ';' before '*' token ./db_cxx.h:654: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:654: error: expected ';' before '*' token ./db_cxx.h:1032: error: expected class-name before '{' token ../dist/../cxx/cxx_db.cpp: In function 'int _verify_callback_c(void*, const void*)': ../dist/../cxx/cxx_db.cpp:503: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:503: error: 'out' was not declared in this scope ../dist/../cxx/cxx_db.cpp:506: error: expected primary-expression before ')' token ../dist/../cxx/cxx_db.cpp:506: error: expected `;' before 'handle' ../dist/../cxx/cxx_db.cpp: At global scope: ../dist/../cxx/cxx_db.cpp:516: error: 'ostream' has not been declared ../dist/../cxx/cxx_db.cpp:637: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:642: error: variable or field 'set_error_stream' declared void ../dist/../cxx/cxx_db.cpp:642: error: 'int Db::set_error_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:642: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:642: error: 'error_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:643: error: expected ',' or ';' before '{' token ../dist/../cxx/cxx_db.cpp:647: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:652: error: variable or field 'set_message_stream' declared void ../dist/../cxx/cxx_db.cpp:652: error: 'int Db::set_message_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:652: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:652: error: 'message_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:653: error: expected ',' or ';' before '{' token make: *** [cxx_db.lo] Error 1
Warning: the following items did not execute (for db44): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: The following dependencies failed to build: apr-util db44 sqlite3 neon Error: Status 1 encountered during processing.
ngw@adreadedsunnyday ~$ uname -a Darwin adreadedsunnyday.local 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc
New description: {{{ In file included from ../dist/../cxx/cxx_db.cpp:15: ./db_cxx.h:60:22: error: iostream.h: No such file or directory ./db_cxx.h:61:23: error: exception.h: No such file or directory ./db_cxx.h:268: error: 'ostream' has not been declared ./db_cxx.h:274: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:274: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:274: error: expected ';' before '*' token ./db_cxx.h:275: error: 'ostream' has not been declared ./db_cxx.h:276: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:276: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:276: error: expected ';' before '*' token ./db_cxx.h:277: error: 'ostream' has not been declared ./db_cxx.h:491: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:491: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:491: error: expected ';' before '*' token ./db_cxx.h:492: error: 'ostream' has not been declared ./db_cxx.h:493: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:493: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:493: error: expected ';' before '*' token ./db_cxx.h:494: error: 'ostream' has not been declared ./db_cxx.h:653: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:653: error: expected ';' before '*' token ./db_cxx.h:654: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:654: error: expected ';' before '*' token ./db_cxx.h:1032: error: expected class-name before '{' token ../dist/../cxx/cxx_db.cpp: In function 'int _verify_callback_c(void*, const void*)': ../dist/../cxx/cxx_db.cpp:503: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:503: error: 'out' was not declared in this scope ../dist/../cxx/cxx_db.cpp:506: error: expected primary-expression before ')' token ../dist/../cxx/cxx_db.cpp:506: error: expected `;' before 'handle' ../dist/../cxx/cxx_db.cpp: At global scope: ../dist/../cxx/cxx_db.cpp:516: error: 'ostream' has not been declared ../dist/../cxx/cxx_db.cpp:637: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:642: error: variable or field 'set_error_stream' declared void ../dist/../cxx/cxx_db.cpp:642: error: 'int Db::set_error_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:642: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:642: error: 'error_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:643: error: expected ',' or ';' before '{' token ../dist/../cxx/cxx_db.cpp:647: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:652: error: variable or field 'set_message_stream' declared void ../dist/../cxx/cxx_db.cpp:652: error: 'int Db::set_message_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:652: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:652: error: 'message_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:653: error: expected ',' or ';' before '{' token make: *** [cxx_db.lo] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_db44/work/db-4.4.20/build_unix" && make all" returned error 2 Command output: ./db_cxx.h:492: error: 'ostream' has not been declared ./db_cxx.h:493: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:493: error: 'ostream' declared as a 'virtual' field ./db_cxx.h:493: error: expected ';' before '*' token ./db_cxx.h:494: error: 'ostream' has not been declared ./db_cxx.h:653: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:653: error: expected ';' before '*' token ./db_cxx.h:654: error: ISO C++ forbids declaration of 'ostream' with no type ./db_cxx.h:654: error: expected ';' before '*' token ./db_cxx.h:1032: error: expected class-name before '{' token ../dist/../cxx/cxx_db.cpp: In function 'int _verify_callback_c(void*, const void*)': ../dist/../cxx/cxx_db.cpp:503: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:503: error: 'out' was not declared in this scope ../dist/../cxx/cxx_db.cpp:506: error: expected primary-expression before ')' token ../dist/../cxx/cxx_db.cpp:506: error: expected `;' before 'handle' ../dist/../cxx/cxx_db.cpp: At global scope: ../dist/../cxx/cxx_db.cpp:516: error: 'ostream' has not been declared ../dist/../cxx/cxx_db.cpp:637: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:642: error: variable or field 'set_error_stream' declared void ../dist/../cxx/cxx_db.cpp:642: error: 'int Db::set_error_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:642: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:642: error: 'error_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:643: error: expected ',' or ';' before '{' token ../dist/../cxx/cxx_db.cpp:647: error: expected constructor, destructor, or type conversion before '*' token ../dist/../cxx/cxx_db.cpp:652: error: variable or field 'set_message_stream' declared void ../dist/../cxx/cxx_db.cpp:652: error: 'int Db::set_message_stream' is not a static member of 'class Db' ../dist/../cxx/cxx_db.cpp:652: error: 'ostream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:652: error: 'message_stream' was not declared in this scope ../dist/../cxx/cxx_db.cpp:653: error: expected ',' or ';' before '{' token make: *** [cxx_db.lo] Error 1 Warning: the following items did not execute (for db44): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: The following dependencies failed to build: apr-util db44 sqlite3 neon Error: Status 1 encountered during processing. }}} {{{ ngw@adreadedsunnyday ~$ uname -a Darwin adreadedsunnyday.local 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc }}} -- -- Ticket URL: <http://trac.macports.org/ticket/11617#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts