Discussion:
[gentoo-user] "equery" and "blueman"
(too old to reply)
Dr Rainer Woitok
2019-12-20 18:00:01 UTC
Permalink
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 <module>
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
Alarig Le Lay
2019-12-20 19:00:01 UTC
Permalink
Hi,
Post by Dr Rainer Woitok
Greetings,
$ equery --no-color uses --all net-wireless/blueman-2.1.1
File "/usr/lib/python-exec/python3.6/equery", line 38, in <module>
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
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:
***@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
***@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-9999:
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
***@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
***@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'
***@pikachu ~ % equery --no-color uses --all '=net-wireless/blueman-2.1.1-r1'
[ 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
***@pikachu ~ %
--
Alarig
Dr Rainer Woitok
2019-12-21 11:30:02 UTC
Permalink
Alarig,
Post by Alarig Le Lay
...
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

Loading...