<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - make check fails on AIX: FAIL: test-bz89617"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92401">92401</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>make check fails on AIX: FAIL: test-bz89617
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>fontconfig
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>2.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PowerPC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>conf
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>fontconfig-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aixtools@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>freedesktop@behdad.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>============================================================================
See test/test-suite.log
Please report to <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig">https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig</a>
============================================================================

root@x064:[/data/prj/freedesktop/fontconfig/fontconfig-2.11.94]ls -l
test/test-suite.log
-rw-r--r--   1 root     system          314 Oct 10 2015  test/test-suite.log
root@x064:[/data/prj/freedesktop/fontconfig/fontconfig-2.11.94]cat
test/test-suite.log
=============================================
   fontconfig 2.11.94: test/test-suite.log
=============================================

# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-bz89617
==================

FAIL test-bz89617 (exit status: 1)

Looking further:

int
main (void)
{
    FcConfig *config = FcConfigGetCurrent ();

    if (!FcConfigAppFontAddFile (config, SRCDIR "/4x6.pcf") ||
        FcConfigAppFontAddFile (config, "/dev/null"))
        return 1;

    return 0;
}

and

The file 4x6.pcf is present

root@x064:[/data/prj/freedesktop/fontconfig/fontconfig-2.11.94]find . -name
4x6.pcf
./test/4x6.pcf

And SRCDIR seem to be properly defined.

root@x064:[/data/prj/freedesktop/fontconfig/fontconfig-2.11.94]grep SRCDIR
test/*
test/Makefile:  -DSRCDIR="\"$(abs_srcdir)\""
test/Makefile.am:       -DSRCDIR="\"$(abs_srcdir)\""
test/Makefile.in:       -DSRCDIR="\"$(abs_srcdir)\""
test/test-bz89617:relink_command="(cd
/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/test; { test -z
\"\${LIBPATH+set}\" || unset LIBPATH || { LIBPATH=; export LIBPATH; }; };
PATH=/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/buildaix/bin:/opt/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/vacpp/bin:;
export PATH; xlc_r
-DSRCDIR=\\\"/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/test\\\"
-I/opt/include -I/opt/buildaix/include -O2 -D_THREAD_SAFE -o \$progdir/\$file
test_bz89617-test-bz89617.o  -L/opt/lib -L../src/.libs -lfontconfig -lfreetype
-lz -lpthreads
-Wl,-blibpath:/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/src/.libs:/opt/lib:/opt/lib:/usr/vac/lib:/usr/lib:/lib)"
test/test-bz89617.c:    if (!FcConfigAppFontAddFile (config, SRCDIR "/4x6.pcf")
||

So, suggestions welcome - as far as howto correct make check is concerned.

FYI #1:
* running test on NFS server - not that should make a difference imho - but
sometimes it has.

FYI #2:
* after running 'make distclean' ./configure + make fails with:
...
make[2]: Leaving directory
'/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/fontconfig'
Making all in fc-blanks
make[2]: Entering directory
'/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/fc-blanks'
  GEN      fcblanks.h
Traceback (most recent call last):
  File "./fc-blanks.py", line 5, in <module>
    from lxml import html
ImportError: No module named lxml
Makefile:593: recipe for target 'fcblanks.h' failed
make[2]: *** [fcblanks.h] Error 1
make[2]: Leaving directory
'/data/prj/freedesktop/fontconfig/fontconfig-2.11.94/fc-blanks'
Makefile:579: recipe for target 'all-recursive' failed
...

A fresh tarball configures and makes with no crippling issues OR unpack the
tarball again into directory and make succeeds (I am guessing that fc-blapks.py
is restored).

FYI #3
While make install works fine - when not already installed DESTDIR=xxx make
install fails UNLESS make install is run first.

WITHOUT 'make install' first - the result looks something like this:
/opt/bin/make install DESTDIR=/var/aixtools/freedesktop/fontconfig/2.11.94.0
- but I shall post this as a bug in a moment. Now that I have looked at the
output.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>