pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54511: pkgsrc bootstrap fails on IRIX 6.5



>Number:         54511
>Category:       pkg
>Synopsis:       pkgsrc bootstrap fails on IRIX 6.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 30 15:35:00 +0000 2019
>Originator:     Mark Kirby
>Release:        pkgsrc current
>Organization:
>Environment:
IRIX64 drool 6.5 07202013 IP30
>Description:
When bootstrapping pkgsrc using MIPSpro Compilers: Version 7.30 make fail's in parse.c due to the use of __func__. mipspro 7.3 is not C99 compatible.

out put below.

cc -c -g -I. -I/mnt/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H -I/mnt/pkgsrc/bootstrap/work/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1024 -o parse.o /mnt/pkgsrc/bootstrap/work/bmake/parse.c
cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 859
  The identifier "__FUNCTION__" is undefined.

        fprintf(debug_file, "# %s: added child %s - %s\n", __func__,
                                                           ^

cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 1036
  The identifier "__FUNCTION__" is undefined.

                    __func__, predecessor->name, gn->name);
                    ^

cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 2336
  The identifier "__FUNCTION__" is undefined.

            "${.INCLUDEDFROMFILE} = `%s'\n", __func__, pd, pf);
                                             ^

cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 2379
  The identifier "__FUNCTION__" is undefined.

            __func__, pd, pf);
            ^

cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 2442
  The identifier "__FUNCTION__" is undefined.

            __func__, name, line, fd, nextbuf, arg);
            ^

cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 2514
  The identifier "__FUNCTION__" is undefined.

            fprintf(debug_file, "%s: %s\n", __func__, file);
                                            ^

cc-1020 cc: ERROR File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 2573
  The identifier "__FUNCTION__" is undefined.

            fprintf(debug_file, "%s: %s\n", __func__, variable);
                                            ^

cc-1174 cc: WARNING File = /mnt/pkgsrc/bootstrap/work/bmake/parse.c, Line = 79
  The variable "rcsid" was declared but never referenced.

  __RCSID("$NetBSD: parse.c,v 1.10 2015/05/19 22:01:19 joerg Exp $");
  ^

7 errors detected in the compilation of "/mnt/pkgsrc/bootstrap/work/bmake/parse.c".
===> exited with status 1


>How-To-Repeat:
try to bootstrap pkgsrc with a non C99 compatible compiler.
>Fix:
Unknown but if someone can give me a clue I'm happy to give it a try.


Home | Main Index | Thread Index | Old Index