helpers/negotiate_auth/squid_kerb_auth configure fail cause of a test to --squid-dir= is not handling cross-compiling. main configure ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=i586-geode-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/squid --libexecdir=/usr/libexec/squid --localstatedir=/var --with-pidfile=/var/run/squid.pid --datadir=/usr/share/squid --with-logdir=/var/log/squid --with-default-user=squid --enable-auth=basic,digest,negotiate,ntlm --enable-removal-policies=lru,heap --enable-digest-auth-helpers=password --enable-basic-auth-helpers=squid_radius_auth,getpwnam,NCSA,MSNT --enable-external-acl-helpers=ip_user,session,unix_group --enable-ntlm-auth-helpers=fakeauth --enable-negotiate-auth-helpers= --enable-useragent-log --enable-cache-digests --enable-delay-pools --enable-referer-log --enable-arp-acl --with-large-files --with-filedescriptors=8192 --disable-strict-error-checking --disable-caps --enable-ipv6 --enable-snmp --enable-ssl --enable-icap-client --disable-ecap --disable-zph-qos --enable-storeio=ufs,diskd,aufs --enable-linux-netfilter --disable-linux-tproxy --enable-epoll --with-build-environment=_POSIX_V6_ILP32_OFFBIG === configuring in helpers/negotiate_auth/squid_kerb_auth (/usr/i586-geode-linux-gnu/tmp/portage/net-proxy/squid-3.1.8/work/squid-3.1.8/helpers/negotiate_auth/squid_kerb_auth) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=i586-geode-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--sysconfdir=/etc/squid' '--libexecdir=/usr/libexec/squid' '--localstatedir=/var' '--with-pidfile=/var/run/squid.pid' '--datadir=/usr/share/squid' '--with-logdir=/var/log/squid' '--with-default-user=squid' '--enable-auth=basic,digest,negotiate,ntlm' '--enable-removal-policies=lru,heap' '--enable-digest-auth-helpers=password' '--enable-basic-auth-helpers=squid_radius_auth,getpwnam,NCSA,MSNT' '--enable-external-acl-helpers=ip_user,session,unix_group' '--enable-ntlm-auth-helpers=fakeauth' '--enable-negotiate-auth-helpers=' '--enable-useragent-log' '--enable-cache-digests' '--enable-delay-pools' '--enable-referer-log' '--enable-arp-acl' '--with-large-files' '--with-filedescriptors=8192' '--disable-strict-error-checking' '--disable-caps' '--enable-ipv6' '--enable-snmp' '--enable-ssl' '--enable-icap-client' '--disable-ecap' '--disable-zph-qos' '--enable-storeio=ufs,diskd,aufs' '--enable-linux-netfilter' '--disable-linux-tproxy' '--enable-epoll' '--with-build-environment=_POSIX_V6_ILP32_OFFBIG' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=i586-geode-linux-gnu' 'CC=i586-geode-linux-gnu-gcc' 'CFLAGS=-Os -pipe -march=k6-2 -fomit-frame-pointer -I/usr/i586-geode-linux-gnu/usr/include/ -I/usr/i586-geode-linux-gnu/include/' 'LDFLAGS=-L/usr/i586-geode-linux-gnu/lib -L/usr/i586-geode-linux-gnu/usr/lib' 'CXXFLAGS=-Os -pipe -march=k6-2 -fomit-frame-pointer -I/usr/i586-geode-linux-gnu/usr/include/ -I/usr/i586-geode-linux-gnu/include/' '--with-squid=/usr/i586-geode-linux-gnu/tmp/portage/net-proxy/squid-3.1.8/work/squid-3.1.8' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=. I get the following error : checking for SQUID at '/usr/i586-geode-linux-gnu/tmp/portage/net-proxy/squid-3.1.8/work/squid-3.1.8' ... configure: error: in `/usr/i586-geode-linux-gnu/tmp/portage/net-proxy/squid-3.1.8/work/squid-3.1.8/helpers/negotiate_auth/squid_kerb_auth': configure: error: cannot run test program while cross compiling See `config.log' for more details configure: error: ./configure failed for helpers/negotiate_auth/squid_kerb_auth Attached patch fix it by assuming ac_cv_have_squid=yes Reproducible: Always Steps to Reproduce: # cat /usr/i586-geode-linux-gnu/etc/portage/env/net-proxy/squid export ac_cv_c_bigendian=no export ac_cv_epoll_works=yes export ac_cv_af_unix_large_dgram=yes export ac_cv_func_strnstr=no export with_endianness=little export EXTRA_ECONF="--with-build-environment=_POSIX_V6_ILP32_OFFBIG" 1. i586-geode-linux-gnu-emerge -vat squid
Created attachment 276415 [details, diff] squid-3.1.8-BJA-squid_kerb_auth-cross.diff
Created attachment 288887 [details, diff] files/squid-3.1.15-BJA-squid_kerb_auth-cross.diff Here is an update for squid 3.1.15
This patch was accepted upstream into 3.1.16. I believe this bug can now be closed.
Sure it's ok now : http://bugs.squid-cache.org/show_bug.cgi?id=3241