Bug 276509 - x11/dsbxinput depends on python39 yet looks for python38
Summary: x11/dsbxinput depends on python39 yet looks for python38
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Zsolt Udvari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 21:55 UTC by Eduardo C.
Modified: 2024-06-21 18:18 UTC (History)
3 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.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-06-21 18:18:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=38ea7a179b350552401aea40a6adeed1cf63c082

commit 38ea7a179b350552401aea40a6adeed1cf63c082
Author:     Marcel Kaiser <mk@nic-nac-project.org>
AuthorDate: 2024-06-21 17:54:43 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-06-21 18:16:43 +0000

    x11/dsbxinput: update to 0.1.2

    Use shebangfix.
    Add NO_ARCH=yes.
    Pet portlint.

    PR:             276509
    Approved by:    Submitter is maintainer

 x11/dsbxinput/Makefile | 14 +++++++++-----
 x11/dsbxinput/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 8 deletions(-)
Comment 3 Zsolt Udvari freebsd_committer freebsd_triage 2024-06-21 18:18:38 UTC
Committed, thanks!