Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389445 - sys-devel/crossdev-20111018 : "getting * from *" does not obey repository priorities.
Summary: sys-devel/crossdev-20111018 : "getting * from *" does not obey repository pri...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 21:28 UTC by Cody Schafer
Modified: 2011-11-05 16:49 UTC (History)
1 user (show)

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


Attachments
cross-avr-info.log (cross-avr-info.log,16.70 KB, text/plain)
2011-11-03 21:28 UTC, Cody Schafer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cody Schafer 2011-11-03 21:28:04 UTC
Created attachment 291615 [details]
cross-avr-info.log

1) Add an overlay with sys-devel/gcc of equal version to the one in portage.
2) Add /usr/portage to the PORTDIR_OVERLAY variable as the last item.
   At this point, it one runs `emerge -v --info` and examines the list of "Repositories", priority for "gentoo" (/usr/portage) should be the highest.
3) Run `crossdev -t avr` without having any cross-avr/* ebuilds in place (can be cleaned up via `crossdev -C avr`).
4) "getting sys-devel/gcc from /var/lib/layman/overlayname" occurs rather than the expected "getting sys-devel/gcc from /usr/portage"

The following is actual output from a test run:


 sudo crossdev -t avr
------------------------------------------------------------------------
 * crossdev version:      20111018
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   *
 * Target System:         avr
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * libc:                  avr-libc-[latest]

 * CROSSDEV_OVERLAY:      /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  - 
 * getting sys-devel/binutils from /usr/portage
 * getting sys-devel/gcc from /var/lib/layman/jmesmon
 * getting dev-embedded/avr-libc from /usr/portage
 * getting sys-devel/gdb from /usr/portage
 * getting dev-util/insight from /usr/portage
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -
!!! WARNING - Cannot auto-configure CHOST avr
Comment 1 SpanKY gentoo-dev 2011-11-05 16:49:28 UTC
it is impossible to guess at what the user wants.  use the --overlay options to tell crossdev explicitly what overlays you want it to utilize.