Gentoo Archives: gentoo-user

From: Alarig Le Lay <alarig@××××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "equery" and "blueman"
Date: Fri, 20 Dec 2019 18:55:45
Message-Id: 20191220185532.lvwpydqn74e7wihh@mew.swordarmor.fr
In Reply to: [gentoo-user] "equery" and "blueman" by Dr Rainer Woitok
1 Hi,
2
3 On ven. 20 déc. 18:51:45 2019, Dr Rainer Woitok wrote:
4 > Greetings,
5 >
6 > there seems to be some "blueman" specific data "equery" doesn't like:
7 >
8 > $ equery --no-color uses --all net-wireless/blueman-2.1.1
9 > Traceback (most recent call last):
10 > File "/usr/lib/python-exec/python3.6/equery", line 38, in <module>
11 > equery.main(sys.argv)
12 > File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/__init__.py", line 356, in main
13 > loaded_module.main(module_args)
14 > File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/uses.py", line 306, in main
15 > output = get_output_descriptions(pkg, global_usedesc)
16 > File "/usr/lib64/python3.6/site-packages/gentoolkit/equery/uses.py", line 183, in get_output_descriptions
17 > if pkg.metadata is None:
18 > File "/usr/lib64/python3.6/site-packages/gentoolkit/package.py", line 123, in metadata
19 > self.package_path(), 'metadata.xml'
20 > File "/usr/lib64/python3.6/site-packages/gentoolkit/package.py", line 319, in package_path
21 > return os.sep.join(self.ebuild_path().split(os.sep)[:-1])
22 > AttributeError: 'NoneType' object has no attribute 'split'
23 > $
24 >
25 > Using different packages in the "equery" request works.
26
27 net-wireless/blueman-2.1.1 doesn’t exists in the the, but
28 net-wireless/blueman-2.1.1-r1 does.
29
30 Otherwise, the commands work for me:
31 alarig@pikachu ~ % equery uses net-wireless/blueman
32 [ Legend : U - final flag setting for installation]
33 [ : I - package is installed with flag ]
34 [ Colors : set, unset ]
35 * Found these USE flags for net-wireless/blueman-2.1.1-r1:
36 U I
37 - - appindicator : Enable usage of dev-libs/libappindicator to export menu options
38 - - network : Add functionality to setup (host) PAN connections using either net-dns/dnsmasq or net-misc/dhcp
39 + + nls : Add Native Language Support (using gettext - GNU locale utilities)
40 - - policykit : Enable PolicyKit authentication support
41 + + pulseaudio : Add support for PulseAudio sound server
42 - - python_single_target_python3_5 : Build for Python 3.5 only
43 + + python_single_target_python3_6 : Build for Python 3.6 only
44 - - python_single_target_python3_7 : Build for Python 3.7 only
45 - - python_targets_python3_5 : Build with Python 3.5
46 + + python_targets_python3_6 : Build with Python 3.6
47 - - python_targets_python3_7 : Build with Python 3.7
48 alarig@pikachu ~ % equery --no-color uses --all net-wireless/blueman
49 [ Legend : U - final flag setting for installation]
50 [ : I - package is installed with flag ]
51 [ Colors : set, unset ]
52 * Found these USE flags for net-wireless/blueman-2.1.1-r1:
53 U I
54 - - appindicator : Enable usage of dev-libs/libappindicator to export menu options
55 - - network : Add functionality to setup (host) PAN connections using either net-dns/dnsmasq or net-misc/dhcp
56 + + nls : Add Native Language Support (using gettext - GNU locale utilities)
57 - - policykit : Enable PolicyKit authentication support
58 + + pulseaudio : Add support for PulseAudio sound server
59 - - python_single_target_python3_5 : Build for Python 3.5 only
60 + + python_single_target_python3_6 : Build for Python 3.6 only
61 - - python_single_target_python3_7 : Build for Python 3.7 only
62 - - python_targets_python3_5 : Build with Python 3.5
63 + + python_targets_python3_6 : Build with Python 3.6
64 - - python_targets_python3_7 : Build with Python 3.7
65 * Found these USE flags for net-wireless/blueman-9999:
66 U I
67 - - appindicator : Enable usage of dev-libs/libappindicator to export menu options
68 - - network : Add functionality to setup (host) PAN connections using either net-dns/dnsmasq or net-misc/dhcp
69 + + nls : Add Native Language Support (using gettext - GNU locale utilities)
70 - - policykit : Enable PolicyKit authentication support
71 + + pulseaudio : Add support for PulseAudio sound server
72 - - python_single_target_python3_5 : Build for Python 3.5 only
73 + + python_single_target_python3_6 : Build for Python 3.6 only
74 - - python_single_target_python3_7 : Build for Python 3.7 only
75 - - python_targets_python3_5 : Build with Python 3.5
76 + + python_targets_python3_6 : Build with Python 3.6
77 - - python_targets_python3_7 : Build with Python 3.7
78 alarig@pikachu ~ % equery --no-color uses --all net-wireless/blueman-2.1.1
79 !!! No packages matching 'net-wireless/blueman-2.1.1'
80 zsh: exit 1 equery --no-color uses --all net-wireless/blueman-2.1.1
81 alarig@pikachu ~ % equery --no-color uses --all '=net-wireless/blueman-2.1.1'
82 !!! No packages matching '=net-wireless/blueman-2.1.1'
83 zsh: exit 1 equery --no-color uses --all '=net-wireless/blueman-2.1.1'
84 alarig@pikachu ~ % equery --no-color uses --all '=net-wireless/blueman-2.1.1-r1'
85 [ Legend : U - final flag setting for installation]
86 [ : I - package is installed with flag ]
87 [ Colors : set, unset ]
88 * Found these USE flags for net-wireless/blueman-2.1.1-r1:
89 U I
90 - - appindicator : Enable usage of dev-libs/libappindicator to export menu options
91 - - network : Add functionality to setup (host) PAN connections using either net-dns/dnsmasq or net-misc/dhcp
92 + + nls : Add Native Language Support (using gettext - GNU locale utilities)
93 - - policykit : Enable PolicyKit authentication support
94 + + pulseaudio : Add support for PulseAudio sound server
95 - - python_single_target_python3_5 : Build for Python 3.5 only
96 + + python_single_target_python3_6 : Build for Python 3.6 only
97 - - python_single_target_python3_7 : Build for Python 3.7 only
98 - - python_targets_python3_5 : Build with Python 3.5
99 + + python_targets_python3_6 : Build with Python 3.6
100 - - python_targets_python3_7 : Build with Python 3.7
101 alarig@pikachu ~ %
102
103 --
104 Alarig