Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED]dev-python/pycparser-2.21 always need rebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
licamla
n00b
n00b


Joined: 14 Aug 2021
Posts: 7

PostPosted: Sat May 14, 2022 2:48 am    Post subject: [RESOLVED]dev-python/pycparser-2.21 always need rebuild Reply with quote

Hello!
I use
Code:
emerge --ask --update --tree --newuse  --keep-going --deep --tree @world
to update system,but the dev-python/pycparser package always need rebuild.
Code:

Calculating dependencies... done!
[ebuild  rR    ] dev-python/pycparser-2.21

it can normal install. but This package need to rebuild for every update.
unmerge the package also can not fix it.

add --debug parameter when run emerge, i get output like
Code:

Child:         (x11-terms/xterm-372:0/0::gentoo, installed) USE="openpty truetype unicode -Xaw3d -sixel -toolbar -xinerama" ABI_X86="(64)"
Parent Dep:    x11-terms/xterm required by @selected

      Arg: @__auto_slot_operator_replace_installed__
     Atom: dev-python/pycparser:0

Child:         (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8"
Parent Dep:    dev-python/pycparser:0 required by @__auto_slot_operator_replace_installed__

Parent:    (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)
Depstring: dev-python/ply:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_pypy3? ( >=dev-python/pypy3-7.3.7-r1:0= ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 )
Priority:  runtime

Parent:    (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)
Depstring: dev-python/ply:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-lang/python-3.9.9-r1:3.9
Priority:  runtime
Candidates: ['dev-python/ply:=[python_targets_python3_9(-)]', '>=dev-lang/python-3.9.9-r1:3.9']

Child:         (dev-python/ply-3.11-r1:0/3.11::gentoo, installed) USE="-examples" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8"
Parent Dep:    dev-python/ply:=[python_targets_python3_9(-)] (dev-python/ply:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]) required by (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)

Child:         (dev-lang/python-3.9.12:3.9/3.9::gentoo, installed) USE="bluetooth gdbm ncurses readline sqlite ssl xml -build -examples -hardened -lto -pgo -test -tk -verify-sig -wininst" ABI_X86="(64)"
Parent Dep:    >=dev-lang/python-3.9.9-r1:3.9 required by (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)

Exiting... (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)

Parent:    (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)
Depstring: dev-python/ply:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/setuptools[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] test? ( dev-python/ply:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/unittest-or-fail[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_pypy3? ( >=dev-python/pypy3-7.3.7-r1:0= ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 ) >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
Priority:  buildtime



Code:

[ebuild  rR    ] dev-python/pycparser-2.21
forced reinstall atoms:
   root: /
      atom: dev-python/pycparser:0


Last edited by licamla on Tue May 17, 2022 9:19 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sat May 14, 2022 5:40 pm    Post subject: Reply with quote

Quote:

emerge --ask --update --tree --newuse --keep-going --deep --tree @world


Plz try with just
Code:

emerge -uDNav --keep-going --with-bdeps=y @world

_________________
:)
Back to top
View user's profile Send private message
licamla
n00b
n00b


Joined: 14 Aug 2021
Posts: 7

PostPosted: Sun May 15, 2022 1:38 am    Post subject: Reply with quote

alamahant wrote:

Plz try with just
Code:

emerge -uDNav --keep-going --with-bdeps=y @world

dev-python/pycparser-2.21 still need to do rebuild.

I try to update with different arguments.found that --deep(-D) or --with-bdeps=y will cause the issue.
Back to top
View user's profile Send private message
licamla
n00b
n00b


Joined: 14 Aug 2021
Posts: 7

PostPosted: Tue May 17, 2022 9:25 am    Post subject: Re: [RESOLVED]dev-python/pycparser-2.21 always need rebuild Reply with quote

licamla wrote:
Code:

Parent:    (dev-python/pycparser-2.21:0/0::gentoo, ebuild scheduled for merge)
Depstring: dev-python/ply:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-lang/python-3.9.9-r1:3.9
Priority:  runtime
Candidates: ['dev-python/ply:=[python_targets_python3_9(-)]', '>=dev-lang/python-3.9.9-r1:3.9']


dev-python/ply-3.11-r200:python2/3.11::stefantalpalaru cause the problem.

I've fixed the problem by masking dev-python/ply-3.11-r200:python2/3.11::stefantalpalaru
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Thu Apr 11, 2024 7:44 am    Post subject: Reply with quote

I have just a regular dev-python/ply from standard tree, but my dev-python/pycparser constantly rebuilds :(

[edit] Although I had stock ply, I had "stefantalpalaru" installed. Once "stefantalpalaru" was removed, rebuild disappeared. [/edit]
_________________
gentoo user
Back to top
View user's profile Send private message
licamla
n00b
n00b


Joined: 14 Aug 2021
Posts: 7

PostPosted: Thu Apr 11, 2024 10:07 am    Post subject: Reply with quote

tnt wrote:
I have just a regular dev-python/ply from standard tree, but my dev-python/pycparser constantly rebuilds :(

[edit] Although I had stock ply, I had "stefantalpalaru" installed. Once "stefantalpalaru" was removed, rebuild disappeared. [/edit]


not only dev-python/ply, but others python2 packages on "stefantalpalaru" can also cause problems now.
My personal advice for avoiding this problem is adding
Code:
 dev-python/*:python2::stefantalpalaru
to package.mask
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum