Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954163 - sys-apps/usb_modeswitch is missing dependency on dev-lang/tcl for tclsh shebang
Summary: sys-apps/usb_modeswitch is missing dependency on dev-lang/tcl for tclsh shebang
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-21 19:19 UTC by isolde
Modified: 2025-04-21 19:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description isolde 2025-04-21 19:19:17 UTC
USB_MODEWITCH script in /usr/lib/ calls USB_MODESWITCH in case of a systemd- system. "Older" systems are handled using /usr/bin/usb_modeswitch_wrapper which hast - as 1.st Line - #!/usr/bin/tclsh

W/O TCL (i.e. only jimtcl) the interpreter ist Missing (tested on 3 systems containing Gentoo Profile 23 with kernel 6.6.21 and manual switch to Python 3.13

I assume, because there ist No dependency to tcl (also Not for usb_modeswitch), tcl was removed during cleanup while Manual updating Python.

I was wondering about the "non switching" of my USB LTE stick. I assumed an issue with some packages and completely re- installed the system, Just to detect, that it is "again" Not working. After installing TCL 8, and restarting the system, it works as expected.

Even TCL ist Not needed for compiling USB_MODEWITCH, it is needed for operation. And if it will Not lead to a dependency durng install, it should be added into the WIKI to ensure proper operation.

Regards
isoldia

PS: Sorry for some "capitals" - but there ist German, and my tablet I am writing about it, does not want to have the English spell checking but remains in German