NetBSD Problem Report #49313
From www@NetBSD.org Sat Oct 25 12:20:58 2014
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 8BC5DA66A4
for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Oct 2014 12:20:58 +0000 (UTC)
Message-Id: <20141025122057.4CB62A66B4@mollari.NetBSD.org>
Date: Sat, 25 Oct 2014 12:20:57 +0000 (UTC)
From: pr@i3enedek.neomailbox.net
Reply-To: pr@i3enedek.neomailbox.net
To: gnats-bugs@NetBSD.org
Subject: ham/gnuradio-companion fails duing make install
X-Send-Pr-Version: www-1.0
>Number: 49313
>Category: pkg
>Synopsis: ham/gnuradio-companion fails duing make install
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: mef
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 25 12:25:00 +0000 2014
>Closed-Date: Fri Sep 30 08:02:42 +0000 2016
>Last-Modified: Fri Sep 30 08:02:42 +0000 2016
>Originator: Ben Gergely
>Release: current
>Organization:
>Environment:
NetBSD 7.99.1
>Description:
install phase fails because of missing file in PLIST and bash not being found and is required for this shellscript ./work/gnuradio-3.7.5/build/grc/freedesktop/grc_setup_freedesktop
>How-To-Repeat:
make install in ham/gnuradio-companion
=> Generating post-install file lists
=> Checking file-check results for gnuradio-companion-3.7.5
ERROR: ************************************************************
ERROR: The following files are in /usr/pkgsrc/ham/gnuradio-companion/work/.destdir/usr/pkg but not in the PLIST:
ERROR: /usr/pkgsrc/ham/gnuradio-companion/work/.destdir/usr/pkg/libexec/gnuradio/grc_setup_freedesktop
*** Error code 1
and then
=> Checking for non-existent script interpreters in gnuradio-companion-3.7.5
WARNING: [check-interpreter.mk] The interpreter "/usr/bin/env" of "/usr/pkgsrc/ham/gnuradio-companion/work/.destdir/usr/pkg/lib/python2.7/site-packages/gnuradio/grc/python/flow_graph.tmpl" is not allowed.
ERROR: [check-interpreter.mk] The interpreter "/bin/bash" of "/usr/pkgsrc/ham/gnuradio-companion/work/.destdir/usr/pkg/libexec/gnuradio/grc_setup_freedesktop" does not exist.
*** Error code 1
>Fix:
echo "libexec/gnuradio/grc_setup_freedesktop" >> PLIST
change #!/bin/bash to something else in:
./work/gnuradio-3.7.5/build/grc/freedesktop/grc_setup_freedesktop
or add bash as a dependency I guess or just remove the file.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->mef
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 25 Oct 2014 15:26:24 +0000
Responsible-Changed-Why:
Over to updater.
From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49313 CVS commit: pkgsrc/ham
Date: Tue, 28 Oct 2014 06:41:20 +0000
Module Name: pkgsrc
Committed By: mef
Date: Tue Oct 28 06:41:20 UTC 2014
Modified Files:
pkgsrc/ham/gnuradio-companion: Makefile PLIST
pkgsrc/ham/gnuradio-core: Makefile.common Nocore.mk PLIST
pkgsrc/ham/gnuradio-core/files: REPLACE_PYTHON
Log Message:
Fix problem raised by PR pkg/49313 by Ben Gergely,
if xdg-utils are installed already, grc_setup_freedesktop is installed.
(gnuradio-companion/Makefile)
(gnuradio-companion/PLIST)
- Add DEPENDS misc/xdg-utils
- Add REPLACE_BASH for above newly installed script
- Bump PKGREVISION
Related changes, problem was hidden if PKGREVISION was empty.
(gnuradio-core/Makefile.common) -> PLIST_SUBST
(gnuradio-core/Nocore.mk) -> sed STRING
(gnuradio-core/PLIST)
- shared library was suffixed as ${PKGVERSION}, but
this should be ${PKGVERSION_NOREV} instead.
Above files are affected.
(gnuradio-core/files/REPLACE_PYTHON)
- Add one file
grc/python/flow_graph.tmpl
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/ham/gnuradio-companion/Makefile \
pkgsrc/ham/gnuradio-companion/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/ham/gnuradio-core/Makefile.common
cvs rdiff -u -r1.2 -r1.3 pkgsrc/ham/gnuradio-core/Nocore.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/ham/gnuradio-core/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/ham/gnuradio-core/files/REPLACE_PYTHON
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: mef@NetBSD.org
State-Changed-When: Tue, 28 Oct 2014 17:04:08 +0000
State-Changed-Why:
Thanks for the valuable report. Fix applied. Please check if possible.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 30 Sep 2016 08:02:42 +0000
State-Changed-Why:
committed in 2014
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.