Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97392 - emerge'd applications removed from world file after --sync/update, --depclean consequently will remove
Summary: emerge'd applications removed from world file after --sync/update, --depclean...
Status: RESOLVED DUPLICATE of bug 67179
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 07:40 UTC by Chris Fairles
Modified: 2005-08-12 21:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Fairles 2005-06-29 07:40:27 UTC
I'm not talking about dependancies, but applications. For example, I emerge an
application like xv. emerge -Nav xv with USE flags +gtk, +gnome. The application
compiles and reported that its added to the world file.

Then I, emerge --depclean --pretend, and see that emerge wants to remove xv. I
look in the world file. Not there. I must manually add it. I've had to manually
add applications like airsnort, aircrack, xv and others to the world file.

Being an inexperienced linux user, I never depclean anymore because I have no
idea whether its removing actual unneeded dependancies or applications (or deps
of those apps) that I might actually use. 

Reproducible: Sometimes
Steps to Reproduce:
1. emerge -Nav xv
2. emerge --depclean
3.

Actual Results:  
depclean wants to remove xv.

Expected Results:  
Depclean should not remove xv becasue it should be in the world file.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-29 12:44:08 UTC
Does 'emerge -av xv' (without -N flag) add xv entry to the world file?
Comment 2 Chris Fairles 2005-06-29 15:25:57 UTC
I'm having trouble reproducing this bug. I unmerged xv, emerged it again with
the -N flag and it apprears in the world file. 

The next time it happens I will make note of it ... btw, there were several
things depandant on xv when it was installed 

dsotm ~ # equery d xv
[ Searching for packages depending on xv... ]
media-video/ffmpeg-0.4.9_p20050226-r5
media-video/avifile-0.7.41.20041001-r1
media-video/mplayer-1.0_pre6-r4
x11-themes/commonbox-styles-extra-0.2-r1

it was installed as a depandancy initially for commonbox-styles-extra, however,
when attempting to determine what the commonbox styles depandancies were, i
received this error. related perhaps?

dsotm ~ # equery g commonbox-styles-extra-0.2-r1
[ Searching for packages matching commonbox-styles-extra-0.2-r1... ]
!!! Internal portage error, terminating
Traceback (most recent call last):
  File "/usr/bin/equery", line 1565, in ?
    print_error(e)
  File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error
    sys.stderr.write(output.red("!!! ") + s + "\n")
TypeError: cannot concatenate 'str' and 'instance' objects
Comment 3 Chris Fairles 2005-06-29 15:27:37 UTC
Pardon me, I meant, there were several things dependant on it when --depclean
wanted to remove it, not when it was installed... it was isntalled as a
dependancy to commonbox themes.

(In reply to comment #2)
> I'm having trouble reproducing this bug. I unmerged xv, emerged it again with
> the -N flag and it apprears in the world file. 
> 
> The next time it happens I will make note of it ... btw, there were several
> things depandant on xv when it was installed 
> 
> dsotm ~ # equery d xv
> [ Searching for packages depending on xv... ]
> media-video/ffmpeg-0.4.9_p20050226-r5
> media-video/avifile-0.7.41.20041001-r1
> media-video/mplayer-1.0_pre6-r4
> x11-themes/commonbox-styles-extra-0.2-r1
> 
> it was installed as a depandancy initially for commonbox-styles-extra, however,
> when attempting to determine what the commonbox styles depandancies were, i
> received this error. related perhaps?
> 
> dsotm ~ # equery g commonbox-styles-extra-0.2-r1
> [ Searching for packages matching commonbox-styles-extra-0.2-r1... ]
> !!! Internal portage error, terminating
> Traceback (most recent call last):
>   File "/usr/bin/equery", line 1565, in ?
>     print_error(e)
>   File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error
>     sys.stderr.write(output.red("!!! ") + s + "\n")
> TypeError: cannot concatenate 'str' and 'instance' objects

Comment 4 Chris Fairles 2005-07-02 15:32:51 UTC
has occured again ... 

emerge -Nv graveman
emerge --sync
emerge -NDtuav world   (graveman/cdrdao not touched)
emerge -p --depclean

dev-util/pccts
    selected: 1.33.33
   protected: none
     omitted: none

 media-libs/sdl-net
    selected: 1.2.5
   protected: none
     omitted: none

 media-libs/libungif
    selected: 4.1.3
   protected: none
     omitted: none

 app-cdr/graveman
    selected: 0.3.11
   protected: none
     omitted: none

 dev-cpp/libgnomemm
    selected: 2.0.1
   protected: none
     omitted: none

 dev-cpp/gconfmm
    selected: 2.0.2
   protected: none
     omitted: none

 dev-cpp/libgnomeuimm
    selected: 2.0.0
   protected: none
     omitted: none

 dev-cpp/gtkmm
    selected: 2.2.12
   protected: none
     omitted: none

 dev-libs/libsigc++
    selected: 1.2.5
   protected: none
     omitted: none

 dev-cpp/libglademm
    selected: 2.0.1
   protected: none
     omitted: none

 app-cdr/cdrdao
    selected: 1.1.9
   protected: none
     omitted: none

 dev-cpp/libgnomecanvasmm
    selected: 2.0.1
   protected: none
     omitted: none

cdrdao and graveman ... i emerged a host of cd writing utilities yestreday,
today I sync'd the tree and updated (-Nvuta). Then depclean shows what is posted
above. Through hthe sync/update could items get removed from the world file?

make.conf:
USE="truetype see mmx alsa acpi cdr dvdr gnome gtk opengl win32codecs nptl"
CFLAGS="-O2 -fprefetch-loop-arrays -ftracer -mfpmath=sse -pipe -fforce-addr
-march=pentium4 -fomit-frame-pointer"
Comment 5 Chris Fairles 2005-07-02 15:37:04 UTC
note: a emerge --depclean AFTER the intial emerge of graveman shows nothing to
be removed.

(In reply to comment #4)
> has occured again ... 
> 
> emerge -Nv graveman
> emerge --sync
> emerge -NDtuav world   (graveman/cdrdao not touched)
> emerge -p --depclean
> 
> dev-util/pccts
>     selected: 1.33.33
>    protected: none
>      omitted: none
> 
>  media-libs/sdl-net
>     selected: 1.2.5
>    protected: none
>      omitted: none
> 
>  media-libs/libungif
>     selected: 4.1.3
>    protected: none
>      omitted: none
> 
>  app-cdr/graveman
>     selected: 0.3.11
>    protected: none
>      omitted: none
> 
>  dev-cpp/libgnomemm
>     selected: 2.0.1
>    protected: none
>      omitted: none
> 
>  dev-cpp/gconfmm
>     selected: 2.0.2
>    protected: none
>      omitted: none
> 
>  dev-cpp/libgnomeuimm
>     selected: 2.0.0
>    protected: none
>      omitted: none
> 
>  dev-cpp/gtkmm
>     selected: 2.2.12
>    protected: none
>      omitted: none
> 
>  dev-libs/libsigc++
>     selected: 1.2.5
>    protected: none
>      omitted: none
> 
>  dev-cpp/libglademm
>     selected: 2.0.1
>    protected: none
>      omitted: none
> 
>  app-cdr/cdrdao
>     selected: 1.1.9
>    protected: none
>      omitted: none
> 
>  dev-cpp/libgnomecanvasmm
>     selected: 2.0.1
>    protected: none
>      omitted: none
> 
> cdrdao and graveman ... i emerged a host of cd writing utilities yestreday,
> today I sync'd the tree and updated (-Nvuta). Then depclean shows what is posted
> above. Through hthe sync/update could items get removed from the world file?
> 
> make.conf:
> USE="truetype see mmx alsa acpi cdr dvdr gnome gtk opengl win32codecs nptl"
> CFLAGS="-O2 -fprefetch-loop-arrays -ftracer -mfpmath=sse -pipe -fforce-addr
> -march=pentium4 -fomit-frame-pointer"
> 

Comment 6 Zac Medico gentoo-dev 2005-08-05 17:16:44 UTC
Is this still a problem?  This bug seems like Bug 67179, Bug 77669, and Bug 78408.
Comment 7 Chris Fairles 2005-08-06 06:08:00 UTC
I have not encountered this problem in a few weeks. I've reinstalled gentoo
since and have not had errors regarding missing entries in the world file. 
Comment 8 Zac Medico gentoo-dev 2005-08-06 06:29:01 UTC
(In reply to comment #2)
> 
> dsotm ~ # equery g commonbox-styles-extra-0.2-r1
> [ Searching for packages matching commonbox-styles-extra-0.2-r1... ]
> !!! Internal portage error, terminating
> Traceback (most recent call last):
>   File "/usr/bin/equery", line 1565, in ?
>     print_error(e)
>   File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error
>     sys.stderr.write(output.red("!!! ") + s + "\n")
> TypeError: cannot concatenate 'str' and 'instance' objects

I tried the same query with gentoolkit-0.2.1_pre4 and got a normal error message:

~ $ equery g commonbox-styles-extra-0.2-r1
[ Searching for packages matching commonbox-styles-extra-0.2-r1... ]
!!! Invalid syntax: missing operator
!!! If you want only specific versions please use one of
!!! the following operators as prefix for the package name:
!!!    >  >=  =  <=  <
!!! Example to only match gcc versions greater or equal 3.2:
!!!    >=sys-devel/gcc-3.2
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-08-12 21:02:50 UTC
Similar issue, and the user reinstalled so we cannot get any information from 
the affected system anyhow...

*** This bug has been marked as a duplicate of 67179 ***