=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for avenger-0.8.4nb2 --- config.h --- --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in libasync --- arandom.o --- --- clock_gettime.o --- --- getopt_long.o --- --- arandom.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT arandom.o -MD -MP -MF .deps/arandom.Tpo -c -o arandom.o arandom.c --- clock_gettime.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT clock_gettime.o -MD -MP -MF .deps/clock_gettime.Tpo -c -o clock_gettime.o clock_gettime.c --- getopt_long.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT getopt_long.o -MD -MP -MF .deps/getopt_long.Tpo -c -o getopt_long.o getopt_long.c --- clock_gettime.o --- mv -f .deps/clock_gettime.Tpo .deps/clock_gettime.Po --- arandom.o --- mv -f .deps/arandom.Tpo .deps/arandom.Po --- maketables.o --- --- rwfd.o --- --- maketables.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT maketables.o -MD -MP -MF .deps/maketables.Tpo -c -o maketables.o maketables.c --- rwfd.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT rwfd.o -MD -MP -MF .deps/rwfd.Tpo -c -o rwfd.o rwfd.c --- getopt_long.o --- mv -f .deps/getopt_long.Tpo .deps/getopt_long.Po --- stktrace.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -w -c ./stktrace.c --- rwfd.o --- mv -f .deps/rwfd.Tpo .deps/rwfd.Po --- maketables.o --- mv -f .deps/maketables.Tpo .deps/maketables.Po --- study.o --- --- suidprotect.o --- --- study.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT study.o -MD -MP -MF .deps/study.Tpo -c -o study.o study.c --- suidprotect.o --- clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT suidprotect.o -MD -MP -MF .deps/suidprotect.Tpo -c -o suidprotect.o suidprotect.c --- aerr.o --- clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT aerr.o -MD -MP -MF .deps/aerr.Tpo -c -o aerr.o aerr.C --- suidprotect.o --- mv -f .deps/suidprotect.Tpo .deps/suidprotect.Po --- aios.o --- clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT aios.o -MD -MP -MF .deps/aios.Tpo -c -o aios.o aios.C --- study.o --- mv -f .deps/study.Tpo .deps/study.Po --- aerr.o --- In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: error: 'array' defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class --- arena.o --- clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include/db4 -I/usr/include -I.. -I/usr/include/pcap -DETCDIR=\"/usr/pkg/etc/avenger\" -DLIBEXEC=\"/usr/pkg/libexec\" -DBINDIR=\"/usr/pkg/bin\" -DEXECDIR=LIBEXEC -DDATADIR=\"/usr/pkg/share\" -DPIDDIR=\"/var/run\" -I../libasync -O2 -I/usr/pkg/include/db4 -I/usr/include -Wall -Werror -MT arena.o -MD -MP -MF .deps/arena.Tpo -c -o arena.o arena.C --- aerr.o --- In file included from aerr.C:25: --- aios.o --- In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: error: 'array' defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:673:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:674:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ --- aerr.o --- In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:673:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:674:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ --- arena.o --- In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: error: 'array' defined as a class template here but previously declared as a struct template [-Werror,-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class --- aios.o --- In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:250:28: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:250:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:251:27: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] --- aerr.o --- In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:250:28: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:250:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class --- aios.o --- extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:268:27: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:268:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from aios.C:26: In file included from ./aios.h:28: ./str.h:178:1: error: 'bssstr' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; --- aerr.o --- ./suio++.h:251:27: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:268:27: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:268:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: --- arena.o --- In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:673:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:674:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from arena.C:24: --- aios.o --- ^~~~~ struct In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ --- aerr.o --- ./str.h:178:1: error: 'bssstr' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ --- arena.o --- In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:250:28: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:250:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:251:27: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:268:27: error: struct 'suio' was previously declared as a class [-Werror,-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:268:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: error: 'bssstr' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from arena.C:24: --- aerr.o --- In file included from aerr.C:25: --- aios.o --- In file included from aios.C:26: --- arena.o --- In file included from ./arena.h:28: --- aerr.o --- In file included from ./async.h:28: --- aios.o --- In file included from ./aios.h:28: --- arena.o --- In file included from ./async.h:28: --- aerr.o --- In file included from ./amisc.h:29: --- aios.o --- In file included from ./str.h:29: --- arena.o --- In file included from ./amisc.h:29: --- aerr.o --- In file included from ./err.h:28: --- aios.o --- In file included from ./suio++.h:30: --- arena.o --- In file included from ./err.h:28: --- aerr.o --- In file included from ./str.h:29: --- arena.o --- In file included from ./str.h:29: --- aerr.o --- In file included from ./suio++.h:30: --- aios.o --- ./callback.h:1699:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; --- arena.o --- In file included from ./suio++.h:30: --- aios.o --- ^ --- aerr.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; --- arena.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] --- aerr.o --- ^ --- aios.o --- ./aios.h:40:11: note: in instantiation of template class 'callback' requested here --- arena.o --- typedef struct ref > ref; --- aios.o --- typedef callback::ptr rcb_t; --- arena.o --- ^ --- aios.o --- ^ In file included from aios.C:26: --- aerr.o --- ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; --- arena.o --- ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here --- aerr.o --- ^ --- aios.o --- In file included from ./aios.h:28: --- arena.o --- typedef callback::ref cbi; ^ --- aerr.o --- In file included from aerr.C:25: --- aios.o --- In file included from ./str.h:29: --- arena.o --- In file included from arena.C:24: --- aerr.o --- In file included from ./async.h:28: --- aios.o --- In file included from ./suio++.h:30: --- arena.o --- In file included from ./arena.h:28: --- aerr.o --- In file included from ./amisc.h:29: --- arena.o --- In file included from ./async.h:28: --- aerr.o --- In file included from ./err.h:28: --- aios.o --- ./callback.h:1700:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; --- arena.o --- In file included from ./amisc.h:29: --- aerr.o --- In file included from ./str.h:29: --- aios.o --- ^ --- arena.o --- In file included from ./err.h:28: --- aerr.o --- In file included from ./suio++.h:30: --- arena.o --- In file included from ./str.h:29: --- aios.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; --- arena.o --- In file included from ./suio++.h:30: --- aios.o --- ^ --- aerr.o --- ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ --- arena.o --- ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] --- aios.o --- ./aios.h:41:11: note: in instantiation of template class 'callback' requested here --- arena.o --- typedef struct ptr > ptr; --- aios.o --- typedef callback::ptr wcb_t; --- arena.o --- ^ --- aios.o --- ^ --- aerr.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ --- aios.o --- In file included from aios.C:26: --- arena.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] --- aios.o --- In file included from ./aios.h:28: --- arena.o --- typedef struct ref > ref; ^ --- aios.o --- In file included from ./str.h:29: --- aerr.o --- ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ --- aios.o --- In file included from ./suio++.h:30: --- arena.o --- ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here --- aerr.o --- In file included from aerr.C:25: --- arena.o --- typedef callback::ref cbs; ^ --- aerr.o --- In file included from ./async.h:28: --- aios.o --- ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; --- arena.o --- In file included from arena.C:24: --- aerr.o --- In file included from ./amisc.h:29: --- aios.o --- ^ --- arena.o --- In file included from ./arena.h:28: --- aerr.o --- In file included from ./err.h:28: --- aios.o --- In file included from aios.C:26: --- arena.o --- In file included from ./async.h:28: --- aerr.o --- In file included from ./str.h:29: --- aios.o --- In file included from ./aios.h:28: --- arena.o --- In file included from ./amisc.h:29: --- aerr.o --- In file included from ./suio++.h:30: --- aios.o --- In file included from ./str.h:29: --- arena.o --- In file included from ./err.h:28: --- aios.o --- In file included from ./suio++.h:30: --- arena.o --- In file included from ./str.h:29: --- aios.o --- In file included from ./callback.h:612: --- aerr.o --- ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; --- arena.o --- In file included from ./suio++.h:30: --- aerr.o --- ^ --- aios.o --- ./refcnt.h:482:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref ref; --- arena.o --- ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] --- aios.o --- ^ --- aerr.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] --- arena.o --- typedef struct ptr > ptr; --- aerr.o --- typedef struct ref > ref; --- arena.o --- ^ --- aerr.o --- ^ --- aios.o --- ./aios.h:45:9: note: in instantiation of template class 'ptr >' requested here rcb_t rcb; --- arena.o --- ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] --- aios.o --- ^ --- aerr.o --- ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here --- arena.o --- typedef struct ref > ref; --- aerr.o --- typedef callback::ref cbb; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:482:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:104:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ --- aios.o --- In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./aios.h:58:39: note: in instantiation of template class 'ref >' requested here { infn = &aios::rnone; rcb_t::ref cb = rcb; rcb = NULL; (*cb) (s, err); } ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:482:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:67:29: note: in instantiation of template class 'ptr >' requested here --- arena.o --- ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1187:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:482:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:104:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2212:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:77:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref, ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2213:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [arena.o] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4/libasync --- aerr.o --- In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2212:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:77:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref, ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2213:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr > ptr; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [aerr.o] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4/libasync --- aios.o --- virtual void mkwcb (wcb_t cb) { if (fd >= 0) (*cb) (err); } ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:420:11: error: struct 'ptr' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ptr ptr; ^ ./aios.h:116:20: note: in instantiation of template class 'ref' requested here static ref alloc (int fd, size_t rbsz = defrbufsize) ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:612: ./refcnt.h:482:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:161:44: note: in instantiation of template class 'ptr' requested here aiosout (const aios_t::ptr &a) : strbuf (a->outb), s(a) { s->outstart (); } ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1186:11: error: struct 'ref' was previously declared as a class [-Werror,-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [aios.o] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4/libasync 3 errors bmake[2]: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4/libasync *** [all-recursive] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4 1 error bmake[1]: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4 *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4 1 error bmake: stopped in /var/pkgsrc/work/mail/avenger/work/avenger-0.8.4 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/mail/avenger *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/avenger