Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: "Siong-Ui Te" <siongui@...>
Subject: strange masked packages during cross-compiling
Date: Tue, 18 Sep 2007 03:54:37 +0800
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=&quot;x86&quot;<br>ARCH=&quot;x86&quot;<br>CFLAGS=&quot;-Os -pipe&quot;
<br>CXXFLAGS=&quot;${CFLAGS}&quot;<br>CBUILD=&quot;x86_64-pc-linux-gnu&quot;<br>CHOST=&quot;i686-pc-linux-uclibc&quot;<br>CTARGET=&quot;i686-pc-linux-uclibc&quot;<br>GENTOO_MIRRORS=&quot;<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>&quot;<br>INPUT_DEVICES=&quot;keyboard&quot;<br>MAKEOPTS=&quot;-j3&quot;<br>USE=&quot;x86 symlink&quot;
<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=&quot;${SYSROOT}&quot;<br><br>if [[ &quot;$1&quot; == &quot;--root&quot; ]] ; then
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ROOT=&quot;$2&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shift 2<br>else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ROOT=&quot;${SYSROOT}&quot;<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 &quot;~sys-libs/com_err-1.40.2&quot; 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 &quot;sys-libs/ss-1.40.2
&quot; [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>
Replies:
Re: strange masked packages during cross-compiling
-- Mike Frysinger
Re: strange masked packages during cross-compiling
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Job for Embedded Gentoo Engineer with Robotics
Next by thread:
Re: strange masked packages during cross-compiling
Previous by date:
Job for Embedded Gentoo Engineer with Robotics
Next by date:
Re: strange masked packages during cross-compiling


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.