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

Bug 196435

Summary: Create packages from previously emerged package
Product: Portage Development Reporter: Sam Hostetter <shostett>
Component: Conceptual/Abstract IdeasAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 194041    

Description Sam Hostetter 2007-10-19 17:34:49 UTC
Using the same concept as --buildpkg, it would be handy to have an option for creating a package from an already installed instance of a package.

My example:
During a recent upgrade to gcc, my USE flags were configured in such a way as to prevent g++ from being built.  It would have been helpful to have been able to create a "backup" binary file from the original instance of gcc to restore in the event of a failure.

I suppose it would be similar to taking the output of 'equery files <package>' and tarring and zipping it.

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2007-10-19 17:43:49 UTC
That's what quickpkg(1) is for (see `man quickpkg`). I suppose we should add it to the "SEE ALSO" section of the emerge(1) man page and add cross references between the --buildpkg option and the buildpkg feature in make.conf(5).
Comment 2 Zac Medico gentoo-dev 2007-10-20 01:44:07 UTC
New Revision: 8185

Modified:
   main/trunk/man/emerge.1
   main/trunk/man/make.conf.5
   main/trunk/pym/_emerge/help.py
Log:
Bug #196435 - Add some more references to quickpkg(1) since
sometimes people don't realize that it exists.
Comment 3 Zac Medico gentoo-dev 2007-10-23 17:28:22 UTC
This has been released in 2.1.3.16.