Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 404029

Summary: sys-devel/crossdev - thin-manifest support
Product: Gentoo Linux Reporter: Jess Haas <gentoo>
Component: [OLD] DevelopmentAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: crossdev-thinManifests.patch

Description Jess Haas 2012-02-16 05:32:18 UTC
Here is a one line patch to add thin-manifest support to crossdev. Without it if your portage tree uses thin-manifests(As is the case with funtoos git based portage tree and I believe gentoos once it switches to git) crossdev fails as the local portage tree which crossdev links to the main portage tree does not have thin-manifests enabled by default.

Crossdev already manages settings in metadata/layout.conf.
This patch causes it to turn on thin-manifests in the local portage tree. 

Even if the portage tree is not using thin manifests and there are current regular manifests in the local tree it works fine with thin manifests enabled.

Reproducible: Always

Steps to Reproduce:
1. run "crossdev --target avr" on a system using a git based portage tree with thin-manifests enabled  
2.
3.
Actual Results:  
crossdev fails complaining about corrupt manifests

Expected Results:  
A working crossdev toolchain
Comment 1 Jess Haas 2012-02-16 05:33:15 UTC
Created attachment 302109 [details, diff]
crossdev-thinManifests.patch
Comment 2 SpanKY gentoo-dev 2012-02-27 22:43:08 UTC
Comment on attachment 302109 [details, diff]
crossdev-thinManifests.patch

enabling it unconditionally is wrong
Comment 3 SpanKY gentoo-dev 2012-02-27 22:47:49 UTC
should be handled by this ... seems to work for me, but i only lightly tested ;)

http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=55e07ef11873c874a3ccc4a9182889bc59f31475
Comment 4 Jess Haas 2012-02-28 00:11:55 UTC
Thanks. I knew it wasnt the most elegant but didnt have time to figure out the best way to do it properly.

Now what will it take to get the avr multilib patch submitted? https://bugs.gentoo.org/show_bug.cgi?id=378387