[Bug 1496924] Re: squid3 FTBFS due to bad libecap3 dependency and logical-not-parentheses warning
Amos Jeffries
1496924 at bugs.launchpad.net
Thu Oct 1 03:03:10 UTC 2015
FYI: The libecap older than 1.0.0 and Squid older than 3.5 are in a
lock-step dependency due to the libecap API and ABI being unstable in
those versions. Even if you can get it to build the call sequence to the
API is wrong at run-time. You get to pick libecap2 (0.2) + squid (3.3,
3.4) or libecap3 (1.0.1) + squid (3.5), but not a mix.
At this stage of Wily I suggest reverting to libecap2.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1496924
Title:
squid3 FTBFS due to bad libecap3 dependency and logical-not-
parentheses warning
Status in squid3 package in Ubuntu:
Triaged
Bug description:
Currently squid3 FTBFS due to:
1. libecap3-dev dependency, should be libecap2-dev [1]
2. error due to a "logical-not-parentheses" warning
===== Build error #1
checking for EXT_LIBECAP... no
configure: error: Package requirements (libecap >= 0.2.0 libecap < 0.3) were not met:
Requested 'libecap < 0.3' but version of eCAP is 1.0.1
You may find new versions of eCAP at http://www.e-cap.org/
=====
===== Build error #2
++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -isystem /usr
/include/mit-krb5 -isystem /usr/include/mit-krb5 -I. -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -
isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -I/usr/include/libxml2 -Wall -Wpointer
-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -m64 -g -O2 -fPIE -fstack-protector-st
rong -Wformat -Werror=format-security -std=c++0x -c -o lru/store_repl_lru.o lru/store_repl_lru.cc
heap/store_repl_heap.cc: In function 'StoreEntry* heap_purgeNext(RemovalPurgeWalker*)':
heap/store_repl_heap.cc:224:36: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!heap_nodes(heap->theHeap) > 0)
^
======
[1] https://launchpad.net/ubuntu/+source/squid3/3.3.8-1ubuntu15/+build/7870177
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1496924/+subscriptions
More information about the Ubuntu-sponsors
mailing list