[squid-dev] Possible bug with file-descriptor parameter in configure of squid-6.0.0-20221210-r71f62e86e

infant vinay infantvin at yahoo.com
Fri Dec 23 21:29:42 UTC 2022


Hi
I am trying to compile squid release squid-6.0.0-20221210-r71f62e86e downloaded from here http://www.squid-cache.org/Versions/v6/squid-6.0.0-20221210-r71f62e86e.tar.bz2

I am using the same configure option I have used for at least 2+ years now which includes the  --with-filedescriptors=4096 option in it. The options are further down below.

Until the most recent version of this release in Sep 2022 I have never seen any errors during configure
However in the Dec 2022 release, I see the following error
checking for main in -lmalloc... no
checking for library containing log... -lm
configure: error: --with-filedescriptors expects a numeric argument

Configure option used is
./configure --prefix=/opt/squid --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --enable-removal-policies=heap,lru --enable-ssl --enable--storeio=aufs,diskd,ufs,rock --enable-diskio --with-aio --with-default-user=squid --with-pthreads --disable-arch-native --disable-ipv6 --enable-xmalloc-statistics --enable-delay-pools --disable-snmp --with-filedescriptors=4096
CFLAGS and CXXFLAGS set are
-O3 -march=znver2 -pthread

I have ensured that the ulimit -n for the root user I use for compile is set to 8192 and I am not sure what else to do.
squid-6.0.0-20221210-r71f62e86e]# ulimit -n
8192

OS is Fedora Core rawhide (v38) - as I said this has worked until the previous squid version released in Sep 2022 on the same OS and same hardware.
Attaching the running version of squid info here
 squid-6.0.0-20221210-r71f62e86e]# /opt/squid/sbin/squid -v
Squid Cache: Version 6.0.0-20220905-r9358e99f9
Service Name: squid
configure options:  '--prefix=/opt/squid' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--enable-removal-policies=heap,lru' '--enable-ssl' '--enable--storeio=aufs,diskd,ufs,rock' '--enable-diskio' '--with-aio' '--with-default-user=squid' '--with-pthreads' '--disable-arch-native' '--disable-ipv6' '--enable-xmalloc-statistics' '--with-filedescriptors=4096' '--enable-delay-pools' '--disable-snmp' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O3 -march=znver2 -pthread' 'CXXFLAGS=-O3 -march=znver2 -pthread' --enable-ltdl-convenience

I am not sure what else you need. Please do ask if you need. I will attach the config.log file here too if that helps you.
Thanks for verifying if this is a bug. If there is an error from my side, I am ok to be pointed out by you as to what is wrong.
- Infant V Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20221223/7839e13c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 946004 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20221223/7839e13c/attachment-0001.bin>


More information about the squid-dev mailing list