| Summary: | sys-devel/crossdev should add packages to world | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christopher Harvey <chris> |
| Component: | [OLD] Development | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | chris, embedded, toolchain, xmw |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.gentoo.org/proj/en/base/embedded/cross-development.xml | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
$ emerge --info Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r10-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 05 Apr 2010 18:00:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.8.1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -mmmx -msse -msse2 -msse3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -pipe -mmmx -msse -msse2 -msse3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/portage/layman/pd-overlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emacs emboss encode esd exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 jack jpeg lame lcms libnotify mad midi mikmod mmx mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin octave ogg opengl openmp pam pango pcre pdf png ppds pppd python qt3support readline reflection sdl session sndfile spell spl sse sse2 sse3 sse3threads ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l2 vorbis wavpack win32codecs x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS crossdev -t doesnt add it to world, just use emerge --noreplace on these packages. (In reply to comment #2) > crossdev -t doesnt add it to world, just use emerge --noreplace on these > packages. > ok, but is that really correct behavior? If the user runs crossdev to install a toolchain then that means the user wants it there and it shouldn't be removed by depclean. (In reply to comment #3) > ok, but is that really correct behavior? If the user runs crossdev to install a > toolchain then that means the user wants it there and it shouldn't be removed > by depclean. that would be a possibility. just rename the subject to: crossdev-<version> improvement. What really bugs me is the fact that it creates these symlinked ebuild cross-<arc>/{binutils,gcc,...} to whatever comes first in PORTDIR_OVERLAY, if that is something from layman, there's a wrong overlay info on querys or the symlinks get removed/changed by layman -S. This behavior is intended. The reason it is omitted from world is multi fold. Mainly. it's from a dynamic overlay that really does not exist. Packages outside of the tree really don't belong in the world file. Sorry but you need to add them manually if you want such behaviors. You can either edit world file or emerge cross-$CHOST/$toolchain Re: What bugs you. If you know of a better automagic way to auto select which overlay to use other then the first in the array. Please submit ideas with patches. *** This bug has been marked as a duplicate of bug 280079 *** |
When I install the avr gcc toolchain with crossdev-0.9.18-r10 on a fairly fresh install it prevents me from using depclean because depclean wants to remove the just-compiled avr toolchain. Also, I noticed that running crossdev -t avr after the toolchain is already installed it wont re-install the packages. I don't know if this is related or not. Reproducible: Always Steps to Reproduce: 1. crossdev --without-headers -t avr -v 2. emerge -pv --depclean 3. see avr toolchain marked for removal. Actual Results: >>> These are the packages that would be unmerged: cross-avr/gcc selected: 4.4.3 protected: none omitted: none cross-avr/avr-libc selected: 1.6.8 protected: none omitted: none cross-avr/binutils selected: 2.20.1 protected: none omitted: none I also saw there are newer versions of crossdev...should I let depclean remove the toolchain then unmask the newer versions and try again? Maybe the solution to this bug is to bump crossdev.