msmtp-queue: missing dependencies on grep, coreutils-pr, uuidgen
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- shell
- Domain
- build-system
Research direction
Find the msmtp-queue package definition and its dependency declarations, then compare them with the commands used by msmtpq and msmtp-listqueue.sh in the issue. Start by checking which OpenWrt packages provide uuidgen, pr, and grep with --colour; update the package dependencies to include the required providers. Done when the listed commands are available after installing msmtp-queue on the reported target.
Written by the indexing model from the issue text.
Description
Package Name
msmtp-queue
Maintainer
@commodo
OpenWrt Version
24.10.8
OpenWrt Target/Subtarget
ath79/generic
Steps to Reproduce
# /usr/bin/msmtpq
/usr/bin/msmtpq: line 581: uuidgen: command not found
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command uuidgen exited with Status 127
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command ID="$(date +%Y-%m-%d-%H.%M.%S)"-"$(uuidgen)" exited with Status 127
#
Similarly, /usr/bin/msmtp-listqueue.sh uses the --colour and so it need the full grep package:
# grep grep /usr/bin/msmtp-listqueue.sh
grep -E -s --colour -h '(^From:|^To:|^Subject:)' "$i" || echo "No mail in queue";
#
Actual Behaviour
# /usr/bin/msmtpq
/usr/bin/msmtpq: line 581: uuidgen: command not found
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command uuidgen exited with Status 127
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command ID="$(date +%Y-%m-%d-%H.%M.%S)"-"$(uuidgen)" exited with Status 127
#
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
- Dominant language
- Makefile
- Stars
- 4.7k
- Forks
- 4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 251
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwrt/packages
-
Difficulty 2/5 Under an hour Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
openwrt/packages#31247 · 1 comment ·
Maintainers usually reply within 1 day
-
opennds: nds_ft_INC grows by one rule every 15 s with nftables 1.1.x (fixed upstream in 8b5a23f / v11.0.0)Possibly taken @ElNeMeR70 claimed this 7 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openwrt/packages#31124 · 1 comment ·
Maintainers usually reply within 1 day
-
strongswan: swanctl silently fails to start charon with legacy UCI configurationPossibly taken @feckert claimed this 12 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openwrt/packages#31057 · 3 comments ·
Maintainers usually reply within 1 day
All issues in openwrt/packages
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google/tensorstore#306 ·
-
ci good first issue severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
TMHSDigital/GH-Arcade#111 ·
-
cli: `execCargoMetadata` decodes stdout per chunk, corrupting non-ASCII paths across pipe boundariesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
electron-userland/electron-builder#10623 ·
Maintainers usually reply within 1 day
-
build: man page directory doubledPossibly taken @zeusgoose claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100