GNU bug report logs - #20713
aclocal/tar.m4 and solaris 5.10 where `id -u` is not supported

Previous Next

Package: automake;

Reported by: Karl Berry <karl <at> freefriends.org>

Date: Mon, 1 Jun 2015 21:03:02 UTC

Severity: normal

Tags: confirmed

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dagobert Michelsen <dam <at> opencsw.org>
To: Karl Berry <karl <at> freefriends.org>
Cc: 20713 <at> debbugs.gnu.org
Subject: bug#20713: aclocal/tar.m4 and solaris 5.10
Date: Thu, 24 Feb 2022 08:35:23 +0100
Hi Karl,

Am 01.06.2015 um 23:02 schrieb Karl Berry <karl <at> freefriends.org>:
> Running a configure script on solaris 5.10 generated with automake-1.15,
> I got these errors about id, which being pre-POSIX, does not support -u:
> 
>      id: illegal option -- u
>      Usage: id [-ap] [user]
>      id: illegal option -- g
>      Usage: id [-ap] [user]
>      checking whether UID 'unknown' is supported by ustar format... ./configure: line 4190: test: unknown: integer expression expected
>      no
>      checking whether GID 'unknown' is supported by ustar format... ./configure: line 4200: test: unknown: integer expression expected
>      no

This is a long-standing issue on Solaris and the fix I use is prepending /usr/xpg4/bin
to PATH as there are multiple versions of id installed by default as documented in id(1m).


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896





This bug report was last modified 3 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.