NetBSD Problem Report #38239

From martin@duskware.de  Fri Mar 14 15:36:35 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id DE51C63B842
	for <gnats-bugs@gnats.netbsd.org>; Fri, 14 Mar 2008 15:36:34 +0000 (UTC)
Message-Id: <20080314153450.726BE63B88C@narn.NetBSD.org>
Date: Fri, 14 Mar 2008 15:34:50 +0000 (UTC)
From: srcshelton@gmail.com
Reply-To: srcshelton@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: Warnings when building nbcompat
X-Send-Pr-Version: www-1.0

>Number:         38239
>Category:       pkg
>Synopsis:       Warnings when building nbcompat
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    irix-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 14 15:40:00 +0000 2008
>Last-Modified:  Sat Mar 15 00:05:01 +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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Sat, 15 Mar 2008 00:05:01 +0000
Responsible-Changed-Why:
IRIX problem.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.