| Summary: | dev-libs/popt-1.13 fails to cross-compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stefan Fröberg <sfroberg> |
| Component: | [OLD] Library | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Updated dev-libs/popt-1.13 ebuild to allow cross-compiling
dev-libs/popt-1.13 cross-compiling patch |
||
Created attachment 190024 [details]
Updated dev-libs/popt-1.13 ebuild to allow cross-compiling
Created attachment 190026 [details, diff]
dev-libs/popt-1.13 cross-compiling patch
Works! (at least for dev-libs/popt-1.13)
|
Hello. I tried to cross-compile (glibc -> uclibc) dev-libs/popt-1.13 and got the following error: **************************************************************************** checking for string.h... (cached) yes checking for va_copy() function... configure: error: cannot run test program while cross compiling See config.log' for more details. **************************************************************************** Found the possible fix from (I will post the patch in next message if it works): http://www.mail-archive.com/popt-devel@rpm5.org/msg00121.html Reproducible: Always Steps to Reproduce: 1. Build the cross-compile toolchain (target uclibc, if that matters) and prepare the build environment system with the help of: http://www.gentoo.org/proj/en/base/embedded/cross-development.xml 2. Try to cross-compile with USE="-*" xmerge --root your_target_folder_here =dev-libs/popt-1.13