Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
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 :-) :-)
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
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. pgpljwuIj4zwZ.pgp Description: OpenPGP digital signature
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Friday, June 5, 2020 5:08 AM, Ashley Dixon 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.
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Friday, June 5, 2020 4:20 AM, Ashley Dixon 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.
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Friday, June 5, 2020 1:43 AM, Ashley Dixon 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 + 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"
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Fri, Jun 05, 2020 at 12:54:08AM +, 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 signature.asc Description: PGP signature
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Thu, Jun 04, 2020 at 11:38:33PM +, 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 +, 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" `. 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 signature.asc Description: PGP signature
RE: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
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:a...@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
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 signature.asc Description: PGP signature
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
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 :-) :-)
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
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 signature.asc Description: PGP signature
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
Neil Bothwick wrote: > On Thu, 04 Jun 2020 21:24:39 +, 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 :-) :-)
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Thu, 04 Jun 2020 21:24:39 +, 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? pgp_Bsr6Td5BP.pgp Description: OpenPGP digital signature
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
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 :-) :-)
Re: [gentoo-user] docutils needing py2.7, but not wanting py2.7?
On Thu, Jun 04, 2020 at 09:24:39PM +, 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 signature.asc Description: PGP signature