Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270380 - sys-apps/mtree Unpacking a huge archive to compile a tiny fraction
Summary: sys-apps/mtree Unpacking a huge archive to compile a tiny fraction
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 06:02 UTC by Assaf Berg
Modified: 2018-01-17 11:54 UTC (History)
1 user (show)

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


Attachments
Updated ebuild optimized for extracting mtree (mtree-2007.4-r1.ebuild,1.17 KB, text/plain)
2009-05-19 06:03 UTC, Assaf Berg
Details
diff between the original ebuild and the optimized ebuild (mtree-2007.4.ebuild.patch,397 bytes, patch)
2009-08-02 13:44 UTC, Assaf Berg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Assaf Berg 2009-05-19 06:02:09 UTC
I tried to emerge mtree the other day and was suprised to see that not only it downloads the entire pkgsrc archive (understandable) but also unpacks the whole thing (which is more than 500 MB, where I stopped it).

This is not really a bug but very inefficient, when a small change to the ebuild can make sure only the relevant parts of the archive are unpacked.

Reproducible: Always

Steps to Reproduce:
1. emerge mtree
2.
3.
Comment 1 Assaf Berg 2009-05-19 06:03:33 UTC
Created attachment 191744 [details]
Updated ebuild optimized for extracting mtree
Comment 2 Assaf Berg 2009-08-02 13:44:30 UTC
Created attachment 199916 [details, diff]
diff between the original ebuild and the optimized ebuild

No one is maintaining this? It's such a small diff (see attachment)

http://assaf-tech.blogspot.com/2009/05/other-day-i-thought-it-would-be.html
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-01-17 11:54:26 UTC
Latest mtree tarballs are very small.