* [Buildroot] [Bug 9886] New: Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline
@ 2017-05-20 7:38 bugzilla at busybox.net
2017-05-20 8:22 ` [Buildroot] [Bug 9886] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2017-05-20 7:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9886
Bug ID: 9886
Summary: Build fails with "unexpected EOF while looking for
matching `"'" if PATH contains a newline
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ciro.santilli at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
I know newlines in PATH are bad, but we shouldn't punish unsuspecting users
with unhelpful error messages because of it :-)
Reproduce:
git checkout 4d1c2c82e8945a5847d636458f3825c55529835b
make qemu_x86_64_defconfig
PATH="$PATH:"$'\n'":lalala" make
Gives:
>>> host-lzip 1.18 Downloading
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
package/pkg-generic.mk:139: recipe for target
'/data/git/buildroot/output/build/host-lzip-1.18/.stamp_downloaded' failed
make[1]: ***
[/data/git/buildroot/output/build/host-lzip-1.18/.stamp_downloaded] Error 1
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 9886] Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline 2017-05-20 7:38 [Buildroot] [Bug 9886] New: Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline bugzilla at busybox.net @ 2017-05-20 8:22 ` bugzilla at busybox.net 2017-05-20 9:37 ` bugzilla at busybox.net 2017-06-08 19:43 ` bugzilla at busybox.net 2 siblings, 0 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2017-05-20 8:22 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9886 Yann E. MORIN <yann.morin.1998@free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr |.org | Status|NEW |ASSIGNED CC| |yann.morin.1998 at free.fr --- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> --- Ciro, Thanks for the report. Indeed, having a \n in PATH is a bit stupid... :-/ I've sent a patch that detects that and fails early: https://patchwork.ozlabs.org/patch/764947/ Regards, Yann E. MORIN. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 9886] Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline 2017-05-20 7:38 [Buildroot] [Bug 9886] New: Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline bugzilla at busybox.net 2017-05-20 8:22 ` [Buildroot] [Bug 9886] " bugzilla at busybox.net @ 2017-05-20 9:37 ` bugzilla at busybox.net 2017-06-08 19:43 ` bugzilla at busybox.net 2 siblings, 0 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2017-05-20 9:37 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9886 --- Comment #2 from Ciro Santilli <ciro.santilli@gmail.com> --- The patch worked for me, thanks! -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 9886] Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline 2017-05-20 7:38 [Buildroot] [Bug 9886] New: Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline bugzilla at busybox.net 2017-05-20 8:22 ` [Buildroot] [Bug 9886] " bugzilla at busybox.net 2017-05-20 9:37 ` bugzilla at busybox.net @ 2017-06-08 19:43 ` bugzilla at busybox.net 2 siblings, 0 replies; 4+ messages in thread From: bugzilla at busybox.net @ 2017-06-08 19:43 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=9886 Yann E. MORIN <yann.morin.1998@free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> --- A patch has been applied in master to fix that: https://git.buildroot.org/buildroot/commit/?id=f00d6ec67bd6fed6ff8fd322d60d026ec87d8a6e Thanks for the report. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-08 19:43 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-05-20 7:38 [Buildroot] [Bug 9886] New: Build fails with "unexpected EOF while looking for matching `"'" if PATH contains a newline bugzilla at busybox.net 2017-05-20 8:22 ` [Buildroot] [Bug 9886] " bugzilla at busybox.net 2017-05-20 9:37 ` bugzilla at busybox.net 2017-06-08 19:43 ` bugzilla at busybox.net
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.