NetBSD Problem Report #53415

From martin@duskware.de  Sat Jun 30 07:28:52 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1E9317A110
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Jun 2018 07:28:52 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: netbsd-7* builds fail on xfree using ports
X-Send-Pr-Version: 3.95

>Number:         53415
>Category:       toolchain
>Synopsis:       netbsd-7* builds fail on xfree using ports
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 30 07:30:00 +0000 2018
>Closed-Date:    Sat Jul 21 18:31:49 +0000 2018
>Last-Modified:  Sat Jul 21 18:31:49 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.21 NetBSD 8.99.21 (NIGHT-OWL) #602: Tue Jun 26 11:33:55 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to "build.sh -m alpha release" (or similar for any xfree using port)
of any netbsd-7* branch on 8.0 or -current fails:

dependall ===> x11/tools/mkfontscale
In file included from /home/source/ab/netbsd-7-1/xsrc/xfree/xc/programs/mkfontsc
ale/ident.c:31:0:
/home/source/ab/netbsd-7-1/xsrc/xfree/xc/programs/mkfontscale/ident.c: In functi
on 'getKeyword':
/home/source/ab/netbsd-7-1/xsrc/xfree/xc/programs/mkfontscale/ident.c:222:13: error: request for member 'have' in something not a structure or union
         c = gzgetc(f);
             ^
/home/source/ab/netbsd-7-1/xsrc/xfree/xc/programs/mkfontscale/ident.c:222:13: error: request for member 'have' in something not a structure or union
         c = gzgetc(f);
             ^
/home/source/ab/netbsd-7-1/xsrc/xfree/xc/programs/mkfontscale/ident.c:222:13: error: request for member 'pos' in something not a structure or union
         c = gzgetc(f);
             ^
/home/source/ab/netbsd-7-1/xsrc/xfree/xc/programs/mkfontscale/ident.c:222:13: error: request for member 'next' in something not a structure or union
         c = gzgetc(f);
             ^


There are two problems:

 - the tool build uses base zlib, which is newer than the one included
   in mkfontscale

 - the build cluster has been updated to run NetBSD 8.0 (RC2 for now),
   so this builds are now failing on our releng auto builds

>How-To-Repeat:
s/a

>Fix:
Rearrange includes/build to use the bundled zlib?
Or bring in fixes from Xorg ident.c?

>Release-Note:

>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53415 CVS commit: [netbsd-7] xsrc/xfree/xc/programs/mkfontscale
Date: Sat, 30 Jun 2018 11:33:49 +0000

 Module Name:	xsrc
 Committed By:	martin
 Date:		Sat Jun 30 11:33:49 UTC 2018

 Modified Files:
 	xsrc/xfree/xc/programs/mkfontscale [netbsd-7]: ident.c

 Log Message:
 Apply patch, requested by mrg in ticket #1618:

 	xsrc/xfree/xc/programs/mkfontscale/ident.c	(patch)

 Pass gzFile, not gzFile * to gzio functions.
 Should fix PR toolchain/53415.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.1.1.1.36.1 \
     xsrc/xfree/xc/programs/mkfontscale/ident.c

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

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53415 CVS commit: [netbsd-7-1] xsrc/xfree/xc/programs/mkfontscale
Date: Sat, 30 Jun 2018 11:35:28 +0000

 Module Name:	xsrc
 Committed By:	martin
 Date:		Sat Jun 30 11:35:28 UTC 2018

 Modified Files:
 	xsrc/xfree/xc/programs/mkfontscale [netbsd-7-1]: ident.c

 Log Message:
 Apply patch, requested by mrg in ticket #1618:

 	xsrc/xfree/xc/programs/mkfontscale/ident.c	(patch)

 Pass gzFile, not gzFile * to gzio functions.
 Should fix PR toolchain/53415.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.1.1.1.40.1 \
     xsrc/xfree/xc/programs/mkfontscale/ident.c

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

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53415 CVS commit: [netbsd-6] xsrc/xfree/xc/programs/mkfontscale
Date: Sat, 30 Jun 2018 11:41:58 +0000

 Module Name:	xsrc
 Committed By:	martin
 Date:		Sat Jun 30 11:41:58 UTC 2018

 Modified Files:
 	xsrc/xfree/xc/programs/mkfontscale [netbsd-6]: ident.c

 Log Message:
 Apply patch, requested by mrg in ticket #1550:

 	xsrc/xfree/xc/programs/mkfontscale/ident.c	(patch)

 Pass gzFile, not gzFile * to gzio functions.
 Should fix PR toolchain/53415.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.1.1.1.26.1 \
     xsrc/xfree/xc/programs/mkfontscale/ident.c

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

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53415 CVS commit: [netbsd-6-1] xsrc/xfree/xc/programs/mkfontscale
Date: Sat, 30 Jun 2018 11:43:18 +0000

 Module Name:	xsrc
 Committed By:	martin
 Date:		Sat Jun 30 11:43:18 UTC 2018

 Modified Files:
 	xsrc/xfree/xc/programs/mkfontscale [netbsd-6-1]: ident.c

 Log Message:
 Apply patch, requested by mrg in ticket #1550:

 	xsrc/xfree/xc/programs/mkfontscale/ident.c	(patch)

 Pass gzFile, not gzFile * to gzio functions.
 Should fix PR toolchain/53415.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.1.1.1.32.1 \
     xsrc/xfree/xc/programs/mkfontscale/ident.c

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

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53415 CVS commit: [netbsd-6-0] xsrc/xfree/xc/programs/mkfontscale
Date: Sat, 30 Jun 2018 11:44:32 +0000

 Module Name:	xsrc
 Committed By:	martin
 Date:		Sat Jun 30 11:44:32 UTC 2018

 Modified Files:
 	xsrc/xfree/xc/programs/mkfontscale [netbsd-6-0]: ident.c

 Log Message:
 Apply patch, requested by mrg in ticket #1550:

 	xsrc/xfree/xc/programs/mkfontscale/ident.c	(patch)

 Pass gzFile, not gzFile * to gzio functions.
 Should fix PR toolchain/53415.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.1.1.1.28.1 \
     xsrc/xfree/xc/programs/mkfontscale/ident.c

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

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53415 CVS commit: [netbsd-7-0] xsrc/xfree/xc/programs/mkfontscale
Date: Sun, 1 Jul 2018 09:30:38 +0000

 Module Name:	xsrc
 Committed By:	martin
 Date:		Sun Jul  1 09:30:38 UTC 2018

 Modified Files:
 	xsrc/xfree/xc/programs/mkfontscale [netbsd-7-0]: ident.c

 Log Message:
 Apply patch, requested by mrg in ticket #1618:

 	xsrc/xfree/xc/programs/mkfontscale/ident.c	(patch)

 Pass gzFile, not gzFile * to gzio functions.
 Should fix PR toolchain/53415.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.1.1.1.38.1 \
     xsrc/xfree/xc/programs/mkfontscale/ident.c

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

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 21 Jul 2018 18:05:56 +0000
State-Changed-Why:
Is this working now? :-)


State-Changed-From-To: feedback->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sat, 21 Jul 2018 18:31:49 +0000
State-Changed-Why:
mrg fixed it


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.