Em 02-03-2016 23:19, Ken Moffat escreveu: > I needed to test a fix for my logging, and I had noticed feh was not > tagged - I have a script for that and its deps. > > But for me, feh's tests fail: > > make[1]: Leaving directory > '/scratch/working/feh-2.14.1/share/applications' > > # Failed test 'stdout_is_file: src/feh --list --quiet test/ok/gif > # test/ok/jpg test/ok/png test/ok/pnm test/fail/gif test/fail/jpg > # test/fail/png test/fail/pnm, test/list/default' > # at test/feh.t line 130. > # STDOUT differs from test/list/default starting at line 2. > # got: 1 jpeg 16 16 256 354 - > # test/ok/jpg > # exp: 1 gif 16 16 256 953 - > # test/ok/gif > # ^ > > # Failed test 'stdout_is_file: src/feh --quiet --list --action > # 'echo "%f %wx%h" >&2' test/ok/gif test/ok/jpg test/ok/png > # test/ok/pnm test/fail/gif test/fail/jpg test/fail/png > # test/fail/pnm, test/list/default' > # at test/feh.t line 137. > # STDOUT differs from test/list/default starting at line 2. > # got: 1 jpeg 16 16 256 354 - > # test/ok/jpg > # exp: 1 gif 16 16 256 953 - > # test/ok/gif > # ^ > # Looks like you failed 2 tests of 71. > test/feh.t ..... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/71 subtests > Can't exec "mandoc": No such file or directory at test/mandoc.t line > 9. > # mandoc not installed, test skipped. This is NOT fatal. > test/mandoc.t .. ok > > This is, of course, with the patch. It looks as if gif is not > supported : there is a release note at > https://feh.finalrewind.org/archive/2.14.2/ which says > > make test: Ignore results on arm and mips since they expose a bug in > Imlib2 1.4.7 and/or giflib 5.1.2. Note that due to this bug, feh may > be unable to display gif images. x86 and amd64 are also affected. > Again, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729 > for more information > > I am on x86_64 and running src/feh on my one gif image reports > feh WARNING: /sources/languages.gif - No Imlib2 loader for that file > format > feh: No loadable images specified. > > That report blames Imlib2 (with details). > > So then I tried 2.14.2. The patch does not apply, but without it I > get the same two failures and the same error if I try to use it to > display a gif. > > And since feh does seem to be broken for gifs, I have no interest in > trying to fix the patch. > > What I find odd is that our last upgrade of feh was after the giflib > update in January, and we have been on that version of Imlib since > 7.8 or earlier. > > ĸen >
I struggled with that for some time. At the end, wrote: http://wiki.linuxfromscratch.org/blfs/changeset/16905/trunk/BOOK/xsoft/other/feh.xml {{{ @@ -124,4 +135,11 @@ <sect2 role="installation"> <title>Installation of feh</title> + + <para> Due to well-known problems when <application>feh</application> try to + load gif images (sometimes <application>imlib2</application> being blamed + for that), some tests fail. To avoid that, apply the following patch, if you + intend to run the test suite: </para> + +<screen><userinput>patch -Np1 -i ../feh-&feh-version;-disable_some_tests-1.patch</userinput></screen> <para> }}} For me, it is broken with gif -- []s, Fernando, aka Sísifo -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
