Checking whether to use network default printers... yes
checking for default system groups... "lpadmin sys root"
configure: error: The default system groups cannot contain the default CUPS group!
make: *** [/home/martin/sources/alt-f-build/build_arm/cups-1.4.8/.configured] Fehler 1
# Check whether --with-system_groups was given.
if test "${with_system_groups+set}" = set; then
withval=$with_system_groups; CUPS_SYSTEM_GROUPS="$withval"
else
if test x$uname = xDarwin; then
CUPS_SYSTEM_GROUPS="admin"
else
{ $as_echo "$as_me:$LINENO: checking for default system groups" >&5
$as_echo_n "checking for default system groups... " >&6; }
if test -f /etc/group; then
CUPS_SYSTEM_GROUPS=""
GROUP_LIST="lpadmin sys system root"
for group in $GROUP_LIST; do
if test "`grep \^${group}: /etc/group`" != ""; then
if test "x$CUPS_SYSTEM_GROUPS" = x; then
CUPS_SYSTEM_GROUPS="$group"
else
CUPS_SYSTEM_GROUPS="$CUPS_SYSTEM_GROUPS $group"
fi
fi
done
if test "x$CUPS_SYSTEM_GROUPS" = x; then
CUPS_SYSTEM_GROUPS="$GROUP_LIST"
{ $as_echo "$as_me:$LINENO: result: no groups found" >&5
$as_echo "no groups found" >&6; }
else
{ $as_echo "$as_me:$LINENO: result: \"$CUPS_SYSTEM_GROUPS\"" >&5
$as_echo "\"$CUPS_SYSTEM_GROUPS\"" >&6; }
fi
else
CUPS_SYSTEM_GROUPS="$GROUP_LIST"
{ $as_echo "$as_me:$LINENO: result: no group file" >&5
$as_echo "no group file" >&6; }
fi
fi
fi
CUPS_PRIMARY_SYSTEM_GROUP="`echo $CUPS_SYSTEM_GROUPS | awk '{print $1}'`"
for group in $CUPS_SYSTEM_GROUPS; do
if test "x$CUPS_GROUP" = "x$group"; then
{ { $as_echo "$as_me:$LINENO: error: The default system groups cannot contain the default CUPS group!" >&5
$as_echo "$as_me: error: The default system groups cannot contain the default CUPS group!" >&2;}
{ (exit 1); exit 1; }; }
fi
done
--with-system_groups to
package/cups/cups.mk - but without a value.--with-cups-user=cups --with-cups-group=lpadmin --with-system_groups\
The reason lies in $BLDDIR/build_arm/cups-1.4.8/configure in code I quoted above.
It seems like the configure script is not meant for cross compiling as it checkes your /etc/groups.
As a workaround I added the flag--with-system_groups to
package/cups/cups.mk - but without a value.