[systemd-bugs] [Bug 73729] New: udev fails to build with uclibc
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 17 00:58:26 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=73729
Priority: medium
Bug ID: 73729
Assignee: systemd-bugs at lists.freedesktop.org
Summary: udev fails to build with uclibc
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: natanael.copa at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
I haven't updated udev for a long time (due to some instability after
udev-175). It seems like udev sources has merged into systemd since then.
According http://lwn.net/Articles/490413/ it should still be possible to build
udev as a standalone, just checking out the sources from systemd. (i was also
pleased to see the first comment: "BASICALLY NOTHING WILL CHANGE" there so I am
comfortable this should be simple to fix)
After running './configure --disable-localed && cd src/udev && make' I get the
following build error when building with uClibc:
make -C ..
make[1]: Entering directory '/home/ncopa/src/systemd/src'
make -C ..
make[2]: Entering directory '/home/ncopa/src/systemd'
make --no-print-directory all-recursive
Making all in .
CC src/libsystemd/libsystemd_la-sd-bus.lo
In file included from src/libsystemd/sd-bus.c:32:0:
./src/shared/util.h:796:9: error: unknown type name 'locale_t'
locale_t saved_locale;
^
./src/shared/util.h:797:9: error: unknown type name 'locale_t'
locale_t new_locale;
^
./src/shared/util.h: In function '_reset_locale_':
./src/shared/util.h:803:33: error: 'locale_t' undeclared (first use in this
function)
if (s->saved_locale != (locale_t) 0)
^
./src/shared/util.h:803:33: note: each undeclared identifier is reported only
once for each function it appears in
./src/shared/util.h:803:43: error: expected ')' before numeric constant
if (s->saved_locale != (locale_t) 0)
^
./src/shared/util.h:804:17: warning: implicit declaration of function
'uselocale' [-Wimplicit-function-declaration]
uselocale(s->saved_locale);
^
./src/shared/util.h:804:17: warning: nested extern declaration of 'uselocale'
[-Wnested-externs]
./src/shared/util.h:805:41: error: expected ')' before numeric constant
if (s->new_locale != (locale_t) 0)
^
./src/shared/util.h:806:17: warning: implicit declaration of function
'freelocale' [-Wimplicit-function-declaration]
freelocale(s->new_locale);
^
./src/shared/util.h:806:17: warning: nested extern declaration of 'freelocale'
[-Wnested-externs]
In file included from src/libsystemd/sd-bus.c:36:0:
./src/shared/missing.h: At top level:
./src/shared/missing.h:299:6: error: #error neither secure_getenv nor
__secure_getenv are available
# error neither secure_getenv nor __secure_getenv are available
^
src/libsystemd/sd-bus.c: In function 'sd_bus_open_system':
src/libsystemd/sd-bus.c:1047:9: warning: implicit declaration of function
'secure_getenv' [-Wimplicit-function-declaration]
e = secure_getenv("DBUS_SYSTEM_BUS_ADDRESS");
^
src/libsystemd/sd-bus.c:1047:9: warning: nested extern declaration of
'secure_getenv' [-Wnested-externs]
src/libsystemd/sd-bus.c:1047:11: warning: assignment makes pointer from integer
without a cast [enabled by default]
e = secure_getenv("DBUS_SYSTEM_BUS_ADDRESS");
^
src/libsystemd/sd-bus.c: In function 'sd_bus_open_user':
src/libsystemd/sd-bus.c:1085:11: warning: assignment makes pointer from integer
without a cast [enabled by default]
e = secure_getenv("DBUS_SESSION_BUS_ADDRESS");
^
src/libsystemd/sd-bus.c:1091:19: warning: assignment makes pointer from integer
without a cast [enabled by default]
e = secure_getenv("XDG_RUNTIME_DIR");
^
Makefile:11504: recipe for target 'src/libsystemd/libsystemd_la-sd-bus.lo'
failed
make[4]: *** [src/libsystemd/libsystemd_la-sd-bus.lo] Error 1
Makefile:13308: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:7058: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/ncopa/src/systemd'
Makefile:23: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ncopa/src/systemd/src'
Makefile:23: recipe for target 'all' failed
make: *** [all] Error 2
I am not really interested in localized /dev.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140117/f7f32deb/attachment.html>
More information about the systemd-bugs
mailing list