NetBSD Problem Report #52730

From www@NetBSD.org  Fri Nov 17 06:50:17 2017
Return-Path: <www@NetBSD.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 985C87A19F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 Nov 2017 06:50:17 +0000 (UTC)
Message-Id: <20171117065016.B43D07A1DC@mollari.NetBSD.org>
Date: Fri, 17 Nov 2017 06:50:16 +0000 (UTC)
From: esp@iki.fi
Reply-To: esp@iki.fi
To: gnats-bugs@NetBSD.org
Subject: devel/gtexinfo build fails on Netbsd
X-Send-Pr-Version: www-1.0

>Number:         52730
>Category:       pkg
>Synopsis:       devel/gtexinfo build fails on Netbsd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 17 06:55:00 +0000 2017
>Closed-Date:    
>Last-Modified:  Mon Sep 17 13:40:00 +0000 2018
>Originator:     Erno Palonheimo
>Release:        2017Q3 as of 2017-11-17
>Organization:
>Environment:
NetBSD rpi 8.99.6 NetBSD 8.99.6 (RASPI2) #0: Thu Nov 16 20:58:16 EET 2017  root@rpi:/usr/src/sys/arch/evbarm/compile/RASPI2 evbarm

>Description:
# make install
=> 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'.
=> Creating binary package /usr/pkgsrc/devel/gtexinfo/work.earmv6hf/.packages/gtexinfo-6.3nb1.tgz
pkg_create: can't stat `/usr/pkgsrc/devel/gtexinfo/work.earmv6hf/.destdir/usr/pkg/lib/texinfo/XSParagraph.la'
pkg_create: can't stat `/usr/pkgsrc/devel/gtexinfo/work.earmv6hf/.destdir/usr/pkg/share/texinfo/Texinfo/Convert/XSParagraph/TestXS.pm'
pkg_create: lstat failed for file lib/texinfo/XSParagraph.la: No such file or directory
mv: rename /usr/pkgsrc/devel/gtexinfo/work.earmv6hf/.packages/gtexinfo-6.3nb1.tmp.tgz to /usr/pkgsrc/devel/gtexinfo/work.earmv6hf/.packages/gtexinfo-6.3nb1.tgz: No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/gtexinfo
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gtexinfo

>How-To-Repeat:
cd /usr/pkgsrc/devel/gtexinfo; make install
>Fix:

>Release-Note:

>Audit-Trail:
From: Erno Palonheimo <esp@iki.fi>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52730: devel/gtexinfo build fails on Netbsd
Date: Fri, 17 Nov 2017 09:49:13 +0200

 More information about this:

 texinfo-6.3/tp/Texinfo/Convert/XSParagraph/config.sub breaks because
 the Raspberry Pi gets reported as a armv6--netbsdelf-eabihf
 target. What I did was just remove the part of config.sub where it
 errors out in case the machine part of the target matches *-*-*. Now
 the build succeeds.

From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	esp@iki.fi
Subject: Re: pkg/52730: devel/gtexinfo build fails on Netbsd
Date: Sat, 18 Nov 2017 20:17:29 +0100

 On Fri, Nov 17, 2017 at 09:05:00AM +0000, Erno Palonheimo wrote:
 > The following reply was made to PR pkg/52730; it has been noted by GNATS.
 > 
 > From: Erno Palonheimo <esp@iki.fi>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/52730: devel/gtexinfo build fails on Netbsd
 > Date: Fri, 17 Nov 2017 09:49:13 +0200
 > 
 >  More information about this:
 >  
 >  texinfo-6.3/tp/Texinfo/Convert/XSParagraph/config.sub breaks because
 >  the Raspberry Pi gets reported as a armv6--netbsdelf-eabihf
 >  target. What I did was just remove the part of config.sub where it
 >  errors out in case the machine part of the target matches *-*-*. Now
 >  the build succeeds.

 Please try adding OVERRIDE_DIRDEPTH=4.

 Joerg

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 17 Sep 2018 13:39:32 +0000
State-Changed-Why:
Is this fixed in the latest cvs? it implements the change, so a newer config.sub is used.
(We will close the bug after a few months of no response, and feel free to say if you can't be bothered to test, it's likely fixed!)


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52730 CVS commit: pkgsrc/devel/gtexinfo
Date: Mon, 17 Sep 2018 13:37:26 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Mon Sep 17 13:37:26 UTC 2018

 Modified Files:
 	pkgsrc/devel/gtexinfo: Makefile

 Log Message:
 gtexinfo: override config.sub several directories in.

 Likely fixes PR pkg/52730, suggested by joerg.


 To generate a diff of this commit:
 cvs rdiff -u -r1.100 -r1.101 pkgsrc/devel/gtexinfo/Makefile

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