On Sun, 21 Oct 2007, Ralf Wildenhues wrote:
The problems seem to be mostly related to libltdl symbols. A gzipped
testsuite.log from FreeBSD 5.4 is attached.
This failure:
| /home/bfriesen/src/gnu/libtool-head/tests/old-m4-iface.at:142: $MAKE
| stderr:
| main.o(.text+0xc): In function `main':
| : undefined reference to `lt_preloaded_symbols'
indicates that an old ltdl.h was used. It seems @INCLTDL@ was
substituted wrongly in that Makefile. I don't see how that can
happen.
Must be the influence of mutant aliens.
I see that the compiler is being executed like
/usr/bin/cc -I/usr/local/include -I/home/bfriesen/src/gnu/libtool-head/libltdl
and I believe that the -I/usr/local/include is being picked up from
/usr/local/share/config.site.
This sort of problem may be avoided by setting CONFIG_SITE to point at
some empty file while the tests are run. This seems to be common for
tests and I believe that it is already done for the 'old' tests. Long
ago, CONFIG_SITE was set to /dev/null but this caused issues for a few
targets.
The most recent change related to the setting of CONFIG_SITE is
mentioned in ChangeLog.2003:
2003-03-28 Richard Dawe <[EMAIL PROTECTED]>
* tests/defs: Set CONFIG_SITE to /nonexistent, except on DJGPP,
It seems that some/all of the new tests are not picking up this
environment.
Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/