c-icap can't cross-compile cause to configure.in that don't let user define it : ./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/c-icap --disable-dependency-tracking --disable-maintainer-mode --disable-static --enable-large-files --enable-ipv6 --without-bdb --without-ldap ... checking if posix 1003.1b interprocess semaphores works... configure: error: in `/usr/i586-geode-linux-gnu/tmp/portage/net-proxy/c-icap-0.1.4/work/c_icap-0.1.4': configure: error: cannot run test program while cross compiling Here is a fix for 1003.1b and fnctl by letting users setting the cached variables ac_cv_10031b_ipc_sem and ac_cv_fcntl Tested on cross-compiling env and host-compiling env Reproducible: Always Steps to Reproduce: 1. i586-geode-linux-gnu-emerge -vat net-proxy/c-icap 2. 3.
Created attachment 276429 [details, diff] c-icap-0.1.4-BJA-cross.diff
Picking this up, I'll merge it asap (probably today). Thanks for sending it upstream as well.
This is fixed in 0.1.6 version (since there was a bump pending). Thanks!