archfan / infinality_bundle

39 stars 8 forks source link

make fontconfig-infinality-ultimate failed #8

Open mealayaria opened 7 years ago

mealayaria commented 7 years ago

Hi,When I run makepkg in 02_fontconfig-iu, I got an error in run-test.sh, here is part of the log:

% cat test-suite.log

fontconfig 2.12.1: test/test-suite.log

TOTAL: 3 PASS: 2 SKIP: 0 XFAIL: 0 FAIL: 1 XPASS: 0 ERROR: 0 .. contents:: :depth: 2 FAIL: run-test

Test failed: Basic check output is in 'out', expected output in 'out.expected' FAIL run-test.sh (exit status: 1)

and I find error caused by the file /tmp/makepkg/fontconfig-infinality-ultimate/src/fontconfig-2.12.1/test/run-test.sh line 41, in function check().

And here is my out

% cat out Misc Fixed:pixelsize=6 Sony Fixed:pixelsize=16

Misc Fixed:pixelsize=6 Sony Fixed:pixelsize=16

Misc Fixed:pixelsize=6 Sony Fixed:pixelsize=16

And my out.expected:

% cat out.expected Fixed:pixelsize=16 Fixed:pixelsize=6

Fixed:pixelsize=16 Fixed:pixelsize=6

Fixed:pixelsize=16 Fixed:pixelsize=6

I don't know what happened, anyone can help me?

archfan commented 7 years ago

Thanks for posting this. I haven't had much time to look into that issue yet.

In the meantime you could simply compile it without running the tests. Remove the following from the corresponding PKGBUILD:

check() {
  cd "${_basename}-${pkgver}"
  make -k check
}

It should compile just fine afterwards.

Cheers

sfzhi commented 7 years ago

https://bugs.freedesktop.org/show_bug.cgi?id=47704 - just mentioning, not that it's particularly helpful...