See <http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/5/changes>
Changes: [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Added expectNoConsumption() BodyPipe method to allow the consumer side to tell the pipe that no more consumers are expected. Calling expectNoConsumption() is needed when all consumers are gone but none of them consumed anything. This is typical for HTTP server-side transactions that abort before they receive the adapted ICAP request body. If FwdState quits without calling expectNoConsumption(), the ICAP transaction supplying the request body may get stuck waiting for buffer space. The body pipe may be the ICAP only link with the master transaction once the header is handled. This change is related to Squid bug #2964. Based on lp 3p1-rock branch, r9609. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Bug 2964: Prevent memory leaks when ICAP transactions fail. We now make sure that heap-allocated objects are deleted if an exception is thrown before the object pointers are saved/registered in a safe location like a data member. Assigning state.serviceWaiting=true after calling callWhenReady() in ModXact prevents ModXact leak when callWhenReady() throws. This may need more work to mark ModXact state appropriately for the adaptation log. Based on lp 3p1-rock branch, r9610. Added doneWithRetries() and used it to inform the request body sender that there will be no more body consumers. This allows the sender (e.g., an ICAP REQMOD transaction) to quit instead of waiting for body buffer space forever. Moved !self check into checkRetry() because we need to call doneWithRetries() even if self is nil. The move should not affect the old code. Based on lp 3p1-rock branch, r9613. At the end of preview, do not go into the writingPaused state if we already received the final response from the ICAP server. Instead, stop writing so that we do not get stuck waiting for the response that has already come. May also handle header-only (zero-size) ieof Preview better. TODO: Convert other HttpMsg pointer members to use safe HttpMsg::Pointer. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Added HttpMsg::Pointer typedef and convenience HttpMsg::Pointer operators. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Fixed an idnsGrokReply memory leak when merging DNS AAAA and A answers. We were not updating message->ancount after force-feeding the A message with answers from the old AAAA message. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> HTTP Compliance: delete Warnings that have warning-date different from Date. Added HttpReply::removeStaleWarnings() method that iterates over all Warning headers and removes stale warning-values. If a reply has no valid Date header, all warning-values with warning-date are removed. Also, we remove warning-value if we failed to parse warning-date. removeStaleWarnings() is called from processReplyHeader(), after reply headers are parsed. Co-Advisor test cases: test_case/rfc2616/date-accept-fmt-warn-asctime-rfc1123 test_case/rfc2616/date-accept-fmt-warn-asctime-rfc850 test_case/rfc2616/date-accept-fmt-warn-rfc1123-asctime test_case/rfc2616/date-accept-fmt-warn-rfc1123-rfc850 test_case/rfc2616/date-accept-fmt-warn-rfc850-asctime test_case/rfc2616/date-accept-fmt-warn-rfc850-rfc1123 [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> HTTP/1.1: Forward 1xx control messages to clients that support them. Forward 1xx control messages to all HTTP/1.1 clients and to HTTP/1.0 clients that sent an Expect: 100-continue header unless the 1xx message fails the optional http_reply_access check described below. RFC 2616 requires clients to accept 1xx control messages, even if they did not send Expect headers. However, 1xx control messages prohibited by http_reply_access are ignored and not forwarded. This can be used to protect broken HTTP/1.1 clients or naive HTTP/1.0 clients that unknowingly forward 100-continue headers, for example. Only fast checks are supported at this time. The patch removes ignore_expect_100 squid.conf option and the corresponding code because - the reasons to treat 100-continue specially have changed since we can now forward 1xx responses; - rejection of 100-continue request can still be done using a combination of the existing http_access and deny_info options; - hiding of 100-continue header from next hops can still be done using an existing request_header_access option; - 100 (Continue) responses can be hidden from clients using http_reply_access check described above. We still respond with 417 Expectation Failed to requests with expectations other than 100-continue. Implementation notes: We forward control messages one-at-a-time and stop processing the server response while the 1xx message is being written to client, to avoid server-driven DoS attacks with large number of 1xx messages. 1xx forwarding is done via async calls from HttpStateData to ConnStateData/ClientSocketContext. The latter then calls back to notify HttpStateData that the message was written out to client. If any one of the two async messages is not fired, HttpStateData will get stuck unless it is destroyed due to an external event/error. The code assumes such event/error will always happen because when ConnStateData/ClientSocketContext is gone, HttpStateData job should be terminated. This requires more testing/thought, but should still be better than not forwarding 1xx messages at all. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Dechunk incoming requests as they come in and chunk outgoing requests. The server side always chunks the request if and only if the original request was chunked. No next hop version checks are performed. * Client-side changes: Removed clientIsRequestBodyValid() as unused. It was called with a content-length>0 precondition that made the function always return true. Removed old dechunking hack that was trying to buffering the entire request body, pretending that we are still reading the headers. Adjusted related code. More work may be needed to identify client-side code that assumes the request size is always known. Removed ConnStateData::bodySizeLeft() because we do not always know how much body is left to read -- chunked requests do not have known sizes until we read the last-chunk. Moreover, it was possibly used wrong because sometimes we want to know whether we want to comm_read more body bytes and sometimes we want to know whether we want to "produce" more body bytes (i.e., copy already read bytes into the BodyPipe buffer, which can get full). Added ConnStateData::mayNeedToReadMoreBody() to replace conn->bodySizeLeft() with something more usable and precise. XXX: If there is a chunks parsing error, the new code just resets the connection. I tried to find a way to send an error page to the client, but failed to do so. It is easy to do when the headers and the body prefix is parsed, but if the error is send later, the server-side may start sending us its response, and the two responses would clash, causing assertions. I do not know how to fully avoid that. Perhaps we need to unregister from Store before responding with an error? Search for WE_KNOW_HOW_TO_SEND_ERRORS. Tried to break deep recursion/iteration around clientParseRequest. When chunked parser fails during the message prefix parsing, the rest of the code may decide that the connection is no longer used (and that there is no pending transaction, even though the currentobject member is not NULL!) and start parsing the second request. If that second parse fails (for example), there will be two concurrent errors to be sent to the client and the client-side code cannot handle that. However, due to the XXX above, we never send an error when chunking parser fails, making most of the related code polishing useless, at least for now. Removed my wrong XXX related to closing after initiateClose. Removed my(?) XXX related to endless chunked requests. There is nothing special about them, I guess, as a non-chunked request can be virtually endless as well if it has a huge Content-Length value. Use commIsHalfClosed() instead of fd_table[fd].flags.socket_eof for consistency with other client-side code and to improve readability. I think these should return the same value in our context but I am not sure. Correctly handle identity encoding. TODO: HTTPbis dropped it. Should we? Polished request_header_max_size handling code, converting old connKeepReadingIncompleteRequest and connCancelIncompleteRequests functions into a new ConnStateData::checkHeaderLimits() method. * Server-side changes: Separated "received whole request body" state from "sent whole request body". When we chunk requests, we need to add last-chunk. Thus, we may receive (and written) the whole raw body but still need to write last-chunk. This is not trivial because we should not write last-chunk if the body producer aborted. XXX: check all pipe->exhausted() callers to make sure all code has been adjusted. Added getMoreRequestBody() virtual method that Server uses to get encoded body bytes from its kids. FTP does not encode and uses default implementation. Fixed HTTP/FTP doneSendingRequestBody() to call its parent. I am not sure it helps with correctly processing transactions, but the parent method was designed to be called, and calling it make the transaction state more clear. Moved "broken POSTS" handling code into its own method and polished it (HttpStateData::finishingBrokenPost). We now skip the "broken POSTS" fix if the request is chunked. Resolved old XXX: HttpStateData::handleRequestBodyProducerAborted() was indeed doing nothing useful despite all the pretense. Now it aborts the transaction. Whether we are sending a chunked request depends not just on whether the received request was chunked (condition A) but also on whether we still do not know the request body size (condition B). The old code added the "Transfer-Encoding: chunked" header if (A && B) but chunked the request body if (A). This resulted in malformed requests with chunked request bodies but without the "Transfer-Encoding: chunked" header. When adding the Transfer-Encoding field, the old code also considered zero Content-Length as "unknown", which was, apparently wrong. This resulted in the "Content-Length: 0" header sent with a chunked encoded [empty] body, violating HTTP rules. I am not 100% sure we never use zero request->content_length value to mark "unknown" length though, so this may need more work. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Fixed a NetDB leak. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Removed erroneous !theEntries.empty() Must() in Adaptation::History. The "we need history" state of the retried transaction may be different from that of the original one due to reconfigurations, routing responses, etc. Based on lp 3p1-rock branch, r9622. [Amos Jeffries <[email protected]>] Author: Francesco Chemolli <[email protected]> Portability fix: Eui48 needs some extra headers on OpenBSD. [Amos Jeffries <[email protected]>] Author: Francesco Chemolli <[email protected]> Implemented --enable-build-info configure option. [Amos Jeffries <[email protected]>] Author: Christian Wittmer <[email protected]> Add --with-swapdir=PATH to override default /var/cache/squid For use on systems where /var/cache is not the required placement. Adds the 'squid' part to the default path in accordance to the UNIX standard filesystem layout definition. In squid-3 it is no longer used for creating an implicit active cache. Only documentation and potential core dumps use the variable set by this now. [Amos Jeffries <[email protected]>] Author: Klaus Singvogel Fix uninitialized variable in ESI [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Collect "isolated" job sightings occurring outside the job's entering/leaving async call brackets. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Added producedSize() method to report total data size put by the producer. It is often very convenient to know this size, but one must be careful not to use its value for body size, available body size, or exhaustion-calculating expressions. No runtime changes expected. [Amos Jeffries <[email protected]>] Author: Alex Rousskov <[email protected]> Bug 2311: crashes with ICAP RESPMOD for HTTP body size greater than 100kb BodyPipe::undoCheckOut() must not assert that undo is possible because it is not (currently) possible if the pipe buffer was modified. BodyPipe::undoCheckOut() must not throw if undo is not possible because it is often called when there is already an exception thrown and because it is called from the BodyPipeCheckout destructor and destructors should not throw (this case is an illustration for one reason why they should not). Currently, we only use an implicit undo, and only when an exception is being thrown while the buffer is checked out. Currently, the code that does checkout is probably safe because it should terminate the transaction if a parser throws. However, this is not 100% guaranteed, and the situation may change without us noticing. TODO: consider implementing the long-term solution discussed at http://www.mail-archive.com/[email protected]/msg07910.html COW-buffers may help here as well. [Amos Jeffries <[email protected]>] Author: Henrik Nordstrom <[email protected]> Tell libtool to by default skip building shared objects. We do not make any shared libraries from our convenience libraries. [Amos Jeffries <[email protected]>] Ensure /var/cache or jail equivalent exists on install [Amos Jeffries <[email protected]>] Additional tools may use malloc/calloc/free [Amos Jeffries <[email protected]>] 3.2.0.2 ------------------------------------------ [...truncated 3162 lines...] /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in POP3 sed -e 's,[...@]perl[@],/usr/bin/perl,g' <../../../../helpers/basic_auth/POP3/basic_pop3_auth.pl.in >basic_pop3_auth || (/bin/rm -f -f basic_pop3_auth ; exit 1) Making all in RADIUS if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/basic_auth/RADIUS -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT basic_radius_auth.o -MD -MP -MF ".deps/basic_radius_auth.Tpo" -c -o basic_radius_auth.o ../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc; then mv -f ".deps/basic_radius_auth.Tpo" ".deps/basic_radius_auth.Po"; else rm -f ".deps/basic_radius_auth.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/basic_auth/RADIUS -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT radius-util.o -MD -MP -MF ".deps/radius-util.Tpo" -c -o radius-util.o ../../../../helpers/basic_auth/RADIUS/radius-util.cc; then mv -f ".deps/radius-util.Tpo" ".deps/radius-util.Po"; else rm -f ".deps/radius-util.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o basic_radius_auth basic_radius_auth.o radius-util.o -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o basic_radius_auth basic_radius_auth.o radius-util.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() basic_radius_auth.o(.text+0x128): In function `main': ../../../../helpers/basic_auth/RADIUS/basic_radius_auth.cc:471: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in fake if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT fake.o -MD -MP -MF ".deps/fake.Tpo" -c -o fake.o ../../../../helpers/basic_auth/fake/fake.cc; then mv -f ".deps/fake.Tpo" ".deps/fake.Po"; else rm -f ".deps/fake.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o basic_fake_auth fake.o -L../../../lib -lmiscutil ../../../compat/libcompat.la libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o basic_fake_auth fake.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in getpwnam if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT basic_getpwnam_auth.o -MD -MP -MF ".deps/basic_getpwnam_auth.Tpo" -c -o basic_getpwnam_auth.o ../../../../helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc; then mv -f ".deps/basic_getpwnam_auth.Tpo" ".deps/basic_getpwnam_auth.Po"; else rm -f ".deps/basic_getpwnam_auth.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o basic_getpwnam_auth basic_getpwnam_auth.o -L../../../lib -lmiscutil ../../../compat/libcompat.la libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o basic_getpwnam_auth basic_getpwnam_auth.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in digest_auth Making all in file if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/digest_auth/file -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT digest_file_auth.o -MD -MP -MF ".deps/digest_file_auth.Tpo" -c -o digest_file_auth.o ../../../../helpers/digest_auth/file/digest_file_auth.cc; then mv -f ".deps/digest_file_auth.Tpo" ".deps/digest_file_auth.Po"; else rm -f ".deps/digest_file_auth.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/digest_auth/file -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT text_backend.o -MD -MP -MF ".deps/text_backend.Tpo" -c -o text_backend.o ../../../../helpers/digest_auth/file/text_backend.cc; then mv -f ".deps/text_backend.Tpo" ".deps/text_backend.Po"; else rm -f ".deps/text_backend.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o digest_file_auth digest_file_auth.o text_backend.o -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o digest_file_auth digest_file_auth.o text_backend.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in external_acl Making all in file_userip if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT ext_file_userip_acl.o -MD -MP -MF ".deps/ext_file_userip_acl.Tpo" -c -o ext_file_userip_acl.o ../../../../helpers/external_acl/file_userip/ext_file_userip_acl.cc; then mv -f ".deps/ext_file_userip_acl.Tpo" ".deps/ext_file_userip_acl.Po"; else rm -f ".deps/ext_file_userip_acl.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ext_file_userip_acl ext_file_userip_acl.o -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ext_file_userip_acl ext_file_userip_acl.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() ext_file_userip_acl.o(.text+0x2d4): In function `load_dict(__sFILE*)': ../../../../helpers/external_acl/file_userip/ext_file_userip_acl.cc:119: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in session if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT ext_session_acl.o -MD -MP -MF ".deps/ext_session_acl.Tpo" -c -o ext_session_acl.o ../../../../helpers/external_acl/session/ext_session_acl.cc; then mv -f ".deps/ext_session_acl.Tpo" ".deps/ext_session_acl.Po"; else rm -f ".deps/ext_session_acl.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ext_session_acl ext_session_acl.o -L../../../lib -lmiscutil ../../../compat/libcompat.la libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ext_session_acl ext_session_acl.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in unix_group if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT check_group.o -MD -MP -MF ".deps/check_group.Tpo" -c -o check_group.o ../../../../helpers/external_acl/unix_group/check_group.cc; then mv -f ".deps/check_group.Tpo" ".deps/check_group.Po"; else rm -f ".deps/check_group.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ext_unix_group_acl check_group.o -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ext_unix_group_acl check_group.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in log_daemon Making all in file if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT log_file_daemon.o -MD -MP -MF ".deps/log_file_daemon.Tpo" -c -o log_file_daemon.o ../../../../helpers/log_daemon/file/log_file_daemon.cc; then mv -f ".deps/log_file_daemon.Tpo" ".deps/log_file_daemon.Po"; else rm -f ".deps/log_file_daemon.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o log_file_daemon log_file_daemon.o libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o log_file_daemon log_file_daemon.o /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in negotiate_auth Making all in kerberos if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/negotiate_auth/kerberos -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT negotiate_kerberos_auth.o -MD -MP -MF ".deps/negotiate_kerberos_auth.Tpo" -c -o negotiate_kerberos_auth.o ../../../../helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc; then mv -f ".deps/negotiate_kerberos_auth.Tpo" ".deps/negotiate_kerberos_auth.Po"; else rm -f ".deps/negotiate_kerberos_auth.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/negotiate_auth/kerberos -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o ../../../../helpers/negotiate_auth/kerberos/base64.cc; then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o negotiate_kerberos_auth negotiate_kerberos_auth.o base64.o -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o negotiate_kerberos_auth negotiate_kerberos_auth.o base64.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -I../../../../helpers/negotiate_auth/kerberos -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT negotiate_kerberos_auth_test.o -MD -MP -MF ".deps/negotiate_kerberos_auth_test.Tpo" -c -o negotiate_kerberos_auth_test.o ../../../../helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc; then mv -f ".deps/negotiate_kerberos_auth_test.Tpo" ".deps/negotiate_kerberos_auth_test.Po"; else rm -f ".deps/negotiate_kerberos_auth_test.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o negotiate_kerberos_auth_test negotiate_kerberos_auth_test.o base64.o -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o negotiate_kerberos_auth_test negotiate_kerberos_auth_test.o base64.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in url_rewrite Making all in fake if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT fake.o -MD -MP -MF ".deps/fake.Tpo" -c -o fake.o ../../../../helpers/url_rewrite/fake/fake.cc; then mv -f ".deps/fake.Tpo" ".deps/fake.Po"; else rm -f ".deps/fake.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o url_fake_rewrite fake.o -L../../../lib -lmiscutil ../../../compat/libcompat.la libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o url_fake_rewrite fake.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in ntlm_auth Making all in fake if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT ntlm_fake_auth.o -MD -MP -MF ".deps/ntlm_fake_auth.Tpo" -c -o ntlm_fake_auth.o ../../../../helpers/ntlm_auth/fake/ntlm_fake_auth.cc; then mv -f ".deps/ntlm_fake_auth.Tpo" ".deps/ntlm_fake_auth.Po"; else rm -f ".deps/ntlm_fake_auth.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ntlm_fake_auth ntlm_fake_auth.o -L../../../libntlmauth -lntlmauth -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ntlm_fake_auth ntlm_fake_auth.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/libntlmauth> -lntlmauth -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in smb_lm if ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../src -I../../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT ntlm_smb_lm_auth.o -MD -MP -MF ".deps/ntlm_smb_lm_auth.Tpo" -c -o ntlm_smb_lm_auth.o ../../../../helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc; then mv -f ".deps/ntlm_smb_lm_auth.Tpo" ".deps/ntlm_smb_lm_auth.Po"; else rm -f ".deps/ntlm_smb_lm_auth.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ntlm_smb_lm_auth ntlm_smb_lm_auth.o -L../../../libntlmauth -lntlmauth -L../../../lib -lmiscutil ../../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o ntlm_smb_lm_auth ntlm_smb_lm_auth.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/libntlmauth> -lntlmauth -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() ntlm_smb_lm_auth.o(.text+0x1d1): In function `process_options(int, char**)': ../../../../helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc:443: warning: strcpy() is almost always misused, please use strlcpy() <http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/libntlmauth/libntlmauth.a(smblib-util.o)(.text+0xca)>: In function `SMB_AtrToStr': : warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() Making all in test-suite Making all in tools Making all in purge if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT convert.o -MD -MP -MF ".deps/convert.Tpo" -c -o convert.o ../../../tools/purge/convert.cc; then mv -f ".deps/convert.Tpo" ".deps/convert.Po"; else rm -f ".deps/convert.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT socket.o -MD -MP -MF ".deps/socket.Tpo" -c -o socket.o ../../../tools/purge/socket.cc; then mv -f ".deps/socket.Tpo" ".deps/socket.Po"; else rm -f ".deps/socket.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT signal.o -MD -MP -MF ".deps/signal.Tpo" -c -o signal.o ../../../tools/purge/signal.cc; then mv -f ".deps/signal.Tpo" ".deps/signal.Po"; else rm -f ".deps/signal.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT squid-tlv.o -MD -MP -MF ".deps/squid-tlv.Tpo" -c -o squid-tlv.o ../../../tools/purge/squid-tlv.cc; then mv -f ".deps/squid-tlv.Tpo" ".deps/squid-tlv.Po"; else rm -f ".deps/squid-tlv.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT copyout.o -MD -MP -MF ".deps/copyout.Tpo" -c -o copyout.o ../../../tools/purge/copyout.cc; then mv -f ".deps/copyout.Tpo" ".deps/copyout.Po"; else rm -f ".deps/copyout.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT conffile.o -MD -MP -MF ".deps/conffile.Tpo" -c -o conffile.o ../../../tools/purge/conffile.cc; then mv -f ".deps/conffile.Tpo" ".deps/conffile.Po"; else rm -f ".deps/conffile.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT purge.o -MD -MP -MF ".deps/purge.Tpo" -c -o purge.o ../../../tools/purge/purge.cc; then mv -f ".deps/purge.Tpo" ".deps/purge.Po"; else rm -f ".deps/purge.Tpo"; exit 1; fi /bin/sh ../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o purge convert.o socket.o signal.o squid-tlv.o copyout.o conffile.o purge.o -L../../lib -lmiscutil ../../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o purge convert.o socket.o signal.o squid-tlv.o copyout.o conffile.o purge.o -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() copyout.o(.text+0x94): In function `copy_out(unsigned long, unsigned long, unsigned int, char const*, char const*, char const*, bool)': ../../../tools/purge/copyout.cc:139: warning: strcpy() is almost always misused, please use strlcpy() copyout.o(.text+0xc4):../../../tools/purge/copyout.cc:142: warning: strcat() is almost always misused, please use strlcat() convert.o(.text+0x123): In function `my_inet_ntoa(in_addr const&, char*)': ../../../tools/purge/convert.cc:77: warning: sprintf() is often misused, please use snprintf() depbase=`echo squidclient.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; if ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -I/usr/local/include -I../../tools -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT squidclient.o -MD -MP -MF "$depbase.Tpo" -c -o squidclient.o ../../tools/squidclient.cc; then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi cp ../../test-suite/test_tools.cc . depbase=`echo test_tools.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; if ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -I/usr/local/include -I../../tools -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT test_tools.o -MD -MP -MF "$depbase.Tpo" -c -o test_tools.o test_tools.cc; then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o squidclient squidclient.o test_tools.o ../src/time.o ../src/ip/libip.la -L../lib -lmiscutil ../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o squidclient squidclient.o test_tools.o ../src/time.o ../src/ip/.libs/libip.a -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() squidclient.o(.text+0x711): In function `main': ../../tools/squidclient.cc:431: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() if ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -I/usr/local/include -I../../tools -DDEFAULT_CACHEMGR_CONFIG=\"<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_inst/etc/cachemgr.conf\"> -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT cachemgr__CGIEXT_-cachemgr.o -MD -MP -MF ".deps/cachemgr__CGIEXT_-cachemgr.Tpo" -c -o cachemgr__CGIEXT_-cachemgr.o `test -f 'cachemgr.cc' || echo '../../tools/'`cachemgr.cc; then mv -f ".deps/cachemgr__CGIEXT_-cachemgr.Tpo" ".deps/cachemgr__CGIEXT_-cachemgr.Po"; else rm -f ".deps/cachemgr__CGIEXT_-cachemgr.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -I/usr/local/include -I../../tools -DDEFAULT_CACHEMGR_CONFIG=\"<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_inst/etc/cachemgr.conf\"> -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT cachemgr__CGIEXT_-test_tools.o -MD -MP -MF ".deps/cachemgr__CGIEXT_-test_tools.Tpo" -c -o cachemgr__CGIEXT_-test_tools.o `test -f 'test_tools.cc' || echo '../../tools/'`test_tools.cc; then mv -f ".deps/cachemgr__CGIEXT_-test_tools.Tpo" ".deps/cachemgr__CGIEXT_-test_tools.Po"; else rm -f ".deps/cachemgr__CGIEXT_-test_tools.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o cachemgr.cgi cachemgr__CGIEXT_-cachemgr.o cachemgr__CGIEXT_-test_tools.o ../src/time.o ../src/ip/libip.la -L../lib -lmiscutil ../compat/libcompat.la -lm libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o cachemgr.cgi cachemgr__CGIEXT_-cachemgr.o cachemgr__CGIEXT_-test_tools.o ../src/time.o ../src/ip/.libs/libip.a -L<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/lib> -lmiscutil ../compat/.libs/libcompat.a -lm /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/gcc/i386-unknown-openbsd4.7/4.2.4/../../../libestdc++.so.11.0: warning: sprintf() is often misused, please use snprintf() sed " s...@default_error_dir@%%g; s...@default_mime_table@%%g; s%@""PACKAGE_STRING""@%Squid Web Proxy 3.2.0.2-BZR%g; s...@sysconfdir@%<http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_inst/etc%g;> " < ../../tools/cachemgr.cgi.8.in > cachemgr.cgi.8 Making dvi in compat Making dvi in lib Making dvi in snmplib Making dvi in libltdl Making dvi in libntlmauth Making dvi in scripts Making dvi in src Making dvi in base Making dvi in comm Making dvi in eui Making dvi in acl Making dvi in fs Making dvi in repl Making dvi in auth Making dvi in ip Making dvi in icmp Making dvi in ident Making dvi in log Making dvi in ipc Making dvi in icons Making dvi in errors Making dvi in doc Making dvi in manuals Making dvi in helpers Making dvi in basic_auth Making dvi in DB Making dvi in MSNT Making dvi in MSNT-multi-domain Making dvi in NCSA Making dvi in NIS Making dvi in POP3 Making dvi in RADIUS Making dvi in fake Making dvi in getpwnam Making dvi in digest_auth Making dvi in file Making dvi in external_acl Making dvi in file_userip Making dvi in session Making dvi in unix_group Making dvi in log_daemon Making dvi in file Making dvi in negotiate_auth Making dvi in kerberos Making dvi in url_rewrite Making dvi in fake Making dvi in ntlm_auth Making dvi in fake Making dvi in smb_lm Making dvi in test-suite Making dvi in tools Making dvi in purge Making check in compat make testPreCompiler if ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT testPreCompiler.o -MD -MP -MF ".deps/testPreCompiler.Tpo" -c -o testPreCompiler.o ../../compat/testPreCompiler.cc; then mv -f ".deps/testPreCompiler.Tpo" ".deps/testPreCompiler.Po"; else rm -f ".deps/testPreCompiler.Tpo"; exit 1; fi if ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT testMain.o -MD -MP -MF ".deps/testMain.Tpo" -c -o testMain.o `test -f '../../src/tests/testMain.cc' || echo '../../compat/'`../../src/tests/testMain.cc; then mv -f ".deps/testMain.Tpo" ".deps/testMain.Po"; else rm -f ".deps/testMain.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o testPreCompiler testPreCompiler.o testMain.o -L/usr/local/lib -lcppunit libtool: link: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o testPreCompiler testPreCompiler.o testMain.o -L/usr/local/lib -lcppunit -lm -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib /usr/local/lib/libestdc++.so.11.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/libcppunit.so.1.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libcppunit.so.1.0: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/libcppunit.so.1.0: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::_M_out_cur_move(long)' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, std::allocator<char> const&)' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned long)' collect2: ld returned 1 exit status *** Error code 1 Stop in <http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/compat> (line 489 of Makefile). *** Error code 1 Stop in <http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build/compat> (line 721 of Makefile). *** Error code 1 Stop in <http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default/squid-3.2.0.2-BZR/_build> (line 467 of Makefile). *** Error code 1 Stop in <http://build.squid-cache.org/job/3.2-i386-OpenBSD.4/ws/btlayer-00-default> (line 663 of Makefile). buildtest.sh result is 1 BUILD: .././test-suite/buildtests/layer-00-default.opts /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::_M_out_cur_move(long)' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, std::allocator<char> const&)' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)' /usr/local/lib/libcppunit.so.1.0: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned long)' *** Error code 1 *** Error code 1 *** Error code 1 *** Error code 1 Build FAILED.
