On Thu, Mar 12, 2020 at 05:08:16AM +0000, Χάρης Καραχριστιανίδης via 
blfs-support wrote:
> 
> OK, sorry about that. LFS SVN-20200302, BLFS (System V Edition)
> Version 2020-03-10
> It failed eg in libgusb-0.3.4 when "ninja test" and many more packages when I 
> run the test which I don't remember.
> 

First, two general points about tests in BLFS -

1. I think most people don't run tests for most packages.  Certainly
I run tests on very few in my own builds.

2. But if you are runnign the tests, I would expect you to look at
the results if they fail, and not carry on until you have an opinion
on whether the failure is important or not.

But for this particular failure -

> "Full log written to /sources/libgusb-0.3.4/build/meson-logs/testlog.txt
> FAILED: meson-test
> /usr/bin/meson test --no-rebuild --print-errorlogs"
> 
> log:
> "Log of Meson test suite run on 2020-03-12T06:54:30.162290
> 
[...]
> Bail out! libgusb:ERROR:../gusb/gusb-self-test.c:53:gusb_context_lookup_func: 
> assertion failed (error == NULL): Failed to open file 
> ?/usr/share/hwdata/usb.ids?: No such file or directory (g-file-error-quark, 4)

That is the problem in this package.  I'm guessing the '?' are
quotes which your mail client has mangled, the problem is that you
are missing /usr/share/hwdata/usb.ids.

If you look at the recommended dependencies for libgusb you should
see "usbutils-012 (for usb.ids data file, which is also required for
the tests)".

> --- stderr ---
> **
> libgusb:ERROR:../gusb/gusb-self-test.c:53:gusb_context_lookup_func: assertion 
> failed (error == NULL): Failed to open file ?/usr/share/hwdata/usb.ids?: No 
> such file or directory (g-file-error-quark, 4)
> -------
> 
> 
> Ok:                    1
> Expected Fail:         0
> Fail:                  1
> Unexpected Pass:       0
> Skipped:               0
> Timeout:               0
> "

ĸen
-- 
#define THE_TRUTH_AND_THATS_CUTTIN_ME_OWN_THROAT true
            Al Viro, complaining about a 'TRUE' macro in staging

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
  • [blfs-support... Χάρης Καραχριστιανίδης via blfs-support
    • Re: [blf... Scott Andrews via blfs-support
      • Re: ... Ken Moffat via blfs-support
        • ... Χάρης Καραχριστιανίδης via blfs-support
          • ... Bruce Dubbs via blfs-support
          • ... Ken Moffat via blfs-support

Reply via email to