Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370945 - net-proxy/c-icap-1.1.4 cross compil fix
Summary: net-proxy/c-icap-1.1.4 cross compil fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 22:37 UTC by Bertrand Jacquin
Modified: 2011-06-10 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
c-icap-0.1.4-BJA-cross.diff (c-icap-0.1.4-BJA-cross.diff,1.80 KB, patch)
2011-06-09 22:38 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2011-06-09 22:37:53 UTC
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.
Comment 1 Bertrand Jacquin 2011-06-09 22:38:32 UTC
Created attachment 276429 [details, diff]
c-icap-0.1.4-BJA-cross.diff
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-06-10 12:59:25 UTC
Picking this up, I'll merge it asap (probably today). Thanks for sending it upstream as well.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-06-10 18:00:54 UTC
This is fixed in 0.1.6 version (since there was a bump pending).

Thanks!