NetBSD Problem Report #53117
From john@hlin.zia.io Tue Mar 20 21:31:50 2018
Return-Path: <john@hlin.zia.io>
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 2215C7A1DF
for <gnats-bugs@gnats.NetBSD.org>; Tue, 20 Mar 2018 21:31:50 +0000 (UTC)
Message-Id: <201803202108.w2KL8uaN010136@hlin.zia.io>
Date: Tue, 20 Mar 2018 21:08:56 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: devel/cmake on Ubuntu fails
X-Send-Pr-Version: 3.95
>Number: 53117
>Category: pkg
>Synopsis: devel/cmake on Ubuntu fails
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: minskim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 20 21:35:00 +0000 2018
>Closed-Date: Thu Apr 26 20:18:40 +0000 2018
>Last-Modified: Thu Apr 26 20:18:40 +0000 2018
>Originator: John Klos
>Release: Ubuntu 16.04.4 LTS
>Organization:
>Environment:
System: Linux poopyubuntu 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64
Machine: x86_64
>Description:
[ 92%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestGIT.cxx.o
[ 92%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestHG.cxx.o
[ 93%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestP4.cxx.o
[ 93%] Linking CXX static library libCTestLib.a
[ 93%] Built target CTestLib
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/devel/cmake
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/cmake
*** 'make replace' failed for package cmake.
*** Please read the errors listed above, fix the problem,
*** then re-run pkg_rolling-replace to continue.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53117: devel/cmake on Ubuntu fails
Date: Wed, 21 Mar 2018 15:27:52 +0000
> Makefile:162: recipe for target 'all' failed
It looks like you snipped off the part with the actual error. Can you
scroll up and see whether there is a compiler error in there? Running with
MAKE_JOBS=1 will probably give you a more useful build log.
--
Benny
From: John Klos <john@ziaspace.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53117: devel/cmake on Ubuntu fails
Date: Wed, 21 Mar 2018 20:29:18 +0000 (UTC)
> It looks like you snipped off the part with the actual error. Can you
> scroll up and see whether there is a compiler error in there? Running with
> MAKE_JOBS=1 will probably give you a more useful build log.
Apologies - I'm trying to update many platforms and haven't had the time
for each that I'd have liked.
Here's the error:
[ 85%] Building CXX object Source/CMakeFiles/cmake.dir/cmakemain.cxx.o
[ 85%] Building CXX object Source/CMakeFiles/cmake.dir/cmcmd.cxx.o
[ 86%] Linking CXX executable ../bin/cmake
/usr/bin/ld: /usr/pkg/lib/librhash.a(plug_openssl.o): undefined reference
to symbol 'WHIRLPOOL_Init'
/usr/pkgsrc/devel/cmake/work/.buildlink/lib/libcrypto.so: error adding
symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Source/CMakeFiles/cmake.dir/build.make:132: recipe for target 'bin/cmake'
failed
gmake[2]: *** [bin/cmake] Error 1
CMakeFiles/Makefile2:1567: recipe for target
'Source/CMakeFiles/cmake.dir/all' failed
gmake[1]: *** [Source/CMakeFiles/cmake.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
John Klos <john@ziaspace.com>
Subject: Re: pkg/53117: devel/cmake on Ubuntu fails
Date: Thu, 22 Mar 2018 09:16:26 +0000
> [ 86%] Linking CXX executable ../bin/cmake
> /usr/bin/ld: /usr/pkg/lib/librhash.a(plug_openssl.o): undefined reference
> to symbol 'WHIRLPOOL_Init'
> /usr/pkgsrc/devel/cmake/work/.buildlink/lib/libcrypto.so: error adding
> symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
This is a shot in the dark, but can you try rebuilding misc/rhash?
--
Benny
From: John Klos <john@ziaspace.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53117: devel/cmake on Ubuntu fails
Date: Sat, 24 Mar 2018 18:58:50 +0000 (UTC)
> This is a shot in the dark, but can you try rebuilding misc/rhash?
This happens on a system that has a brand new pkgsrc and starting with
zero packages. I tried it, anyway, and still got the same results.
John
Responsible-Changed-From-To: pkg-manager->minskim
Responsible-Changed-By: minskim@NetBSD.org
Responsible-Changed-When: Thu, 26 Apr 2018 17:27:15 +0000
Responsible-Changed-Why:
I'll take this.
From: "Min Sik Kim" <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53117 CVS commit: pkgsrc/devel/cmake
Date: Thu, 26 Apr 2018 17:30:36 +0000
Module Name: pkgsrc
Committed By: minskim
Date: Thu Apr 26 17:30:36 UTC 2018
Modified Files:
pkgsrc/devel/cmake: Makefile distinfo
Added Files:
pkgsrc/devel/cmake/patches: patch-Source_CMakeLists.txt
Log Message:
devel/cmake: -lcrypto should appear later in the command
This fixes PR pkg/53117.
To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 pkgsrc/devel/cmake/Makefile
cvs rdiff -u -r1.117 -r1.118 pkgsrc/devel/cmake/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cmake/patches/patch-Source_CMakeLists.txt
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: minskim@NetBSD.org
State-Changed-When: Thu, 26 Apr 2018 17:37:26 +0000
State-Changed-Why:
patch-Source_CMakeLists.txt in devel/cmake should fix this.
From: John Klos <john@ziaspace.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/53117 CVS commit: pkgsrc/devel/cmake
Date: Thu, 26 Apr 2018 19:46:51 +0000 (UTC)
> devel/cmake: -lcrypto should appear later in the command
> This fixes PR pkg/53117.
Builds succeed here. Thanks!
John
State-Changed-From-To: feedback->closed
State-Changed-By: minskim@NetBSD.org
State-Changed-When: Thu, 26 Apr 2018 20:18:40 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(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.