NetBSD Problem Report #60152

From www@netbsd.org  Tue Mar 31 22:26:49 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 90C031A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 31 Mar 2026 22:26:49 +0000 (UTC)
Message-Id: <20260331222648.7727A1A923E@mollari.NetBSD.org>
Date: Tue, 31 Mar 2026 22:26:48 +0000 (UTC)
From: rwhitlock22@gmail.com
Reply-To: rwhitlock22@gmail.com
To: gnats-bugs@NetBSD.org
Subject: graphics/xplot: configure from autoconf 2.13 uses implicit int
X-Send-Pr-Version: www-1.0
X-From4GNATS: "rwhitlock22@gmail.com via gnats" <gnats-admin@NetBSD.org>

>Number:         60152
>Category:       pkg
>Synopsis:       graphics/xplot: configure from autoconf 2.13 uses implicit int
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 31 22:30:00 +0000 2026
>Closed-Date:    Wed Apr 01 08:16:33 +0000 2026
>Last-Modified:  Wed Apr 01 21:25:01 +0000 2026
>Originator:     Robert Whitlock
>Release:        pkgsrc-2026Q1
>Organization:
>Environment:
NetBSD 11.99.5 amd64
>Description:
graphics/xplot is failing to build because its configure script uses implicit int in its test file for checking the C compiler. There are some other packages with the same problem, and so far it appears they all used autoconf 2.13. Presumably, my pkgsrc uses a newer GCC that has considered implicit int an error. I have not instructed pkgsrc to use a non-default compiler, however the bulk builds do not appear to be failing for some reason.
>How-To-Repeat:
cd graphics/xplot
make install
>Fix:
pkgsrc/graphics/xplot/patches/patch-configure:

$NetBSD$

--- configure.orig      2026-03-31 22:09:14.527655477 +0000
+++ configure
@@ -655,7 +655,7 @@ cat > conftest.$ac_ext << EOF
 #line 656 "configure"
 #include "confdefs.h"

-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes

>Release-Note:

>Audit-Trail:
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60152 CVS commit: pkgsrc/graphics/xplot
Date: Wed, 1 Apr 2026 06:46:56 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Wed Apr  1 06:46:56 UTC 2026

 Modified Files:
 	pkgsrc/graphics/xplot: distinfo
 	pkgsrc/graphics/xplot/patches: patch-ab
 Added Files:
 	pkgsrc/graphics/xplot/patches: patch-configure

 Log Message:
 xplot: fix build with gcc 14

 From Robert Whitlock in PR 60152


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 pkgsrc/graphics/xplot/distinfo
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/xplot/patches/patch-ab
 cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/xplot/patches/patch-configure

 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: wiz@NetBSD.org
State-Changed-When: Wed, 01 Apr 2026 08:16:33 +0000
State-Changed-Why:
Fixed, thanks!


From: Rob Whitlock <rwhitlock22@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
 pkgsrc-bugs@netbsd.org,
 gnats-admin@netbsd.org,
 "wiz@netbsd.org" <wiz@NetBSD.org>
Subject: Re: pkg/60152 (graphics/xplot: configure from autoconf 2.13 uses
 implicit int)
Date: Wed, 1 Apr 2026 15:46:24 -0400

 > On Apr 1, 2026, at 4:16 AM, wiz@netbsd.org <wiz@NetBSD.org> wrote:
 > 
 > Synopsis: graphics/xplot: configure from autoconf 2.13 uses implicit int
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: wiz@NetBSD.org
 > State-Changed-When: Wed, 01 Apr 2026 08:16:33 +0000
 > State-Changed-Why:
 > Fixed, thanks!

 Can this get pullups to 2026Q1?

 Thanks!

From: Thomas Klausner <wiz@netbsd.org>
To: NetBSD bugtracking <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: pkg/60152 (graphics/xplot: configure from autoconf 2.13 uses
 implicit int)
Date: Wed, 1 Apr 2026 21:53:51 +0200

 On Wed, Apr 01, 2026 at 07:50:02PM +0100, Rob Whitlock via gnats wrote:
 >  Can this get pullups to 2026Q1?

 I've just done that.
  Thomas

From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60152 CVS commit: [pkgsrc-2026Q1] pkgsrc/graphics/xplot
Date: Wed, 1 Apr 2026 21:20:54 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Wed Apr  1 21:20:54 UTC 2026

 Modified Files:
 	pkgsrc/graphics/xplot [pkgsrc-2026Q1]: distinfo
 	pkgsrc/graphics/xplot/patches [pkgsrc-2026Q1]: patch-ab
 Added Files:
 	pkgsrc/graphics/xplot/patches [pkgsrc-2026Q1]: patch-configure

 Log Message:
 Pullup ticket #7067 - requested by wiz
 graphics/xplot: Build fix

 Revisions pulled up:
 - graphics/xplot/distinfo                                       1.15
 - graphics/xplot/patches/patch-ab                               1.8
 - graphics/xplot/patches/patch-configure                        1.1

 ---
    Module Name:	pkgsrc
    Committed By:	wiz
    Date:		Wed Apr  1 06:46:56 UTC 2026

    Modified Files:
    	pkgsrc/graphics/xplot: distinfo
    	pkgsrc/graphics/xplot/patches: patch-ab
    Added Files:
    	pkgsrc/graphics/xplot/patches: patch-configure

    Log Message:
    xplot: fix build with gcc 14

    From Robert Whitlock in PR 60152


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.14.2.1 pkgsrc/graphics/xplot/distinfo
 cvs rdiff -u -r1.7 -r1.7.160.1 pkgsrc/graphics/xplot/patches/patch-ab
 cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/graphics/xplot/patches/patch-configure

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

>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.