Bug 276509 - x11/dsbxinput depends on python39 yet looks for python38
Summary: x11/dsbxinput depends on python39 yet looks for python38
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 21:55 UTC by Eduardo C.
Modified: 2024-01-28 13:48 UTC (History)
2 users (show)

See Also:
mk: maintainer-feedback+


Attachments
git format-patch to update dsbxinput version 0.1.1 to 0.1.2 (1.57 KB, patch)
2024-01-28 13:48 UTC, Marcel Kaiser
mk: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo C. 2024-01-21 21:55:15 UTC
Installed dsbxinput using pkg install, installed without errors but when I run it I get this error message:

zsh: /usr/local/bin/dsbxinput: bad interpreter: /usr/local/bin/python3.8: no such file or directory

I went ahead and installe python38 also and I get this error when I run dsbxinput:

Traceback (most recent call last):
  File "/usr/local/bin/dsbxinput", line 26, in <module>
    from PyQt5.QtWidgets import *
ModuleNotFoundError: No module named 'PyQt5'

I deleted python38 and I symlinked /usr/local/bin/python3.9 to /usr/local/bin/python3.8 and dsbxinput worked just fine.  It's not the right way to fix it though!
Comment 1 Marcel Kaiser 2024-01-28 13:48:02 UTC
Created attachment 248029 [details]
git format-patch to update dsbxinput version 0.1.1 to 0.1.2

This patch updates dsbxinput version 0.1.1 to 0.1.2. It fixes the shebang problem.

QA:
testport: OK (poudriere: 140Ramd64)
portclippy: OK
portfmt -D Makefile: OK
portlint -AC:
WARN: /home/ich/portstree/x11/dsbxinput/pkg-plist: [2]: this port installs .desktop files. If the .desktop file(s) installed contain ``MimeType='', you must add `desktop-file-utils` to USES.
0 fatal errors and 1 warning found.