NetBSD Problem Report #49957

From www@NetBSD.org  Tue Jun  9 15:10:19 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1B8CEA65B7
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  9 Jun 2015 15:10:19 +0000 (UTC)
Message-Id: <20150609151017.C1A6DA65BC@mollari.NetBSD.org>
Date: Tue,  9 Jun 2015 15:10:17 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: textproc/groff and GNU prefix
X-Send-Pr-Version: www-1.0

>Number:         49957
>Category:       pkg
>Synopsis:       textproc/groff and GNU prefix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 09 15:15:00 +0000 2015
>Last-Modified:  Fri Dec 17 17:18:31 +0000 2021
>Originator:     Joern Clausen
>Release:        current
>Organization:
University of Bielefeld
>Environment:
Solaris 11.2/i86, GCC 4.8.2 (via Oracle IPS)
>Description:
I'd like to install textproc/groff on Solaris 11.2, because pkgtools/pkgdepgraph needs the "an" macros.

After removing the CFLAGS.SunOS line from Makefile (see pkg/46273), the package compiles.

Packaging/installation fails with

=> Creating binary package /opt/pkgsrc/pkg-hrz/pkgsrc/textproc/groff/work.pkgsrc-sol11i86/.packages/groff-1.22.3.tgz
pkg_create: can't stat `/opt/pkgsrc/pkg-hrz/pkgsrc/textproc/groff/work.pkgsrc-sol11i86/.destdir/opt/pkg-hrz/20150608/bin/chem'
pkg_create: can't stat `/opt/pkgsrc/pkg-hrz/pkgsrc/textproc/groff/work.pkgsrc-sol11i86/.destdir/opt/pkg-hrz/20150608/bin/eqn'
...

Instead of the requested binary "chem", the given directory contains "gchem". While the build process actually created "chem", packaging renamed it:

/opt/pkg-hrz/20150608/bin/bsdinstall -c -o pkgsrc -g software -m 755 chem /opt/pkgsrc/pkg-hrz/pkgsrc/textproc/groff/work.pkgsrc-sol11i86/.destdir/opt/pkg-hrz/20150608/bin/gchem;
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Fri, 17 Dec 2021 17:18:31 +0000
Responsible-Changed-Why:
Solaris problem.


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