Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519636 - sys-devel/crossdev: emerge-wrapper should create a CTARGET wrapper for /usr/bin/ebuild
Summary: sys-devel/crossdev: emerge-wrapper should create a CTARGET wrapper for /usr/b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 09:50 UTC by Michael Seifert
Modified: 2021-11-26 19:02 UTC (History)
2 users (show)

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 Michael Seifert 2014-08-11 09:50:07 UTC
When establishing a cross-compile toolchain with crossdev, a wrapper for the emerge command is created, such as x86_64-w64-mingw32-emerge. However, there is no command like x86_64-w64-mingw32-ebuild which allows running ebuild commands in the cross-compile environment.

To ease the development of ebuilds for other architectures, crossdev should provide a prefixed ebuild command, such as x86_64-w64-mingw32-ebuild, when creating a toolchain.


Reproducible: Always

Steps to Reproduce:
1. x86_64-w64-mingw32-ebuild boost-1.55.0-r1.ebuild configure
Actual Results:  
x86_64-w64-mingw32-ebuild does not exist.

Expected Results:  
x86_64-w64-mingw32-ebuild runs the required steps until the ebuild's configure phase.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-20 09:30:52 UTC
https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=748fcd09f89d10b8cf85d11dc574aad3896281d9 added ${CHOST}-build which is dangling for me:

$ ls -al /usr/bin/armv7a-unknown-linux-musleabihf-build
lrwxrwxrwx 1 root root 11 Nov 10 05:50 /usr/bin/armv7a-unknown-linux-musleabihf-build -> cross-build

It's possibly a typo (build, not ebuild) combined with a missing script to wrap it? But I'm not sure (or I'd fix it, obviously)
Comment 2 Larry the Git Cow gentoo-dev 2021-11-26 19:02:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=7eeb1d8f8fbb712706165e780c9b2904e4da7b92

commit 7eeb1d8f8fbb712706165e780c9b2904e4da7b92
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: 2021-11-26 19:01:08 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2021-11-26 19:01:08 +0000

    wrappers: fix typo in ebuild wrapper
    
    Closes: https://bugs.gentoo.org/519636
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

 wrappers/emerge-wrapper | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)