Bug 2337740 - Please update the package for the 'Tcl/Tk 9.0' Fedora change
Summary: Please update the package for the 'Tcl/Tk 9.0' Fedora change
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-labltk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL: https://fedoraproject.org/wiki/Change...
Whiteboard:
Depends On:
Blocks: 2337584 2337749 2337739 2337741
TreeView+ depends on / blocked
 
Reported: 2025-01-14 18:36 UTC by Jaroslav Škarvada
Modified: 2025-02-03 16:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-03 16:27:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2025-01-14 18:36:02 UTC
Fedora 42 will update Tcl/Tk to version 9.0. It seems your package uses Tcl or Tk as a dependency.
Please check that your package builds and works correctly with Tcl/Tk 9.0.
The effort is tracked in the bug 2337584, there is system wide change proposal [1]. I also tried to
rebuild the direct dependencies in Copr [2].

TL/DR:
- there is side tag "f42-build-side-103615"
- Tcl/Tk was bumped to version 9.0 in the side tag
- there are compat packages tcl8/tk8 in the side tag for backward compatibility
- if your package needs fixing, please fix it to build with the Tcl/Tk 9.0 or switch it to the compat tcl8/tk8
- build your package into the side tag "f42-build-side-103615" (if rebuild is not needed, e.g. the package
  just calls the Tcl shell and works with any Tcl version, ignore this step)
- close this bug

Full version:
If your package works correctly and doesn't require rebuild, please close this bug as rawhide.

If your package needs rebuild and correctly builds with the Tcl/Tk 9.0, please rebuild it with the
side-tag "f42-build-side-103615":
  $ fedpkg build --target=f42-build-side-103615
Optionally, you can regenerate the repo for others to be able to build with your package in the side-tag
(example YOUR_PKG_NVR="brltty-6.7-3"):
  $ koji wait-repo --build=$YOUR_PKG_NVR.fc42 f42-build-side-103615 --request
Close this bug as rawhide.

If your package doesn't build with the Tcl/Tk 9.0, please fix/port it. There is a Tcl/Tk 9.0 porting
guide [3]. Then build it with the side-tag "f42-build-side-103615":
  $ fedpkg build --target=f42-build-side-103615
Optionally, you can regenerate the repo for others to be able to build with your package in the side-tag,
(example YOUR_PKG_NVR="brltty-6.7-3"):
  $ koji wait-repo --build=$YOUR_PKG_NVR.fc42 f42-build-side-103615 --request
Close this bug as rawhide.

If your package cannot be ported or it's unrealistic to do it in the short time, please switch to the
compat Tcl/Tk 8 packages. In the spec file change the BuildRequires from the "tcl-devel"/"tk-devel" to
"tcl8-devel"/"tk8-devel". If your package needs explicit "Requires: tcl", you can use "Requires: tcl8".
Then build your package with the side-tag "f42-build-side-103615":
  $ fedpkg build --target=f42-build-side-103615
Optionally, you can regenerate the repo for others to be able to build with your package in the side-tag,
(example YOUR_PKG_NVR="brltty-6.7-3"):
  $ koji wait-repo --build=$YOUR_PKG_NVR.fc42 f42-build-side-103615 --request
Close this bug as rawhide.

If you update your package after resolving this bug (and before 2025-02-04), please build to the side-tag.

Components which bugzillas won't be resolved till 2025-01-31 will be switched to the compat tcl8/tk8
packages by proven packager and rebuilt into the side-tag.

Then at the turning point (2025-02-03) the side-tag will be pushed by me as an Bodhi update.

Thanks for your cooperation.

[1] https://fedoraproject.org/wiki/Changes/TclTk9.0
[2] https://copr.fedorainfracloud.org/coprs/jskarvad/TclTK9.0.0/
[3] https://www.tcl-lang.org/software/tcltk/9.0.html

Comment 1 Jaroslav Škarvada 2025-01-15 10:43:51 UTC
Update:

There is a better way how to handle switch to compat packages, instead of build requiring tcl8-devel/tk8-devel, the following is better and backward compatible approach:
  BuildRequires: tcl-devel < 9
  BuildRequires: tk-devel < 9
The correct provides are already included in the tcl8/tk8 packages. And in a such way the package needn't be built into the side tag.

For updates please check the tracking bug 2337584.

Comment 2 Richard W.M. Jones 2025-01-15 10:59:57 UTC
Requires the following fix to be accepted upstream:
https://github.com/garrigue/labltk/issues/27

Comment 3 Jaroslav Škarvada 2025-01-15 11:08:38 UTC
Update (auto comment):

>  BuildRequires: tcl-devel < 9
>  BuildRequires: tk-devel < 9

There is epoch, so the correct variant is:
  BuildRequires: tcl-devel < 1:9
  BuildRequires: tk-devel < 1:9

Sorry for confusion.

Comment 4 Richard W.M. Jones 2025-02-03 09:30:31 UTC
It seems to be a little late according to the schedule (as today is the day the side tag
will be merged), but I have now fixed this package for Tcl 9 in dist-git:

https://src.fedoraproject.org/rpms/ocaml-labltk/c/279c9ea14eefbf99fd147426d468b55512652e3e?branch=rawhide

Note this is pushed to dist-git, but not built anywhere yet.

I have also confirmed that it can be built in the side tag (this is a scratch build, not
a real build):

https://koji.fedoraproject.org/koji/taskinfo?taskID=128802447

If you would like me to do a real build somewhere (side tag? Rawhide?) then let
me know.

Comment 5 Jaroslav Škarvada 2025-02-03 13:01:31 UTC
(In reply to Richard W.M. Jones from comment #4)
> It seems to be a little late according to the schedule (as today is the day
> the side tag
> will be merged), but I have now fixed this package for Tcl 9 in dist-git:
> 
> https://src.fedoraproject.org/rpms/ocaml-labltk/c/
> 279c9ea14eefbf99fd147426d468b55512652e3e?branch=rawhide
> 
> Note this is pushed to dist-git, but not built anywhere yet.
> 
> I have also confirmed that it can be built in the side tag (this is a
> scratch build, not
> a real build):
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=128802447
> 
> If you would like me to do a real build somewhere (side tag? Rawhide?) then
> let
> me know.

I will push the side-tag in few hours (or at least it's my plan). So I will try to build it in the side-tag now.

Comment 7 Jaroslav Škarvada 2025-02-03 13:05:08 UTC
After the side-tag push it will be possible to normally build, the tcl/tk-devel will build with version 9, tcl8/tk8-devel will build with version 8.

Comment 8 Richard W.M. Jones 2025-02-03 13:08:57 UTC
You might also wish to rebuild ocaml-lablgl (bug 2337739) and
ocaml-ocamlnet (bug 2337741) into the side tag before merging.  However
you'll have to wait for this package to complete first.

Otherwise we'll need to do those two in Rawhide after the side tag is merged.

Comment 9 Jaroslav Škarvada 2025-02-03 13:20:23 UTC
OK, thanks for the info, I am going to rebuild all packages in the side-tag due to gcc-15.


Note You need to log in before you can comment on or make changes to this bug.