On 2012-06-08 10:21, Kern Sibbald wrote: > On 06/08/2012 02:40 PM, Dan Langille wrote: >> I am seeing regression test failures on FreeBSD 8.2 with PostgreSQL >> 9.x >> >> ==>Entering directory >> >> /usr/home/dan/src/BaculaRegressionTesting-TRUNK/regress/build/src/lib >> "Makefile", line 426: Need an operator >> make: fatal errors encountered -- cannot continue >> >> Can anyone duplicate this error? >> >> The line in question is: ../lib/breg.h /usr/include/regex.h >> >> I can supply more information, and provide access to systems if it >> comes to that.
> Hello Dan, > > No I am not seeing the problem. The line should end with a slash (\) > so that it is continued. The line is created by the gcc (or perhaps > g++), > so if it does not have the trailing slash there must be a problem > with > the compiler. I think it is not the compile, but the Makefile.in. Or perhaps differences in echo. Oh wait, no, it's print. This is from around line 388 of Makefile: # ----------------------------------------------------------------------- # DO NOT DELETE: nice dependency list followsnattr.lo: attr.c ../bacula.h ../config.h /usr/include/stdint.h \ /usr/include/sys/cdefs.h /usr/include/sys/_types.h \ I am pretty sure that should be more like this: # ----------------------------------------------------------------------- # DO NOT DELETE: nice dependency list follows nattr.lo: attr.c ../bacula.h ../config.h /usr/include/stdint.h \ /usr/include/sys/cdefs.h /usr/include/sys/_types.h \ Looking at Makefile.in, I see: depend: @$(MV) Makefile Makefile.bak @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile Could this just be missing a newline? I think so. My simple test: @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile @$(ECHO) "#" >> Makefile i.e. echo a # results in this Makefile: # DO NOT DELETE: nice dependency list followsn#nattr.lo: attr.c ../bacula.h ../config.h /usr/include/stdint.h \ /usr/include/sys/cdefs.h /usr/include/sys/_types.h \ /usr/include/machine/_types.h /usr/include/machine/_stdint.h \ I see this defined: ECHO = printf %s\n However, I think that should be one of the following: ECHO = printf %s\\n ECHO = printf "%s\n" I'll keep looking for a bit longer, but if you know what triggers this, I'll stop looking. :) -- Dan Langille - http://langille.org/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel