public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] docutils needing py2.7, but not wanting py2.7?
@ 2020-06-04 21:24 Caveman Al Toraboran
  2020-06-04 21:43 ` Ashley Dixon
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Caveman Al Toraboran @ 2020-06-04 21:24 UTC (permalink / raw
  To: Gentoo

if i exec: "emerge -avDuNt --quiet-build=y @world":

    > These are the packages that would be merged, in reverse order:
    >
    > Calculating dependencies... done!
    >
    > The following USE changes are necessary to proceed:
    >  (see "package.use" in the portage(5) man page for more details)
    > #
    > >=dev-python/docutils-0.16 -python_targets_python2_7
    >
    > Would you like to add these changes to your config files? [Yes/No]

so >=dev-python/docutils-0.16 doesn't want
python_targets_python2_7.  let's remove it then by
adding:

    >=dev-python/docutils-0.16 -python_targets_python2_7

into: /etc/portage/package.use/stuff

but then i get this:

    > The following USE changes are necessary to proceed:
    >  (see "package.use" in the portage(5) man page for more details)
    > # required by dev-python/m2r-0.2.1::gentoo[-test]
    > # required by dev-python/automat-20.2.0::gentoo
    > # required by dev-python/twisted-20.3.0::gentoo
    > # required by www-servers/tornado-6.0.4::gentoo
    > # required by dev-python/ipykernel-5.1.4::gentoo[-test]
    > # required by dev-python/ipyparallel-6.2.3::gentoo
    > # required by dev-python/ipython-7.5.0::gentoo[smp]
    > # required by @selected
    > # required by @world (argument)
    > >=dev-python/docutils-0.16 python_targets_python2_7
    >
    > Would you like to add these changes to your config files? [Yes/No]

which i guess means that docutils wants py2.7.


any idea how to handle this situation?



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 21:24 [gentoo-user] docutils needing py2.7, but not wanting py2.7? Caveman Al Toraboran
@ 2020-06-04 21:43 ` Ashley Dixon
  2020-06-04 23:38   ` Caveman Al Toraboran
  2020-06-04 21:47 ` Dale
  2020-06-04 22:14 ` Neil Bothwick
  2 siblings, 1 reply; 17+ messages in thread
From: Ashley Dixon @ 2020-06-04 21:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

On Thu, Jun 04, 2020 at 09:24:39PM +0000, Caveman Al Toraboran wrote:
> if i exec: "emerge -avDuNt --quiet-build=y @world":
> 
>     > These are the packages that would be merged, in reverse order:
>     >
>     > Calculating dependencies... done!
>     >
>     > The following USE changes are necessary to proceed:
>     >  (see "package.use" in the portage(5) man page for more details)
>     > #
>     > >=dev-python/docutils-0.16 -python_targets_python2_7
>     >
>     > Would you like to add these changes to your config files? [Yes/No]
> 
> so >=dev-python/docutils-0.16 doesn't want
> python_targets_python2_7.  let's remove it then by
> adding:
> 
>     >=dev-python/docutils-0.16 -python_targets_python2_7
> 
> into: /etc/portage/package.use/stuff
> 
> but then i get this:
> 
>     > The following USE changes are necessary to proceed:
>     >  (see "package.use" in the portage(5) man page for more details)
>     > # required by dev-python/m2r-0.2.1::gentoo[-test]
>     > # required by dev-python/automat-20.2.0::gentoo
>     > # required by dev-python/twisted-20.3.0::gentoo
>     > # required by www-servers/tornado-6.0.4::gentoo
>     > # required by dev-python/ipykernel-5.1.4::gentoo[-test]
>     > # required by dev-python/ipyparallel-6.2.3::gentoo
>     > # required by dev-python/ipython-7.5.0::gentoo[smp]
>     > # required by @selected
>     > # required by @world (argument)
>     > >=dev-python/docutils-0.16 python_targets_python2_7
>     >
>     > Would you like to add these changes to your config files? [Yes/No]
> 
> which i guess means that docutils wants py2.7.

I can't replicate this at all. Could you post (attach, compress if necessary)
your `emerge --info docutils` ?

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 21:24 [gentoo-user] docutils needing py2.7, but not wanting py2.7? Caveman Al Toraboran
  2020-06-04 21:43 ` Ashley Dixon
@ 2020-06-04 21:47 ` Dale
  2020-06-04 22:14 ` Neil Bothwick
  2 siblings, 0 replies; 17+ messages in thread
From: Dale @ 2020-06-04 21:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2221 bytes --]

Caveman Al Toraboran wrote:
> if i exec: "emerge -avDuNt --quiet-build=y @world":
>
>     > These are the packages that would be merged, in reverse order:
>     >
>     > Calculating dependencies... done!
>     >
>     > The following USE changes are necessary to proceed:
>     >  (see "package.use" in the portage(5) man page for more details)
>     > #
>     > >=dev-python/docutils-0.16 -python_targets_python2_7
>     >
>     > Would you like to add these changes to your config files? [Yes/No]
>
> so >=dev-python/docutils-0.16 doesn't want
> python_targets_python2_7.  let's remove it then by
> adding:
>
>     >=dev-python/docutils-0.16 -python_targets_python2_7
>
> into: /etc/portage/package.use/stuff
>
> but then i get this:
>
>     > The following USE changes are necessary to proceed:
>     >  (see "package.use" in the portage(5) man page for more details)
>     > # required by dev-python/m2r-0.2.1::gentoo[-test]
>     > # required by dev-python/automat-20.2.0::gentoo
>     > # required by dev-python/twisted-20.3.0::gentoo
>     > # required by www-servers/tornado-6.0.4::gentoo
>     > # required by dev-python/ipykernel-5.1.4::gentoo[-test]
>     > # required by dev-python/ipyparallel-6.2.3::gentoo
>     > # required by dev-python/ipython-7.5.0::gentoo[smp]
>     > # required by @selected
>     > # required by @world (argument)
>     > >=dev-python/docutils-0.16 python_targets_python2_7
>     >
>     > Would you like to add these changes to your config files? [Yes/No]
>
> which i guess means that docutils wants py2.7.
>
>
> any idea how to handle this situation?
>
>
>


That is sort of a circular problem.  It doesn't want it, then it does. 
Thoughts?  Could it be that one of the other packages is still using
py2.7 and it needs to be disabled for them as well?  I would think
emerge would catch that and tell you that is what it needs but maybe
not.  It may not even be something you can toggle with a USE flag for
some reason. 

That's the only thing I can think of at the moment.  Maybe someone else
has a idea or it will hit me while I'm killing weeds in the garden.  You
know how it is.  You think about something when you are doing something
else.  lol 

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 2749 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 21:24 [gentoo-user] docutils needing py2.7, but not wanting py2.7? Caveman Al Toraboran
  2020-06-04 21:43 ` Ashley Dixon
  2020-06-04 21:47 ` Dale
@ 2020-06-04 22:14 ` Neil Bothwick
  2020-06-04 22:31   ` Dale
  2 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2020-06-04 22:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2056 bytes --]

On Thu, 04 Jun 2020 21:24:39 +0000, Caveman Al Toraboran wrote:

> if i exec: "emerge -avDuNt --quiet-build=y @world":
> 
>     > These are the packages that would be merged, in reverse order:
>     >
>     > Calculating dependencies... done!
>     >
>     > The following USE changes are necessary to proceed:
>     >  (see "package.use" in the portage(5) man page for more details)
>     > #  
>     > >=dev-python/docutils-0.16 -python_targets_python2_7  
>     >
>     > Would you like to add these changes to your config files?
>     > [Yes/No]  
> 
> so >=dev-python/docutils-0.16 doesn't want
> python_targets_python2_7.  let's remove it then by
> adding:
> 
>     >=dev-python/docutils-0.16 -python_targets_python2_7  
> 
> into: /etc/portage/package.use/stuff
> 
> but then i get this:
> 
>     > The following USE changes are necessary to proceed:
>     >  (see "package.use" in the portage(5) man page for more details)
>     > # required by dev-python/m2r-0.2.1::gentoo[-test]
>     > # required by dev-python/automat-20.2.0::gentoo
>     > # required by dev-python/twisted-20.3.0::gentoo
>     > # required by www-servers/tornado-6.0.4::gentoo
>     > # required by dev-python/ipykernel-5.1.4::gentoo[-test]
>     > # required by dev-python/ipyparallel-6.2.3::gentoo
>     > # required by dev-python/ipython-7.5.0::gentoo[smp]
>     > # required by @selected
>     > # required by @world (argument)  
>     > >=dev-python/docutils-0.16 python_targets_python2_7  
>     >
>     > Would you like to add these changes to your config files?
>     > [Yes/No]  
> 
> which i guess means that docutils wants py2.7.
> 
> 
> any idea how to handle this situation?

Allow portage to add the changes to your config, then run etc-update or
equivalent. When portage adds package.use changes, it also adds comments
showing what requires those changes. With that information, you should be
able to see which package is causing this.


-- 
Neil Bothwick

I'm Bugs Bunny of Borg.  What's up Collective?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 22:14 ` Neil Bothwick
@ 2020-06-04 22:31   ` Dale
  2020-06-04 22:42     ` Ashley Dixon
  0 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2020-06-04 22:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2712 bytes --]

Neil Bothwick wrote:
> On Thu, 04 Jun 2020 21:24:39 +0000, Caveman Al Toraboran wrote:
>
>> if i exec: "emerge -avDuNt --quiet-build=y @world":
>>
>>     > These are the packages that would be merged, in reverse order:
>>     >
>>     > Calculating dependencies... done!
>>     >
>>     > The following USE changes are necessary to proceed:
>>     >  (see "package.use" in the portage(5) man page for more details)
>>     > #  
>>     > >=dev-python/docutils-0.16 -python_targets_python2_7  
>>     >
>>     > Would you like to add these changes to your config files?
>>     > [Yes/No]  
>>
>> so >=dev-python/docutils-0.16 doesn't want
>> python_targets_python2_7.  let's remove it then by
>> adding:
>>
>>     >=dev-python/docutils-0.16 -python_targets_python2_7  
>>
>> into: /etc/portage/package.use/stuff
>>
>> but then i get this:
>>
>>     > The following USE changes are necessary to proceed:
>>     >  (see "package.use" in the portage(5) man page for more details)
>>     > # required by dev-python/m2r-0.2.1::gentoo[-test]
>>     > # required by dev-python/automat-20.2.0::gentoo
>>     > # required by dev-python/twisted-20.3.0::gentoo
>>     > # required by www-servers/tornado-6.0.4::gentoo
>>     > # required by dev-python/ipykernel-5.1.4::gentoo[-test]
>>     > # required by dev-python/ipyparallel-6.2.3::gentoo
>>     > # required by dev-python/ipython-7.5.0::gentoo[smp]
>>     > # required by @selected
>>     > # required by @world (argument)  
>>     > >=dev-python/docutils-0.16 python_targets_python2_7  
>>     >
>>     > Would you like to add these changes to your config files?
>>     > [Yes/No]  
>>
>> which i guess means that docutils wants py2.7.
>>
>>
>> any idea how to handle this situation?
> Allow portage to add the changes to your config, then run etc-update or
> equivalent. When portage adds package.use changes, it also adds comments
> showing what requires those changes. With that information, you should be
> able to see which package is causing this.
>
>


One of us is reading that wrong.  Given my eyes, maybe it is me.  My new
glasses should be in within the next week or so.  In the first instance,
it wants py2.7 disabled.  So he adds it to the config file to disable
it.  When he runs the command again, it wants to enable py2.7 for the
same package and version.  If I'm reading that right, even if he lets
emerge add the change, it will lead to two problems.  One, there will be
one line enabling py2.7 and another line disabling it.  If I recall
correctly, emerge will take the last one.  Two, he will be back to the
first problem, it wanting py2.7 disabled.  In other words, back where he
started. 

Am I reading that wrong or something?? 

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 3217 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 22:31   ` Dale
@ 2020-06-04 22:42     ` Ashley Dixon
  2020-06-04 22:56       ` Dale
  2020-06-05  8:09       ` Neil Bothwick
  0 siblings, 2 replies; 17+ messages in thread
From: Ashley Dixon @ 2020-06-04 22:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

On Thu, Jun 04, 2020 at 05:31:29PM -0500, Dale wrote:
> Neil Bothwick wrote:
> > Allow portage to add the changes to your config, then run etc-update or
> > equivalent. When portage adds package.use changes, it also adds comments
> > showing what requires those changes. With that information, you should be
> > able to see which package is causing this.
> 
> One of us is reading that wrong.  Given my eyes, maybe it is me.  My new
> glasses should be in within the next week or so.  In the first instance,
> it wants py2.7 disabled.  So he adds it to the config file to disable
> it.  When he runs the command again, it wants to enable py2.7 for the
> same package and version.  If I'm reading that right, even if he lets
> emerge add the change, it will lead to two problems.  One, there will be
> one line enabling py2.7 and another line disabling it.  If I recall
> correctly, emerge will take the last one.  Two, he will be back to the
> first problem, it wanting py2.7 disabled.  In other words, back where he
> started. 
> 
> Am I reading that wrong or something?? 

Providing he's just adding the line to a package.use file with  a  text  editor,
that's just manually doing the work of etc-update.  We need the  `emerge  --info
docutils` output to see full information about his Python environment.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 22:42     ` Ashley Dixon
@ 2020-06-04 22:56       ` Dale
  2020-06-04 23:06         ` Ashley Dixon
  2020-06-05  8:09       ` Neil Bothwick
  1 sibling, 1 reply; 17+ messages in thread
From: Dale @ 2020-06-04 22:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2085 bytes --]

Ashley Dixon wrote:
> On Thu, Jun 04, 2020 at 05:31:29PM -0500, Dale wrote:
>> Neil Bothwick wrote:
>>> Allow portage to add the changes to your config, then run etc-update or
>>> equivalent. When portage adds package.use changes, it also adds comments
>>> showing what requires those changes. With that information, you should be
>>> able to see which package is causing this.
>> One of us is reading that wrong.  Given my eyes, maybe it is me.  My new
>> glasses should be in within the next week or so.  In the first instance,
>> it wants py2.7 disabled.  So he adds it to the config file to disable
>> it.  When he runs the command again, it wants to enable py2.7 for the
>> same package and version.  If I'm reading that right, even if he lets
>> emerge add the change, it will lead to two problems.  One, there will be
>> one line enabling py2.7 and another line disabling it.  If I recall
>> correctly, emerge will take the last one.  Two, he will be back to the
>> first problem, it wanting py2.7 disabled.  In other words, back where he
>> started. 
>>
>> Am I reading that wrong or something?? 
> Providing he's just adding the line to a package.use file with  a  text  editor,
> that's just manually doing the work of etc-update.  We need the  `emerge  --info
> docutils` output to see full information about his Python environment.
>

True but it asks for one thing, then when it is done, it asks for it to
be undone.  I agree something is off somewhere but I'm not sure using
etc-update is going to matter.  I do my edits manually as well and
rarely use etc-update and friends.  Whether done manually or with the
tool, the result is the same.  The comments it will add to those files
are listed in the outputs above.  I don't think that is going to shed
any new light on the problem either.

Seeing the output of emerge --info for that package may shed some light
on the problem but allowing etc-update to change the config isn't going
to help.  It's in one of its circular problems that comes from something
else. 

Maybe we will get more info shortly. 

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 2705 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 22:56       ` Dale
@ 2020-06-04 23:06         ` Ashley Dixon
  2020-06-04 23:39           ` Sean O'Myers
  0 siblings, 1 reply; 17+ messages in thread
From: Ashley Dixon @ 2020-06-04 23:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

On Thu, Jun 04, 2020 at 05:56:04PM -0500, Dale wrote:
> Seeing the output of emerge --info for that package may shed some light
> on the problem but allowing etc-update to change the config isn't going
> to help.  It's in one of its circular problems that comes from something
> else. 
> 
> Maybe we will get more info shortly. 

Are you able to replicate this problem, attempting to install all the  mentioned
packages with the --pretend option  and  USE="-python_targets_python2_7" ?  I've
been trying various things for about  half-an-hour  and  still  can't  see  this
behaviour on my own machine.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 21:43 ` Ashley Dixon
@ 2020-06-04 23:38   ` Caveman Al Toraboran
  2020-06-05  0:20     ` Ashley Dixon
  0 siblings, 1 reply; 17+ messages in thread
From: Caveman Al Toraboran @ 2020-06-04 23:38 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

On Friday, June 5, 2020 1:43 AM, Ashley Dixon <ash@suugaku.co.uk> wrote:

> I can't replicate this at all. Could you post (attach, compress if necessary)
> your `emerge --info docutils` ?

Thanks a lot for your time.  Highly appreciated.


Portage 2.3.100 (python 3.7.7-final-0, default/linux/amd64/17.1/systemd, gcc-10.1.0, glibc-2.31-r3, 5.6.15-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.6.15-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.7
KiB Mem:    32848340 total,  18036276 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 04 Jun 2020 21:00:01 +0000
Head commit of repository gentoo: 0d82464546659a8e2e797fc60889bcea6f9c1a2f
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta1::gentoo
dev-util/cmake:           3.17.3::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

cg
    location: /var/lib/layman/cg
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse -msse2 -msse3 -mmmx -fdiagnostics-color=always"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -msse -msse2 -msse3 -mmmx -fdiagnostics-color=always"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe -msse -msse2 -msse3 -mmmx -fdiagnostics-color=always"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -msse -msse2 -msse3 -mmmx -fdiagnostics-color=always"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre pulseaudio readline seccomp split-usr ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-python/docutils-0.16::gentoo was built with the following:
USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -pypy3 -python2_7 -python3_6 -python3_8 -python3_9"




^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 23:06         ` Ashley Dixon
@ 2020-06-04 23:39           ` Sean O'Myers
  2020-06-04 23:49             ` [OT] " Ashley Dixon
  0 siblings, 1 reply; 17+ messages in thread
From: Sean O'Myers @ 2020-06-04 23:39 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]

I know this off the subject  but could you tell me where I can buy Gentoo I
Try buying one from Amzon.com the cd was Fragmented

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Ashley Dixon<mailto:ash@suugaku.co.uk>
Sent: Thursday, June 4, 2020 7:07 PM
To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?

On Thu, Jun 04, 2020 at 05:56:04PM -0500, Dale wrote:
> Seeing the output of emerge --info for that package may shed some light
> on the problem but allowing etc-update to change the config isn't going
> to help.  It's in one of its circular problems that comes from something
> else.
>
> Maybe we will get more info shortly.

Are you able to replicate this problem, attempting to install all the  mentioned
packages with the --pretend option  and  USE="-python_targets_python2_7" ?  I've
been trying various things for about  half-an-hour  and  still  can't  see  this
behaviour on my own machine.

--

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



[-- Attachment #2: Type: text/html, Size: 3534 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [OT] [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 23:39           ` Sean O'Myers
@ 2020-06-04 23:49             ` Ashley Dixon
  0 siblings, 0 replies; 17+ messages in thread
From: Ashley Dixon @ 2020-06-04 23:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

On Thu, Jun 04, 2020 at 11:39:43PM +0000, Sean O'Myers wrote:
> I know this off the subject  but could you tell me where I can buy Gentoo I
> Try buying one from Amzon.com the cd was Fragmented

If you absolutely _cannot_ download it from the Internet, you could look at  [1]
to see if there's any stores which sell a CD.  A lot of  them  have  been  taken
off-line in the past five years due to a  lack  of  demand,  but  you  may  find
something somewhere.

If you can't find anything in the next couple of days, then remind me  and  I'll
burn a disc for you containing all of the required  files  for  a  basic  system
and send it to your physical location.

Please continue this conversation off-list.

[1] https://gentoo.org/inside-gentoo/stores/

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 23:38   ` Caveman Al Toraboran
@ 2020-06-05  0:20     ` Ashley Dixon
  2020-06-05  0:54       ` Caveman Al Toraboran
  0 siblings, 1 reply; 17+ messages in thread
From: Ashley Dixon @ 2020-06-05  0:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]

On Thu, Jun 04, 2020 at 11:38:33PM +0000, Caveman Al Toraboran wrote:
> =================================================================
>                         Package Settings
> =================================================================
> 
> dev-python/docutils-0.16::gentoo was built with the following:
> USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -pypy3 -python2_7 -python3_6
>       -python3_8 -python3_9"

This is confusing me.

At some point, you had docutils, ipython, and m2r built without docutils  having
PYTHON_TARGETS="python2_7", and there is no requirement in the ebuild of ipython
to mandate that. m2r requires `dev-python/docutils[${PYTHON_USEDEP}]`, however I
doubt that PYTHON_USEDEP would expand to a hard requirement on python2_7.

In fact, every single package from  your  original  message---quoted  below  for
convenience---supports versions greater than 2.7.

On Thu, Jun 04, 2020 at 09:24:39PM +0000, Caveman Al Toraboran wrote:
> # required by dev-python/m2r-0.2.1::gentoo[-test]
> # required by dev-python/automat-20.2.0::gentoo
> # required by dev-python/twisted-20.3.0::gentoo
> # required by www-servers/tornado-6.0.4::gentoo
> # required by dev-python/ipykernel-5.1.4::gentoo[-test]
> # required by dev-python/ipyparallel-6.2.3::gentoo
> # required by dev-python/ipython-7.5.0::gentoo[smp]
> # required by @selected
> # required by @world (argument)
> >=dev-python/docutils-0.16 python_targets_python2_7

Just to be explicit, try updating  @world  with  `USE="-python_targets_python2_7
python_targets_python3_6"  <emerge  command>`.   I  assume  that  the  currently
installed version of ipython also has the [smp] USE-flag ?

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-05  0:20     ` Ashley Dixon
@ 2020-06-05  0:54       ` Caveman Al Toraboran
  2020-06-05  1:08         ` Ashley Dixon
  0 siblings, 1 reply; 17+ messages in thread
From: Caveman Al Toraboran @ 2020-06-05  0:54 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

On Friday, June 5, 2020 4:20 AM, Ashley Dixon <ash@suugaku.co.uk> wrote:

> installed version of ipython also has the [smp] USE-flag ?

yeah.  added -smp for ipython, and the circle is
gone.  looks problem is solved for now.

(i hope i'm not missing much for having ipython
with -smp)

thanks a lot!  i highly appreciate your help and
time.



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-05  0:54       ` Caveman Al Toraboran
@ 2020-06-05  1:08         ` Ashley Dixon
  2020-06-05  1:17           ` Caveman Al Toraboran
  0 siblings, 1 reply; 17+ messages in thread
From: Ashley Dixon @ 2020-06-05  1:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

On Fri, Jun 05, 2020 at 12:54:08AM +0000, Caveman Al Toraboran wrote:
> (i hope i'm not missing much for having ipython with -smp)

Well, you might be, depending on how much load you place on it, and how much you
care about squeezing out the maximum amount of performance  *.   From  use.desc:

        smp - Enable support for multiprocessors or multicore systems

The fact that smp causes the unfortunate circle of pain tells us that it is  one
of the following packages, or their dependencies, is problematic:

	smp? (
		>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
		>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
	)"

Do you currently have either of these packages installed ?

* I don't use any of the involved packages, so I'm only guessing here.   Perhaps
someone with greater knowledge of Python on Gentoo could shed some light on this
topic.  It might be worth contacting Michał (mgorny) if no one here  can  derive
the source of this issue.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-05  1:08         ` Ashley Dixon
@ 2020-06-05  1:17           ` Caveman Al Toraboran
  0 siblings, 0 replies; 17+ messages in thread
From: Caveman Al Toraboran @ 2020-06-05  1:17 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

On Friday, June 5, 2020 5:08 AM, Ashley Dixon <ash@suugaku.co.uk> wrote:

> smp? (
> >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
>
>     	>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
>
>     )"
>
>
> Do you currently have either of these packages installed ?

yes, but gone by --depclean (probably after -smp).
both were with python targets 3_7.



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-04 22:42     ` Ashley Dixon
  2020-06-04 22:56       ` Dale
@ 2020-06-05  8:09       ` Neil Bothwick
  2020-06-05  8:43         ` Dale
  1 sibling, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2020-06-05  8:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

On Thu, 4 Jun 2020 23:42:50 +0100, Ashley Dixon wrote:

> Providing he's just adding the line to a package.use file with  a  text
>  editor, that's just manually doing the work of etc-update.  We need
> the  `emerge  --info docutils` output to see full information about his
> Python environment.

Except that etc-update also adds a backtrace as comments, allowing him to
trace the cause.


-- 
Neil Bothwick

Despite the cost of living it remains popular.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
  2020-06-05  8:09       ` Neil Bothwick
@ 2020-06-05  8:43         ` Dale
  0 siblings, 0 replies; 17+ messages in thread
From: Dale @ 2020-06-05  8:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Neil Bothwick wrote:
> On Thu, 4 Jun 2020 23:42:50 +0100, Ashley Dixon wrote:
>
>> Providing he's just adding the line to a package.use file with  a  text
>>  editor, that's just manually doing the work of etc-update.  We need
>> the  `emerge  --info docutils` output to see full information about his
>> Python environment.
> Except that etc-update also adds a backtrace as comments, allowing him to
> trace the cause.
>
>

That backtrace is in the OP's original post.  The first one doesn't give
much of one, none really.  The second one gives a list of packages. 
Either way, it was a circular problem.  It seems the emerge --info for
the package gave the clue which I don't see anywhere in the output of
emerge. 

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 1219 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-06-05  8:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04 21:24 [gentoo-user] docutils needing py2.7, but not wanting py2.7? Caveman Al Toraboran
2020-06-04 21:43 ` Ashley Dixon
2020-06-04 23:38   ` Caveman Al Toraboran
2020-06-05  0:20     ` Ashley Dixon
2020-06-05  0:54       ` Caveman Al Toraboran
2020-06-05  1:08         ` Ashley Dixon
2020-06-05  1:17           ` Caveman Al Toraboran
2020-06-04 21:47 ` Dale
2020-06-04 22:14 ` Neil Bothwick
2020-06-04 22:31   ` Dale
2020-06-04 22:42     ` Ashley Dixon
2020-06-04 22:56       ` Dale
2020-06-04 23:06         ` Ashley Dixon
2020-06-04 23:39           ` Sean O'Myers
2020-06-04 23:49             ` [OT] " Ashley Dixon
2020-06-05  8:09       ` Neil Bothwick
2020-06-05  8:43         ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox