public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] portage bug?
@ 2009-05-17 22:16 Daniel Iliev
  2009-05-17 22:25 ` Daniel Pielmeier
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Daniel Iliev @ 2009-05-17 22:16 UTC (permalink / raw
  To: gentoo-user


Hi,


Would anybody, please, confirm the following behavior before I file a
report with B.G.O?


 % emerge -C dev-perl/yaml

 % emerge --depclean -p

[-snip-]

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   dev-perl/yaml pulled in by:
 *     perl-core/Module-Build-0.28.08
 *
 * Have you forgotten to run `emerge --update --newuse --deep world`
   prior
 * to depclean? It may be necessary to manually uninstall packages that
   no longer
 * exist in the portage tree since it may not be possible to satisfy
   their
 * dependencies.  Also, be aware of the --with-bdeps option that is
   documented
 * in `man emerge`.




 % emerge --update --newuse --deep world
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


-- 
Best regards,
Daniel



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

* Re: [gentoo-user] portage bug?
  2009-05-17 22:16 [gentoo-user] portage bug? Daniel Iliev
@ 2009-05-17 22:25 ` Daniel Pielmeier
       [not found]   ` <f05c493b0905171530l4fa57e30k3c00bf2b73e8667e@mail.gmail.com>
  2009-05-17 22:36 ` Peter Alfredsen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Daniel Pielmeier @ 2009-05-17 22:25 UTC (permalink / raw
  To: gentoo-user

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

Daniel Iliev schrieb am 18.05.2009 00:16:
> Hi,
> 
> 
> Would anybody, please, confirm the following behavior before I file a
> report with B.G.O?
> 
> 
>  % emerge -C dev-perl/yaml
> 
>  % emerge --depclean -p
> 
> [-snip-]
> 
> Calculating dependencies... done!
>  * Dependencies could not be completely resolved due to
>  * the following required packages not being installed:
>  *
>  *   dev-perl/yaml pulled in by:
>  *     perl-core/Module-Build-0.28.08
>  *
>  * Have you forgotten to run `emerge --update --newuse --deep world`
>    prior
>  * to depclean? It may be necessary to manually uninstall packages that
>    no longer
>  * exist in the portage tree since it may not be possible to satisfy
>    their
>  * dependencies.  Also, be aware of the --with-bdeps option that is
>    documented
>  * in `man emerge`.
> 
> 
> 
> 
>  % emerge --update --newuse --deep world
> Calculating dependencies... done!
>>>> Auto-cleaning packages...
> 
>>>> No outdated packages were found on your system.
> 
> 

What is the problem with this behavior. You unmerge yaml but it is
needed by Module-Build. What do you expect --depclean to do? If you run
"emerge --update --newuse --deep world" yaml would be pulled in again as
it is needed by Module-Build. --depclean only removes packages that have
now reverse dependencies which is not the case here.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

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

* Re: [gentoo-user] portage bug?
       [not found]   ` <f05c493b0905171530l4fa57e30k3c00bf2b73e8667e@mail.gmail.com>
@ 2009-05-17 22:30     ` Jason Weisberger
  2009-05-17 22:39       ` Daniel Pielmeier
  2009-05-17 22:39       ` Daniel Iliev
  0 siblings, 2 replies; 11+ messages in thread
From: Jason Weisberger @ 2009-05-17 22:30 UTC (permalink / raw
  To: gentoo-user

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

From what I see, update newuse deep world is NOT pulling it back in.  That's
the bug.

On May 17, 2009 6:26 PM, "Daniel Pielmeier" <daniel.pielmeier@googlemail.com>
wrote:

Daniel Iliev schrieb am 18.05.2009 00:16:

> Hi, > > > Would anybody, please, confirm the following behavior before I
file a > report with B....
What is the problem with this behavior. You unmerge yaml but it is
needed by Module-Build. What do you expect --depclean to do? If you run
"emerge --update --newuse --deep world" yaml would be pulled in again as
it is needed by Module-Build. --depclean only removes packages that have
now reverse dependencies which is not the case here.

--
Daniel Pielmeier

[-- Attachment #2: Type: text/html, Size: 956 bytes --]

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

* Re: [gentoo-user] portage bug?
  2009-05-17 22:16 [gentoo-user] portage bug? Daniel Iliev
  2009-05-17 22:25 ` Daniel Pielmeier
@ 2009-05-17 22:36 ` Peter Alfredsen
  2009-05-17 22:49   ` [gentoo-user] [solved] " Daniel Iliev
  2009-05-17 22:39 ` [gentoo-user] " Nick Fortino
  2009-05-17 23:16 ` [gentoo-user] [SOLVED] " Daniel Iliev
  3 siblings, 1 reply; 11+ messages in thread
From: Peter Alfredsen @ 2009-05-17 22:36 UTC (permalink / raw
  To: gentoo-user

On Mon, 18 May 2009 01:16:24 +0300
Daniel Iliev <daniel.iliev@gmail.com> wrote:

> 
> Hi,
> 
> 
> Would anybody, please, confirm the following behavior before I file a
> report with B.G.O?
> 
> 
>  % emerge -C dev-perl/yaml
[...] 
>  % emerge --update --newuse --deep world
> Calculating dependencies... done!
> >>> Auto-cleaning packages...
> 
> >>> No outdated packages were found on your system.

Try to add --with-bdeps=y and I think you'll find the expected
behavior.



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

* Re: [gentoo-user] portage bug?
  2009-05-17 22:16 [gentoo-user] portage bug? Daniel Iliev
  2009-05-17 22:25 ` Daniel Pielmeier
  2009-05-17 22:36 ` Peter Alfredsen
@ 2009-05-17 22:39 ` Nick Fortino
  2009-05-17 23:16 ` [gentoo-user] [SOLVED] " Daniel Iliev
  3 siblings, 0 replies; 11+ messages in thread
From: Nick Fortino @ 2009-05-17 22:39 UTC (permalink / raw
  To: gentoo-user

Daniel Iliev wrote:
> Hi,
>
>
> Would anybody, please, confirm the following behavior before I file a
> report with B.G.O?
>
>
>  % emerge -C dev-perl/yaml
>
>  % emerge --depclean -p
>
> [-snip-]
>
> Calculating dependencies... done!
>  * Dependencies could not be completely resolved due to
>  * the following required packages not being installed:
>  *
>  *   dev-perl/yaml pulled in by:
>  *     perl-core/Module-Build-0.28.08
>  *
>  * Have you forgotten to run `emerge --update --newuse --deep world`
>    prior
>  * to depclean? It may be necessary to manually uninstall packages that
>    no longer
>  * exist in the portage tree since it may not be possible to satisfy
>    their
>  * dependencies.  Also, be aware of the --with-bdeps option that is
>    documented
>  * in `man emerge`.
>
>
>
>
>  % emerge --update --newuse --deep world
> Calculating dependencies... done!
>   
>>>> Auto-cleaning packages...
>>>>         
>
>   
>>>> No outdated packages were found on your system.
>>>>         
>
>
>   
It's not a bug, it's counterintuitive expected behavior. The pointer to
the answer is buried in the error message: "Also, be aware of the
--with-bdeps option that is  documented in `man emerge`"

In summary, dev-perl/yaml is a build dependency of Module-Build, and
therefore not strictly required. By default, to be safe, depclean
expects it to be there. Since Module-Build is already installed,
however, by default emerge won't pull it in, because it shouldn't be
necessary. Hence, the behavior you observe.

You can file a bug if you wish, but make sure to do a full search, as
there are misunderstandings of depclean all over b.g.o.

Nick



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

* Re: [gentoo-user] portage bug?
  2009-05-17 22:30     ` Jason Weisberger
@ 2009-05-17 22:39       ` Daniel Pielmeier
  2009-05-17 22:39       ` Daniel Iliev
  1 sibling, 0 replies; 11+ messages in thread
From: Daniel Pielmeier @ 2009-05-17 22:39 UTC (permalink / raw
  To: gentoo-user

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

Jason Weisberger schrieb am 18.05.2009 00:30:
> From what I see, update newuse deep world is NOT pulling it back in.  That's
> the bug.

Okay i should read more carefully. Tried the --with-bdeps option?


-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

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

* Re: [gentoo-user] portage bug?
  2009-05-17 22:30     ` Jason Weisberger
  2009-05-17 22:39       ` Daniel Pielmeier
@ 2009-05-17 22:39       ` Daniel Iliev
  1 sibling, 0 replies; 11+ messages in thread
From: Daniel Iliev @ 2009-05-17 22:39 UTC (permalink / raw
  To: gentoo-user

On Sun, 17 May 2009 18:30:47 -0400
Jason Weisberger <jbdubbs@gmail.com> wrote:

> From what I see, update newuse deep world is NOT pulling it back in.
> That's the bug.
> 

Exactly.


-- 
Best regards,
Daniel



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

* Re: [gentoo-user] [solved] portage bug?
  2009-05-17 22:36 ` Peter Alfredsen
@ 2009-05-17 22:49   ` Daniel Iliev
  2009-05-17 23:02     ` Dale
  2009-05-17 23:41     ` Neil Bothwick
  0 siblings, 2 replies; 11+ messages in thread
From: Daniel Iliev @ 2009-05-17 22:49 UTC (permalink / raw
  To: gentoo-user

On Mon, 18 May 2009 00:36:56 +0200
Peter Alfredsen <loki_val@gentoo.org> wrote:

> On Mon, 18 May 2009 01:16:24 +0300
> Daniel Iliev <daniel.iliev@gmail.com> wrote:
> 
> > 
> > Hi,
> > 
> > 
> > Would anybody, please, confirm the following behavior before I file
> > a report with B.G.O?
> > 
> > 
> >  % emerge -C dev-perl/yaml
> [...] 
> >  % emerge --update --newuse --deep world
> > Calculating dependencies... done!
> > >>> Auto-cleaning packages...
> > 
> > >>> No outdated packages were found on your system.
> 
> Try to add --with-bdeps=y and I think you'll find the expected
> behavior.
> 
> 

Yes, that's it. Strange, I was under the impression that bdeps was "yes"
by default.

Thanks, guys, and sorry for the noise.

-- 
Best regards,
Daniel



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

* Re: [gentoo-user] [solved] portage bug?
  2009-05-17 22:49   ` [gentoo-user] [solved] " Daniel Iliev
@ 2009-05-17 23:02     ` Dale
  2009-05-17 23:41     ` Neil Bothwick
  1 sibling, 0 replies; 11+ messages in thread
From: Dale @ 2009-05-17 23:02 UTC (permalink / raw
  To: gentoo-user

Daniel Iliev wrote:
> On Mon, 18 May 2009 00:36:56 +0200
> Peter Alfredsen <loki_val@gentoo.org> wrote:
>
>   
>> On Mon, 18 May 2009 01:16:24 +0300
>> Daniel Iliev <daniel.iliev@gmail.com> wrote:
>>
>>     
>>> Hi,
>>>
>>>
>>> Would anybody, please, confirm the following behavior before I file
>>> a report with B.G.O?
>>>
>>>
>>>  % emerge -C dev-perl/yaml
>>>       
>> [...] 
>>     
>>>  % emerge --update --newuse --deep world
>>> Calculating dependencies... done!
>>>       
>>>>>> Auto-cleaning packages...
>>>>>>             
>>>>>> No outdated packages were found on your system.
>>>>>>             
>> Try to add --with-bdeps=y and I think you'll find the expected
>> behavior.
>>
>>
>>     
>
> Yes, that's it. Strange, I was under the impression that bdeps was "yes"
> by default.
>
> Thanks, guys, and sorry for the noise.
>
>   

It is if you add it to make.conf.  I added the line to mine a long time
ago.  Something like this:

# EMERGE_DEFAULT_OPTS allows emerge to act as if certain options are
#     specified on every run. Useful options include --ask, --verbose,
#     --usepkg and many others. Options that are not useful, such as --help,
#     are not filtered.
EMERGE_DEFAULT_OPTS="--with-bdeps y"

Hope that saves you some typing. 

Dale

:-)  :-) 



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

* Re: [gentoo-user] [SOLVED] portage bug?
  2009-05-17 22:16 [gentoo-user] portage bug? Daniel Iliev
                   ` (2 preceding siblings ...)
  2009-05-17 22:39 ` [gentoo-user] " Nick Fortino
@ 2009-05-17 23:16 ` Daniel Iliev
  3 siblings, 0 replies; 11+ messages in thread
From: Daniel Iliev @ 2009-05-17 23:16 UTC (permalink / raw
  To: gentoo-user


My mistake, not a bug. I'm glad I asked here before wasting devs'
time with invalid reports. Thanks, guys! :)

-- 
Best regards,
Daniel



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

* Re: [gentoo-user] [solved] portage bug?
  2009-05-17 22:49   ` [gentoo-user] [solved] " Daniel Iliev
  2009-05-17 23:02     ` Dale
@ 2009-05-17 23:41     ` Neil Bothwick
  1 sibling, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2009-05-17 23:41 UTC (permalink / raw
  To: gentoo-user

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

On Mon, 18 May 2009 01:49:54 +0300, Daniel Iliev wrote:

> Yes, that's it. Strange, I was under the impression that bdeps was "yes"
> by default.


Only when using --depclean.


-- 
Neil Bothwick

To boldly go where I surely don't belong.

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

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

end of thread, other threads:[~2009-05-17 23:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 22:16 [gentoo-user] portage bug? Daniel Iliev
2009-05-17 22:25 ` Daniel Pielmeier
     [not found]   ` <f05c493b0905171530l4fa57e30k3c00bf2b73e8667e@mail.gmail.com>
2009-05-17 22:30     ` Jason Weisberger
2009-05-17 22:39       ` Daniel Pielmeier
2009-05-17 22:39       ` Daniel Iliev
2009-05-17 22:36 ` Peter Alfredsen
2009-05-17 22:49   ` [gentoo-user] [solved] " Daniel Iliev
2009-05-17 23:02     ` Dale
2009-05-17 23:41     ` Neil Bothwick
2009-05-17 22:39 ` [gentoo-user] " Nick Fortino
2009-05-17 23:16 ` [gentoo-user] [SOLVED] " Daniel Iliev

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