When building and checking cairo-1.4.12 on Solaris2.6, `gmake check` FAILed (with a "please report") on check-def.sh with the following output: ... .../cairo-1.4.12/src/check-def.sh: bad substitution FAIL: check-def.sh .../cairo-1.4.12/src/check-plt.sh: !: not found Checking .libs/lib*.so for local PLT entries readelf: Error: '.libs/lib*.so': No such file PASS: check-plt.sh ... ... PASS: check-cairoint.sh ======================================================================== 1 of 4 tests failed Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ======================================================================== running check-def manually complained about: ../cairo-1.4.12/src/check-def.sh: !: not found make: Fatal error: Don't know how to make target `cairo.def' ../cairo-1.4.12/src/check-def.sh: bad substitution (maybe a /bin/sh problem under older Solaris2.6 versions? Also other packages such as gcc need /bin/ksh instead of /bin/sh for building under Solaris) substituting #!/bin/sh with #!/bin/ksh made the complaint about "!: not found" go away. but the error "make: Fatal error: Don't know how to make target `cairo.def'" remained when invoking check-def.sh manually. Nevertheless, when invoking using `gmake check` (with /bin/ksh), everything works. Maybe the "master" make invoked (gmake instead of make) should also be propagated into the tests?
I committed a fix for the make issue. Cairo requires a sane POSIX sh and make to run the tests, so I wouldn't bother about the sh issue.
c26084a45fcb6ac467cad8bdcedfb2f524b857fc
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.