* [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly
@ 2024-03-08 16:01 bugzilla
2024-03-09 18:12 ` [Buildroot] [Bug 15976] " bugzilla
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2024-03-08 16:01 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15976
Bug ID: 15976
Summary: .hash file requires newline to process correctly
Product: buildroot
Version: 2023.02.9
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: masonwardle@gmail.com
CC: buildroot@uclibc.org
Target Milestone: ---
I have a <package-name>.hash file with
# Calculated by hand
sha256 <64 hex character hash> <downloaded package name>
I failed to put a newline at the end of the file. This caused
support/download/check-hash to fail with a "No hash found" error. A quick look
at the code suggests this error occurs in my case because the "read" command
exits abnormally if it reaches the end of the file before encountering a
newline.
I initially thought this could be addressed in the documentation but perhaps
there is a simple fix.
I'm running buildroot 2023.02.9 on Ubuntu 22.04. check-hash hasn't changed
since that release.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 15976] .hash file requires newline to process correctly
2024-03-08 16:01 [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly bugzilla
@ 2024-03-09 18:12 ` bugzilla
2024-03-09 18:58 ` bugzilla
2024-06-15 15:24 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2024-03-09 18:12 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15976
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned@buildroot.uclibc |yann.morin.1998@free.fr
|.org |
Status|NEW |ASSIGNED
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 15976] .hash file requires newline to process correctly
2024-03-08 16:01 [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly bugzilla
2024-03-09 18:12 ` [Buildroot] [Bug 15976] " bugzilla
@ 2024-03-09 18:58 ` bugzilla
2024-06-15 15:24 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2024-03-09 18:58 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15976
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
masonwardle, All,
Thanks for the report.
> I have a <package-name>.hash file with [...]
> I failed to put a newline at the end of the file.
We do have a .editorconfig file at the root of the Buildroot tree,
that instructs text editors to always "insert_final_newline", as
it is customary for UNIX-style text files.
What is your text editor? Can you configure it to respect the
.editorconfig directives?
> this could be addressed in the documentation
Yes, it would be nice to have a patch that points to the existing
.editorconfig, and points to the documentation on how to configure
usual rext editors: https://editorconfig.org/#pre-installed
Would you like to send such patch, please?
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 15976] .hash file requires newline to process correctly
2024-03-08 16:01 [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly bugzilla
2024-03-09 18:12 ` [Buildroot] [Bug 15976] " bugzilla
2024-03-09 18:58 ` bugzilla
@ 2024-06-15 15:24 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2024-06-15 15:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15976
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|ASSIGNED |RESOLVED
--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-15 15:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-08 16:01 [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly bugzilla
2024-03-09 18:12 ` [Buildroot] [Bug 15976] " bugzilla
2024-03-09 18:58 ` bugzilla
2024-06-15 15:24 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox