Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] File path name and bash pattern matching
@ 2016-06-17 22:05 Peter Seiderer
  0 siblings, 0 replies; only message in thread
From: Peter Seiderer @ 2016-06-17 22:05 UTC (permalink / raw)
  To: buildroot

Hello,

some fun with a patch file name containing '?' and bash pattern matching, e.g:

	$ make openssl-dirclean

Rename the original patch file substituting '?' with '_':

	$ mv dl/openssl-1.0.2d-parallel-build.patch?id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d dl/openssl-1.0.2d-parallel-build.patch_id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d

Buildroot fails with misleading error message:

	$ make
  umask 0022 && make -C <some_path>/build O=<some_path>/build/. 
  openssl-1.0.2h.tar.gz: OK (sha256: 1d4007e53aad94a5b2002fe045ee7bb0b3d98f1a47f8b2bc851dcd1c74332919)
  ERROR: No hash found for openssl-1.0.2d-parallel-build.patch_id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d
  ERROR: No hash found for openssl-1.0.2d-parallel-build.patch_id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d
  package/pkg-generic.mk:113: recipe for target '<some_path>/build/openssl-1.0.2h/.stamp_downloaded' failed
  make[1]: *** [<some_path>/build/openssl-1.0.2h/.stamp_downloaded] Error 1
  Makefile:16: recipe for target '_all' failed
  make: *** [_all] Error 2

Removing the renamed patch file fixes the build:

	$ rm dl/openssl-1.0.2d-parallel-build.patch_id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d
	$ make
...starts with a fresh download of the missing patch file...

Which is the best way to avoid bash pattern matching here (in 'support/download/dl-wrapper')?

Regards,
Peter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-17 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-17 22:05 [Buildroot] File path name and bash pattern matching Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox