NetBSD Problem Report #56992

From mlelstv@serpens.de  Sat Sep  3 06:05:44 2022
Return-Path: <mlelstv@serpens.de>
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0AAF91A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  3 Sep 2022 06:05:43 +0000 (UTC)
Message-Id: <20220903060535.2843A7332A@serpens.de>
Date: Sat,  3 Sep 2022 08:05:34 +0200 (MEST)
From: mlelstv@netbsd.org
Reply-To: mlelstv@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: openjdk8 and openjdk11 fail to build
X-Send-Pr-Version: 3.95

>Number:         56992
>Category:       pkg
>Synopsis:       openjdk8 and openjdk11 fail to build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 03 06:10:00 +0000 2022
>Last-Modified:  Sun Sep 04 05:55:02 +0000 2022
>Originator:     mlelstv@netbsd.org
>Release:        NetBSD 9.99.99
>Organization:

>Environment:


System: NetBSD slowpoke 9.99.99 NetBSD 9.99.99 (SLOWPOKE) #9: Sun Aug 14 15:44:52 UTC 2022 mlelstv@slowpoke:/scratch2/obj.amd64/scratch/netbsd-current/src/sys/arch/amd64/compile/SLOWPOKE amd64
Architecture: x86_64
Machine: amd64
>Description:

Since the last pull to pkgsrc-2022Q2 the openjdk8 and openjdk11
packages fail to build with messages:

ERROR: /pbulk/work/lang/openjdk8/work/jdk8u-jdk8u342-b07.1/build/bsd-x86_64-normal-server-release/spec.gmk is not up to date.
Please rerun configure! Easiest way to do this is by running
'make reconfigure'.

Error: The configuration is not up to date for 'bsd-x86_64-normal-server-release'.
Please rerun configure! Easiest way to do this is by running
'make reconfigure'.


Reason seems to be that we override configure files with

CONFIG_SUB_OVERRIDE
CONFIG_GUESS_OVERRIDE

after Makefiles have been generated and the Makefile checks that
it is not older than the autoconf input.


It's unclear why this didn't happen before.

>How-To-Repeat:
Try to build openjdk8 or openjdk11 from pkgsrc-2022Q2.
>Fix:


>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56992: openjdk8 and openjdk11 fail to build
Date: Sun, 4 Sep 2022 05:51:36 +0000

 On Sat, Sep 03, 2022 at 06:10:00AM +0000, mlelstv@netbsd.org wrote:
  > Reason seems to be that we override configure files with
  > 
  > CONFIG_SUB_OVERRIDE
  > CONFIG_GUESS_OVERRIDE
  > 
  > after Makefiles have been generated and the Makefile checks that
  > it is not older than the autoconf input.

 Maybe try setting their times back with touch -r?

  > It's unclear why this didn't happen before.

 ...unless it's happening for some other reason like clock skew I guess.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.