Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508008 - sys-devel/crossdev: overlay search does not consider requested versions
Summary: sys-devel/crossdev: overlay search does not consider requested versions
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 565054 (view as bug list)
Depends on:
Blocks: crossdev-bugs
  Show dependency tree
 
Reported: 2014-04-18 13:34 UTC by Andrew Aladjev
Modified: 2019-05-15 22:40 UTC (History)
2 users (show)

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


Attachments
crossdev patch (crossdev.patch,844 bytes, patch)
2014-04-18 13:34 UTC, Andrew Aladjev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Aladjev 2014-04-18 13:34:24 UTC
Hello. I want to create aarch64 crossdev environment today. I need gcc-4.9 from toolchain overlay and binutils-9999 from core gentoo overlay.

1. if I will add toolchain overlay to PORTDIR_OVERLAY:

 * getting sys-devel/binutils from /var/lib/layman/toolchain
 * getting sys-devel/gcc from /var/lib/layman/toolchain
 * getting sys-libs/glibc from /var/lib/layman/toolchain
 * getting sys-devel/gdb from /var/lib/layman/toolchain

but there are no binutils-9999 in toolchain overlay.

2. if I will not add toolchain overlay to PORTDIR_OVERLAY - there are no gcc-4.9 in core gentoo overlay

The problem is the part of "set_links" function:

for s in ${ovl} ${SEARCH_OVERLAYS} ; do
  if [[ -d ${s}/${cat}/${pkg} ]] ; then
    srcdir=${s}
    einfo "getting ${cat}/${pkg} from ${srcdir}"
    break
  fi
done

This code do not care about package's version. Please consider attached patch.

Reproducible: Always
Comment 1 Andrew Aladjev 2014-04-18 13:34:53 UTC
Created attachment 375200 [details, diff]
crossdev patch
Comment 2 dwfreed 2014-04-19 03:53:59 UTC
Crossdev is not part of portage, but is its own package.  Re-assigning to the maintainer.
Comment 3 SpanKY gentoo-dev 2014-04-20 03:07:50 UTC
Comment on attachment 375200 [details, diff]
crossdev patch

this doesn't work with version strings like ~4.8.1 or =4.9*
Comment 4 SpanKY gentoo-dev 2015-11-22 23:31:05 UTC
*** Bug 565054 has been marked as a duplicate of this bug. ***