NetBSD Problem Report #42476

From www@NetBSD.org  Sat Dec 19 03:08:14 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 689D663C4EC
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 Dec 2009 03:08:14 +0000 (UTC)
Message-Id: <20091219030814.19C5163C4EB@www.NetBSD.org>
Date: Sat, 19 Dec 2009 03:08:14 +0000 (UTC)
From: rumi@rtfm.hu
Reply-To: rumi@rtfm.hu
To: gnats-bugs@NetBSD.org
Subject: Tru64: lang/gawk-3.1.7 does not compile
X-Send-Pr-Version: www-1.0

>Number:         42476
>Category:       pkg
>Synopsis:       Tru64: lang/gawk-3.1.7 does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tnn
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 19 03:10:00 +0000 2009
>Closed-Date:    Sun Dec 20 23:06:32 +0000 2009
>Last-Modified:  Sun Dec 20 23:06:32 +0000 2009
>Originator:     Szabolcs Rumi
>Release:        Tru64 5.1B-5
>Organization:
>Environment:
# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Thu Dec 17 18:47:21 CET 2009
# cc -V
Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-302 (dtk) cc Driver
# cxx -V
Compaq C++ V7.1-006 for HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V7.1-006 (cxx) cxx Driver
# cat /usr/pkgsrc/CVS/Tag
Tpkgsrc-2009Q3

>Description:
--- io.o ---
cc: Error: io.c, line 1203: In this declaration, "lhints" has no linkage and is of an incomplete type. (incompnolink)
        struct addrinfo lhints;
------------------------^
cc: Error: io.c, line 1205: In this declaration, "rhints" has no linkage and is of an incomplete type. (incompnolink)
        struct addrinfo rhints;
------------------------^
cc: Error: io.c, line 1214: In this statement, "AI_PASSIVE" is not declared. (undeclared)
        lhints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
--------------------------^
cc: Warning: io.c, line 1242: In this statement, "rres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                        socket_fd = socket (rres->ai_family,
--------------------------------------------^
cc: Error: io.c, line 1242: In this statement, "ai_family" is not a member of "rres". (needmember)
                        socket_fd = socket (rres->ai_family,
--------------------------------------------^
cc: Warning: io.c, line 1243: In this statement, "rres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                                rres->ai_socktype, rres->ai_protocol);
--------------------------------^
cc: Error: io.c, line 1243: In this statement, "ai_socktype" is not a member of "rres". (needmember)
                                rres->ai_socktype, rres->ai_protocol);
--------------------------------^
cc: Warning: io.c, line 1243: In this statement, "rres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                                rres->ai_socktype, rres->ai_protocol);
---------------------------------------------------^
cc: Error: io.c, line 1243: In this statement, "ai_protocol" is not a member of "rres". (needmember)
                                rres->ai_socktype, rres->ai_protocol);
---------------------------------------------------^
cc: Warning: io.c, line 1262: In this statement, "lres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                        if (bind(socket_fd, lres->ai_addr, lres->ai_addrlen) != 0)
--------------------------------------------^
cc: Error: io.c, line 1262: In this statement, "ai_addr" is not a member of "lres". (needmember)
                        if (bind(socket_fd, lres->ai_addr, lres->ai_addrlen) != 0)
--------------------------------------------^
cc: Warning: io.c, line 1262: In this statement, "lres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                        if (bind(socket_fd, lres->ai_addr, lres->ai_addrlen) != 0)
-----------------------------------------------------------^
cc: Error: io.c, line 1262: In this statement, "ai_addrlen" is not a member of "lres". (needmember)
                        if (bind(socket_fd, lres->ai_addr, lres->ai_addrlen) != 0)
-----------------------------------------------------------^
cc: Warning: io.c, line 1267: In this statement, "rres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                                        if (connect(socket_fd, rres->ai_addr,
---------------------------------------------------------------^
cc: Error: io.c, line 1267: In this statement, "ai_addr" is not a member of "rres". (needmember)
                                        if (connect(socket_fd, rres->ai_addr,
---------------------------------------------------------------^
cc: Warning: io.c, line 1268: In this statement, "rres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                                                rres->ai_addrlen) == 0)
------------------------------------------------^
cc: Error: io.c, line 1268: In this statement, "ai_addrlen" is not a member of "rres". (needmember)
                                                rres->ai_addrlen) == 0)
------------------------------------------------^
cc: Error: io.c, line 1281: In this declaration, "remote_addr" has no linkage and is of an incomplete type. (incompnolink)
                                        struct sockaddr_storage remote_addr;
----------------------------------------------------------------^
cc: Error: io.c, line 1295: In this declaration, "remote_addr" has no linkage and is of an incomplete type. (incompnolink)
                                        struct sockaddr_storage remote_addr;
----------------------------------------------------------------^
cc: Warning: io.c, line 1319: In this statement, "rres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                        rres = rres->ai_next;
-------------------------------^
cc: Error: io.c, line 1319: In this statement, "ai_next" is not a member of "rres". (needmember)
                        rres = rres->ai_next;
-------------------------------^
cc: Warning: io.c, line 1324: In this statement, "lres" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef)
                lres = lres->ai_next;
-----------------------^
cc: Error: io.c, line 1324: In this statement, "ai_next" is not a member of "lres". (needmember)
                lres = lres->ai_next;
-----------------------^
*** [io.o] Error code 1
1 error

bmake: stopped in /usr/pkgsrc/lang/gawk/work/gawk-3.1.7

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Sat, 19 Dec 2009 10:20:54 +0000
Responsible-Changed-Why:
Assign to local Tru64 expert.


From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42476 CVS commit: pkgsrc/lang/gawk
Date: Sun, 20 Dec 2009 23:03:15 +0000

 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Sun Dec 20 23:03:15 UTC 2009

 Modified Files:
 	pkgsrc/lang/gawk: Makefile

 Log Message:
 Compile with -D_OSF_SOURCE on Tru64. Closes PR pkg/42476.


 To generate a diff of this commit:
 cvs rdiff -u -r1.42 -r1.43 pkgsrc/lang/gawk/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Sun, 20 Dec 2009 23:06:32 +0000
State-Changed-Why:
fixed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.