View previous topic :: View next topic |
Author |
Message |
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Thu Oct 22, 2020 2:05 pm Post subject: [SOLVED]install plank give me this error |
|
|
when I install plank give me this error,what can I do?
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "dev-libs/libxslt[python]".
(dependency required by "x11-libs/bamf-0.5.4::elementary" [ebuild])
(dependency required by "x11-misc/plank-0.11.89::elementary" [ebuild])
(dependency required by "plank" [argument])
emerge -av libxslt
[ebuild R ] dev-libs/libxslt-1.1.33-r1::gentoo USE="crypt -debug -examples (-python) -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 0 KiB
Last edited by wenzi on Fri Oct 23, 2020 12:24 am; edited 2 times in total |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2732
|
Posted: Thu Oct 22, 2020 2:15 pm Post subject: |
|
|
USE=python on libxslt is being dropped due to requiring python2, the flag still exists (for now) but won't function even if unmasked given its libxml2[python] dependency doesn't support py2.7 either.
Not familiar with plank to know if it can work without it, would need to get in touch with the overlay maintainer.
Edit: reworded a few things to be cleared
Last edited by Ionen on Thu Oct 22, 2020 2:21 pm; edited 3 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54407 Location: 56N 3W
|
Posted: Thu Oct 22, 2020 2:17 pm Post subject: |
|
|
wenzi,
Well, plank wants dev-libs/libxslt built with USE=python.
However dev-libs/libxslt-1.1.33-r1::gentoo USE="crypt -debug -examples (-python) -static-libs" python is forced off in your profile.
USE=python is masked pending removal. Its gone in =dev-libs/libxslt-1.1.34-r1
You need to unmask USE=python for dev-libs/libxslt, then it can be enabled.
This is a get you going thing only.
When dev-libs/libxslt-1.1.33-r1 is removed from portage, thats the end of the road. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Thu Oct 22, 2020 2:19 pm Post subject: |
|
|
The python use flag from <=dev-libs/libxslt-1.1.34 packages was masked because python use flag only support python2_7.
As workaround you can unmask python use flag from =dev-libs/libxslt-1.1.34 package.
Open a new issue on elementary github page. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2732
|
Posted: Thu Oct 22, 2020 2:24 pm Post subject: |
|
|
fedeliallalinea wrote: | As workaround you can unmask python use flag from =dev-libs/libxslt-1.1.34 package. | Haven't tried but I don't think it's an option because: Code: | python? (
${PYTHON_DEPS}
dev-libs/libxml2:2[python,${PYTHON_USEDEP}]
) | And then all libxml2 versions currently in tree don't have python2_7 support anymore. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Thu Oct 22, 2020 2:26 pm Post subject: |
|
|
Ionen wrote: | And then all libxml2 versions currently in tree don't have python2_7 support anymore. |
On my system python use flag (masked) an python_targets are present
Code: | $ emerge -pv '=dev-libs/libxslt-1.1.34'
[ebuild UD ] dev-libs/libxslt-1.1.34::gentoo [1.1.34-r1::gentoo] USE="crypt -debug -examples (-python) -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="-python2_7%" 0 KiB |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2732
|
Posted: Thu Oct 22, 2020 2:31 pm Post subject: |
|
|
I meant its dependency, libxslt with python2_7 seem to need libxml2 with python2_7 as well, however that was removed few weeks ago. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Thu Oct 22, 2020 2:34 pm Post subject: |
|
|
Ionen wrote: | I meant its dependency, libxslt with python2_7 seem to need libxml2 with python2_7 as well, however that was removed a month ago. |
Sorry, you right, I read wrong. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Thu Oct 22, 2020 2:50 pm Post subject: |
|
|
NeddySeagoon wrote: | wenzi,
Well, plank wants dev-libs/libxslt built with USE=python.
However dev-libs/libxslt-1.1.33-r1::gentoo USE="crypt -debug -examples (-python) -static-libs" python is forced off in your profile.
USE=python is masked pending removal. Its gone in =dev-libs/libxslt-1.1.34-r1
You need to unmask USE=python for dev-libs/libxslt, then it can be enabled.
This is a get you going thing only.
When dev-libs/libxslt-1.1.33-r1 is removed from portage, thats the end of the road. |
sorry ,how can I unmask the USE=python |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54407 Location: 56N 3W
|
Posted: Thu Oct 22, 2020 3:29 pm Post subject: |
|
|
wenzi,
You modify your profile locally by using /etc/portage/profile. That's a directory. You need to create it.
Inside, you only create the files and directories that you need.
There are two files that you may want to consider
package.use.mask and use.mask
One allows per package mask changes, the other is system wide.
The detail is in bun its not easy reading.
I would start with package.use.mask entries since you want to let python2 go as much as you can.
This will change (-python) to -python, or maybe python if you have python in global use. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Fri Oct 23, 2020 12:26 am Post subject: |
|
|
NeddySeagoon wrote: | wenzi,
You modify your profile locally by using /etc/portage/profile. That's a directory. You need to create it.
Inside, you only create the files and directories that you need.
There are two files that you may want to consider
package.use.mask and use.mask
One allows per package mask changes, the other is system wide.
The detail is in bun its not easy reading.
I would start with package.use.mask entries since you want to let python2 go as much as you can.
This will change (-python) to -python, or maybe python if you have python in global use. |
Thanks.
it's works,but the libxml2 must <libxml2-2.9.10 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54407 Location: 56N 3W
|
Posted: Fri Oct 23, 2020 11:20 am Post subject: |
|
|
wenzi,
Python2 is going away, so its not a long term solution.
You need all the bits upgraded to either support Python3 or not use Python at all. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wenzi Tux's lil' helper
Joined: 18 Jan 2019 Posts: 106
|
Posted: Thu Dec 24, 2020 4:37 am Post subject: |
|
|
NeddySeagoon wrote: | wenzi,
Python2 is going away, so its not a long term solution.
You need all the bits upgraded to either support Python3 or not use Python at all. |
I modify the bamf-0.5-4.ebuild and delete the libxslt[python] and change the configure file remove the libxslt depend ,the compile passed. Now I can remove the python2,THANSK! |
|
Back to top |
|
|
milomak Apprentice
Joined: 10 Apr 2008 Posts: 287
|
Posted: Fri Jan 01, 2021 9:57 pm Post subject: |
|
|
wenzi wrote: | NeddySeagoon wrote: | wenzi,
Python2 is going away, so its not a long term solution.
You need all the bits upgraded to either support Python3 or not use Python at all. |
I modify the bamf-0.5-4.ebuild and delete the libxslt[python] and change the configure file remove the libxslt depend ,the compile passed. Now I can remove the python2,THANSK! |
so did you edit the configure file in the tar.gz? and removed libxslt from there?
how did you use that in SRC_URI? _________________ Desktop - Windows 10, Debian Sid, Gentoo Unstable, Arch Linux, Solus
Laptop - Windows 10, Debian Sid, Solus |
|
Back to top |
|
|
|