Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327339 - sys-devel/crossdev: emerge wrapper always uses --root-deps=rdeps
Summary: sys-devel/crossdev: emerge wrapper always uses --root-deps=rdeps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 16:03 UTC by Andrey Batyiev
Modified: 2010-09-23 03:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Batyiev 2010-07-07 16:03:58 UTC
I was trying to cross-compile x11-libs/libXrender-0.9.5 and got:

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-libs/libXrender-0.9.5/temp/aclocal.out

in file /var/tmp/portage/x11-libs/libXrender-0.9.5/temp/aclocal.out:

***** aclocal *****
***** PWD: /var/tmp/portage/x11-libs/libXrender-0.9.5/work/libXrender-0.9.5
***** aclocal

configure.ac:38: error: must install xorg-macros 1.3 or later before running autoconf/autogen
configure.ac:38: the top level
autom4te-2.65: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1

However, after installation of x11-misc/util-macros, x11-libs/libXrender-0.9.5 compiled perfectly. I think, that x11-libs/libXrender should DEPEND on x11-misc/util-macros.

Reproducible: Always




Portage 2.1.8.3 (default/linux/arm/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-20-generic i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-20-generic-i686-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 07 Jul 2010 12:30:21 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ftree-vectorizer-verbose=1"
CHOST="armv7a-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo"
CPPFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ftree-vectorizer-verbose=1"
CTARGET="armv7a-softfloat-linux-gnueabi"
CXXFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ftree-vectorizer-verbose=1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_UA.utf8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/armv7a-softfloat-linux-gnueabi/packages"
PORTAGE_CONFIGROOT="/usr/armv7a-softfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/crossdev /usr/local/portage /var/lib/layman/embedded-cross"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arm bash-completion berkdb bzip2 cli cracklib crypt cups curl cxx fortran gdbm gpm iconv modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt4 readline reflection session spl sqlite ssl sysfs tcpd unicode vim-syntax xorg zlib zsh-completion" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident        voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-07-11 09:07:33 UTC
if [[ "${PN/util-macros}" = "${PN}" ]]; then
    DEPEND="${DEPEND}
        >=x11-misc/util-macros-1.3.0
        sys-devel/binutils"
fi

The above code is from our x-modular eclass... so something must be really broken to not have it pulled in.
Comment 2 Andrey Batyiev 2010-08-06 17:32:32 UTC
(In reply to comment #1)
> The above code is from our x-modular eclass... so something must be really
> broken to not have it pulled in.
> 

Sorry for noise, but it seems it's bug in crossdev as it installs emerge wrapper with --root-deps=rdeps included as default thus preventing installation of util-macros.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2010-09-21 22:50:35 UTC
Not an X bug then.

Thanks
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-22 17:10:15 UTC

*** This bug has been marked as a duplicate of bug 151608 ***
Comment 5 SpanKY gentoo-dev 2010-09-22 22:01:19 UTC
not a dupe ... and for once, this is actually an issue to be re-assigned from bug-wranglers to crossdev unlike the vast majority that come from wranglers ...
Comment 6 solar (RETIRED) gentoo-dev 2010-09-23 03:19:32 UTC
The option was designed from the start to allow the end user to override. You can use --root-deps alone to force the DEPS to go to the ROOT. 

if you notice also the cmd in the wrapper behaves as such.
: ${CROSS_CMD:=emerge --root-deps=rdeps}

This allows you to override the default behavior in many ways. 

If you choose that route which overrides the default behavior then plz don't report problems with langs starting with the letter p.. We are well aware those.

I don't see a proposed solution with this bug, so I'm going to close as FIXED assuming my suggestion is what you needed.

Good luck.