Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74123 - Make LLVM 'not' identify its usage if entered without arguments or entered with '-h'

Attached to Project: Arch Linux
Opened by Lawrence R. Steeger (lsteeger) - Tuesday, 15 March 2022, 08:24 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 16 March 2022, 06:07 GMT
Task Type Feature Request
Category Upstream Bugs
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

LLVM 'not' command does not identify its usage if entered without arguments or entered with '-h'

Additional info:

* package version(s)

llvm 13.0.1-1

* config and/or log files etc.

n/a

* link to upstream bug report, if any

upstream owner bug report: https://github.com/llvm/llvm-project/issues/54324

alternate distribution bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1427831

Steps to reproduce:

1. open terminal emulator

2. type 'not -h'

Result:

error: unable to find `-h' in PATH: No such file or directory

Expected:

usage help for 'not'
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 16 March 2022, 06:07 GMT
Reason for closing:  Won't implement
Comment by Evangelos Foutras (foutrelis) - Tuesday, 15 March 2022, 09:17 GMT
We don't have any control over how a program behaves. It's included in the llvm package for running tests in other LLVM projects.
Comment by Lawrence R. Steeger (lsteeger) - Tuesday, 15 March 2022, 21:42 GMT
My intention was not to have Arch Linux change the source of 'not'. I already made that request upstream and got into this discussion about 'packaging', thus this request.

This feature request is really about the packaging of 'not' in LLVM. Unfortunately, the summary I used does not indicate that intention. The summary should be: "Change LLVM packaging of 'not' command to non-PATH directory".

From the upstream bug report: https://github.com/llvm/llvm-project/issues/54324#issuecomment-1064516509 it seems they think that it requires a conscious decision to include 'not' command when packaging LLVM, which is ok, of course.

The alternate distribution bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1427831 shows a discussion about changing the location of 'not' in the filesystem on Red Hat.

Comment by Evangelos Foutras (foutrelis) - Wednesday, 16 March 2022, 06:07 GMT
That's an old bug; currently Fedora installs 'not' to /usr/bin but packages it separately in llvm-test. [1]

We don't do too much splitting in Arch, and I don't see a problem with the current package, so there's nothing to do.

[1] https://koji.fedoraproject.org/koji/rpminfo?rpmID=29450045

Loading...