stefantalpalaru / gentoo-overlay

Gentoo overlay
GNU General Public License v2.0
43 stars 11 forks source link

`dev-python/ply-3.11-r200:python2/3.11` cause `dev-python/pycparser-2.21` always need rebuild when update with `--deep` #102

Closed licamla closed 1 month ago

licamla commented 2 years ago

dev-python/ply-3.11-r200:python2/3.11 cause dev-python/pycparser-2.21 always need rebuild when update with --deep

python3 are now used by default. Maybe dev-python/ply-3.11-r200:python2/3.11 is not not necessary.

stefantalpalaru commented 2 years ago

I don't think it's something I can fix. dev-python/pycparser-2.21::gentoo is also being emerged unconditionally with every deep update. Could be a Portage bug.

licamla commented 2 years ago

My mistake, I lose the problem package name when post this issue.

I also thought it is a Portage bug at first. But I debug Portage and found that dev-python/pycparser-2.21 mark to rebuild when check dev-python/ply. so I mask =dev-python/ply-3.11-r200:python2/3.11::stefantalpalaru,and the problem goes away.

stefantalpalaru commented 2 years ago

I looked into it and I can't figure out how to avoid this unconditional rebuild, without giving up any functionality.

licamla commented 2 years ago

I test without dev-python/pycparser-2.20-r200 installed, 3 solutions found:

jospezial commented 1 year ago

For me it is media-libs/lensfun-0.3.3-r1::stefantalpalaru that causes dev-python/pycparser-2.21-r1::gentoo to rebuild over and over again.

stefantalpalaru commented 1 year ago

media-libs/lensfun-0.3.3-r1::stefantalpalaru that causes dev-python/pycparser-2.21-r1::gentoo to rebuild

How, if there is no dependency between them?

jospezial commented 1 year ago

I was fooled by portage. It is not lensfun. And I can confirm masking =dev-python/ply-3.11-r200::stefantalpalaru helps even emerge does not want to update to that version because I have only python3_10 and python3_11 allowed. So as soon I disable the /::stefantalpalaru line in /etc/portage/package.mask/package.mask I am in the pycparser cycle on a world update until I mask =dev-python/ply-3.11-r200::stefantalpalaru.