FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 12-08-2007, 01:50 AM
Michael Sullivan
 
Default How to tell portage about manual builds

A lot of the bigger packages (qt, mythtv, etc. etc) tend to lock up my
PCs' hard drives while they're emerging. I use FEATURES=keepwork on all
my boxes, and I can usually go
into /var/tmp/portage/<whatever-class>/<whatever-package/work/<whatever-package> and issue a make and then make install after I reboot the machines. How can I tell portage that the package is installed in this manner? That the package is indeed installed?

--
gentoo-user@gentoo.org mailing list
 
Old 12-08-2007, 02:30 AM
"Mark Shields"
 
Default How to tell portage about manual builds

man portage

<snip>
************* package.provided
******************** A list of packages (one per* line)* that* portage* should
******************** assume* have* been* provided.* Useful for porting to non-

******************** Linux systems.* Portage will* not* attempt* to* update* a
******************** package* that* is* listed* here* unless* another* package
******************** explicitly requires a version that is newer than what has

******************** been* listed.** Basically,* it's a list that replaces the
******************** emerge --inject syntax.

******************** For example, if you manage your own copy of a 2.6 kernel,

******************** then* you* can tell portage that 'sys-kernel/development-
******************** sources-2.6.7' is already taken care of and it should get
******************** off your back about it.


******************** Virtual* packages* (virtual/*) should not be specified in
******************** package.provided.* Depending on the type of* virtual,* it
******************** may* be* necessary* to* add an entry to the virtuals file

******************** and/or add a package that satisfies a* virtual* to* pack-
******************** age.provided.

</snip>

Also, if you've already emerged it (maybe even manually how you make/make install), you might try emerge --noreplace <package>, which should add the ebuild to the world file (but not re-emerge the package itself).* If the package is already in the world file, then this option will do nothing.


On Dec 7, 2007 9:50 PM, Michael Sullivan <michael@espersunited.com> wrote:

A lot of the bigger packages (qt, mythtv, etc. etc) tend to lock up my
PCs' hard drives while they're emerging. *I use FEATURES=keepwork on all
my boxes, and I can usually go
into /var/tmp/portage/<whatever-class>/<whatever-package/work/<whatever-package> and issue a make and then make install after I reboot the machines. *How can I tell portage that the package is installed in this manner? *That the package is indeed installed?


--
gentoo-user@gentoo.org mailing list



--
- Mark Shields
 
Old 12-08-2007, 11:54 AM
Neil Bothwick
 
Default How to tell portage about manual builds

On Fri, 07 Dec 2007 20:50:40 -0600, Michael Sullivan wrote:

> A lot of the bigger packages (qt, mythtv, etc. etc) tend to lock up my
> PCs' hard drives while they're emerging. I use FEATURES=keepwork on all
> my boxes, and I can usually go
> into /var/tmp/portage/<whatever-class>/<whatever-package/work/<whatever-package>
> and issue a make and then make install after I reboot the machines.
> How can I tell portage that the package is installed in this manner?
> That the package is indeed installed?

By not mixing manual and portage compilation. To resume an emerge after a
reboot, do "ebuild /path/to/ebuild merge".


--
Neil Bothwick

All wight - Rho sritched mg kegtops awound?
 
Old 12-09-2007, 11:25 AM
"Vladimir G. Ivanovic"
 
Default How to tell portage about manual builds

on 12/07/2007 07:30 PM Mark Shields said the following:
> man portage
>
> <snip>
> package.provided
> A list of packages (one per line) that portage should
> assume have been provided.

My impression is that /etc/portage/package.provided is ignored.

If I execute

# strace -Ff -e trace=open emerge -DpvuN world 2>&1
| fgrep /etc/portage

package.provided never shows up as having been opened.

Also, entries that I have made in package.provided don't seem to
affect ebuilds.

--- Vladimir

--

Vladimir G. Ivanovic
+1 650 450 4101
 
Old 12-09-2007, 11:41 AM
Aline de Freitas
 
Default How to tell portage about manual builds

Em Sunday 09 December 2007 10:25:03 Vladimir G. Ivanovic escreveu:
> on 12/07/2007 07:30 PM Mark Shields said the following:
> > man portage
> >
> > <snip>
> > package.provided
> > A list of packages (one per line) that portage should
> > assume have been provided.
>
> My impression is that /etc/portage/package.provided is ignored.
>
> If I execute
>
> # strace -Ff -e trace=open emerge -DpvuN world 2>&1
>
> | fgrep /etc/portage
>
> package.provided never shows up as having been opened.
>
> Also, entries that I have made in package.provided don't seem to
> affect ebuilds.
>
> --- Vladimir

from man portage

/etc/make.profile/
site-specific overrides go in /etc/portage/profile/
deprecated
make.defaults
packages
packages.build
package.mask
package.provided <---
package.use
package.use.force
package.use.mask
parent
profile.bashrc
use.force
use.mask
virtuals
Also

/etc/portage/profile/
site-specific overrides of /etc/make.profile/

My one is under /etc/portage/profile/

--
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016
 

Thread Tools




All times are GMT. The time now is 12:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org