View previous topic :: View next topic |
Author |
Message |
Ja.KooLit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/117039938866e993f8b575f.jpg)
Joined: 14 Feb 2022 Posts: 118 Location: Somewhere Over There!
|
Posted: Tue May 02, 2023 1:57 am Post subject: Pls somebody enlighten regarding rebuilding of packages |
|
|
Apologize for this as I dont quite understand
Last april, after receiving news regarding drop support of pythons older than 3.11. So I have set all python use flags to 3.11 which causes lots of packages being rebuild... thats fine and dandy... no issues
Today, when I ran update, lots of packages are being rebuilt and it is simply removing python 3.9.
I mean whats the point of setting only to 3.11, build only with 3.11?
I just couldnt get around this as packages are built with 3.11 only and now causing a huge update with lots of packages again being rebuild |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rab0171610 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Dec 2022 Posts: 472
|
Posted: Tue May 02, 2023 4:37 am Post subject: |
|
|
I think your question needs clarification. Correct me if I am wrong:
After Gentoo Repo News of Python 3.11 to become the default on 2023-05-01, you chose to force the upgrade early, explicitly setting the Python 3.11 targets in package.use:
Code: | */* PYTHON_TARGETS: -* python3_11
*/* PYTHON_SINGLE_TARGET: -* python3_11 |
Afterwards, all of the affected packages were successfully rebuilt using the new python target, 3.11.
Now after the switch was officially made in Gentoo, you found that portage wants to rebuild the packages all over again to build against the same target they were already rebuilt against, 3.11. Why did this occur if you already forced the upgrade to 3.11? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ja.KooLit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/117039938866e993f8b575f.jpg)
Joined: 14 Feb 2022 Posts: 118 Location: Somewhere Over There!
|
Posted: Tue May 02, 2023 7:11 am Post subject: |
|
|
sorry if my post was confusing...
But it is what you said...
If packages were already rebuilt, why this update again needs rebuild? And this time to remove the python 3.9...
I dont understand it because packages were not build with python 3.9 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ionen Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/12407261860db424480089.png)
Joined: 06 Dec 2018 Posts: 2892
|
Posted: Tue May 02, 2023 7:17 am Post subject: |
|
|
Are you using -N/--newuse? This cause (often unnecessary) rebuilds when flags are added or removed, including if the flag was already disabled when a flag is removed (aka disabled 3.9 -> removed 3.9 = rebuild despite not really changing anything, it's more like a state nitpick)
Using -U/--changed-use instead won't rebuild in this case, but still would if e.g. enabled 3.9 -> removed 3.9 -- so I recommend it instead. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ja.KooLit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/117039938866e993f8b575f.jpg)
Joined: 14 Feb 2022 Posts: 118 Location: Somewhere Over There!
|
Posted: Tue May 02, 2023 7:51 am Post subject: |
|
|
I have used changed use (U)
Code: | sudo emerge -avDuU @world 130 ↵
Password:
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 18.73 s.
[ebuild U ] sys-apps/sysvinit-3.07::gentoo [3.06-r1::gentoo] USE="nls (-ibm) (-selinux) -static -verify-sig" 0 KiB
[ebuild U ] dev-python/setuptools-67.7.2::gentoo [67.6.1::gentoo] USE="-test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 (-python3_9%)" 0 KiB
[ebuild U ] dev-util/meson-1.1.0::gentoo [1.0.1::gentoo] USE="(-test)" PYTHON_TARGETS="python3_11 -python3_10 (-python3_9%)" 0 KiB
[ebuild U ] dev-util/gdbus-codegen-2.76.2::gentoo [2.76.1::gentoo] PYTHON_SINGLE_TARGET="python3_11 -python3_10 (-python3_9%)" 0 KiB
[ebuild U ] dev-python/pygments-2.15.1::gentoo [2.15.0::gentoo] USE="-test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 (-python3_9%)" 0 KiB
[ebuild U ] media-libs/fontconfig-2.14.2-r2:1.0::gentoo [2.14.2:1.0::gentoo] USE="nls -doc -test" ABI_X86="(64) -32 (-x32)" 0 KiB |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ionen Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/12407261860db424480089.png)
Joined: 06 Dec 2018 Posts: 2892
|
Posted: Tue May 02, 2023 8:03 am Post subject: |
|
|
These are just normal updates (new versions), not rebuilds.
Shows the 3_9 change, but it's not the cause of it scheduled. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ja.KooLit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/117039938866e993f8b575f.jpg)
Joined: 14 Feb 2022 Posts: 118 Location: Somewhere Over There!
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|