pkgsrc-Bugs archive

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

pkg/38239: Warnings when building nbcompat



>Number:         38239
>Category:       pkg
>Synopsis:       Warnings when building nbcompat
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 14 15:40:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30; IRIX 6.5.30; MIPSpro Compilers: Version 7.4.4m
>Description:

When building nbcompat in-line (in this case for pkgtools) the following 
non-fatal warnings are generated:

cc-1164 cc: WARNING File = sha2hl.c, Line = 92
  Argument of type "char *" is incompatible with parameter of type
          "unsigned char *".

        return (num < 0 ? 0 : SHA256_End(&ctx, buf));
                                               ^

cc-1119 cc: WARNING File = sha2hl.c, Line = 119
  The "return" expression type differs from the function return type.

        return ret;
               ^

cc-1515 cc: WARNING File = sha2hl.c, Line = 166
  A value of type "char *" cannot be assigned to an entity of type
          "unsigned char *".

        if ((ret = buffer) != NULL) {
                 ^

cc-1119 cc: WARNING File = sha2hl.c, Line = 179
  The "return" expression type differs from the function return type.

        return ret;
               ^

cc-1515 cc: WARNING File = sha2hl.c, Line = 226
  A value of type "char *" cannot be assigned to an entity of type
          "unsigned char *".

        if ((ret = buffer) != NULL) {
                 ^

cc-1119 cc: WARNING File = sha2hl.c, Line = 239
  The "return" expression type differs from the function return type.

        return ret;
               ^

cc-1196 cc: WARNING File = unvis.c, Line = 92
  The indicated function is declared implicitly.

        return __nbcompat_unvis13(cp, (int)c, astate, flag);
               ^

cc-1196 cc: WARNING File = lchflags.c, Line = 56
  The indicated function is declared implicitly.

        return (chflags(path, flags));
                ^

cc-1047 cc: WARNING File = libarchive/archive_read_support_format_ar.c, Line = 
75
  Macro "isdigit" (declared at line 113 of "/usr/include/internal/ctype_core.h")
          has an incompatible redefinition.

  #define isdigit(x)    (x) >= '0' && (x) <= '9'
          ^

cc-1196 cc: WARNING File = libarchive/archive_read_support_format_iso9660.c, 
Line = 1074
  The indicated function is declared implicitly.

        setenv("TZ", "UTC 0", 1);
        ^

cc-1196 cc: WARNING File = libarchive/archive_read_support_format_iso9660.c, 
Line = 1083
  The indicated function is declared implicitly.

            unsetenv("TZ");
            ^

cc-1196 cc: WARNING File = libarchive/archive_write_disk.c, Line = 1008
  The indicated function is declared implicitly.

                        lutimes(p->name, times);
                        ^

cc-1196 cc: WARNING File = libarchive/archive_write_disk.c, Line = 1547
  The indicated function is declared implicitly.

        if (lutimes(a->name, times) != 0)
            ^

cc-1196 cc: WARNING File = libarchive/archive_write_disk.c, Line = 1678
  The indicated function is declared implicitly.

                if (lchmod(a->name, mode) != 0) {
                    ^

cc-1196 cc: WARNING File = libarchive/filter_fork.c, Line = 75
  The indicated function is declared implicitly.

        switch ((child = vfork())) {
                         ^


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index