Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497200 - =sys-apps/kbd-2.0.1: fails to compile on uclibc because of missing #include <stdarg.h>
Summary: =sys-apps/kbd-2.0.1: fails to compile on uclibc because of missing #include <...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2014-01-06 01:17 UTC by Anthony Basile
Modified: 2014-01-06 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2014-01-06 01:17:31 UTC
In src/libkeymap/keymap/common.h there is a func prototype int lk_set_log_fn(...) which includes a va_list in the parameters, but the header does not include <stdarg.h>.  This works on glibc systems because of the way the header stack but not on uclibc or other libc's.  (man va_start for more info.)

Simple fix, just #include <stdarg.h> somewhere near the top.  This should go upstream.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2014-01-06 15:32:57 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add missing stdarg.h include to fix building for some C libraries