Bug 2386441 - "syntax error near unexpected token `newline'" when running go-task
Summary: "syntax error near unexpected token `newline'" when running go-task
Keywords:
Status: CLOSED DUPLICATE of bug 2386266
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-task
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mark E. Fuller
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-04 22:49 UTC by Diego Herrera
Modified: 2025-08-05 00:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-05 00:34:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Diego Herrera 2025-08-04 22:49:32 UTC
after installing the go-task program, when trying to run it, it crashes and doesn't do any work.

Reproducible: Always

Steps to Reproduce:
1. dnf install go-task
2. run go-task
Actual Results:
/usr/bin/go-task: line 1: syntax error near unexpected token `newline'
/usr/bin/go-task: line 1: `!<arch>'


Expected Results:
the app actually running

Additional Information:
From what I read[0], this patterns usually happen when trying to excecute a go library object instead of an application.


[0] https://gist.github.com/deefdragon/2336e2404c468c3c59f1ef670745a920

Comment 1 Mark E. Fuller 2025-08-05 00:34:41 UTC

*** This bug has been marked as a duplicate of bug 2386266 ***


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