NetBSD Problem Report #47242

From www@NetBSD.org  Sat Nov 24 07:00:44 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id AB84763E720
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 24 Nov 2012 07:00:44 +0000 (UTC)
Message-Id: <20121124070043.920B963E720@www.NetBSD.org>
Date: Sat, 24 Nov 2012 07:00:43 +0000 (UTC)
From: richard.palo@baou.fr
Reply-To: richard.palo@baou.fr
To: gnats-bugs@NetBSD.org
Subject: pkgtools/pkg_install fails to build with option "openssl"
X-Send-Pr-Version: www-1.0

>Number:         47242
>Category:       pkg
>Synopsis:       pkgtools/pkg_install fails to build with option "openssl"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 24 07:05:00 +0000 2012
>Last-Modified:  Fri Feb 14 18:20:01 +0000 2014
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
pkg_install fails with the following when option "openssl" is activated
(notice 3x message for openssl, and an ultimate fail in buildlink):


===> Installing dependencies for pkg_install-20120221
==========================================================================
The supported build options for pkg_install are:

	inet6 openssl

The currently selected options are:

	inet6 openssl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.libfetch (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
pkg_install-20120221.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * SSLKEYS = /etc/opt/pkg/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/opt/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency gcc47>=4.7.2: found gcc47-4.7.2nb5
=> Full dependency openssl>=0.9.8knb1: found openssl-0.9.8xnb1
bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
===> Overriding tools for pkg_install-20120221
===> Extracting for pkg_install-20120221
===> Patching for pkg_install-20120221
===> Creating toolchain wrappers for pkg_install-20120221
ERROR: openssl>=0.9.6m is not installed; can't buildlink files.
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/pkgtools/pkg_install
bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/pkgtools/pkg_install
>How-To-Repeat:
see above
>Fix:
workaround was to build with the option "openssl" disabled:
$ bmake PKG_OPTIONS.libfetch=-openssl

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47242: pkgtools/pkg_install fails to build with option
 "openssl"
Date: Sun, 9 Dec 2012 19:32:13 +0000

 On Sat, Nov 24, 2012 at 07:05:01AM +0000, richard.palo@baou.fr wrote:
  > => Build dependency gcc47>=4.7.2: found gcc47-4.7.2nb5
  > => Full dependency openssl>=0.9.8knb1: found openssl-0.9.8xnb1
  > bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
  > bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
  > bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
  > ===> Overriding tools for pkg_install-20120221

 Those error messages are probably the real problem, but it's not clear
 to me what's going on.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Richard PALO <Richard.PALO@baou.fr>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47242: pkgtools/pkg_install fails to build with option "openssl"
Date: Sat, 02 Feb 2013 08:02:11 +0100

 This is a multi-part message in MIME format.
 --------------060207010202020303040000
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 8bit

 Le 09/12/12 20:35, David Holland a écrit :
 > The following reply was made to PR pkg/47242; it has been noted by GNATS.
 >
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: pkg/47242: pkgtools/pkg_install fails to build with option
 >   "openssl"
 > Date: Sun, 9 Dec 2012 19:32:13 +0000
 >
 >   On Sat, Nov 24, 2012 at 07:05:01AM +0000, richard.palo@baou.fr wrote:
 >    > => Build dependency gcc47>=4.7.2: found gcc47-4.7.2nb5
 >    > => Full dependency openssl>=0.9.8knb1: found openssl-0.9.8xnb1
 >    > bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
 >    > bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
 >    > bash: /tmp/pkgsrc/pkgtools/pkg_install/work/pkg_install-20120221/info/pkg_info: No such file or directory
 >    > ===> Overriding tools for pkg_install-20120221
 >
 >   Those error messages are probably the real problem, but it's not clear
 >   to me what's going on.
 >
 >   --
 >   David A. Holland
 >   dholland@netbsd.org
 >
 >
 >
 You are right.  It believe it is a sort of chicken/egg problem, pkg_info 
 is already installed (pkg_install-20120221), so it is not built again, 
 but if it's not built, looking in WRKSRC for pkg_info will necessarily 
 fail.  It appears perhaps some broke shell script logic...

 I attach a PKG_DEBUG_LEVEL=1 log

 -- 
 Richard PALO
 TNT PACA, dénomination commerciale de la société BAOU
 SAS au capital de 50.000 € - RCS TOULON 441 322 385 - APE 4322B
 117, av Marcel Berre - ZI Camp Laurent - 83500 LA SEYNE SUR MER
 tél:04.94.94.39.94 fax:04.94.87.86.67 mailto:Richard.PALO@baou.fr
 » Avant d'imprimer, pensez aux conséquences environnementales «

 --------------060207010202020303040000
 Content-Type: application/x-gzip;
  name="pkg_install.log.gz"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="pkg_install.log.gz"

 H4sICB25DFEAA3BrZ19pbnN0YWxsLmxvZwDtXX1/2riy/jv9FCrb36ZNDpC03XY3OXSXENJy
 S0kOpC+7ZQ/rGAO+MTbXNkm62373O3qxMZi0tixTtVbPnvBiaZ7RaPRImpGNZ/iobBxW555b
 vTDtqmFfofrbl7WqM/Ors8sx+dLWri/R2cvng/rxq1Zncc3DF+HNQBtOTbuPyi/7qHqluWGB
 4QV+Qbhur9s4bnVr1YkzNaquqU80d1j1XB0XgBd09vZ40Hh1XCOAs+sh6jWPV7S48IwhQuT9
 heZN0G2yqtNL/G7kuFONVrdMzy8PjZlhDw1bNw0PoVLkfx/RFvxD1xPTMpBraEPkf5gZaKb5
 vuHaaGi6h2jobJFCvuH5qHQPFyihGipdOI7v+a42AzEfke7YvmnPjUMoCcC1v+K2Mu2RA5Za
 a6hyE0QzWCLPd+fGX1iYrnkGIqjItFEI+gCdw1e1o+Dz4SG6mJvWMPgev4fvRnPLYl+dwFv4
 xvA0/RBRsQB5OS6B3C36D5VKD7aC94Y+cVCp9gzsdA8LQKEZP6BA1QPUOT1HI2duD0uHYCLN
 HRt+babpl9rYKJu252sAuirujeGaow+mPYZ2kRogwUX3wNol3OL3qDwETPwR/Yltk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h
 jXQALIo+bdNGsDBell4nVioHTVrl6ZGZG7f+P698ALtR3gIA
 --------------060207010202020303040000
 Content-Type: text/x-vcard; charset=utf-8;
  name="Richard_PALO.vcf"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="Richard_PALO.vcf"

 YmVnaW46dmNhcmQNCmZuOlJpY2hhcmQgUEFMTw0KbjpQQUxPO1JpY2hhcmQNCm9yZzpTQVMg
 QkFPVTtUTlQgUEFDQQ0KYWRyOlpJIENhbXAgTGF1cmVudDs7MTE3LCBhdiBNYXJjZWwgQmVy
 cmU7TEEgU0VZTkUgU1VSIE1FUjtWQVI7ODM1MDA7RlJBTkNFDQplbWFpbDtpbnRlcm5ldDpy
 aWNoYXJkLnBhbG9AYmFvdS5mcg0KdGVsO3dvcms6KzMzIDQgOTQgOTQgMzkgOTQNCnRlbDtm
 YXg6KzMzIDQgOTQgODcgODYgNjcNCngtbW96aWxsYS1odG1sOkZBTFNFDQp2ZXJzaW9uOjIu
 MQ0KZW5kOnZjYXJkDQoNCg==
 --------------060207010202020303040000--

From: Richard PALO <richard.palo@free.fr>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47242: pkgtools/pkg_install fails to build with option "openssl"
Date: Fri, 14 Feb 2014 19:15:08 +0100

 The recent revbump of pkg_install provoked this problem again.

 The following patch seems to get over the problem for me, namely
 avoiding redefinition of PKG_INFO_CMD if it exists already, which should 
 only happen in non-bootstrap builds.

 richard@devzone:~/src/pkgsrc/pkgtools/pkg_install$ cvs diff
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/Makefile,v
 retrieving revision 1.200
 diff -u -r1.200 Makefile
 --- Makefile    12 Feb 2014 23:18:28 -0000      1.200
 +++ Makefile    14 Feb 2014 18:14:31 -0000
 @@ -59,7 +59,13 @@
   PKG_ADD_CMD=           ${WRKSRC}/add/pkg_add
   PKG_CREATE_CMD=                ${WRKSRC}/create/pkg_create
   PKG_DELETE_CMD=                ${WRKSRC}/delete/pkg_delete
 +#
 +#  Special case for dependency checking in 'non-bootstrap' builds:
 +#  don't redefine 'pkg_info' if it already exists.
 +#
 +.  if defined(PKG_INFO_CMD) && !exists(${PKG_INFO_CMD})
   PKG_INFO_CMD=          ${WRKSRC}/info/pkg_info
 +.  endif
   .endif

   CPPFLAGS+=             -D_LARGEFILE_SOURCE -D_LARGE_FILES

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.