Skip to content

bug: running quickget --list on macOS results grep errors #1396

Closed
@rowdy-fms

Description

I confirm this bug has not already been reported

  • I have searched the issues and this bug has not been reported previously

Describe the bug
When running quickget --list on macOS (Sonoma, on an M2 Mac Studio), it responds with error grep: invalid option -- P twice, then produces a long list of available operating systems and versions. Most of the entries in the list are correct, but some are nonsensical, sparkylinux in particular.

To Reproduce
Steps to reproduce the behavior:

  1. Run quickget --list on macOS.
  2. Observe the two grep errors, and the list of nonsensical versions for sparkylinux.

Expected behavior
A complete list of available operating systems with no grep errors and no nonsensical output.

Quickget output
Run quickemu or quickemu and include the output of the failure below:

quickget output
rowdy@silicon:quickemu$ ./quickget --list
grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
  [-e pattern] [-f file] [--binary-files=value] [--color=when]
  [--context[=num]] [--directories=action] [--label] [--line-buffered]
  [--null] [pattern] [file ...]
grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
  [-e pattern] [-f file] [--binary-files=value] [--color=when]
  [--context[=num]] [--directories=action] [--label] [--line-buffered]
  [--null] [pattern] [file ...]
OS Release Option
alma 8 boot
alma 8 dvd
alma 8 minimal
alma 9 boot
alma 9 dvd
alma 9 minimal
alpine v3.11 
alpine v3.12 
<snip lots of valid entries>
sparkylinux /> <meta
sparkylinux /> <meta
sparkylinux /> <meta
sparkylinux /> <meta
sparkylinux /> content="7
sparkylinux /> content="7
sparkylinux /> content="7
sparkylinux /> content="7
sparkylinux /> kde
sparkylinux /> kde
sparkylinux /> lxqt
sparkylinux /> lxqt
sparkylinux /> mate
sparkylinux /> mate
sparkylinux /> minimalcli
sparkylinux /> minimalcli
sparkylinux /> minimalgui
sparkylinux /> minimalgui
sparkylinux /> name="twitter:description"
sparkylinux /> name="twitter:description"
sparkylinux /> property="og:description"
sparkylinux /> property="og:description"

The rest of the list, from spirallinux (which appears after sparkylinux) onwards, appears to be valid. There are around 1536 lines of sparkylinux nonsense, similar to the above.

System information
Run quickreport and include the output here; if you can't run quickreport,
please provide the output of the following:

Quickreport output
----------------------------------
      Quickemu 4.9.6
----------------------------------
Distro:	macOS 14.5
Kernel:	Darwin 23.5.0 arm64
Memory:	64G
GPU:
-Apple M2 Max
----------------------------------
          curl 8.6.0
----------------------------------
Libraries: libcurl/8.6.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.61.0
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features:  alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe UnixSockets
----------------------------------
          QEMU 9.0.2
----------------------------------
Available CPUs:
a64fx
arm1026
arm1136
arm1136-r2
arm1176
arm11mpcore
arm926
arm946
cortex-a15
cortex-a35
cortex-a53
cortex-a55
cortex-a57
cortex-a7
cortex-a710
cortex-a72
cortex-a76
cortex-a8
cortex-a9
cortex-m0
cortex-m3
cortex-m33
cortex-m4
cortex-m55
cortex-m7
cortex-r5
cortex-r52
cortex-r5f
host
max
neoverse-n1
neoverse-n2
neoverse-v1
pxa250
pxa255
pxa260
pxa261
pxa262
pxa270-a0
pxa270-a1
pxa270
pxa270-b0
pxa270-b1
pxa270-c0
pxa270-c5
sa1100
sa1110
ti925t
----------------------------------
             CPU
----------------------------------
Apple M2 Max

Screenshots
n/a

Additional context
n/a

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions