Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-embedded
Hello,<br><br>I am building a x86-uclibc initramfs images on a amd64-glibc machine.<br>Here is my make.conf under $PORTAGE_CONFIGROOT:<br>---<br>ACCEPT_KEYWORDS="x86"<br>ARCH="x86"<br>CFLAGS="-Os -pipe"
<br>CXXFLAGS="${CFLAGS}"<br>CBUILD="x86_64-pc-linux-gnu"<br>CHOST="i686-pc-linux-uclibc"<br>CTARGET="i686-pc-linux-uclibc"<br>GENTOO_MIRRORS="<a href="ftp://ftp.twaren.net/Linux/Gentoo/">
ftp://ftp.twaren.net/Linux/Gentoo/</a> <a href="ftp://ftp.ncnu.edu.tw/Linux/Gentoo/">ftp://ftp.ncnu.edu.tw/Linux/Gentoo/</a>"<br>INPUT_DEVICES="keyboard"<br>MAKEOPTS="-j3"<br>USE="x86 symlink"
<br>---<br><br>Here is my xmerge script for compiling packages:<br>---<br>#!/bin/bash<br>SYSROOT=/usr/i686-pc-linux-uclibc<br>PORTAGE_CONFIGROOT="${SYSROOT}"<br><br>if [[ "$1" == "--root" ]] ; then
<br> ROOT="$2"<br> shift 2<br>else<br> ROOT="${SYSROOT}"<br>fi<br>export SYSROOT PORTAGE_CONFIGROOT ROOT<br><br>emerge $*<br>---<br><br>When I tried to cross-compile sys-libs/ss (./xmerge --root=somewhere -p ss), the following error message showed up:
<br>---<br>These are the packages that would be merged, in order:<br><br>Calculating dependencies \<br>!!! All ebuilds that could satisfy "~sys-libs/com_err-1.40.2" have been masked.<br>!!! One of the following masked packages is required to complete your request:
<br>- sys-libs/com_err-1.40.2 (masked by: ~amd64 keyword)<br><br>For more information, see MASKED PACKAGES section in the emerge man page or<br>refer to the Gentoo Handbook.<br>(dependency required by "sys-libs/ss-1.40.2
" [ebuild])<br>---<br><br>It looks like a portage bug since I already set ARCH=x86 in make.conf under $PORTAGE_CONFIGROOT,<br>sys-libs/com_err should not be masked by ~amd64 keyword.<br>Does anybody have nice workaround solution except unmaking sys-libs/com_err in $PORTAGE_CONFIGROOT/etc/portage/package.unmask?
<br>Thanks in advance.<br><br>-siongui<br>
|
|