Subject: pkg/20459: bootstrap-pkgsrc fails on IRIX
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pavel.cahyna@st.mff.cuni.cz>
List: netbsd-bugs
Date: 02/21/2003 06:48:40
>Number: 20459
>Category: pkg
>Synopsis: bootstrap-pkgsrc fails on IRIX
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 21 06:49:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Pavel Cahyna
>Release: IRIX 6.5.18
>Organization:
>Environment:
IRIX64 bruin 6.5 6.5.18m 10151453 IP28
>Description:
the command
CC=cc ./bootstrap
executed in bootstrap-pkgsrc termitanes with the following error:
"gen_subs.c", line 138: error(1020): identifier "DAYSPERNYEAR" is undefined
if ((sbp->st_mtime + SIXMONTHS) <= now)
^
"gen_subs.c", line 138: error(1020): identifier "SECSPERDAY" is undefined
if ((sbp->st_mtime + SIXMONTHS) <= now)
^
"gen_subs.c", line 148: error(1515): a value of type "int" cannot be assigned
to an entity of type "const char *"
user = user_from_uid(sbp->st_uid, 0);
^
"gen_subs.c", line 149: error(1515): a value of type "int" cannot be assigned
to an entity of type "const char *"
group = group_from_gid(sbp->st_gid, 0);
^
"gen_subs.c", line 189: error(1020): identifier "DAYSPERNYEAR" is undefined
if ((arcn->sb.st_mtime + SIXMONTHS) <= time((time_t *)NULL))
^
"gen_subs.c", line 189: error(1020): identifier "SECSPERDAY" is undefined
if ((arcn->sb.st_mtime + SIXMONTHS) <= time((time_t *)NULL))
^
6 errors detected in the compilation of "gen_subs.c".
*** Error code 2 (bu21)
installation of pax failed.
Versions of software used are:
# uname -aR
IRIX64 bruin 6.5 6.5.18m 10151453 IP28
# cc -version
MIPSpro Compilers: Version 7.2.1
# cat /etc/compiler.defaults
-DEFAULT:abi=n32:isa=mips4:proc=r10k
I'm using bootstrap-pkgsrc as of Feb 21 2003.
>How-To-Repeat:
see above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: