[Fontconfig-bugs] [Bug 92401] New: make check fails on AIX: FAIL: test-bz89617

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 10 09:20:05 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92401

            Bug ID: 92401
           Summary: make check fails on AIX: FAIL: test-bz89617
           Product: fontconfig
           Version: 2.11
          Hardware: PowerPC
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: conf
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: aixtools at gmail.com
        QA Contact: freedesktop at behdad.org

============================================================================
See test/test-suite.log
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig
============================================================================

root at 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 at 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 at x064:[/data/prj/freedesktop/fontconfig/fontconfig-2.11.94]find . -name
4x6.pcf
./test/4x6.pcf

And SRCDIR seem to be properly defined.

root at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20151010/c5bf6508/attachment.html>


More information about the Fontconfig-bugs mailing list