On Tue, 11 Aug 2020 12:34:29 -0500 Xi Ruoyao via blfs-dev wrote:
> On 2020-08-11 18:29 +0100, spiky0011 via blfs-dev wrote:
> > On 11/08/2020 18:23, Douglas R. Reno via blfs-dev wrote:
> > > On 8/11/20 12:23 PM, spiky0011 via blfs-dev wrote:
> > > > Hi
> > > > 
> > > > Just going through blfs on top of Lfs 20200810-systemd
> > > > 
> > > > I get an error with pulseaudio-13.0
> > > > 
> > > > "In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
> > > >                  from /usr/include/glib-2.0/glib.h:54,
> > > >                  from pulse/glib-mainloop.c:31:
> > > > /usr/include/glib-2.0/glib/gmain.h:681:8: note: declared here
> > > >   681 | void   g_get_current_time                 (GTimeVal *result);
> > > >       |        ^~~~~~~~~~~~~~~~~~
> > > > In file included from tests/alsa-mixer-path-test.c:5:
> > > > tests/alsa-mixer-path-test.c: In function ‘load_makefile’:
> > > > tests/alsa-mixer-path-test.c:32:5: error: too few arguments to 
> > > > function ‘_ck_assert_failed’
> > > >    32 |     fail_unless(f != NULL); /* Consider skipping this test 
> > > > instead of failing if Makefile not found? */
> > > >       |     ^~~~~~~~~~~
> > > > /usr/include/check.h:502:27: note: declared here
> > > >   502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, 
> > > > int line,
> > > >       |                           ^~~~~~~~~~~~~~~~~
> > > > tests/alsa-mixer-path-test.c:35:13: error: too few arguments to 
> > > > function ‘_ck_assert_failed’
> > > >    35 |             fail_unless(feof(f));
> > > >       |             ^~~~~~~~~~~
> > > > /usr/include/check.h:502:27: note: declared here
> > > >   502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, 
> > > > int line,
> > > >       |                           ^~~~~~~~~~~~~~~~~
> > > > tests/alsa-mixer-path-test.c: In function ‘mixer_path_test_fn’:
> > > > tests/alsa-mixer-path-test.c:68:5: error: too few arguments to 
> > > > function ‘_ck_assert_failed’
> > > >    68 |     fail_unless(dir != NULL);
> > > >       |     ^~~~~~~~~~~
> > > > /usr/include/check.h:502:27: note: declared here
> > > >   502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, 
> > > > int line,
> > > >       |                           ^~~~~~~~~~~~~~~~~
> > > > tests/alsa-mixer-path-test.c:77:9: error: too few arguments to 
> > > > function ‘_ck_assert_failed’
> > > >    77 |         fail_unless(path != NULL);
> > > >       |         ^~~~~~~~~~~
> > > > /usr/include/check.h:502:27: note: declared here
> > > >   502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, 
> > > > int line,
> > > >       |                           ^~~~~~~~~~~~~~~~~
> > > > tests/alsa-mixer-path-test.c:85:13: error: too few arguments to 
> > > > function ‘_ck_assert_failed’
> > > >    85 |             fail_unless(found);
> > > >       |             ^~~~~~~~~~~
> > > > /usr/include/check.h:502:27: note: declared here
> > > >   502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, 
> > > > int line,
> > > >       |                           ^~~~~~~~~~~~~~~~~
> > > > make[3]: *** [Makefile:10032: 
> > > > tests/alsa_mixer_path_test-alsa-mixer-path-test.o] Error 1
> > > > make[3]: *** Waiting for unfinished jobs....
> > > > make[3]: Leaving directory '/home/spiky/build/pulseaudio-13.0/src'
> > > > make[2]: *** [Makefile:5348: all] Error 2
> > > > make[2]: Leaving directory '/home/spiky/build/pulseaudio-13.0/src'
> > > > make[1]: *** [Makefile:828: all-recursive] Error 1
> > > > make[1]: Leaving directory '/home/spiky/build/pulseaudio-13.0'
> > > > make: *** [Makefile:643: all] Error 2"
> > > > 
> > > > any Ideas
> > > > 
> > > > Spiky
> > > > 
> > > Hi Spiky,
> > > 
> > > 
> > > This is due to the update to check-0.15.x. It doesn't look like there 
> > > is a fix upstream yet. We might need to come up with one.
> > > 
> > > 
> > > - Doug
> > > 
> > So you have encountered this problem?
> 
> I have. I used a stupid sed to edit the fail_if and fail_unless lines, in 
> order
> to make the test runable. But then check-0.15.2 is released and the release 
> note
> claims that the problem is fixed.  I've not tried to rebuild pulseaudio with
> check-0.15.2 yet.
> -- 
> Xi Ruoyao <[email protected]>
> School of Aerospace Science and Technology, Xidian University
> 
> -- 
> http://lists.linuxfromscratch.org/listinfo/blfs-dev
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page

I have rebuilt with 0.15.2 and it does successfully build.  There is a spurious 
warning about the arguments that can be ignored.  Upstream considers this okay 
for now.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to