[gentoo-user] equery results different for same pkg on different installations

2020-07-08 Thread n952162

Hi,

If I enter "equery uses sys-libs/readline" on one machine, it gives my a
bunch of USE variables for sys-libs/ncurses-6.2-r1, some enabled, some not.

When I run the same command on another machine, it tells me

!!! No USE flags found for sys-libs/ncurses-6.2-r1

What am I doing wrong?




Re: [gentoo-user] "equery" and "blueman"

2019-12-21 Thread Dr Rainer Woitok
Alarig,

On Friday, 2019-12-20 19:55:32 +0100, you wrote:

> ...
> net-wireless/blueman-2.1.1 doesn’t exists in the the, but
> net-wireless/blueman-2.1.1-r1 does.

Glad you pointed this out.   I've still version 2.1.1 installed,  due to
the line

   =net-wireless/blueman-2.1.1 ~amd64

in my "package.accept_keywords" file.   This was what  "emerge --autoun-
mask-write"  originally suggested  and "dispatch-conf" then added to the
file.   And since there isn't any stable version,  the package was never
updated.

Sincerely,
  Rainer



Re: [gentoo-user] "equery" and "blueman"

2019-12-20 Thread Alarig Le Lay
Hi,

On ven. 20 déc. 18:51:45 2019, Dr Rainer Woitok wrote:
> Greetings,
> 
> there seems to be some "blueman" specific data "equery" doesn't like:
> 
>$ equery --no-color uses --all net-wireless/blueman-2.1.1
>Traceback (most recent call last):
>  File "/usr/lib/python-exec/python3.6/equery", line 38, in 
>equery.main(sys.argv)
>  File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/__init__.py", 
> line 356, in main
>loaded_module.main(module_args)
>  File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/uses.py", 
> line 306, in main
>output = get_output_descriptions(pkg, global_usedesc)
>  File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/uses.py", 
> line 183, in get_output_descriptions
>if pkg.metadata is None:
>  File "/usr/lib64/python3.6/site-packages/gentoolkit/package.py", line 
> 123, in metadata
>self.package_path(), 'metadata.xml'
>  File "/usr/lib64/python3.6/site-packages/gentoolkit/package.py", line 
> 319, in package_path
>return os.sep.join(self.ebuild_path().split(os.sep)[:-1])
>AttributeError: 'NoneType' object has no attribute 'split'
>$
> 
> Using different packages in the "equery" request works.

net-wireless/blueman-2.1.1 doesn’t exists in the the, but
net-wireless/blueman-2.1.1-r1 does.

Otherwise, the commands work for me:
alarig@pikachu ~ % equery uses net-wireless/blueman  
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for net-wireless/blueman-2.1.1-r1:
 U I
 - - appindicator   : Enable usage of dev-libs/libappindicator 
to export menu options
 - - network: Add functionality to setup (host) PAN 
connections using either net-dns/dnsmasq or net-misc/dhcp
 + + nls: Add Native Language Support (using 
gettext - GNU locale utilities)
 - - policykit  : Enable PolicyKit authentication support
 + + pulseaudio : Add support for PulseAudio sound server
 - - python_single_target_python3_5 : Build for Python 3.5 only
 + + python_single_target_python3_6 : Build for Python 3.6 only
 - - python_single_target_python3_7 : Build for Python 3.7 only
 - - python_targets_python3_5   : Build with Python 3.5
 + + python_targets_python3_6   : Build with Python 3.6
 - - python_targets_python3_7   : Build with Python 3.7
alarig@pikachu ~ % equery --no-color uses --all net-wireless/blueman
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for net-wireless/blueman-2.1.1-r1:
 U I
 - - appindicator   : Enable usage of dev-libs/libappindicator 
to export menu options
 - - network: Add functionality to setup (host) PAN 
connections using either net-dns/dnsmasq or net-misc/dhcp
 + + nls: Add Native Language Support (using 
gettext - GNU locale utilities)
 - - policykit  : Enable PolicyKit authentication support
 + + pulseaudio : Add support for PulseAudio sound server
 - - python_single_target_python3_5 : Build for Python 3.5 only
 + + python_single_target_python3_6 : Build for Python 3.6 only
 - - python_single_target_python3_7 : Build for Python 3.7 only
 - - python_targets_python3_5   : Build with Python 3.5
 + + python_targets_python3_6   : Build with Python 3.6
 - - python_targets_python3_7   : Build with Python 3.7
 * Found these USE flags for net-wireless/blueman-:
 U I
 - - appindicator   : Enable usage of dev-libs/libappindicator 
to export menu options
 - - network: Add functionality to setup (host) PAN 
connections using either net-dns/dnsmasq or net-misc/dhcp
 + + nls: Add Native Language Support (using 
gettext - GNU locale utilities)
 - - policykit  : Enable PolicyKit authentication support
 + + pulseaudio : Add support for PulseAudio sound server
 - - python_single_target_python3_5 : Build for Python 3.5 only
 + + python_single_target_python3_6 : Build for Python 3.6 only
 - - python_single_target_python3_7 : Build for Python 3.7 only
 - - python_targets_python3_5   : Build with Python 3.5
 + + python_targets_python3_6   : Build with Python 3.6
 - - python_targets_python3_7   : Build with Python 3.7
alarig@pikachu ~ % equery --no-color uses --all net-wireless/blueman-2.1.1
!!! No packages matching 'net-wireless/blueman-2.1.1'
zsh: exit 1 equery --no-color uses --all net-wireless/blueman-2.1.1
alarig@pikachu ~ % equery --no-color uses --all '=net-wireless/blueman-2.1.1'
!!! No packages matching '=net-wireless/blueman-2.1.1'
zsh: exit 1 equery --no-color uses 

[gentoo-user] "equery" and "blueman"

2019-12-20 Thread Dr Rainer Woitok
Greetings,

there seems to be some "blueman" specific data "equery" doesn't like:

   $ equery --no-color uses --all net-wireless/blueman-2.1.1
   Traceback (most recent call last):
 File "/usr/lib/python-exec/python3.6/equery", line 38, in 
   equery.main(sys.argv)
 File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/__init__.py", 
line 356, in main
   loaded_module.main(module_args)
 File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/uses.py", line 
306, in main
   output = get_output_descriptions(pkg, global_usedesc)
 File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/uses.py", line 
183, in get_output_descriptions
   if pkg.metadata is None:
 File "/usr/lib64/python3.6/site-packages/gentoolkit/package.py", line 123, 
in metadata
   self.package_path(), 'metadata.xml'
 File "/usr/lib64/python3.6/site-packages/gentoolkit/package.py", line 319, 
in package_path
   return os.sep.join(self.ebuild_path().split(os.sep)[:-1])
   AttributeError: 'NoneType' object has no attribute 'split'
   $

Using different packages in the "equery" request works.

Sincerely,
  Rainer



Re: [gentoo-user] equery keywords and overlays

2019-06-20 Thread Marc Joliet
Hi,

Am Mittwoch, 19. Juni 2019, 23:16:50 CEST schrieb Grant Taylor:
> On 6/19/19 3:10 PM, Dale wrote:
> > I'm not sure this will apply.  I know this option works in some uses
> > but not sure about yours.  You may want to try it tho and see if it does
> > what you want.
> >
> > -o, --overlay-tree
> >Include package from overlays in the search path.
> >
> > I use it this way at times:
> >
> > equery list -po 
> >
> > That tells it to include packages that are in my local overlay, or other
> > overlays as well.
> >
> > May not help but it might.
>
> I did find "-o" and tried it as part of list, and it does work.
>
> However, it does not seem as if "-o" is an option to the "keywords"
> command.  (It seems to be command specific, with "check", "has",
> "hasuse", and "list" supporting it.)
>
> Unfortunately, it does not look like "keywords" supports the "-o"
> (overlay) option.

It has an -O option, though.  From the output of "equery keywords -h":

  -O, --overlaysSearch also overlays (default: False)

HTH
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Jack

On 2019.06.19 17:37, Grant Taylor wrote:

On 6/19/19 3:29 PM, Jack wrote:
It seems the man page is not complete.  It mentions the -k of  
--keywords option to the m or meta module, but doesn't actually  
mention the y (keywords) module itself (which IS shown by equery -h)


equery y package
  is not the same as
equery m -k package

The former omits overlays, but the latter seems to include them.   
The two have different output formats, but seem to include the same  
information.


Thank you very much Jack.

I'll have to retrain myself to use m -k / m -u in place of keywords /  
uses.


But this does provide the desired information.


It took me many years to remember to check both "program -h" and also  
"man program" (and occasionally "info program") because they do not  
always provide the same information.


Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor

On 6/19/19 3:29 PM, Jack wrote:
It seems the man page is not complete.  It mentions the -k of --keywords 
option to the m or meta module, but doesn't actually mention the y 
(keywords) module itself (which IS shown by equery -h)


equery y package
  is not the same as
equery m -k package

The former omits overlays, but the latter seems to include them.  The 
two have different output formats, but seem to include the same 
information.


Thank you very much Jack.

I'll have to retrain myself to use m -k / m -u in place of keywords / uses.

But this does provide the desired information.



--
Grant. . . .
unix || die



Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Jack

On 2019.06.19 17:16, Grant Taylor wrote:

On 6/19/19 3:10 PM, Dale wrote:
I'm not sure this will apply.  I know this option works in some uses  
but not sure about yours.  You may want to try it tho and see if it  
does what you want.


    -o, --overlay-tree
   Include package from overlays in the search path.

I use it this way at times:

equery list -po 

That tells it to include packages that are in my local overlay, or  
other overlays as well.


May not help but it might.


I did find "-o" and tried it as part of list, and it does work.

However, it does not seem as if "-o" is an option to the "keywords"  
command.  (It seems to be command specific, with "check", "has",  
"hasuse", and "list" supporting it.)


Unfortunately, it does not look like "keywords" supports the "-o"  
(overlay) option.
It seems the man page is not complete.  It mentions the -k of  
--keywords option to the m or meta module, but doesn't actually mention  
the y (keywords) module itself (which IS shown by equery -h)


equery y package
 is not the same as
equery m -k package

The former omits overlays, but the latter seems to include them.  The  
two have different output formats, but seem to include the same  
information.


Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor

On 6/19/19 3:10 PM, Dale wrote:
I'm not sure this will apply.  I know this option works in some uses 
but not sure about yours.  You may want to try it tho and see if it does 
what you want.


    -o, --overlay-tree
   Include package from overlays in the search path.

I use it this way at times:

equery list -po 

That tells it to include packages that are in my local overlay, or other 
overlays as well.


May not help but it might.


I did find "-o" and tried it as part of list, and it does work.

However, it does not seem as if "-o" is an option to the "keywords" 
command.  (It seems to be command specific, with "check", "has", 
"hasuse", and "list" supporting it.)


Unfortunately, it does not look like "keywords" supports the "-o" 
(overlay) option.




--
Grant. . . .
unix || die



Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Dale
Grant Taylor wrote:
> Is there a way to get equery to list keywords from custom overlays
> (configured through /etc/portage/repos.conf/.conf)?
>
> If I put an ebuild file in the main Gentoo portage repo, equery
> keywords  works just fine.
>
> If I move the same ebuild file to my local repo, equery keywords
>  fails.
>
> (Yes, I updated the mainifest with repoman in both repositories.)
>
> I'm liking the local repo for things, but I'm used to using equery
> keywords and equery uses, neither of which seem to work as desired. 
> :-/  I'm assuming that it's my ignorance.
>
>
>


I'm not sure this will apply.  I know this option works in some uses but
not sure about yours.  You may want to try it tho and see if it does
what you want. 


   -o, --overlay-tree
  Include package from overlays in the search path.


I use it this way at times:

equery list -po 

That tells it to include packages that are in my local overlay, or other
overlays as well. 

May not help but it might. 

Dale

:-)  :-) 



Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor

On 6/19/19 2:51 PM, Jack wrote:
I suspect I have more ignorance of equery than you do, but have you 
tried eix?  I don't know all it's possibilities, but I do know it 
handles overlays.


No, I have not tried eix yet.

I tend to be reluctant to add additional tools, especially if the 
existing tools /can/ work properly.


I'm assuming that I don't have something configured properly and that's 
preventing equery from doing what I want.


I need to read and learn about eix to understand if / why it's a better 
tool than equery.




--
Grant. . . .
unix || die



Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Jack

On 2019.06.19 15:58, Grant Taylor wrote:
Is there a way to get equery to list keywords from custom overlays  
(configured through /etc/portage/repos.conf/.conf)?


If I put an ebuild file in the main Gentoo portage repo, equery  
keywords  works just fine.


If I move the same ebuild file to my local repo, equery keywords  
 fails.


(Yes, I updated the mainifest with repoman in both repositories.)

I'm liking the local repo for things, but I'm used to using equery  
keywords and equery uses, neither of which seem to work as desired.   
:-/  I'm assuming that it's my ignorance.
I suspect I have more ignorance of equery than you do, but have you  
tried eix?  I don't know all it's possibilities, but I do know it  
handles overlays.


Jack


[gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor
Is there a way to get equery to list keywords from custom overlays 
(configured through /etc/portage/repos.conf/.conf)?


If I put an ebuild file in the main Gentoo portage repo, equery keywords 
 works just fine.


If I move the same ebuild file to my local repo, equery keywords 
 fails.


(Yes, I updated the mainifest with repoman in both repositories.)

I'm liking the local repo for things, but I'm used to using equery 
keywords and equery uses, neither of which seem to work as desired.  :-/ 
 I'm assuming that it's my ignorance.




--
Grant. . . .
unix || die



Re: [gentoo-user] equery depends =dev-lang/python-2.6.6-r2

2011-09-03 Thread Peter Humphrey
On Friday 02 September 2011 16:34:59 James wrote:
 SO
 
 It is time to remove
 dev-lang/python-2.6.6-r2
 
 But, I do not believe the results of this
 command, as python-2.7x has been installed
 on this system for some time. I have updated
 many times with -D and rebuild @system recently.
 
 Still many packages are listed as depending specifically
 on dev-lang/python-2.6.6-r2.

I assume you have run python-updater?

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23



[gentoo-user] equery depends =dev-lang/python-2.6.6-r2

2011-09-02 Thread James
SO

It is time to remove 
dev-lang/python-2.6.6-r2

But, I do not believe the results of this
command, as python-2.7x has been installed 
on this system for some time. I have updated
many times with -D and rebuild @system recently.

Still many packages are listed as depending specifically
on dev-lang/python-2.6.6-r2.


Is there a better command/syntax to use to flush out
what is still dependent on an old/slotted version
of python. python-updater is periodically run on the
system, just in case anyone thinks that is the issue.


curiously,
James






Re: [gentoo-user] equery depends =dev-lang/python-2.6.6-r2

2011-09-02 Thread Mark Knecht
On Fri, Sep 2, 2011 at 8:34 AM, James wirel...@tampabay.rr.com wrote:
SNIP
 Is there a better command/syntax to use to flush out
 what is still dependent on an old/slotted version
 of python. python-updater is periodically run on the
 system, just in case anyone thinks that is the issue.

Sorry, I should have addressed this last question. Try:

equery depends python-2.6.6-r2

and carefully go through the output posting back any addition info and
questions.

HTH,
Mark



[gentoo-user] equery depends gives nonsense results

2010-06-09 Thread Nikos Chantziaras

I wanted to see which packages depend on x11-libs/qt-webkit, so I did:

  equery depends x11-libs/qt-webkit

I got lots of results; but almost none of them mention qt-webkit 
*anywhere* (except for one package: qtscriptgenerator).


I don't understand.  Why does it print all the rest?  Anyone can shed 
some light?



 * These packages depend on x11-libs/qt-webkit:
app-crypt/qca-2.0.2-r2 (x11-libs/qt-core:4[debug?])
app-misc/strigi-0.7.2 (qt4 ? x11-libs/qt-dbus:4)
  (qt4 ? x11-libs/qt-core:4)
  (qt4 ? x11-libs/qt-gui:4)
app-text/poppler-0.12.4-r3 (qt4 ? x11-libs/qt-core:4)
   (qt4 ? x11-libs/qt-gui:4)
dev-cpp/eigen-2.0.10 (examples ? x11-libs/qt-gui:4)
 (examples ? x11-libs/qt-opengl:4)
dev-libs/libattica-0.1.2 (x11-libs/qt-core:4)
 (x11-libs/qt-gui:4)
dev-util/automoc-0.9.88 (x11-libs/qt-core:4)
dev-util/cmake-2.8.1-r2 (qt4 ? x11-libs/qt-gui:4)
dev-util/subversion-1.6.11 (kde ? x11-libs/qt-core)
   (kde ? x11-libs/qt-dbus)
   (kde ? x11-libs/qt-gui)
games-engines/qtads- (x11-libs/qt-gui:4)
media-libs/qimageblitz-0.0.4 (x11-libs/qt-gui:4)
media-sound/amarok-2.3.1 (x11-libs/qt-gui[accessibility])
 (x11-libs/qt-script)
 (mp3tunes ? x11-libs/qt-core[glib])
media-sound/lmms-4. (x11-libs/qt-core)
(x11-libs/qt-gui[accessibility])
(=x11-libs/qt-4.3.0:4[accessibility])
media-sound/mumble-1.2.2 (x11-libs/qt-core:4[ssl])
 (x11-libs/qt-gui:4)
 (x11-libs/qt-opengl:4)
 (x11-libs/qt-sql:4[sqlite])
 (x11-libs/qt-svg:4)
 (x11-libs/qt-xmlpatterns:4)
 (dbus ? x11-libs/qt-dbus:4)
media-video/smplayer-0.6.9 (x11-libs/qt-gui:4)
media-video/vlc-1.1. (qt4 ? x11-libs/qt-gui:4)
 (qt4 ? x11-libs/qt-core:4)
net-misc/x2goclient-3.01.5 (x11-libs/qt-core:4)
   (x11-libs/qt-gui:4)
   (x11-libs/qt-svg:4)
   (=x11-libs/qt-4.3:4)
x11-libs/qtscriptgenerator-0.1.0 (x11-libs/qt-dbus:4)
 (x11-libs/qt-gui:4)
 (x11-libs/qt-opengl:4)
 (!kde ? x11-libs/qt-phonon:4)
 (x11-libs/qt-script:4)
 (x11-libs/qt-sql:4)
 (x11-libs/qt-svg:4)
 (x11-libs/qt-webkit:4)
 (x11-libs/qt-xmlpatterns:4)
x11-themes/qtcurve-qt4-1.4.3 (x11-libs/qt-gui:4[dbus])
 (x11-libs/qt-svg:4)




Re: [gentoo-user] equery depends gives nonsense results

2010-06-09 Thread Neil Bothwick
On Thu, 10 Jun 2010 00:52:55 +0300, Nikos Chantziaras wrote:

 I wanted to see which packages depend on x11-libs/qt-webkit, so I did:
 
equery depends x11-libs/qt-webkit
 
 I got lots of results; but almost none of them mention qt-webkit 
 *anywhere* (except for one package: qtscriptgenerator).

Try emerge --depclean -pv x11-libs/qt-webkit - it's far more dependable
than equery.


-- 
Neil Bothwick

Linux users do it without paying a Bill


signature.asc
Description: PGP signature


Re: [gentoo-user] equery warnings

2010-03-06 Thread Jacques Montier


Le 05/03/2010 22:32, Dale a gentiment tapote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
 Hi all,

 While using equery, i get this warning :
 /usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning:
 The 'myroot' parameter for portage.config.getvirtuals() is deprecated
 result = lazy_item.func(*pargs, **kwargs)
 Nevertheless equery 's working fine.

 Any idea ?
 Thank you

 Regards

 -- 
 Jacques



 Upgrade to the latest gentoolkit.

 [IP-] [  ] app-portage/gentoolkit-0.3.0_rc9:

 I had the same error and the problem appears to be that I had portage
 in keyword/unmask but not gentoolkit.  There appears to be a mismatch
 for this version.  After I updated to the version above, it works
 fine.  The latest portage and the latest gentoolkit likes each other
 and no more error message.

 Hope that helps.

 Dale

 :-)  :--)





Thank you Dale,
Now it works fine !

Regards,


Jacques





[gentoo-user] equery warnings

2010-03-05 Thread Jacques Montier
Hi all,

While using equery, i get this warning :
/usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning:
The 'myroot' parameter for portage.config.getvirtuals() is deprecated
result = lazy_item.func(*pargs, **kwargs)
Nevertheless equery 's working fine.

Any idea ?
Thank you

Regards

--
Jacques 





Re: [gentoo-user] equery warnings

2010-03-05 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Hi all,

While using equery, i get this warning :
/usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning:
The 'myroot' parameter for portage.config.getvirtuals() is deprecated
result = lazy_item.func(*pargs, **kwargs)
Nevertheless equery 's working fine.

Any idea ?
Thank you

Regards

--
Jacques

   


Upgrade to the latest gentoolkit.

[IP-] [  ] app-portage/gentoolkit-0.3.0_rc9:

I had the same error and the problem appears to be that I had portage in 
keyword/unmask but not gentoolkit.  There appears to be a mismatch for 
this version.  After I updated to the version above, it works fine.  The 
latest portage and the latest gentoolkit likes each other and no more 
error message.


Hope that helps.

Dale

:-)  :--)





[gentoo-user] equery versus q-tools

2009-11-20 Thread Helmut Jarausch
Hi,

there are two utilities on (my) Gentoo system and I wonder
when to prefer which one.

On one hand there is 'equery' with many commands.
On the other hand there the 'q-tools' i.e. a lot of
symlinks to /usr/bin/q
like
qfile
qdepends
quse
and so on.

Often they offer similar tasks.
I wonder when to use which one.
Which is faster, more reliable, ...

Many thanks for sharing your experience,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] equery versus q-tools

2009-11-20 Thread Marcus Wanner

On 11/20/2009 4:00 AM, Helmut Jarausch wrote:

Hi,

there are two utilities on (my) Gentoo system and I wonder
when to prefer which one.

On one hand there is 'equery' with many commands.
On the other hand there the 'q-tools' i.e. a lot of
symlinks to /usr/bin/q
like
qfile
qdepends
quse
and so on.

Often they offer similar tasks.
I wonder when to use which one.
Which is faster, more reliable, ...

Many thanks for sharing your experience,
Helmut.
  
I would personally prefer equery, as it is in gentoolkit, an official 
gentoo project, and because is more standard. To tell the truth, though, 
I have never even heard of q-tools...


Marcus



Re: [gentoo-user] equery versus q-tools

2009-11-20 Thread Helmut Jarausch
On 20 Nov, Marcus Wanner wrote:
 On 11/20/2009 4:00 AM, Helmut Jarausch wrote:
 Hi,

 there are two utilities on (my) Gentoo system and I wonder
 when to prefer which one.

 On one hand there is 'equery' with many commands.
 On the other hand there the 'q-tools' i.e. a lot of
 symlinks to /usr/bin/q
 like
 qfile
 qdepends
 quse
 and so on.

 Often they offer similar tasks.
 I wonder when to use which one.
 Which is faster, more reliable, ...

 Many thanks for sharing your experience,
 Helmut.
   
 I would personally prefer equery, as it is in gentoolkit, an official 
 gentoo project, and because is more standard. To tell the truth, though, 
 I have never even heard of q-tools...
 

No wonder, it's just my personal nickname for it.
The official name is
app-portage/portage-util

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] equery versus q-tools

2009-11-20 Thread Marcus Wanner

On 11/20/2009 11:56 AM, Helmut Jarausch wrote:

On 20 Nov, Marcus Wanner wrote:
  

On 11/20/2009 4:00 AM, Helmut Jarausch wrote:


Hi,

there are two utilities on (my) Gentoo system and I wonder
when to prefer which one.

On one hand there is 'equery' with many commands.
On the other hand there the 'q-tools' i.e. a lot of
symlinks to /usr/bin/q
like
qfile
qdepends
quse
and so on.

Often they offer similar tasks.
I wonder when to use which one.
Which is faster, more reliable, ...

Many thanks for sharing your experience,
Helmut.
  
  
I would personally prefer equery, as it is in gentoolkit, an official 
gentoo project, and because is more standard. To tell the truth, though, 
I have never even heard of q-tools...





No wonder, it's just my personal nickname for it.
The official name is
app-portage/portage-util

Helmut.

  
Ah. Then I can't really give you any recommendation besides the fact 
that gentoolkit seems to be what most people use, and there is certainly 
something to be said for using the most popular programs since there 
will be faster support and bugfixes. Or course, that is a valid decision 
criteria only when there is no other reason to choose a specific option 
(there would be no such thing as the linux or even gentoo user base 
otherwise).


Marcus



Re: [gentoo-user] equery versus q-tools

2009-11-20 Thread Dale

Marcus Wanner wrote:

On 11/20/2009 4:00 AM, Helmut Jarausch wrote:

Hi,

there are two utilities on (my) Gentoo system and I wonder
when to prefer which one.

On one hand there is 'equery' with many commands.
On the other hand there the 'q-tools' i.e. a lot of
symlinks to /usr/bin/q
like
qfile
qdepends
quse
and so on.

Often they offer similar tasks.
I wonder when to use which one.
Which is faster, more reliable, ...

Many thanks for sharing your experience,
Helmut.
  
I would personally prefer equery, as it is in gentoolkit, an official 
gentoo project, and because is more standard. To tell the truth, 
though, I have never even heard of q-tools...


Marcus




But as I have seen and read about, equery is not always correct.  It is 
handy but you need to take its results with a little salt. 


That said, I use it a lot.  just have to use the old noodle still.

Dale

:-)  :-) 



Re: [gentoo-user] equery versus q-tools

2009-11-20 Thread Neil Bothwick
On Fri, 20 Nov 2009 13:23:03 -0500, Marcus Wanner wrote:

 Ah. Then I can't really give you any recommendation besides the fact 
 that gentoolkit seems to be what most people use, and there is
 certainly something to be said for using the most popular programs
 since there will be faster support and bugfixes.

Like Windows?

equery is known to give incorrect results, and has done for years.


-- 
Neil Bothwick

I don't know if I can assimilate one more Borg Tagline!


signature.asc
Description: PGP signature


Re: [gentoo-user] equery versus q-tools

2009-11-20 Thread Marcus Wanner

On 11/20/2009 5:16 PM, Neil Bothwick wrote:

On Fri, 20 Nov 2009 13:23:03 -0500, Marcus Wanner wrote:

  
Ah. Then I can't really give you any recommendation besides the fact 
that gentoolkit seems to be what most people use, and there is

certainly something to be said for using the most popular programs
since there will be faster support and bugfixes.



Like Windows?
  

I did say (right after the snip) that:
Or course, that is a valid decision criteria only when there is no 
other reason to choose a specific option (there would be no such thing 
as the linux or even gentoo user base otherwise).

What I meant by that was, quite frankly, that Windows sucks.

Marcus



Re: [gentoo-user] equery and strange warnings

2008-07-11 Thread Alan McKinnon
On Thursday 10 July 2008, Dale wrote:
  what versions of gentoolkit, portage and python are you using?
 
 
   

 Here you go:

 [I--] [ ~] sys-apps/portage-2.2_rc1 (0)
 [I--] [  ] app-portage/gentoolkit-0.2.3-r1 (0)
 [I--] [  ] dev-lang/python-2.4.4-r13 (2.4)

 I guess I need to unmask gentoolkit and match them back up huh?

I see you already know what to do :-)

If you update python as well (2.4 to 2.5 is safe) make sure you read the 
elog messages and do what it tells you to do with python-updater

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] equery and strange warnings

2008-07-11 Thread Dale

Alan McKinnon wrote:

On Thursday 10 July 2008, Dale wrote:
  

what versions of gentoolkit, portage and python are you using?


 
  

Here you go:

[I--] [ ~] sys-apps/portage-2.2_rc1 (0)
[I--] [  ] app-portage/gentoolkit-0.2.3-r1 (0)
[I--] [  ] dev-lang/python-2.4.4-r13 (2.4)

I guess I need to unmask gentoolkit and match them back up huh?



I see you already know what to do :-)

If you update python as well (2.4 to 2.5 is safe) make sure you read the 
elog messages and do what it tells you to do with python-updater


  


I wondered if that would be the next thing to update.  Since it is 
working, I'm going to leave well enough alone.  ;-) 

Oh, got my printer and memory yesterday.  Turned out the cable had dust 
in it.  Oh well, I got a new printer and 2Gbs of ram now.  -_O  I can 
fold some big uns now.


Thanks

Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] equery and strange warnings

2008-07-10 Thread Dale

Hi,

I noticed a while back that each time I use equery I get a strange 
output then the regular results.  This is a sample:


[EMAIL PROTECTED] / # equery list cdrtools
/usr/lib/portage/pym/portage_util.py:39: DeprecationWarning: DEPRECATION 
NOTICE: The portage_util module was replaced by portage.util
/usr/lib/portage/pym/portage_checksum.py:39: DeprecationWarning: 
DEPRECATION NOTICE: The portage_checksum module was replaced by 
portage.checksum
/usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION 
NOTICE: The output module was replaced by portage.output

[ Searching for package 'cdrtools' in all categories among: ]
* installed packages
[I--] [ ~] app-cdr/cdrtools-2.01.01_alpha41 (0)
[EMAIL PROTECTED] / # 


Anybody know what all this depreciation stuff is about?  How do I fix this?

Thanks

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] equery and strange warnings

2008-07-10 Thread Neil Bothwick
On Thu, 10 Jul 2008 07:38:26 -0500, Dale wrote:

 /usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION 
 NOTICE: The output module was replaced by portage.output

 Anybody know what all this depreciation stuff is about?  How do I fix
 this?

Deprecation, not depreciation - while impending obsolescence and a
decrease in value often go together, that is not the case here :)

The naming of modules in portage was changed recently, I suspect you are
mixing a stable portage with a testing gentoolkit, or maybe vice-versa.
I'm using all ~amd64 here and see no such warnings.


-- 
Neil Bothwick

Member, National Association For Tagline Assimilators (NAFTA)


signature.asc
Description: PGP signature


Re: [gentoo-user] equery and strange warnings

2008-07-10 Thread Alan McKinnon
On Thursday 10 July 2008, Dale wrote:
 Hi,

 I noticed a while back that each time I use equery I get a strange
 output then the regular results.  This is a sample:

what versions of gentoolkit, portage and python are you using?


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] equery and strange warnings

2008-07-10 Thread Dale

Alan McKinnon wrote:

On Thursday 10 July 2008, Dale wrote:
  

Hi,

I noticed a while back that each time I use equery I get a strange
output then the regular results.  This is a sample:



what versions of gentoolkit, portage and python are you using?


  


Here you go:

[I--] [ ~] sys-apps/portage-2.2_rc1 (0)
[I--] [  ] app-portage/gentoolkit-0.2.3-r1 (0)
[I--] [  ] dev-lang/python-2.4.4-r13 (2.4)

I guess I need to unmask gentoolkit and match them back up huh?

Thanks

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] equery and strange warnings

2008-07-10 Thread Dale

Dale wrote:

Alan McKinnon wrote:

On Thursday 10 July 2008, Dale wrote:
 

Hi,

I noticed a while back that each time I use equery I get a strange
output then the regular results.  This is a sample:



what versions of gentoolkit, portage and python are you using?


  


Here you go:

[I--] [ ~] sys-apps/portage-2.2_rc1 (0)
[I--] [  ] app-portage/gentoolkit-0.2.3-r1 (0)
[I--] [  ] dev-lang/python-2.4.4-r13 (2.4)

I guess I need to unmask gentoolkit and match them back up huh?

Thanks

Dale

:-)  :-) 

Hi,

That seemed to work pretty good.

app-portage/gentoolkit-0.2.4_rc4

No warning message this time.  Cool.

Now if UPS would hurry up with my printer and stick of memory.

Thanks for the help.

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



[gentoo-user] equery shows lyx didn't depend on qt, and emerge shows the opposite

2008-03-13 Thread Zhang Weiwu
Hello.

I wishes to emerge lyx and surprisingly found it depends on qt:

[EMAIL PROTECTED]:/home/zhangweiwu# emerge -pv lyx

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] app-text/opensp-1.5.2-r1  USE=nls -doc 1,486 kB 
[ebuild  N] app-text/docbook-dsssl-stylesheets-1.79  272 kB 
[ebuild  N] app-text/docbook-sgml-dtd-3.1-r3  55 kB 
[ebuild  N] media-gfx/imagemagick-6.3.7.9  USE=X gs jbig jpeg lcms png svg 
tiff zlib -bzip2 -djvu -doc -fontconfig -fpx -graphviz -hdri -jpeg2k -nocxx 
-openexr -perl -q32 -q8 -truetype -wmf -xml 0 kB 
[ebuild  N] x11-libs/qt-4.3.2-r1  USE=cups jpeg opengl png ssl tiff 
xinerama zlib -accessibility -dbus -debug -doc -examples (-firebird) -gif -glib 
-mng -mysql -nas -nis -odbc -pch -postgres -qt3support -sqlite -sqlite3 
INPUT_DEVICES=-wacom 42,445 kB 
[ebuild  N] app-text/aiksaurus-1.2.1  USE=-gtk 908 kB 
[ebuild  N] app-text/openjade-1.3.2-r1  874 kB 
[ebuild  N] app-text/sgmltools-lite-3.0.3-r10  USE=-tetex 69 kB 
[ebuild  N] app-office/lyx-1.5.4  USE=X cups nls -debug -latex 
LINGUAS=-he 8,923 kB 

Total: 9 packages (9 new), Size of downloads: 55,028 kB


I thought it must not be true, because I used lyx on Ubuntu and it
doesn't look like a qt application at all. Then I run equery depgraph to
see which package required qt. again a surprise, according to equery,
lyx did not depend on qt, nor indirectly.

I attached output of 'equery depgraph =lyx-1.5.4' to this message. Do a
grep and 'qt'  is not found in the output.

So my question is:

   1. Is it true lyx really depends on qt? How do I find out?
   2. If lyx doesn't have to depend on qt, how can I install lyx and
  avoid qt being emerged?

Thanks in advance!
Best regards
Zhang Weiwu

-- 
Real Softservice

Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang

Tel: +86 (10) 8773 0650 ext 603
Mobile: 135 9950 2413
http://www.realss.com

app-office/lyx-1.5.4:
`-- app-office/lyx-1.5.4
 `-- x11-libs/libXrandr-1.2.2
  `-- x11-libs/libX11-1.1.3
   `-- x11-libs/xtrans-1.0.4
`-- sys-devel/automake-1.10
 `-- dev-lang/perl-5.8.8-r4
  `-- sys-devel/libperl-5.8.8-r1
   `-- sys-libs/db-4.5.20_p2 [ berkdb ]
`-- dev-lang/tcl-8.4.15 [ tcl ]
 `-- sys-devel/autoconf-2.61-r1
  `-- sys-apps/texinfo-4.8-r5
   `-- sys-libs/ncurses-5.6-r2 [ !build ]
`-- sys-libs/gpm-1.20.1-r6 [ gpm ]
   `-- virtual/libintl-0 (virtual/libintl) [ !build nls ]
`-- sys-devel/gettext-0.17 [ elibc_Darwin ]
 `-- virtual/libiconv-0 (virtual/libiconv)
 `-- dev-libs/libxml2-2.6.30-r1
  `-- sys-libs/zlib-1.2.3-r1
  `-- dev-lang/python-2.4.4-r6 [ python ]
   `-- dev-lang/tk-8.4.15-r1 [ !build tk ]
`-- x11-libs/libXt-1.0.5
 `-- x11-libs/libSM-1.0.3
  `-- x11-libs/libICE-1.0.4
   `-- x11-proto/xproto-7.0.10
`-- sys-devel/libtool-1.5.24
 `-- sys-devel/gnuconfig-20070724
 `-- sys-apps/help2man-1.36.4
  `-- dev-perl/Locale-gettext-1.05 [ elibc_glibc nls ]
`-- dev-util/pkgconfig-0.22
`-- x11-misc/util-macros-1.1.5
`-- sys-devel/binutils-2.18-r1
 `-- sys-devel/binutils-config-1.9-r4
  `-- sys-apps/findutils-4.3.8-r1 [ userland_GNU ]
 `-- x11-proto/kbproto-1.0.3
   `-- sys-libs/readline-5.2_p7 [ !build ncurses readline ]
`-- app-shells/bash-3.2_p17-r1
   `-- sys-libs/gdbm-1.8.3-r3 [ !build gdbm ]
   `-- dev-libs/openssl-0.9.8g [ !build ssl ]
`-- dev-libs/gmp-4.2.2 [ gmp ]
`-- sys-apps/diffutils-2.8.7-r2
 `-- sys-apps/man-pages-2.75 [ userland_GNU ]
  `-- sys-apps/man-1.6e-r3 (virtual/man)
   `-- sys-apps/groff-1.19.2-r1
  `-- app-i18n/man-pages-zh_CN-1.5 [ nls linguas_zh_CN ]
`-- sys-devel/bc-1.06-r6 [ test ]
 `-- sys-devel/flex-2.5.33-r3
`-- app-misc/ca-certificates-20070303-r1
 `-- sys-apps/portage-2.1.3.19
  `-- sys-apps/sed-4.1.5 [ !build ]
  `-- sys-apps/sandbox-1.2.18.1-r2 [ elibc_glibc ]
  `-- app-misc/pax-utils-0.1.16
   `-- sys-libs/libcap-1.10-r9 [ caps ]
`-- sys-kernel/linux-headers-2.6.23-r3 (virtual/os-headers)
 `-- dev-util/unifdef-1.20
  `-- app-text/docbook-xml-dtd-4.4-r1 [ doc ]
   `-- app-arch/unzip-5.52-r1
   `-- app-text/docbook-xsl-stylesheets-1.70.1
`-- app-text/build-docbook-catalog-1.2
   `-- app-text/sgml-common-0.6.3-r5
`-- sys-devel/automake-1.5
 

Re: [gentoo-user] equery shows lyx didn't depend on qt, and emerge shows the opposite

2008-03-13 Thread Alan McKinnon
On Thursday 13 March 2008, Zhang Weiwu wrote:
 Hello.

 I wishes to emerge lyx and surprisingly found it depends on qt:

 [EMAIL PROTECTED]:/home/zhangweiwu# emerge -pv lyx

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  N] app-text/opensp-1.5.2-r1  USE=nls -doc 1,486 kB
 [ebuild  N] app-text/docbook-dsssl-stylesheets-1.79  272 kB
 [ebuild  N] app-text/docbook-sgml-dtd-3.1-r3  55 kB
 [ebuild  N] media-gfx/imagemagick-6.3.7.9  USE=X gs jbig jpeg
 lcms png svg tiff zlib -bzip2 -djvu -doc -fontconfig -fpx -graphviz
 -hdri -jpeg2k -nocxx -openexr -perl -q32 -q8 -truetype -wmf -xml 0
 kB [ebuild  N] x11-libs/qt-4.3.2-r1  USE=cups jpeg opengl png
 ssl tiff xinerama zlib -accessibility -dbus -debug -doc -examples
 (-firebird) -gif -glib -mng -mysql -nas -nis -odbc -pch -postgres
 -qt3support -sqlite -sqlite3 INPUT_DEVICES=-wacom 42,445 kB
 [ebuild  N] app-text/aiksaurus-1.2.1  USE=-gtk 908 kB
 [ebuild  N] app-text/openjade-1.3.2-r1  874 kB
 [ebuild  N] app-text/sgmltools-lite-3.0.3-r10  USE=-tetex 69 kB
 [ebuild  N] app-office/lyx-1.5.4  USE=X cups nls -debug -latex
 LINGUAS=-he 8,923 kB

 Total: 9 packages (9 new), Size of downloads: 55,028 kB


 I thought it must not be true, because I used lyx on Ubuntu and it
 doesn't look like a qt application at all. 

Ubuntu is a gnome-centric distro. I'm not surprised they built it with 
gtk+ support as opposed to qt support

 Then I run equery depgraph 
 to see which package required qt. again a surprise, according to
 equery, lyx did not depend on qt, nor indirectly.

 I attached output of 'equery depgraph =lyx-1.5.4' to this message. Do
 a grep and 'qt'  is not found in the output.

 So my question is:

1. Is it true lyx really depends on qt? How do I find out?

Read the ebuild:

less $PORTDIR/app-office/lyx/lyx-1.5.4.ebuild

and you will see:

RDEPEND=$(qt4_min_version 4.1.1)
x11-libs/libXrandr
x11-libs/libXcursor
x11-libs/libXrender
...

The call to qt_min_version is upsetting equery, which just reads the 
literal strings and doesn't know to execute that call to find the real 
dep

2. If lyx doesn't have to depend on qt, how can I install lyx and
   avoid qt being emerged?

emerge lyx version 1.4.* which supports optional qt, gtk+ and even 
xforms as fallback


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread Neil Bothwick
On Fri, 30 Nov 2007 22:49:18 +, Stroller wrote:

 Am I correct in assuming that portage-utils does not work stuff out  
 on the fly but needs to rebuild its database after each `emerge -- 
 sync`?

No, it works without that. I think it's simply rebuilding its cache to
save time the next time you run it.


-- 
Neil Bothwick

All right, set phasers to deep fat fry!


signature.asc
Description: PGP signature


Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread David Relson
On Fri, 30 Nov 2007 21:50:55 +
Neil Bothwick wrote:

 On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote:
 
  equery belongs file name
 
 Or, if you want the result quickly, qfile file name
 
 qfile is part of portage-utils.
 
 
 -- 
 Neil Bothwick

Indeed it is faster!  Thanks.


David
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread Stroller


On 30 Nov 2007, at 21:50, Neil Bothwick wrote:


On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote:


equery belongs file name


Or, if you want the result quickly, qfile file name

qfile is part of portage-utils.


Installing this I find that:

* //etc/portage/postsync.d/q-reinitialize has been installed for  
convenience
* If you wish for it to be automatically run at the end of every -- 
sync simply chmod +x //etc/portage/postsync.d/q-reinitialize
* Normally this should only take a few seconds to run but file  
systems such as ext3 can take a lot longer.
* If ever you find this to be an inconvenience simply chmod -x //etc/ 
portage/postsync.d/q-reinitialize


I see that this /etc/portage/postsync.d/q-reinitialize simply calls  
the core portage-utils binary with the --quiet  --reinitialize  
parameters.


Am I correct in assuming that portage-utils does not work stuff out  
on the fly but needs to rebuild its database after each `emerge -- 
sync`?


Stroller.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread Neil Bothwick
On Fri, 30 Nov 2007 06:40:17 -0600, Dale wrote:

 equery belongs file name

Or, if you want the result quickly, qfile file name

qfile is part of portage-utils.


-- 
Neil Bothwick

Illiterate? Write today for free help.


signature.asc
Description: PGP signature


Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread David Relson
On Fri, 30 Nov 2007 06:40:17 -0600
Dale wrote:

 David Relson wrote:
  On Fri, 30 Nov 2007 07:52:03 +0100
  Marc Joliet wrote:
 
  ..[snip]..
   

  Relevant snip from the manpage:
 
  depends local-opts pkgspec
This command displays all dependencies matching
  pkgspec. local-opts is either or both of:
-a, --all-packages search in all available packages
  (slow) -d, --direct search direct dependencies only (default)
-D, --indirect search indirect dependencies (very
  slow) --depth=n Limit depth of indirect dependency tree to n
  levels. Setting --depth=0 is the same as not specifing --indirect.
 
  So equery depends expects a package name, not a file name. What
  exactly are you trying to do?
 
  -- 
  Marc Joliet
  
 
  Hello Marc,
 
  Right you are, I was using the wrong command.  
 
  If I recall, last night I wanted to find which package _provides_ a
  given file.  Obviously the file in my sample,
  i.e. /etc/init.d/samba, is from net-fs/samba but the general
  question remains:  How does one find the package from which a file
  came?
 
  Regards,
 
  David

 
 equery belongs file name
 
 That help?
 
 Dale

Indeed it does!

Thanks, Dale.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread David Relson
On Fri, 30 Nov 2007 07:52:03 +0100
Marc Joliet wrote:

..[snip]..
 
 Relevant snip from the manpage:
 
 depends local-opts pkgspec
   This command displays all dependencies matching pkgspec.
   local-opts is either or both of:
   -a, --all-packages search in all available packages
 (slow) -d, --direct search direct dependencies only (default)
   -D, --indirect search indirect dependencies (very slow)
   --depth=n Limit depth of indirect dependency tree to n
 levels. Setting --depth=0 is the same as not specifing --indirect.
 
 So equery depends expects a package name, not a file name. What
 exactly are you trying to do?
 
 -- 
 Marc Joliet

Hello Marc,

Right you are, I was using the wrong command.  

If I recall, last night I wanted to find which package _provides_ a
given file.  Obviously the file in my sample, i.e. /etc/init.d/samba,
is from net-fs/samba but the general question remains:  How does one
find the package from which a file came?

Regards,

David
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-30 Thread Dale
David Relson wrote:
 On Fri, 30 Nov 2007 07:52:03 +0100
 Marc Joliet wrote:

 ..[snip]..
  
   
 Relevant snip from the manpage:

 depends local-opts pkgspec
   This command displays all dependencies matching pkgspec.
   local-opts is either or both of:
   -a, --all-packages search in all available packages
 (slow) -d, --direct search direct dependencies only (default)
   -D, --indirect search indirect dependencies (very slow)
   --depth=n Limit depth of indirect dependency tree to n
 levels. Setting --depth=0 is the same as not specifing --indirect.

 So equery depends expects a package name, not a file name. What
 exactly are you trying to do?

 -- 
 Marc Joliet
 

 Hello Marc,

 Right you are, I was using the wrong command.  

 If I recall, last night I wanted to find which package _provides_ a
 given file.  Obviously the file in my sample, i.e. /etc/init.d/samba,
 is from net-fs/samba but the general question remains:  How does one
 find the package from which a file came?

 Regards,

 David
   

equery belongs file name

That help?

Dale

:-)  :-)  :-) 


[gentoo-user] equery depends ---- Invalid db entry:

2007-11-29 Thread David Relson


$$$ equery depends /etc/init.d/samba

[ Searching for packages depending on /etc/init.d/samba... ]
!!! Invalid db entry: /var/db/pkg//app-misc
!!! Invalid db entry: /var/db/pkg//dev-perl
!!! Invalid db entry: /var/db/pkg//app-crypt
!!! Invalid db entry: /var/db/pkg//virtual
!!! Invalid db entry: /var/db/pkg//dev-util
!!! Invalid db entry: /var/db/pkg//sys-devel
!!! Invalid db entry: /var/db/pkg//sys-libs
!!! Invalid db entry: /var/db/pkg//dev-libs
!!! Invalid db entry: /var/db/pkg//app-admin


Any thoughts why equery is complaining?  

As an experiment I ran eix-update to try to clear up the problem, but
it didn't have any effect.

Regards,

David

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-29 Thread ezotrank
On 23:13 Thu 29 Nov , David Relson wrote:
 
 
 $$$ equery depends /etc/init.d/samba
 
 [ Searching for packages depending on /etc/init.d/samba... ]
 !!! Invalid db entry: /var/db/pkg//app-misc
 !!! Invalid db entry: /var/db/pkg//dev-perl
 !!! Invalid db entry: /var/db/pkg//app-crypt
 !!! Invalid db entry: /var/db/pkg//virtual
 !!! Invalid db entry: /var/db/pkg//dev-util
 !!! Invalid db entry: /var/db/pkg//sys-devel
 !!! Invalid db entry: /var/db/pkg//sys-libs
 !!! Invalid db entry: /var/db/pkg//dev-libs
 !!! Invalid db entry: /var/db/pkg//app-admin
 
 
 Any thoughts why equery is complaining?  
 
 As an experiment I ran eix-update to try to clear up the problem, but
 it didn't have any effect.
 
 Regards,
 
 David
 
 -- 
 [EMAIL PROTECTED] mailing list

maybe you help revdep-rebuild
-- 
--
With best regards, ezotrank
kernel 2.6.23-gentoo-r2, system uptime: 07:58:21 up 8:38, 4 users, load 
average: 0.00, 0.02, 0.04
--


pgpU0idyQRgES.pgp
Description: PGP signature


Re: [gentoo-user] equery depends ---- Invalid db entry:

2007-11-29 Thread Marc Joliet
Am Thu, 29 Nov 2007 23:13:10 -0500
schrieb David Relson [EMAIL PROTECTED]:

 
 
 $$$ equery depends /etc/init.d/samba
 
 [ Searching for packages depending on /etc/init.d/samba... ]
 !!! Invalid db entry: /var/db/pkg//app-misc
 !!! Invalid db entry: /var/db/pkg//dev-perl
 !!! Invalid db entry: /var/db/pkg//app-crypt
 !!! Invalid db entry: /var/db/pkg//virtual
 !!! Invalid db entry: /var/db/pkg//dev-util
 !!! Invalid db entry: /var/db/pkg//sys-devel
 !!! Invalid db entry: /var/db/pkg//sys-libs
 !!! Invalid db entry: /var/db/pkg//dev-libs
 !!! Invalid db entry: /var/db/pkg//app-admin
 
 
 Any thoughts why equery is complaining?  
 
 As an experiment I ran eix-update to try to clear up the problem, but
 it didn't have any effect.
 
 Regards,
 
 David
 

Relevant snip from the manpage:

depends local-opts pkgspec
  This command displays all dependencies matching pkgspec.
  local-opts is either or both of:
  -a, --all-packages search in all available packages (slow)
  -d, --direct search direct dependencies only (default)
  -D, --indirect search indirect dependencies (very slow)
  --depth=n Limit depth of indirect dependency tree to n
levels. Setting --depth=0 is the same as not specifing --indirect.

So equery depends expects a package name, not a file name. What
exactly are you trying to do?

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who
know we don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] equery d problem

2007-06-12 Thread Shaochun Wang
After sync today, everything is fine


On Fri, Jun 08, 2007 at 08:38:38AM +0200, Bo 脴rsted Andresen wrote:
 On Friday 08 June 2007 05:10:31 Shaochun Wang wrote:
  In my system, executing equery d package produces the following
  message
 
  !!! A file listed in the Manifest could not be found:
  /usr/portage/x11-plugins/noscript/noscript-1.1.4.8.070523.ebuild
 
  Any help?
 
 So when did you last sync ?
 
 -- 
 Bo Andresen



-- 
Shaochun Wang [EMAIL PROTECTED]

Jabber: [EMAIL PROTECTED]
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery d problem

2007-06-08 Thread Bo Ørsted Andresen
On Friday 08 June 2007 05:10:31 Shaochun Wang wrote:
 In my system, executing equery d package produces the following
 message

   !!! A file listed in the Manifest could not be found:
   /usr/portage/x11-plugins/noscript/noscript-1.1.4.8.070523.ebuild

 Any help?

So when did you last sync ?

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] equery d problem

2007-06-07 Thread Shaochun Wang

In my system, executing equery d package produces the following
message

!!! A file listed in the Manifest could not be found:
/usr/portage/x11-plugins/noscript/noscript-1.1.4.8.070523.ebuild

Any help?

-- 
Shaochun Wang [EMAIL PROTECTED]

Jabber: [EMAIL PROTECTED]
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] equery problem.

2006-06-16 Thread Paul Varner
On Thu, 2006-06-15 at 21:45 -0400, David Corbin wrote:
 I'm trying to upgrade my KDE stuff following the information on this wiki 
 page.
 
 http://gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4
 
 When I run equery d kde as it suggests, I get:
 
 Traceback (most recent call last):
   File /usr/bin/equery, line 1639, in ?
 cmd.perform(local_opts)
   File /usr/bin/equery, line 1058, in perform
 deps = pkg.get_runtime_deps() + pkg.get_compiletime_deps() + 
 pkg.get_postmerge_deps()
 AttributeError: Package instance has no attribute 'get_postmerge_deps'

Update gentoolkit to gentoolkit-0.2.2

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery problem.

2006-06-16 Thread David Corbin
On Friday 16 June 2006 11:23 am, Paul Varner wrote:
 On Thu, 2006-06-15 at 21:45 -0400, David Corbin wrote:
  I'm trying to upgrade my KDE stuff following the information on this wiki
  page.
 
  http://gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4
 
  When I run equery d kde as it suggests, I get:
 
  Traceback (most recent call last):
File /usr/bin/equery, line 1639, in ?
  cmd.perform(local_opts)
File /usr/bin/equery, line 1058, in perform
  deps = pkg.get_runtime_deps() + pkg.get_compiletime_deps() +
  pkg.get_postmerge_deps()
  AttributeError: Package instance has no attribute 'get_postmerge_deps'

 Update gentoolkit to gentoolkit-0.2.2


I am using 0.2.2


 Regards,
 Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] equery problem.

2006-06-15 Thread David Corbin
I'm trying to upgrade my KDE stuff following the information on this wiki 
page.

http://gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4

When I run equery d kde as it suggests, I get:

Traceback (most recent call last):
  File /usr/bin/equery, line 1639, in ?
cmd.perform(local_opts)
  File /usr/bin/equery, line 1058, in perform
deps = pkg.get_runtime_deps() + pkg.get_compiletime_deps() + 
pkg.get_postmerge_deps()
AttributeError: Package instance has no attribute 'get_postmerge_deps'


Suggestions, please.

David
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-09 Thread Abhay Kedia
On Thursday 09 March 2006 00:04, Holly Bostick wrote:

 Not sure why sometimes lines get wrapped when they shouldn't be, but it
 does happen (even in nano, where it shouldn't, and certainly in GUI
 editors, if you set it that way without thinking), and it can have
 unexpected consequences (like this).

cos it is default behavior of nano? you can override it by issuing -w option 
to nano. i always run nano with -w.

-- 
Regards,
Abhay


pgp4BZ0jMafwJ.pgp
Description: PGP signature


Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-09 Thread wieseltux23
www.wolfspakt.de/spiel.php?id=7358

On Wed, 8 Mar 2006 22:24:25 -0600
Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:

 On Wednesday 08 March 2006 21:49, Kumar Golap [EMAIL PROTECTED] 
 wrote about 'Re: [gentoo-user] equery, make.conf USE flag mismatch on 
 amd64':
  Apologies for not having done my research properly
 
 No problem, it happens.  Truth be told it's probably more of a problem with 
 people being unable to /find/ the manual than being unwilling to /read/ 
 it.
 
 Besides, the age-old man command, and it's younger upstart info, are 
 quickly being deprecated in favor of simply pointing someone to a web 
 page.  I find this unfortunate, at best.
 
 BTW, if you don't like consoles or fixed-width fonts make you itch, you can 
 always use a man:/ or info:/ URL in konqueror.  (Not sure what the 
 Gnome/FB/BB/OB/ION/WMII/RP/other people use...)
 
   In this /specific/ case, you don't have to because the ebuilds and gcc
   know that x86_64 CHOST means that mmx etc. ARE supported and they will
   hard-enable them (you may not turn them off).
 
  Do you mean that, say, xawtv would have been built with mmx for an
  amd64 arch...despite that equery uses say its not ? Because that
  what confused me
 
 Yes.  It will.  The ebuild controls which arguments are passed to 
 configure/make so it can decide on the combination of you USE flags and 
 profile.  I'm not sure if it is portage magic (the portage 'use' command 
 available in ebuilds doing some check on CHOST) or just ebuild maintainers 
 explicitly checking for an x86_64 CHOST, but you will get mmx/sse 
 optimizations without any special USE flags.
 
 You probably /should/ set your -march flag (or at least -mcpu) in CFLAGS, 
 so that gcc will optimize to your particular processor, including extended 
 instruction sets.
 
 -- 
 If there's one thing we've established over the years,
 it's that the vast majority of our users don't have the slightest
 clue what's best for them in terms of package stability.
 -- Gentoo Developer Ciaran McCreesh
 -- 
 gentoo-user@gentoo.org mailing list
 


pgpaWo7kS3LUZ.pgp
Description: PGP signature


Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Jeremy Olexa



Please note that mmx seems to be missing in both columns. despite
that its there in my USE in make.conf
 

`cat /proc/cpuinfo |grep flags` to see what flags your cpu uses. Perhaps 
your cpu doesn't handle mmx?


Sorry, I don't have expierence with your cpu.

-Jeremy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Patrick B�rjesson
On 2006-03-08 00:20, Kumar Golap uttered these thoughts:
 I have the following USE in my make.conf (on an athlon64 machine)
 USE=3dnow xorg a52 alsa acpi arts avi berkdb cdr crypt cups dvdr dvd
 encode foomaticdb ffmpeg flac gdbm gif gpm gtk gtk2 hal imlib jpeg kde
 gnome libg++ libwww lm_sensors mad mikmod mmx motif mpeg mysql ncurses
 nls oggvorbis opengl pam pam_console pdflib png python qt quicktime
 readline sdl slang spell sse ssl svga tcpd tiff truetype usb X xml2
 xmms xv zlib f77 v4l win32codecs
 
 
 And when i do: equery uses xawtv i get the following:
 [ Searching for packages matching xawtv... ]
 [ Colour Code : set unset ]
 [ Legend: Left column  (U) - USE flags from make.conf 
]
 [  : Right column (I) - USE flags packages was installed with 
 ]
 [ Found these USE variables for media-tv/xawtv-3.95-r1 ]
[snip]
  - - mmx   : Adds support for optimizations for Pentium MMX and
 Athlon class processors
[snip]

 Please note that mmx seems to be missing in both columns. despite
 that its there in my USE in make.conf
 
 When i do: emerge --pretend --newuse xawtv
 
 It basically reports that nothing need to be done

Try a
$ emerge -vp xawtv
and see if the mmx useflag is set in that output... If not, then do a 
$ emerge --info
and see if the useflag output from that command includes mmx. If not,
you've probably got a typo of some sort in your make.conf since the mmx
useflag is not profile-masked on the amd64 (use.mask under your
/etc/make.profile symlink). 

 Is this a bug in equery or is it that i can't set mmx on an Athlon64 ?

Might be, but probably not ;)


Regards,
Patrick B�rjesson

-- 
/  ()  The ASCII Ribbon Campaign - against HTML Email
\  /\   and proprietary formats.


pgpUlt3St97RL.pgp
Description: PGP signature


Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
In fact if i remove the  USE line from the make.conf file ...and i do
emerge --info ...it is showing USE flags that i have no clue from
where its coming. I guess that that is what is overiding my changes in
USE i.e  its been ignoring the fact that wanted   mmx and 3dnow etc to
be used.


In case that can give you a clue below is the whole
emerge --info even after i commented out my USE line in make.conf

Thanks a lot for all the help...

Kumar




 # emerge --info
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-gentoo-r5 x86_64)
=
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
/var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks sandbox sfperms strict
GENTOO_MIRRORS=http://gentoo.osuosl.org/ 
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=amd64 X a52 aalib acpi alsa arts audiofile avi berkdb
bitmap-fonts bzip2 cdr crypt cups curl directfb dri dvd dvdr eds
emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb fortran gd
gdbm gif glut gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib
ipv6 java jpeg kde lcms libcaca libg++ libwww lirc lm_sensors lzw
lzw-tiff mad mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl
ogg oggvorbis openal opengl pam pam_console pcre pdflib perl png
python qt quicktime readline recode scanner sdl slang speex spell
sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
udev usb userlocales v4l vorbis xine xml2 xmms xorg xpm xv zlib
userland_GNU kernel_linux elibc_glibc
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Martins Steinbergs
On Wednesday 08 March 2006 18:33, Kumar Golap wrote:
 In fact if i remove the  USE line from the make.conf file ...and i do
 emerge --info ...it is showing USE flags that i have no clue from
 where its coming. I guess that that is what is overiding my changes in
 USE i.e  its been ignoring the fact that wanted   mmx and 3dnow etc to
 be used.


 In case that can give you a clue below is the whole
 emerge --info even after i commented out my USE line in make.conf

 Thanks a lot for all the help...

 Kumar



I would advise to read 6. Installing the Gentoo Base System -- Configuring 
the USE variable

amd64 version:
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=6#doc_chap2


martins
-- 
Linux 2.6.15-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
 19:14:26 up 45 min,  5 users,  load average: 1.40, 1.44, 1.23
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Thanks now I understand the default USE flags I see, I think. And
apologies for not searching the manual first.

But I still do not understand  why flags like mmx (or 3dnow) flags
that i put in the /etc/make.conf file is not getting picked up.

Am i right in my understanding that emerge --info reports the sum of
all the USE flags from all the make.defaults and /etc/make.conf ? so
it should show mmx when i put it there.

regards

Kumar


On 3/8/06, Martins Steinbergs [EMAIL PROTECTED] wrote:
 On Wednesday 08 March 2006 18:33, Kumar Golap wrote:
  In fact if i remove the  USE line from the make.conf file ...and i do
  emerge --info ...it is showing USE flags that i have no clue from
  where its coming. I guess that that is what is overiding my changes in
  USE i.e  its been ignoring the fact that wanted   mmx and 3dnow etc to
  be used.
 
 
  In case that can give you a clue below is the whole
  emerge --info even after i commented out my USE line in make.conf
 
  Thanks a lot for all the help...
 
  Kumar
 
 

 I would advise to read 6. Installing the Gentoo Base System -- Configuring
 the USE variable

 amd64 version:
 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=6#doc_chap2


 martins
 --
 Linux 2.6.15-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
  19:14:26 up 45 min,  5 users,  load average: 1.40, 1.44, 1.23
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Paul Varner
On Wed, 2006-03-08 at 11:16 -0700, Kumar Golap wrote:
 Thanks now I understand the default USE flags I see, I think. And
 apologies for not searching the manual first.
 
 But I still do not understand  why flags like mmx (or 3dnow) flags
 that i put in the /etc/make.conf file is not getting picked up.
 
 Am i right in my understanding that emerge --info reports the sum of
 all the USE flags from all the make.defaults and /etc/make.conf ? so
 it should show mmx when i put it there.

The flags are probably masked by your profile. What does 'emerge
--pretend --verbose xawtv' show?

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Martins Steinbergs
On Wednesday 08 March 2006 20:16, Kumar Golap wrote:
 Thanks now I understand the default USE flags I see, I think. And
 apologies for not searching the manual first.

 But I still do not understand  why flags like mmx (or 3dnow) flags
 that i put in the /etc/make.conf file is not getting picked up.

 Am i right in my understanding that emerge --info reports the sum of
 all the USE flags from all the make.defaults and /etc/make.conf ? so
 it should show mmx when i put it there.

 regards

 Kumar

partial answer is in file /usr/portage/profiles/default-linux/use.mask

but still dont have a clue why these flags doesnt show 'emerge --info' if they 
are in /etc/make.conf

martins
-- 
Linux 2.6.15-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
 21:22:34 up  2:53,  5 users,  load average: 1.12, 1.15, 1.10
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Thanks all for your help...and I know why now mmx flag was getting
masked. Its in the use.mask as suggested by Martins.

Attached is the use.mask file i have ...that file gets
updated/overwritten every time i do a emerge --sync,  right ? For
some reason all the flags under x86/amd are uncommented... when i
comment them out then emerge --info shows me mmx etc...

For now i can live with commenting them out. But I did not realize i
had to do that...i never had to do this before on other machines (not
amd64 though...x86 and ppc64).

regards

Kumar


use.mask
Description: Binary data


Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Boyd Stephen Smith Jr.
On Wednesday 08 March 2006 21:20, Kumar Golap [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] equery, make.conf USE flag mismatch on 
amd64':
 Thanks all for your help...and I know why now mmx flag was getting
 masked. Its in the use.mask as suggested by Martins.

 Attached is the use.mask file i have ...that file gets
 updated/overwritten every time i do a emerge --sync,  right ?

Yep.

 For now i can live with commenting them out. But I did not realize i
 had to do that...i never had to do this before on other machines (not
 amd64 though...x86 and ppc64).

You don't.  In the general case, you can add the flags you want unmasked 
to /etc/portage/profile/use.mask like so:
-win32codecs

In this /specific/ case, you don't have to because the ebuilds and gcc know 
that x86_64 CHOST means that mmx etc. ARE supported and they will 
hard-enable them (you may not turn them off).

Normally, you won't want to mask or unmask USE flags yourself.  They are 
turned on or off by the developers because they are either redundant or 
broken.

I don't know why I didn't jump in the conversation earlier; I guess I hoped 
someone here could read 'man portage'.  There's full documentation for 
use.mask and over-riding your profile in there.

*grumble grumble*

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Richard Fish
On 3/8/06, Kumar Golap [EMAIL PROTECTED] wrote:
 Thanks all for your help...and I know why now mmx flag was getting
 masked. Its in the use.mask as suggested by Martins.

The mmx USE flag is not supported on the amd64 profile.  The processor
does support mmx instructions, but (I think) only when operating in
32-bit mode.  So it probably doesn't make sense to have an amd64
profile with the mmx/sse/3dnow use flags.  Presumably there are better
processor instructions for a true 64-bit multi-media application to
use...

If you really want to applications to use mmx/sse/3dnow for some
reason, you will need to remain in 32-bit mode with the x86 profile. 
Or I suppose you could use some kind of chroot/cross-compilation
environment...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Apologies for not having done my research properly




 In this /specific/ case, you don't have to because the ebuilds and gcc know
 that x86_64 CHOST means that mmx etc. ARE supported and they will
 hard-enable them (you may not turn them off).


Do you mean that, say, xawtv would have been built with mmx for an
amd64 arch...despite that equery uses say its not ? Because that
what confused me

Thanks

Kumar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
 The mmx USE flag is not supported on the amd64 profile.  The processor
 does support mmx instructions, but (I think) only when operating in
 32-bit mode.  So it probably doesn't make sense to have an amd64
 profile with the mmx/sse/3dnow use flags.  Presumably there are better
 processor instructions for a true 64-bit multi-media application to
 use...


Ah alright thanks ...i did not know  that mmx 3dnow flags /
instruction set was for the 32 bit operation only


Sorry again if i've wasted you guys time ...but i learned a few things today.

regards

Kumar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Ryan Tandy

Kumar Golap wrote:

Apologies for not having done my research properly




  

In this /specific/ case, you don't have to because the ebuilds and gcc know
that x86_64 CHOST means that mmx etc. ARE supported and they will
hard-enable them (you may not turn them off).




Do you mean that, say, xawtv would have been built with mmx for an
amd64 arch...despite that equery uses say its not ? Because that
what confused me

Thanks

Kumar

  
There's a difference.  Due to your CHOST, the compiler knows what 
optimizations are supported by your CPU and will automatically generate 
code that makes the best possible use of them.  On the other hand, the 
mmx USE flag's most likely effect is to activate portions of the 
program's code that explicitly invoke MMX CPU instructions - for 
example, through assembly inlining.  I don't know much about 64-bit 
systems, so I'd recommend leaving mmx masked as per your profile, or 
perhaps unmasking it just to test one or two packages for stability, and 
then unmasking permanently if you have no problems.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Boyd Stephen Smith Jr.
On Wednesday 08 March 2006 21:45, Richard Fish [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] equery, make.conf USE flag mismatch on 
amd64':
 On 3/8/06, Kumar Golap [EMAIL PROTECTED] wrote:
  Thanks all for your help...and I know why now mmx flag was getting
  masked. Its in the use.mask as suggested by Martins.

 The mmx USE flag is not supported on the amd64 profile.  The processor
 does support mmx instructions, but (I think) only when operating in
 32-bit mode. 

I know it supports them, and I'm fairly sure the work in 64-bit mode.

 So it probably doesn't make sense to have an amd64 
 profile with the mmx/sse/3dnow use flags.  Presumably there are better
 processor instructions for a true 64-bit multi-media application to
 use...

Actually, since ALL x86_64 processors support these instructions, it's 
kinda silly to compile without using these instruction sets.  There are 
few, if any, extended instruction sets for x86_64, AFAIK, so mmx3/sse2 is 
probably the fastest code path for multimedia operations.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Richard Fish
On 3/8/06, Kumar Golap [EMAIL PROTECTED] wrote:
  The mmx USE flag is not supported on the amd64 profile.  The processor
  does support mmx instructions, but (I think) only when operating in
  32-bit mode.  So it probably doesn't make sense to have an amd64
  profile with the mmx/sse/3dnow use flags.  Presumably there are better
  processor instructions for a true 64-bit multi-media application to
  use...
 

 Ah alright thanks ...i did not know  that mmx 3dnow flags /
 instruction set was for the 32 bit operation only

Don't thank me.  I was wrong.

As an example, take a look at the following from the mplayer ebuild:

   # mplayer now contains SIMD assembler code for amd64
# AMD64 Team decided to hardenable SIMD assembler for all users
# Danny van Dyk [EMAIL PROTECTED] 2005/01/11
if use amd64; then
myconf=${myconf} --enable-3dnow --enable-3dnowex
--enable-sse --enable-sse2 --enable-mmx --enable-mmx2
fi

In this case, since mplayer knows how to use both 64-bit and mmx/sse
instructions simultaneously, the ebuild adds all of this stuff for
amd64 users.  No use flags required.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-07 Thread Kumar Golap
Hello All,

I have the following USE in my make.conf (on an athlon64 machine)
USE=3dnow xorg a52 alsa acpi arts avi berkdb cdr crypt cups dvdr dvd
encode foomaticdb ffmpeg flac gdbm gif gpm gtk gtk2 hal imlib jpeg kde
gnome libg++ libwww lm_sensors mad mikmod mmx motif mpeg mysql ncurses
nls oggvorbis opengl pam pam_console pdflib png python qt quicktime
readline sdl slang spell sse ssl svga tcpd tiff truetype usb X xml2
xmms xv zlib f77 v4l win32codecs


And when i do: equery uses xawtv i get the following:
[ Searching for packages matching xawtv... ]
[ Colour Code : set unset ]
[ Legend: Left column  (U) - USE flags from make.conf 
   ]
[  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-tv/xawtv-3.95-r1 ]
 U I
 + + X : Adds support for X11
 + + aalib : Adds support for media-libs/aalib (ASCII-Graphics Library)
 + + alsa  : Adds support for media-libs/alsa-lib (Advanced Linux
Sound Architecture)
 + + dv: Enables support for a codec used by many camcorders
 + + lirc  : Adds support for lirc (Linux's Infra-Red Remote Control)
 - - mmx   : Adds support for optimizations for Pentium MMX and
Athlon class processors
 + + motif : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
 + + nls   : Adds Native Language Support (using gettext - GNU
locale utilities)
 + + opengl: Adds support for OpenGL (3D graphics)
 + + quicktime : Adds support for OpenQuickTime
 + + xext  : Enable use of XFree extentions (DGA,VidMode,DPMS)
 + + xv: Adds in optional support for the Xvideo extension (an
X API for video playback)
 + + zvbi  : Enable VBI Decoding Library for Zapping


Please note that mmx seems to be missing in both columns. despite
that its there in my USE in make.conf

When i do: emerge --pretend --newuse xawtv

It basically reports that nothing need to be done


Is this a bug in equery or is it that i can't set mmx on an Athlon64 ?

I'm using:
Portage version 2.0.54
Gentoolkit version 0.2.1


Thanks

Kumar

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [equery Q] shorter version

2006-02-05 Thread Harry Putnam
Sometime ago some posted a command from a tool found in a package on
portage.  It was an equery related thread.

The command was something like a simple eq or maybe even e or q alone.

I was just an alias.
Anyone know what I'm remembering here?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [equery Q] shorter version

2006-02-05 Thread Rumen Yotov
On Sun, 2006-02-05 at 11:35 -0600, Harry Putnam wrote:
 Sometime ago some posted a command from a tool found in a package on
 portage.  It was an equery related thread.
 
 The command was something like a simple eq or maybe even e or q alone.
 
 I was just an alias.
 Anyone know what I'm remembering here?
 
Hi,
Probably was portage-utils q,qlist.qfile,qsize,etc
HTH.Rumen


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] equery not working

2005-10-04 Thread Wes Gray
On Mon, Oct 03, 2005 at 09:50:03PM -0500, Paul Varner wrote:
 equery works fine for me here.  Two questions, which version of
 gentoolkit do you have installed? What does ls
 -ld /var/db/pkg/kde-base/kde* show?

Here is the info requested:

# emerge -p gentoolkit

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-portage/gentoolkit-0.2.0
#
# ls -ld /var/db/pkg/kde-base/kde*

drwxr-xr-x  2 root root 912 Sep 28 14:24 /var/db/pkg/kde-base/kde-env-3-r4
drwxr-xr-x  2 root root 912 Sep 26 21:56 /var/db/pkg/kde-base/kde-meta-3.4.1
drwxr-xr-x  2 root root 608 Jul  3  2004 /var/db/pkg/kde-base/kdeaccessibility-3
.2.2
drwxr-xr-x  2 root root 920 Dec 30  2004 /var/db/pkg/kde-base/kdeaccessibility-3
.3.2
drwxr-xr-x  2 root root 928 Sep 26 21:00 /var/db/pkg/kde-base/kdeaddons-docs-kon
q-plugins-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 20:51 /var/db/pkg/kde-base/kdeaddons-kfile-pl
ugins-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 21:33 /var/db/pkg/kde-base/kdeaddons-meta-3.4
.1
drwxr-xr-x  2 root root 928 Sep 26 11:47 /var/db/pkg/kde-base/kdeadmin-kfile-plu
gins-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 11:48 /var/db/pkg/kde-base/kdeadmin-meta-3.4.
1
drwxr-xr-x  2 root root 928 Sep 26 21:39 /var/db/pkg/kde-base/kdeartwork-emotico
ns-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 21:54 /var/db/pkg/kde-base/kdeartwork-icewm-t
hemes-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 21:43 /var/db/pkg/kde-base/kdeartwork-iconthe
mes-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 21:50 /var/db/pkg/kde-base/kdeartwork-kscreen
saver-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 21:38 /var/db/pkg/kde-base/kdeartwork-kwin-st
yles-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 21:41 /var/db/pkg/kde-base/kdeartwork-kworldc
lock-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 21:55 /var/db/pkg/kde-base/kdeartwork-meta-3.
4.1
drwxr-xr-x  2 root root 920 Sep 26 21:55 /var/db/pkg/kde-base/kdeartwork-sounds-
3.4.1
drwxr-xr-x  2 root root 920 Sep 26 21:52 /var/db/pkg/kde-base/kdeartwork-styles-
3.4.1
drwxr-xr-x  2 root root 928 Sep 26 21:35 /var/db/pkg/kde-base/kdeartwork-wallpap
ers-3.4.1
drwxr-xr-x  2 root root 920 Sep 28 23:25 /var/db/pkg/kde-base/kdebase-data-3.4.1
drwxr-xr-x  2 root root 928 Sep 29 00:41 /var/db/pkg/kde-base/kdebase-kioslaves-
3.4.1-r1
drwxr-xr-x  2 root root 920 Sep 29 01:50 /var/db/pkg/kde-base/kdebase-meta-3.4.1
drwxr-xr-x  2 root root 912 Jun 24 12:20 /var/db/pkg/kde-base/kdebase-pam-4
drwxr-xr-x  2 root root 920 Sep 29 01:31 /var/db/pkg/kde-base/kdebase-startkde-3
.4.1
drwxr-xr-x  2 root root 920 Sep 29 00:03 /var/db/pkg/kde-base/kdebugdialog-3.4.1
drwxr-xr-x  2 root root 920 Sep 25 22:09 /var/db/pkg/kde-base/kdeedu-applnk-3.4.
1
drwxr-xr-x  2 root root 912 Sep 25 23:20 /var/db/pkg/kde-base/kdeedu-meta-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 10:13 /var/db/pkg/kde-base/kdegames-meta-3.4.
1
drwxr-xr-x  2 root root 928 Sep 26 19:12 /var/db/pkg/kde-base/kdegraphics-kfile-
plugins-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 20:25 /var/db/pkg/kde-base/kdegraphics-meta-3
.4.1
drwxr-xr-x  2 root root 576 Jan 20  2004 /var/db/pkg/kde-base/kdelibs-3.1.5
drwxr-xr-x  2 root root 600 Jul 29  2004 /var/db/pkg/kde-base/kdelibs-3.2.3
drwxr-xr-x  2 root root 912 Jun 22 21:08 /var/db/pkg/kde-base/kdelibs-3.3.2-r9
drwxr-xr-x  2 root root 912 Jul  5 00:26 /var/db/pkg/kde-base/kdelibs-3.4.1-r1
drwxr-xr-x  2 root root 920 Sep 26 10:40 /var/db/pkg/kde-base/kdemultimedia-arts
-3.4.1
drwxr-xr-x  2 root root 936 Sep 26 11:09 /var/db/pkg/kde-base/kdemultimedia-kapp
finder-data-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 10:20 /var/db/pkg/kde-base/kdemultimedia-kfil
e-plugins-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 10:18 /var/db/pkg/kde-base/kdemultimedia-kios
laves-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 11:35 /var/db/pkg/kde-base/kdemultimedia-meta
-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 08:40 /var/db/pkg/kde-base/kdenetwork-filesha
ring-3.4.1
drwxr-xr-x  2 root root 928 Sep 26 08:50 /var/db/pkg/kde-base/kdenetwork-kfile-p
lugins-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 08:58 /var/db/pkg/kde-base/kdenetwork-meta-3.
4.1
drwxr-xr-x  2 root root 912 Sep 29 00:29 /var/db/pkg/kde-base/kdepasswd-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 00:47 /var/db/pkg/kde-base/kdepim-kioslaves-3
.4.1
drwxr-xr-x  2 root root 920 Sep 26 00:24 /var/db/pkg/kde-base/kdepim-kresources-
3.4.1
drwxr-xr-x  2 root root 912 Sep 26 06:56 /var/db/pkg/kde-base/kdepim-meta-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 01:21 /var/db/pkg/kde-base/kdepim-wizards-3.4
.1
drwxr-xr-x  2 root root 912 Sep 29 01:21 /var/db/pkg/kde-base/kdeprint-3.4.1
drwxr-xr-x  2 root root 576 Nov 28  2003 /var/db/pkg/kde-base/kdesdk-3.1.4
drwxr-xr-x  2 root root 912 Sep 29 00:57 /var/db/pkg/kde-base/kdesktop-3.4.1
drwxr-xr-x  2 root root 912 Sep 28 23:22 /var/db/pkg/kde-base/kdesu-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 12:02 /var/db/pkg/kde-base/kdetoys-meta-3.4.1
drwxr-xr-x  2 root root 920 Sep 26 07:35 /var/db/pkg/kde-base/kdeutils-meta-3.4.
1
drwxr-xr-x  2 root root 920 Sep 26 

Re: [gentoo-user] equery not working

2005-10-04 Thread Paul Varner
On Tue, 2005-10-04 at 10:53 -0700, Wes Gray wrote:
 On Mon, Oct 03, 2005 at 09:50:03PM -0500, Paul Varner wrote:
  equery works fine for me here.  Two questions, which version of
  gentoolkit do you have installed? What does ls
  -ld /var/db/pkg/kde-base/kde* show?
 
 Here is the info requested:

Okay, I know the problem. The command you ran should actually return
nothing since you don't have any packages named kde installed. (It's a
bug that kde-env and kde-meta get returned)

Anyhow, the command you probably want to use is 'equery l kde.*' That
tells equery to return the list of all packages that are installed with
a name starting with 'kde'

You can also use 'equery l kde-base/.*' which will display any packages
that are installed from the kde-base category.

Regards
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] equery not working

2005-10-03 Thread Wes Gray
Why doesn't equery actually show me all the installed packages?  I
know I have lots of versions of kde installed, but equery doesn't show them:

# equery l -i kde
[ Searching for package 'kde' in all categories among: ]
 * installed packages
[I--] [  ] kde-base/kde-env-3-r4 (0)
[I--] [  ] kde-base/kde-meta-3.4.1 (3.4)
# ls /usr/kde
3  3.1  3.2  3.3  3.4
#

Is there a utility which shows all the installed packages?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery not working

2005-10-03 Thread Paul Varner
On Mon, 2005-10-03 at 16:03 -0700, Wes Gray wrote:
 Why doesn't equery actually show me all the installed packages?  I
 know I have lots of versions of kde installed, but equery doesn't show them:
 
 # equery l -i kde
 [ Searching for package 'kde' in all categories among: ]
  * installed packages
 [I--] [  ] kde-base/kde-env-3-r4 (0)
 [I--] [  ] kde-base/kde-meta-3.4.1 (3.4)
 # ls /usr/kde
 3  3.1  3.2  3.3  3.4
 #
 
 Is there a utility which shows all the installed packages?

equery works fine for me here.  Two questions, which version of
gentoolkit do you have installed? What does ls
-ld /var/db/pkg/kde-base/kde* show?

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-30 Thread Jorge Almeida

On Tue, 30 Aug 2005, Rumen Yotov wrote:

Hi,
Running a script to update PerlPython modules is a common issue after
updating them (PerlPython) to a new (specially) major version.
Try the testing (~x86) version of gentoolkit it *may* work.

It doesn't. I had already tried it.

For dependency checking i use the dep (ecatmur's) script

Will take a look. Still, I'd like to know what the problem is...

HTH. Rumen


Thanks,

Jorge
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-30 Thread Paul Varner
On Mon, 2005-08-29 at 23:45 +0100, Jorge Almeida wrote:
 equery seems crazy. I have gentoolkit-0.2.0, and just reemerged it for
 good measure.
 
   $ equery depends vim
   [ Searching for packages depending on vim... ]
   Traceback (most recent call last):
 File /usr/bin/equery, line 1551, in ?
   cmd.perform(local_opts)
 File /usr/bin/equery, line 996, in perform
   packages = gentoolkit.find_all_installed_packages()
 File /usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py, line 284, in 
 find_all_installed_packages
   return [Package(x) for x in t]
 File /usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py, line 52, in 
 __init__
   self._settings = portage.config(clone=settings)
 File /usr/lib/portage/pym/portage.py, line 882, in __init__
   self.pmaskdict = copy.deepcopy(clone.pmaskdict)
 File /usr/lib/python2.3/copy.py, line 192, in deepcopy
   y = copier(x, memo)
 File /usr/lib/python2.3/copy.py, line 286, in _deepcopy_dict
   y[deepcopy(key, memo)] = deepcopy(value, memo)
 File /usr/lib/python2.3/copy.py, line 192, in deepcopy
   y = copier(x, memo)
 File /usr/lib/python2.3/copy.py, line 259, in _deepcopy_list
   y.append(deepcopy(a, memo))
 File /usr/lib/python2.3/copy.py, line 224, in deepcopy
   memo[d] = y
   MemoryError
 
 vim is just an example, it's the same with other packages. Also,
 revdep-rebuild -p says there is no problem with missing dependencies...

I believe that you are running into bug #90680
http://bugs.gentoo.org/show_bug.cgi?id=90680

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-30 Thread Jorge Almeida

On Tue, 30 Aug 2005, Paul Varner wrote:


I believe that you are running into bug #90680
http://bugs.gentoo.org/show_bug.cgi?id=90680


Maybe not. I tried again while running top and memory usage din't go
over 4.8%...


Thanks,

Jorge
--
gentoo-user@gentoo.org mailing list



[gentoo-user] equery

2005-08-29 Thread Jorge Almeida

equery seems crazy. I have gentoolkit-0.2.0, and just reemerged it for
good measure.

$ equery depends vim
[ Searching for packages depending on vim... ]
Traceback (most recent call last):
  File /usr/bin/equery, line 1551, in ?
cmd.perform(local_opts)
  File /usr/bin/equery, line 996, in perform
packages = gentoolkit.find_all_installed_packages()
  File /usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py, line 284, in 
find_all_installed_packages
return [Package(x) for x in t]
  File /usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py, line 52, in 
__init__
self._settings = portage.config(clone=settings)
  File /usr/lib/portage/pym/portage.py, line 882, in __init__
self.pmaskdict = copy.deepcopy(clone.pmaskdict)
  File /usr/lib/python2.3/copy.py, line 192, in deepcopy
y = copier(x, memo)
  File /usr/lib/python2.3/copy.py, line 286, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
  File /usr/lib/python2.3/copy.py, line 192, in deepcopy
y = copier(x, memo)
  File /usr/lib/python2.3/copy.py, line 259, in _deepcopy_list
y.append(deepcopy(a, memo))
  File /usr/lib/python2.3/copy.py, line 224, in deepcopy
memo[d] = y
MemoryError

vim is just an example, it's the same with other packages. Also,
revdep-rebuild -p says there is no problem with missing dependencies...

Any idea?


--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Holly Bostick
Jorge Almeida schreef:
 equery seems crazy. I have gentoolkit-0.2.0, and just reemerged it for
 good measure.
 
 $ equery depends vim
 [ Searching for packages depending on vim... ]
 Traceback (most recent call last):
   File /usr/bin/equery, line 1551, in ?
 cmd.perform(local_opts)
   File /usr/bin/equery, line 996, in perform
 packages = gentoolkit.find_all_installed_packages()
   File /usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py, line 284,
 in find_all_installed_packages
 return [Package(x) for x in t]
   File /usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py, line 52,
 in __init__
 self._settings = portage.config(clone=settings)
   File /usr/lib/portage/pym/portage.py, line 882, in __init__
 self.pmaskdict = copy.deepcopy(clone.pmaskdict)
   File /usr/lib/python2.3/copy.py, line 192, in deepcopy
 y = copier(x, memo)
   File /usr/lib/python2.3/copy.py, line 286, in _deepcopy_dict
 y[deepcopy(key, memo)] = deepcopy(value, memo)
   File /usr/lib/python2.3/copy.py, line 192, in deepcopy
 y = copier(x, memo)
   File /usr/lib/python2.3/copy.py, line 259, in _deepcopy_list
 y.append(deepcopy(a, memo))
   File /usr/lib/python2.3/copy.py, line 224, in deepcopy
 memo[d] = y
 MemoryError
 
 vim is just an example, it's the same with other packages. Also,
 revdep-rebuild -p says there is no problem with missing dependencies...
 
 Any idea?
 
 

No problems here:

 eix gentoolkit
* app-portage/gentoolkit
 Available versions:  0.2.0 ~0.2.1_pre2 ~0.2.1_pre4 ~0.2.1_pre5
 Installed:   0.2.1_pre5
 Homepage:
http://www.gentoo.org/proj/en/portage/tools/index.xml
 Description: Collection of administration scripts for Gentoo


 equery depends xine
[ Searching for packages depending on xine... ]
dev-libs/DirectFB-extra-0.9.22
media-video/totem-1.0.4

But I do remember having such problems in the (distant) past. Don't see
anything on b.g.o that looks like this, though.

The problem, from the looks of it, could be in Python, or in gentoolkit
itself.

Have you updated Python recently? Perhaps you need to run
/usr/sbin/python-updater to make sure everything is copacetic.

Or, of course, you could upgrade gentoolkit; maybe that was a problem
with it that was fixed (gentoolkit didn't used to work very well for
'depends' or 'uses' at all, until recently).

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Brett I. Holcomb
I've seen messages like that from portage and when I run the command again 
it works.  It seems that sometimes portage is running and executing a 
command like that cause it to get confused.


 On Tue, 30 Aug 2005, Jorge 
Almeida wrote:



On Tue, 30 Aug 2005, Holly Bostick wrote:



 The problem, from the looks of it, could be in Python, or in gentoolkit
 itself.

 Have you updated Python recently? Perhaps you need to run
 /usr/sbin/python-updater to make sure everything is copacetic.

python is up-to-date, and I just run /usr/sbin/python-updater (how do
you know this? Meaning: what part of the docs did I miss?)


 Or, of course, you could upgrade gentoolkit; maybe that was a problem
 with it that was fixed (gentoolkit didn't used to work very well for
 'depends' or 'uses' at all, until recently).

Did it, to the ~x86 version. No joy.

My box at home has the same stable versions and equery works...


 Holly


Thanks.

Jorge



--

Brett I. Holcomb
[EMAIL PROTECTED]
Registered Linux User #188143
Remove R777 to email
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Jorge Almeida

On Mon, 29 Aug 2005, Brett I. Holcomb wrote:

I've seen messages like that from portage and when I run the command again it 
works.  It seems that sometimes portage is running and executing a command 
like that cause it to get confused.



This has happened for some time now, on my office computer. It is
consistent...
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Brett I. Holcomb

Okay - it's not that then G.

On Tue, 30 Aug 2005, Jorge Almeida wrote:


On Mon, 29 Aug 2005, Brett I. Holcomb wrote:

 I've seen messages like that from portage and when I run the command again 
 it works.  It seems that sometimes portage is running and executing a 
 command like that cause it to get confused.



This has happened for some time now, on my office computer. It is
consistent...



--

Brett I. Holcomb
[EMAIL PROTECTED]
Registered Linux User #188143
Remove R777 to email
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Holly Bostick
Jorge Almeida schreef:
 On Tue, 30 Aug 2005, Holly Bostick wrote:
 


 The problem, from the looks of it, could be in Python, or in gentoolkit
 itself.

 Have you updated Python recently? Perhaps you need to run
 /usr/sbin/python-updater to make sure everything is copacetic.
 
 python is up-to-date, and I just run /usr/sbin/python-updater (how do
 you know this? Meaning: what part of the docs did I miss?)
 

Don't think it's in the docs; I know about it from reading my emerge
output. The recommendation to run /usr/sbin/python-updater is in the
einfo displayed at the end of a Python emerge (in the case you just
updated from 2.2.x to 2.3.x). So I remembered that such a utility
existed-- didn't remember the name, but remembered that I had seen it in
the einfo, so I just opened up the (latest) Python ebuild in nano and
copied it into the mail (yeah, I cheat ;) ).

Sorry that wasn't any help, though... I'm out of ideas other than
unmerge gentoolkit completely, and remerge it, short of a very very
thorough comparison of the system where it works to the system where it
doesn't... which is worse than looking for a needle in a haystack, since
at least in the latter case, you know what you're looking for.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Jorge Almeida

On Tue, 30 Aug 2005, Holly Bostick wrote:


Don't think it's in the docs; I know about it from reading my emerge
output. The recommendation to run /usr/sbin/python-updater is in the
einfo displayed at the end of a Python emerge (in the case you just
updated from 2.2.x to 2.3.x). So I remembered that such a utility
existed-- didn't remember the name, but remembered that I had seen it in
the einfo, so I just opened up the (latest) Python ebuild in nano and
copied it into the mail (yeah, I cheat ;) ).


Well, OK then :)



I'm beginning to suspect this is prelink-related...


Holly


Cheers,

Jorge
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery

2005-08-29 Thread Rumen Yotov
On Tue, 2005-08-30 at 01:34 +0100, Jorge Almeida wrote:
 On Tue, 30 Aug 2005, Holly Bostick wrote:
 
  Don't think it's in the docs; I know about it from reading my emerge
  output. The recommendation to run /usr/sbin/python-updater is in the
  einfo displayed at the end of a Python emerge (in the case you just
  updated from 2.2.x to 2.3.x). So I remembered that such a utility
  existed-- didn't remember the name, but remembered that I had seen it in
  the einfo, so I just opened up the (latest) Python ebuild in nano and
  copied it into the mail (yeah, I cheat ;) ).
 
 Well, OK then :)
 
 I'm beginning to suspect this is prelink-related...
 
  Holly
 
 Cheers,
 
 Jorge
Hi,
Running a script to update PerlPython modules is a common issue after
updating them (PerlPython) to a new (specially) major version.
Try the testing (~x86) version of gentoolkit it *may* work.
For dependency checking i use the dep (ecatmur's) script
HTH. Rumen

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery caching?

2005-07-08 Thread Catalin Grigoroscuta




Hi, 

I did not use esync, I did not even know about it, and I do not recall
seeing it in install docs...
It is quite strange why equery (which is in gentoolkit package) relies
on eupdatedb (which is in esearch package), and gentoolkit does not
depend on esearch. 
If it were not for your answer, I wouldn't have known about esync and
eupdatedb. 
I think maybe the install docs should be updated, or at least put
esearch as a dependency of gentoolkit. 

Regards, and thanks for your answer,
Catalin

Wade Brown wrote:

  Equery, esearch, and einfo (I think) are from an index built by
running eupdatedb.  I'd imagine you're using esync which is just a
very small script that does emerge sync  eupdatedb, so doing a fresh
esync would alleviate the problem you seem to be having, albeit with a
bit of overkill.  Just run eupdatedb as root and see if everything
updates properly.

On 7/7/05, Catalin Grigoroscuta [EMAIL PROTECTED] wrote:
  
  
Hello,

I've just rebuilt my system without "motif" use flag (with emerge
--newuse, etc).
Everything works fine, except that equery shows stale data.

For example:
1. "equery depends emacs" shows openmotif as dependency, but emacs is
rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
2. "equery hasuse motif" also shows emacs

Is there any caching done by equery? How can I invalidate it?

Thank you,
Catalin

--
gentoo-user@gentoo.org mailing list



  
  
  






Re: [gentoo-user] equery caching?

2005-07-08 Thread Catalin Grigoroscuta




Hi again, 

Even with eupdtaedb, same result. 
I think this might be a bug in equery. Should I put it in bugzilla?
Here is the proof for what I think is a bug: see the output of "equery
hasuse motif" and "equery uses emacs". The results are contradictory.

catalin ~ # equery hasuse motif
[ Searching for USE flag motif in all categories among: ]
* installed packages
[I--] [ ] app-editors/emacs-21.4-r1 (21)
[I--] [ ] app-text/xpdf-3.00-r8 (0)
[I--] [ ] x11-terms/rxvt-2.7.10-r2 (0)
catalin ~ # equery uses emacs
[ Searching for packages matching emacs... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for app-editors/emacs-21.4-r1 ]
U I
+ + X : Adds support for X11
- - Xaw3d : Adds support of the 3d athena widget set
- - gnome : Adds GNOME support
+ + leim : Adds input methods support to Emacs
- - lesstif : Use lesstif over openmotif in cases where a program
supports both
- - motif : Adds motif support (x11-libs/openmotif
x11-libs/lesstif)
+ + nls : unknown
- - nosendmail : If you do not want to install any MTA


Wade Brown wrote:

  Equery, esearch, and einfo (I think) are from an index built by
running eupdatedb.  I'd imagine you're using esync which is just a
very small script that does emerge sync  eupdatedb, so doing a fresh
esync would alleviate the problem you seem to be having, albeit with a
bit of overkill.  Just run eupdatedb as root and see if everything
updates properly.

On 7/7/05, Catalin Grigoroscuta [EMAIL PROTECTED] wrote:
  
  
Hello,

I've just rebuilt my system without "motif" use flag (with emerge
--newuse, etc).
Everything works fine, except that equery shows stale data.

For example:
1. "equery depends emacs" shows openmotif as dependency, but emacs is
rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
2. "equery hasuse motif" also shows emacs

Is there any caching done by equery? How can I invalidate it?

Thank you,
Catalin

--
gentoo-user@gentoo.org mailing list



  
  
  






Re: [gentoo-user] equery caching?

2005-07-08 Thread Zac Medico
Catalin Grigoroscuta wrote:

 I've just rebuilt my system without motif use flag (with emerge 
 --newuse, etc).
 Everything works fine, except that equery shows stale data.
 For example:
 1. equery depends emacs shows openmotif as dependency, but emacs is 
 rebuilt without motif USE (emerge -pv emacs clearly shows this).

The depends query shows all depends regardless of whether they are enabled or 
not (by USE flags).

 2. equery hasuse motif also shows emacs
 Is there any caching done by equery? How can I invalidate it?

The hasuse query shows all USE flags regardless of whether they are enabled or 
not.

There is no cache, it queries the database directly.

 I did not use esync, I did not even know about it, and I do not recall
 seeing it in install docs...
 It is quite strange why equery (which is in gentoolkit package) relies
 on eupdatedb (which is in esearch package), and gentoolkit does not
 depend on esearch.
 If it were not for your answer, I wouldn't have known about esync and
 eupdatedb.
 I think maybe the install docs should be updated, or at least put
 esearch as a dependency of gentoolkit.

Gentoolkit and equery do not depend on esearch.

 Even with eupdtaedb, same result.
 I think this might be a bug in equery. Should I put it in bugzilla?
 Here is the proof for what I think is a bug: see the output of equery
 hasuse motif and equery uses emacs. The results are contradictory.

I explained this above.  If you file a bug then AFAIKT it's a feature request.

Zac
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] equery caching?

2005-07-07 Thread Catalin Grigoroscuta

Hello,

I've just rebuilt my system without motif use flag (with emerge 
--newuse, etc).

Everything works fine, except that equery shows stale data.

For example:
1. equery depends emacs shows openmotif as dependency, but emacs is 
rebuilt without motif USE (emerge -pv emacs clearly shows this).

2. equery hasuse motif also shows emacs

Is there any caching done by equery? How can I invalidate it?

Thank you,
Catalin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery caching?

2005-07-07 Thread Wade Brown
Equery, esearch, and einfo (I think) are from an index built by
running eupdatedb.  I'd imagine you're using esync which is just a
very small script that does emerge sync  eupdatedb, so doing a fresh
esync would alleviate the problem you seem to be having, albeit with a
bit of overkill.  Just run eupdatedb as root and see if everything
updates properly.

On 7/7/05, Catalin Grigoroscuta [EMAIL PROTECTED] wrote:
 Hello,
 
 I've just rebuilt my system without motif use flag (with emerge
 --newuse, etc).
 Everything works fine, except that equery shows stale data.
 
 For example:
 1. equery depends emacs shows openmotif as dependency, but emacs is
 rebuilt without motif USE (emerge -pv emacs clearly shows this).
 2. equery hasuse motif also shows emacs
 
 Is there any caching done by equery? How can I invalidate it?
 
 Thank you,
 Catalin
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] equery caching

2005-07-07 Thread Zac Medico
Catalin Grigoroscuta wrote:
 I've just rebuilt my system without motif use flag (with emerge 
 --newuse, etc).
 Everything works fine, except that equery shows stale data.
 For example:
 1. equery depends emacs shows openmotif as dependency, but emacs is 
 rebuilt without motif USE (emerge -pv emacs clearly shows this).

The depends query shows all depends regardless of whether they are enabled or 
not (by USE flags).

 2. equery hasuse motif also shows emacs
 Is there any caching done by equery? How can I invalidate it?

The hasuse query shows all USE flags regardless of whether they are enabled or 
not.

There is no cache, it queries the database directly.

Zac
-- 
gentoo-user@gentoo.org mailing list