[cairo-bugs] [Bug 13591] New: cairo-1.4.12: gmake check FAIL on check-def.sh

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 10 08:49:51 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=13591

           Summary: cairo-1.4.12: gmake check FAIL on check-def.sh
           Product: cairo
           Version: 1.4.9
          Platform: SPARC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: anirkko at insel.ch
         QAContact: cairo-bugs at cairographics.org


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?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list