public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] rebuilding dependent packages
@ 2009-01-15 23:37 Michael P. Soulier
  2009-01-16  0:08 ` Joshua D Doll
  2009-01-16  8:42 ` Neil Bothwick
  0 siblings, 2 replies; 6+ messages in thread
From: Michael P. Soulier @ 2009-01-15 23:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

Hi,

I recently did an emerge --update --deep world, which resulted in a rebuild of
the ffmpeg library. 

The libavcodec library went from version 51 to 52, which broke transcode. The
--deep argument did not find the dependency there and rebuild transcode. 

On my FreeBSD server, portupgrade has the -r and -R arguments to force
rebuilds of dependent and reverse-dependent packages. Is there a way to have
emerge do the same?

Thanks,
Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] rebuilding dependent packages
  2009-01-15 23:37 [gentoo-user] rebuilding dependent packages Michael P. Soulier
@ 2009-01-16  0:08 ` Joshua D Doll
  2009-01-16  0:22   ` Dale
  2009-01-16  1:33   ` Michael P. Soulier
  2009-01-16  8:42 ` Neil Bothwick
  1 sibling, 2 replies; 6+ messages in thread
From: Joshua D Doll @ 2009-01-16  0:08 UTC (permalink / raw
  To: gentoo-user

Michael P. Soulier wrote:
> Hi,
>
> I recently did an emerge --update --deep world, which resulted in a rebuild of
> the ffmpeg library. 
>
> The libavcodec library went from version 51 to 52, which broke transcode. The
> --deep argument did not find the dependency there and rebuild transcode. 
>
> On my FreeBSD server, portupgrade has the -r and -R arguments to force
> rebuilds of dependent and reverse-dependent packages. Is there a way to have
> emerge do the same?
>
> Thanks,
> Mike
>   
I'm thinking you might want to check out revdep-rebuild from the 
gentoolkit package.

--Joshua Doll



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] rebuilding dependent packages
  2009-01-16  0:08 ` Joshua D Doll
@ 2009-01-16  0:22   ` Dale
  2009-01-16  1:33   ` Michael P. Soulier
  1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2009-01-16  0:22 UTC (permalink / raw
  To: gentoo-user

Joshua D Doll wrote:
> Michael P. Soulier wrote:
>> Hi,
>>
>> I recently did an emerge --update --deep world, which resulted in a
>> rebuild of
>> the ffmpeg library.
>> The libavcodec library went from version 51 to 52, which broke
>> transcode. The
>> --deep argument did not find the dependency there and rebuild transcode.
>> On my FreeBSD server, portupgrade has the -r and -R arguments to force
>> rebuilds of dependent and reverse-dependent packages. Is there a way
>> to have
>> emerge do the same?
>>
>> Thanks,
>> Mike
>>   
> I'm thinking you might want to check out revdep-rebuild from the
> gentoolkit package.
>
> --Joshua Doll
>
>

Would --with-bdeps y help here?  I'm not sure it would.  Just a thought.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] rebuilding dependent packages
  2009-01-16  0:08 ` Joshua D Doll
  2009-01-16  0:22   ` Dale
@ 2009-01-16  1:33   ` Michael P. Soulier
  2009-01-16  4:12     ` Dale
  1 sibling, 1 reply; 6+ messages in thread
From: Michael P. Soulier @ 2009-01-16  1:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

On 15/01/09 Joshua D Doll said:

> I'm thinking you might want to check out revdep-rebuild from the gentoolkit 
> package.

I'm not sure that would find the dependency, since transcode dynamically loads
said module at runtime, AFAICT. Perhaps that is the issue.

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] rebuilding dependent packages
  2009-01-16  1:33   ` Michael P. Soulier
@ 2009-01-16  4:12     ` Dale
  0 siblings, 0 replies; 6+ messages in thread
From: Dale @ 2009-01-16  4:12 UTC (permalink / raw
  To: gentoo-user

Michael P. Soulier wrote:
> On 15/01/09 Joshua D Doll said:
>
>   
>> I'm thinking you might want to check out revdep-rebuild from the gentoolkit 
>> package.
>>     
>
> I'm not sure that would find the dependency, since transcode dynamically loads
> said module at runtime, AFAICT. Perhaps that is the issue.
>
> Mike
>   

If the library is broken, it should find it.  You can run revdep-rebuild
-i -p and just see what it says.  It won't do anything until you remove
the -p part.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] rebuilding dependent packages
  2009-01-15 23:37 [gentoo-user] rebuilding dependent packages Michael P. Soulier
  2009-01-16  0:08 ` Joshua D Doll
@ 2009-01-16  8:42 ` Neil Bothwick
  1 sibling, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2009-01-16  8:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

On Thu, 15 Jan 2009 18:37:20 -0500, Michael P. Soulier wrote:

> The libavcodec library went from version 51 to 52, which broke
> transcode. The --deep argument did not find the dependency there and
> rebuild transcode. 
> 
> On my FreeBSD server, portupgrade has the -r and -R arguments to force
> rebuilds of dependent and reverse-dependent packages. Is there a way to
> have emerge do the same?

emerge @preserved-libs does that with portage 2.2. Emerge even tells
you to run it, and hangs on to the old versions until you do so, so your
system is never broken.

Revdep-rebuild is good for fixing things after they are broken, but the
new portage approach of not breaking them is much nicer :)


-- 
Neil Bothwick

If at first you don't succeed you'll get lot's of advice.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-16  8:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 23:37 [gentoo-user] rebuilding dependent packages Michael P. Soulier
2009-01-16  0:08 ` Joshua D Doll
2009-01-16  0:22   ` Dale
2009-01-16  1:33   ` Michael P. Soulier
2009-01-16  4:12     ` Dale
2009-01-16  8:42 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox