Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-genkernel
Navigation:
Lists: gentoo-genkernel: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-genkernel@g.o
From: Fabio Erculiani <lxnay@g.o>
Subject: e2fsprogs and libuuid and parallel make
Date: Wed, 17 Aug 2011 08:43:00 +0200
I am used to run genkernel using --makeopts=-jX and this seems to
trigger one parallel build issue in e2fsprogs build system which leads
to random compile failures (probably due to the deps resolution order
-- which can be non-deterministic). This is the error:

./tst_uuid.c: In function ‘test_uuid’:
./tst_uuid.c:49:2: error: ‘uuid_t’ undeclared (first use in this function)
./tst_uuid.c:49:2: note: each undeclared identifier is reported only
once for each function it appears in
./tst_uuid.c:49:9: error: expected ‘;’ before ‘uuidBits’
./tst_uuid.c:52:30: error: ‘uuidBits’ undeclared (first use in this function)
./tst_uuid.c: In function ‘main’:
./tst_uuid.c:72:2: error: ‘uuid_t’ undeclared (first use in this function)
./tst_uuid.c:72:10: error: expected ‘;’ before ‘buf’
./tst_uuid.c:81:16: error: ‘buf’ undeclared (first use in this function)
./tst_uuid.c:91:17: error: ‘UUID_VARIANT_DCE’ undeclared (first use in
this function)
./tst_uuid.c:141:9: warning: format ‘%s’ expects type ‘char *’, but
argument 4 has type ‘int’
./tst_uuid.c:142:18: error: ‘tst’ undeclared (first use in this function)
make[2]: *** [tst_uuid.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Solution 1: compile e2fsprogs with -j1 and perhaps report it upstream
Solution 2: I've seen that the ebuild in portage explicitly disables
libuuid (--disable-libuuid) [1] and also libblkid.
  --disable-libuuid	  do not build private uuid library
  --disable-libblkid	  do not build private blkid library

Moreover, tst_uuid.c is a "test program for the UUID library" but
looking at the build system, it seems to be impossible to disable it.
Perhaps we should test out the generated initramfs with e2fsprogs
compiled with --disable-libuuid --disable-libblkid

[1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.41.14.ebuild?view=markup
-- 
Fabio Erculiani
http://lxnay.com


Replies:
Re: e2fsprogs and libuuid and parallel make
-- Sebastian Pipping
Navigation:
Lists: gentoo-genkernel: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
genkernel 3.4.18 released
Next by thread:
Re: e2fsprogs and libuuid and parallel make
Previous by date:
genkernel 3.4.18 released
Next by date:
Re: e2fsprogs and libuuid and parallel make


Updated Jun 20, 2012

Summary: Archive of the gentoo-genkernel mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.