NetBSD Problem Report #53282

From root@csel.org  Sat May 12 16:39:50 2018
Return-Path: <root@csel.org>
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 A6AE57A177
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 May 2018 16:39:50 +0000 (UTC)
Message-Id: <20180512163913.D9F897B0BA@devel.csel.org>
Date: Sun, 13 May 2018 01:39:13 +0900 (JST)
From: clare@csel.org
Reply-To: clare@csel.org
To: gnats-bugs@NetBSD.org
Subject: devel/cmake build failure
X-Send-Pr-Version: 3.95

>Number:         53282
>Category:       pkg
>Synopsis:       devel/cmake build failure
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 12 16:40:00 +0000 2018
>Closed-Date:    Thu Jan 02 13:13:06 +0000 2020
>Last-Modified:  Thu Jan 02 13:13:06 +0000 2020
>Originator:     Shinichi Doyashiki
>Release:        NetBSD 8.0_RC1
>Organization:
	at home
>Environment:
System: NetBSD devel.csel.org 8.0_RC1 NetBSD 8.0_RC1 (APU1C_8) #0: Mon Apr 30 22:32:39 JST 2018 clare@mizuki.csel.org:/export/stage/plain/src-8/sys/arch/amd64/compile/APU1C_8 amd64
Architecture: x86_64
Machine: amd64
>Description:
	devel/cmake build failure in recent pkgsrc

# make update
===> Resuming update for cmake-3.11.1nb1
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Configuring for cmake-3.11.1nb1
/bin/rm -f /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/*.orig /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Compiler/*.orig /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/*.orig
/bin/ln -f /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/OpenBSD.cmake /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/MirBSD.cmake
/bin/ln -f /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/SunOS-GNU-C.cmake  /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/SunOS-Clang-C.cmake
/bin/ln -f /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/SunOS-GNU-CXX.cmake  /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/SunOS-Clang-CXX.cmake
/bin/ln -f /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/SunOS-GNU-Fortran.cmake  /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Modules/Platform/SunOS-Clang-Fortran.cmake
---------------------------------------------
CMake 3.11.1, Copyright 2000-2018 Kitware, Inc. and Contributors
C compiler on this system is: gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5
C++ compiler on this system is: c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5
Makefile processor on this system is: make
c++ has setenv
c++ has unsetenv
c++ does not have environ in stdlib.h
c++ has stl wstring
c++ has <ext/stdio_filebuf.h>
---------------------------------------------
make: Warning: File 'Makefile' has modification time 31 s in the future
make: 'cmake' is up to date.
make: warning:  Clock skew detected.  Your build may be incomplete.
loading initial cache file /export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at CMakeLists.txt:92 (message):
  The C++ compiler does not support C++11 (e.g.  std::unique_ptr).


-- Configuring incomplete, errors occurred!
See also "/export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/CMakeFiles/CMakeOutput.log".
See also "/export/stage/plain/pkgsrc/devel/cmake/work.x86_64/cmake-3.11.1/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
*** Error code 11

Stop.
make[2]: stopped in /export/stage/plain/pkgsrc/devel/cmake
*** Error code 1

Stop.
make[1]: stopped in /export/stage/plain/pkgsrc/devel/cmake
*** Error code 1

Stop.
make: stopped in /export/stage/plain/pkgsrc/devel/cmake

>How-To-Repeat:
	# cd ${PKGSRCDIR}/devel/cmake && make update
>Fix:
	unknown

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Wed, 01 Jan 2020 18:30:53 +0000
State-Changed-Why:
Could you please verify that this issue still occurs?
I believe that it is a local problem, because (1) I have built cmake without
issues both on -8 and -9 and (2) this looks highly suspicious:

> make: Warning: File 'Makefile' has modification time 31 s in the future



From: clare@csel.org
To: gnats-bugs@netbsd.org
Cc: bsiegert@NetBSD.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
 gnats-admin@netbsd.org
Subject: Re: pkg/53282 (devel/cmake build failure)
Date: Thu, 2 Jan 2020 22:02:36 +0900

 On Wed,  1 Jan 2020 18:30:53 +0000 (UTC)
 bsiegert@NetBSD.org wrote:

 > Could you please verify that this issue still occurs?
 > I believe that it is a local problem, because (1) I have built cmake without
 > issues both on -8 and -9 and (2) this looks highly suspicious:
 > 
 > > make: Warning: File 'Makefile' has modification time 31 s in the future

 I built it on the local filesystem, and succeed.
 The cause is a local problem.

 Thank you.

State-Changed-From-To: feedback->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Thu, 02 Jan 2020 13:13:06 +0000
State-Changed-Why:
Local problem.

Thanks Shinichi and Benny for PR/feedbacks/checking it!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 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.