when building with recipe: *** target pattern contains no `%'. Stop.

Bug #1062924 reported by Bernd Kreuss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builder
New
Undecided
Unassigned

Bug Description

When using an expression like {revno:foobar} in the receipe some makefiles will fail with

*** target pattern contains no `%'. Stop.

because the ":" in the resulting path name will apparently confuse make in some situations.

An example for such a failed build is here:
https://launchpadlibrarian.net/118694025/buildlog.txt.gz

the offending line in the makefile is
fpc_loaders: $(COMPILER_UNITTARGETDIR) $(LOADEROFILES)
(I have not yet tried to debug how exactly these two macros would expand (also I am not the author of these make files) but I guess this would imply be some path names with : characters at the wrong places and make interpreting it totally wrong)

Actually I really wondered whether there was someting wrong with my recipe when I first saw that it is using the recipe placeholders in the path names instead of actually replacing them with their true contents before running the build.

Please use some less exotic naming scheme with more "conventional" characters for the path names.

Curtis Hovey (sinzui)
affects: launchpad → bzr-builder
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.