-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/30/2014 11:32 PM, Dan Anguilla wrote: > > On Mar 30, 2014, at 4:44 PM, Dan Langille <d...@langille.org> wrote: > >> I tried some regression tests for Bacula 7 tonight. I found what I think may be a configure issue. > > FYI, I think a step needs to be added to the regression testing: > > git checkout -b Branch-7.0 origin/Branch-7.0 This would make it so that I cannot run regressions on multiple versions, which I do quite frequently -- 2 to 3 times a week at a minimum because I maintain multiple branches. > > > For whatever branch you will be testing. I mention this because I got the 5.2 Branch when I did: > > git clone http://git.bacula.org/bacula bacula Yes, this is one of those "little" but annoying things that I can fix. Previously it was "master" so it was always correct. Now, I have to remember to change the default branch every time the Branch changes. After a clone, the first thing that I always do is checkout the right branch. If you don't change it afterwards it remains the SAM. > > > By doing a 'cd bacula? and then issuing the checkout command, I moved to the right branch. > We have been building FreeBSD for some 3-4 years now and never found this necessary. The only problem is that some users define "echo" to be "printf" and that does not work with the Bacula make files. It must be the system echo (usually /bin/echo) > I then made the change from @$(ECHO) to @echo, as shown below. > > Would cat be better than echo here? > >> >> It stops with: >> >> Stop in /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build. >> ==>Entering directory /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src >> ==>Entering directory /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/scripts >> ==>Entering directory /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/lib >> "Makefile", line 448: Need an operator >> make: fatal errors encountered -- cannot continue >> >> Looking at that file, I find: >> >> ### >> $(MV) Makefile.bak Makefile; \ >> echo " ===== Something went wrong in make depend ====="; \ >> fi >> >> # ----------------------------------------------------------------------- >> # DO NOT DELETE: nice dependency list follows >> >> ### that?s the end of the file above this line >> >> Looking at a few lines above, I see: @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile >> >> This works instead: @echo >> >> I made that change to the following files. >> >> $ grep -rl 'nice dependency list follows' * >> cats/Makefile.in >> console/Makefile.in >> dird/Makefile.in >> filed/Makefile.in >> findlib/Makefile.in >> lib/Makefile.in >> stored/Makefile.in >> tools/Makefile.in >> tray-monitor/Makefile.in >> wx-console/Makefile.in >> >> Seems like a configure issue? As mentioned above, I suspect that it an issue of a non-compatible echo command or alias. Best regards, Kern >> >> >> -- >> Dan Langille - http://langille.org >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Bacula-devel mailing list >> Bacula-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-devel > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlM5EcUACgkQNgfoSvWqwEiNVQCfVMmQViLMVi1dcW5Y4LwPgCgD U14AoOHToCGWDIGIJ0aQAqZ/Qff1UOjN =o5Lv -----END PGP SIGNATURE----- |
------------------------------------------------------------------------------
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel